blob: 3e3beb58e2420800ebe4a3a4a32194fd989de2cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
; Definitions
(function_signature
name: (identifier) @local.definition.function)
(formal_parameter
name: (identifier) @local.definition.parameter)
(initialized_variable_definition
name: (identifier) @local.definition.var)
(initialized_identifier
(identifier) @local.definition.var)
(static_final_declaration
(identifier) @local.definition.var)
; References
(identifier) @local.reference
; Scopes
(class_definition
body: (_) @local.scope)
[
(block)
(if_statement)
(for_statement)
(while_statement)
(try_statement)
(catch_clause)
(finally_clause)
] @local.scope
|