Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit b66fe25

Browse files
authored
Remove 'name' from local_variable_declaration stanza
1 parent 34a5d55 commit b66fe25

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

languages/tree-sitter-stack-graphs-java/src/stack-graphs.tsg

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
568568

569569
(local_variable_declaration
570570
type: (_) @type
571-
declarator: (variable_declarator
572-
name: (_) @name
573-
) @var_decl
571+
declarator: (variable_declarator) @var_decl
574572
) @local_var
575573
{
576574
edge @var_decl.def__typeof -> @type.type

0 commit comments

Comments
 (0)