Local/inner types

This commit is contained in:
Andrey Breslav
2010-12-10 17:20:10 +03:00
parent 8c650f7f00
commit f9eb67c0a1
8 changed files with 53 additions and 4 deletions
+2
View File
@@ -37,6 +37,8 @@ memberDeclaration
: function
: property
: class
: extension
: typedef
;
classObject
+3
View File
@@ -33,6 +33,9 @@ literalConstant
declaration
: function
: property
: extension
: class
: typedef
;
expressionWithPrecedences // See the precedence table, everything associates to the left
+1 -2
View File
@@ -43,5 +43,4 @@ parameterKind
: "lazy"
: "out"
: "ref"
;
;
+9 -1
View File
@@ -17,7 +17,15 @@ type
;
userType
: SimpleName{"."} ("<" (modifiers type){","} ">")?
: (SimpleName ".")* simpleUserType{"."}
;
simpleUserType
: SimpleName ("<" (optionalProjection type){","} ">")?
;
optionalProjection
: modifiers
;
functionType