SliceExpression and FunctionType

Eric Suen eric.suen.tech at gmail.com
Thu Aug 23 09:06:46 PDT 2007


Hi,

SliceExpression ::=  OptionalExpression ':' OptionalExpression
 | OptionalExpression ':' OptionalExpression ':' OptionalExpression

OptionalExpression -> 'type' FunctionType

so, for expression like this [expr : function() : expr]

": expr" -> ResultType or the third OptionalExpression?

Regards

Eric

------------------------------------------------
Spket IDE - Development Tool for RIA.

http://www.spket.com



More information about the Es4-discuss mailing list