@@ -197,6 +197,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
197197 (method_declaration)
198198 (constructor_declaration)
199199 (annotation_type_declaration)
200+ (constant_declaration)
200201] @decl
201202{
202203 node @decl.defs
@@ -228,6 +229,11 @@ attribute node_symbol = node => symbol = (source-text node), source_n
228229 edge @b.before_scope -> @a.after_scope
229230}
230231
232+ (explicit_constructor_invocation) @this {
233+ node @this.before_scope
234+ node @this.after_scope
235+ }
236+
231237(enum_declaration name: (_) @name) @this {
232238 node def
233239 attr (def) node_definition = @name
@@ -403,6 +409,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
403409 (return_statement)
404410 (switch_expression)
405411 (synchronized_statement)
412+ (throw_statement)
406413 (try_statement)
407414 (try_with_resources_statement)
408415 (while_statement)
@@ -1087,6 +1094,11 @@ attribute node_symbol = node => symbol = (source-text node), source_n
10871094 edge @type.lexical_scope -> @this.lexical_scope
10881095}
10891096
1097+ (wildcard) @this
1098+ {
1099+ node @this.lexical_scope
1100+ }
1101+
10901102(type_identifier) @this
10911103{
10921104 edge @this.type -> @this.lexical_scope
@@ -1109,6 +1121,8 @@ attribute node_symbol = node => symbol = (source-text node), source_n
11091121(block_comment)@block_comment {
11101122 node @block_comment.before_scope
11111123 node @block_comment.after_scope
1124+ node @block_comment.defs
1125+ node @block_comment.lexical_scope
11121126
11131127 edge @block_comment.after_scope -> @block_comment.before_scope
11141128}
0 commit comments