highlights(ecma): use @method.call/function.call

This commit is contained in:
Stephan Seitz 2022-08-29 23:31:11 +02:00
parent c557c68729
commit f66a911a95
2 changed files with 4 additions and 4 deletions

View file

@ -83,11 +83,11 @@
;--------------------------
(call_expression
function: (identifier) @function)
function: (identifier) @function.call)
(call_expression
function: (member_expression
property: [(property_identifier) (private_property_identifier)] @method))
property: [(property_identifier) (private_property_identifier)] @method.call))
; Variables
;----------

View file

@ -15,11 +15,11 @@ class H {
public_method() {
// ^ method
return this.#private_method();
// ^ method
// ^ method.call
}
ok() {
return this.public_method();
// ^ method
// ^ method.call
}
}