Make 'new' constructor keyword

This commit is contained in:
Bruno BELANYI 2022-06-04 21:35:14 +02:00
parent 9c51cbc93f
commit 065ad5f760
2 changed files with 5 additions and 1 deletions

View file

@ -22,6 +22,10 @@
"while"
] @keyword.repeat
[
"new"
] @keyword.constructor
[
"array"
(break_expression)

View file

@ -18,7 +18,7 @@ let
}
var object := new B
/* ^ keyword */
/* ^ keyword.constructor */
in
object.a := 27;
/* ^ property */