Parse simple callable reference expressions

#KT-1183 In Progress
This commit is contained in:
Alexander Udalov
2013-03-18 15:33:48 +04:00
parent a6e242d166
commit dac0d77e90
5 changed files with 578 additions and 13 deletions
+6
View File
@@ -99,6 +99,12 @@ prefixUnaryExpression
postfixUnaryExpression
: atomicExpression postfixUnaryOperation*
: callableReference postfixUnaryOperation*
;
// TODO: callSuffix is forbidden after callableReference, since parentheses will be used to provide parameter types
callableReference
: userType? "::" SimpleName
;
// !!! When you add here, remember to update the FIRST set in the parser