Make 'method' keyword more specific

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

View file

@ -26,6 +26,10 @@
"new" "new"
] @keyword.constructor ] @keyword.constructor
[
"method"
] @keyword.method
[ [
"array" "array"
(break_expression) (break_expression)

View file

@ -12,7 +12,7 @@ let
var a := 12 var a := 12
method meth() : int = self.a method meth() : int = self.a
/* <- keyword */ /* <- keyword.method */
/* ^ method */ /* ^ method */
/* ^ variable */ /* ^ variable */
} }