API to lookup tokens and AST nodes from text position

Issue #39 resolved
Laurent Wouters created an issue

At this time, the parse result only give access to the root AST node and then recursively to the children. It is not possible at this time to lookup an AST node (or a token) based on the position in the input text.

  • Add new API to retrieve Tokens and AST nodes for given text position and index.
  • Add new API to retrieve the parent node of an AST node.

Comments (5)

  1. Log in to comment