SliceExpression and FunctionType

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SliceExpression and FunctionType

Eric Suen-4
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
_______________________________________________
Es4-discuss mailing list
[hidden email]
https://mail.mozilla.org/listinfo/es4-discuss