Accessors for local variables (not available)
val foo get set
This commit is contained in:
@@ -84,7 +84,7 @@ functionBody
|
||||
;
|
||||
|
||||
property
|
||||
: modifiers ("val" | "var") attributes (type ".")? SimpleName (":" type)? ("=" expression)?
|
||||
: modifiers ("val" | "var") attributes (type ".")? SimpleName (":" type)? ("=" expression SEMI?)?
|
||||
(getter? setter? | setter? getter?) SEMI?
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user