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

Commit a107ba8

Browse files
committed
Extend interfaces.
1 parent 4d240c0 commit a107ba8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ attribute node_symbol = node => symbol = (source-text node), source_n
278278
edge @body.lexical_scope -> @this.lexical_scope
279279
}
280280

281+
(interface_declaration (extends_interfaces (type_list (_) @type))) @this {
282+
edge @type.lexical_scope -> @this.lexical_scope
283+
}
284+
281285
(interface_body) @this {
282286
node @this.defs
283287
node @this.lexical_scope

0 commit comments

Comments
 (0)