|
||||||||||||
|
|
||||||||||||
New operator
New operator creates and returns new instance of class.
Identifier after
Although `` Named parameters and splices (@) are used with a same way as in calls. There is a special closure call which will take only one parameter, an inline function, which is placed instead of parameter list. No other parameters are possible with closure call. new-expr := "new" identifierclass "(" parameters ")" new-expr := "new" identifierclass inline-functionparameter param := [ symbolname "=" | "@" ] expr parameters := param ( "," param )*
|
||||||||||||
|
|
||||||||||||