|
|
@ -29,15 +29,24 @@
|
|
|
|
name: (identifier) @function)
|
|
|
|
name: (identifier) @function)
|
|
|
|
(method_definition
|
|
|
|
(method_definition
|
|
|
|
name: (property_identifier) @function.method)
|
|
|
|
name: (property_identifier) @function.method)
|
|
|
|
|
|
|
|
(method_definition
|
|
|
|
|
|
|
|
name: (private_property_identifier) @function.method.private)
|
|
|
|
|
|
|
|
|
|
|
|
(pair
|
|
|
|
(pair
|
|
|
|
key: (property_identifier) @function.method
|
|
|
|
key: (property_identifier) @function.method
|
|
|
|
value: [(function) (arrow_function)])
|
|
|
|
value: [(function) (arrow_function)])
|
|
|
|
|
|
|
|
(pair
|
|
|
|
|
|
|
|
key: (private_property_identifier) @function.method.private
|
|
|
|
|
|
|
|
value: [(function) (arrow_function)])
|
|
|
|
|
|
|
|
|
|
|
|
(assignment_expression
|
|
|
|
(assignment_expression
|
|
|
|
left: (member_expression
|
|
|
|
left: (member_expression
|
|
|
|
property: (property_identifier) @function.method)
|
|
|
|
property: (property_identifier) @function.method)
|
|
|
|
right: [(function) (arrow_function)])
|
|
|
|
right: [(function) (arrow_function)])
|
|
|
|
|
|
|
|
(assignment_expression
|
|
|
|
|
|
|
|
left: (member_expression
|
|
|
|
|
|
|
|
property: (private_property_identifier) @function.method.private)
|
|
|
|
|
|
|
|
right: [(function) (arrow_function)])
|
|
|
|
|
|
|
|
|
|
|
|
(variable_declarator
|
|
|
|
(variable_declarator
|
|
|
|
name: (identifier) @function
|
|
|
|
name: (identifier) @function
|
|
|
@ -64,6 +73,9 @@
|
|
|
|
(call_expression
|
|
|
|
(call_expression
|
|
|
|
function: (member_expression
|
|
|
|
function: (member_expression
|
|
|
|
property: (property_identifier) @function.method))
|
|
|
|
property: (property_identifier) @function.method))
|
|
|
|
|
|
|
|
(call_expression
|
|
|
|
|
|
|
|
function: (member_expression
|
|
|
|
|
|
|
|
property: (private_property_identifier) @function.method.private))
|
|
|
|
|
|
|
|
|
|
|
|
; Variables
|
|
|
|
; Variables
|
|
|
|
;----------
|
|
|
|
;----------
|
|
|
@ -74,6 +86,7 @@
|
|
|
|
;-----------
|
|
|
|
;-----------
|
|
|
|
|
|
|
|
|
|
|
|
(property_identifier) @variable.other.member
|
|
|
|
(property_identifier) @variable.other.member
|
|
|
|
|
|
|
|
(private_property_identifier) @variable.other.member.private
|
|
|
|
(shorthand_property_identifier) @variable.other.member
|
|
|
|
(shorthand_property_identifier) @variable.other.member
|
|
|
|
(shorthand_property_identifier_pattern) @variable.other.member
|
|
|
|
(shorthand_property_identifier_pattern) @variable.other.member
|
|
|
|
|
|
|
|
|
|
|
|