This repository was archived by the owner on Sep 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
languages/tree-sitter-stack-graphs-typescript/src Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,12 @@ attribute node_symbol = node => symbol = (source-text node), source_n
8686 node @comment.aliased_type
8787 node @comment.applied_type
8888 node @comment.arg
89- node @comment.arg_index
9089 node @comment.args
9190 node @comment.async_type
9291 node @comment.await_type
9392 node @comment.callable
9493 node @comment.coargs
9594 node @comment.cocallable
96- node @comment.comp_index
9795 node @comment.coparam
9896 node @comment.coparams
9997 node @comment.cotype
@@ -435,6 +433,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
435433 (generator_function_declaration)
436434 (hash_bang_line)
437435 (if_statement)
436+ (import_alias)
438437 (import_statement)
439438 (interface_declaration)
440439 (internal_module)
@@ -5292,18 +5291,21 @@ if none @is_acc {
52925291; (_)@element_type
52935292; )@type
52945293
5295- (array_type
5296- (_)@element_type
5297- )@type {
5294+ (array_type)@type {
52985295 node @type.indexable
52995296
5300- ; propagate lexical scope
5301- edge @element_type.lexical_scope -> @type.lexical_scope
5302-
53035297 ; type is indexable element type
53045298 edge @type.type -> @type.indexable
53055299 ;
53065300 attr (@type.indexable) pop_symbol = "[]"
5301+ }
5302+
5303+ (array_type
5304+ (_)@element_type
5305+ )@type {
5306+ ; propagate lexical scope
5307+ edge @element_type.lexical_scope -> @type.lexical_scope
5308+
53075309 edge @type.indexable -> @element_type.type
53085310}
53095311
You can’t perform that action at this time.
0 commit comments