Parse annotations on lambda-argument

This commit is contained in:
Denis Zharkov
2015-05-04 15:43:36 +03:00
parent c5af4b42b4
commit b72a3de86e
14 changed files with 869 additions and 55 deletions
+5 -2
View File
@@ -225,10 +225,13 @@ postfixUnaryOperation
;
callSuffix
: typeArguments? valueArguments (labelDefinition? functionLiteral)
: typeArguments (labelDefinition? functionLiteral)
: typeArguments? valueArguments annotatedLambda
: typeArguments annotatedLambda
;
annotatedLambda
: ("@" annotationEntry)* labelDefinition? functionLiteral
memberAccessOperation
: "." : "?." : "?"
;