TODOs
This commit is contained in:
@@ -25,7 +25,7 @@ primaryConstructorParameters
|
||||
|
||||
typeParameters
|
||||
: "<" typeParameter{","} ">"
|
||||
("where" typeConstraint{","})? // TODO: Syntax is questionable
|
||||
("where" typeConstraint{","})?
|
||||
;
|
||||
|
||||
classBody
|
||||
@@ -38,7 +38,7 @@ delegationSpecifier
|
||||
;
|
||||
|
||||
explicitDelegation
|
||||
: userType "by" expression // internal this expression no foo {bar} is allowed // TODO: Syntax is questionable
|
||||
: userType "by" expression // internal this expression no foo {bar} is allowed
|
||||
;
|
||||
|
||||
typeParameter
|
||||
@@ -48,7 +48,6 @@ typeParameter
|
||||
typeConstraint
|
||||
: userType ":" type
|
||||
: "class" "object" userType ":" type
|
||||
// TODO: other constraints, maybe
|
||||
;
|
||||
|
||||
primaryConstructorParameter
|
||||
|
||||
@@ -96,7 +96,7 @@ getter
|
||||
;
|
||||
|
||||
setter
|
||||
: modifiers "set" "(" modifiers (SimpleName | parameter) ")" functionBody // TODO: Can the parameter be lazy?
|
||||
: modifiers "set" "(" modifiers (SimpleName | parameter) ")" functionBody
|
||||
;
|
||||
|
||||
parameter
|
||||
|
||||
@@ -86,7 +86,7 @@ atomicExpression
|
||||
: when
|
||||
: try
|
||||
: "typeof" "(" expression ")"
|
||||
: "new" constructorInvocation // TODO: Do we need "new"?, see factory methods
|
||||
: "new" constructorInvocation
|
||||
: objectLiteral
|
||||
: declaration
|
||||
: jump
|
||||
|
||||
Reference in New Issue
Block a user