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

Commit f631081

Browse files
committed
The namespace follows the scopes.
1 parent 4fc8fe3 commit f631081

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3701,6 +3701,8 @@ inherit .containing_class_value
37013701
(jsx_namespace_name (_) @lhs (_) @rhs)@name {
37023702
node @name.before_scope
37033703
node @name.after_scope
3704+
3705+
edge @lhs.before_scope -> @name.before_scope
37043706
}
37053707

37063708
(jsx_self_closing_element

0 commit comments

Comments
 (0)