Open liaodalin19903 opened 2 months ago
Hi, I am read the document of tree-sitter: query-syntax #Capturing Nodes
tree-sitter
there use @ to capture the nodes:
@
(assignment_expression left: (identifier) @the-function-name right: (function))
but I don't find a place of use the captured node name(in there @the-function-name) , is there any demo for using this function?
@the-function-name
Hi, I am read the document of
tree-sitter
: query-syntax #Capturing Nodesthere use
@
to capture the nodes:but I don't find a place of use the captured node name(in there
@the-function-name
) , is there any demo for using this function?