Make 'new' constructor keyword
This commit is contained in:
parent
9c51cbc93f
commit
065ad5f760
|
@ -22,6 +22,10 @@
|
|||
"while"
|
||||
] @keyword.repeat
|
||||
|
||||
[
|
||||
"new"
|
||||
] @keyword.constructor
|
||||
|
||||
[
|
||||
"array"
|
||||
(break_expression)
|
||||
|
|
|
@ -18,7 +18,7 @@ let
|
|||
}
|
||||
|
||||
var object := new B
|
||||
/* ^ keyword */
|
||||
/* ^ keyword.constructor */
|
||||
in
|
||||
object.a := 27;
|
||||
/* ^ property */
|
||||
|
|
Loading…
Reference in a new issue