-
What is the purpose of the period character in these examples? ; Example 1
(import_from_statement
module_name: (dotted_name (_) @left . (_) @right)
) ; ...
; Example 2
(import_from_statement
module_name: (dotted_name (_) @last_name .)
name: (_) @name
) ; ... |
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Jan 18, 2023
Replies: 1 comment
-
Oh! nevermind. It's the anchor operator of tree-sitter DSL |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh! nevermind. It's the anchor operator of tree-sitter DSL
https://tree-sitter.github.io/tree-sitter/using-parsers#query-syntax