Hi I have been using the current version for some tooling and wanted to suggest some API additions.
On RuleNode and TokenNode, it would be nice to be able to create a cursor
Given some TokenNode of kind Identifier, I would like to find the definition in the larger parse tree
Given some RuleNode, I would like a reconstruct() function which generates the original syntax from the children tokens
Given some RuleNode, find children with a predicate or matching a kind
Hi I have been using the current version for some tooling and wanted to suggest some API additions.
On RuleNode and TokenNode, it would be nice to be able to create a cursor
Given some TokenNode of kind Identifier, I would like to find the definition in the larger parse tree
Given some RuleNode, I would like a
reconstruct()function which generates the original syntax from the children tokensGiven some RuleNode, find children with a predicate or matching a kind