|
|
@ -57,13 +57,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
(class_definition
|
|
|
|
(class_definition
|
|
|
|
body: (template_body
|
|
|
|
body: (template_body
|
|
|
|
(function_definition
|
|
|
|
[
|
|
|
|
name: (identifier) @function.method)))
|
|
|
|
(function_definition
|
|
|
|
(object_definition
|
|
|
|
name: (identifier) @function.method)
|
|
|
|
body: (template_body
|
|
|
|
(function_declaration
|
|
|
|
(function_definition
|
|
|
|
name: (identifier) @function.method)
|
|
|
|
name: (identifier) @function.method)))
|
|
|
|
]))
|
|
|
|
(trait_definition
|
|
|
|
(trait_definition
|
|
|
|
|
|
|
|
body: (template_body
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(function_definition
|
|
|
|
|
|
|
|
name: (identifier) @function.method)
|
|
|
|
|
|
|
|
(function_declaration
|
|
|
|
|
|
|
|
name: (identifier) @function.method)
|
|
|
|
|
|
|
|
]))
|
|
|
|
|
|
|
|
(object_definition
|
|
|
|
body: (template_body
|
|
|
|
body: (template_body
|
|
|
|
(function_definition
|
|
|
|
(function_definition
|
|
|
|
name: (identifier) @function.method)))
|
|
|
|
name: (identifier) @function.method)))
|
|
|
|