Make 'method' keyword more specific
This commit is contained in:
parent
065ad5f760
commit
acb5765591
|
@ -26,6 +26,10 @@
|
||||||
"new"
|
"new"
|
||||||
] @keyword.constructor
|
] @keyword.constructor
|
||||||
|
|
||||||
|
[
|
||||||
|
"method"
|
||||||
|
] @keyword.method
|
||||||
|
|
||||||
[
|
[
|
||||||
"array"
|
"array"
|
||||||
(break_expression)
|
(break_expression)
|
||||||
|
|
|
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue