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

Commit 8fae205

Browse files
committed
🔥 the identifier case.
1 parent 0119086 commit 8fae205

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -368,18 +368,6 @@ attribute node_symbol = node => symbol = (source-text node), source_n
368368
edge @object.value -> @local_variable.after_scope
369369
}
370370

371-
(expression_statement
372-
(method_invocation
373-
object: (identifier) @identifier
374-
name: (identifier) @method_name) @method_invocation) @expr_stmt {
375-
376-
node @identifier.ref
377-
attr (@identifier.ref) node_reference = @identifier
378-
379-
edge @identifier.ref -> @method_invocation.lexical_scope
380-
edge @expr_stmt.after_scope -> @method_invocation.lexical_scope
381-
}
382-
383371
[
384372
; FIXME: all expressions should be here
385373
(field_access)

0 commit comments

Comments
 (0)