Closure parameters for constructor invocations

This commit is contained in:
Andrey Breslav
2011-03-25 16:07:07 +03:00
parent b4a453ddb7
commit badf79aee5
4 changed files with 111 additions and 116 deletions
+7 -3
View File
@@ -174,12 +174,16 @@ prefixUnaryOperation
postfixUnaryOperation
: "++" : "--"
: typeArguments? valueArguments (label? functionLiteral)
: typeArguments (label? functionLiteral)
: callSuffix
: arrayAccess
: memberAccessOperation postfixUnaryOperation // TODO: Review
;
callSuffix
: typeArguments? valueArguments (label? functionLiteral)
: typeArguments (label? functionLiteral)
;
memberAccessOperation
: "." : "?." : "#" : "?"
;
@@ -221,7 +225,7 @@ expressions
;
constructorInvocation
: userType valueArguments
: userType callSuffix
;
arrayAccess