Closed hackwaly closed 7 months ago
There's outputCst and nodeLocationTracking: "full" | "onlyOffset" | "none" for CstParser. But how can I track locations for rules in EmbeddedActionsParser?
outputCst
nodeLocationTracking: "full" | "onlyOffset" | "none"
@hackwaly The IToken instances you get back from CONSUME calls contain all the tracking information. I.e. offsets, line and column positions.
IToken
CONSUME
There's
outputCst
andnodeLocationTracking: "full" | "onlyOffset" | "none"
for CstParser. But how can I track locations for rules in EmbeddedActionsParser?