- pathFor
Return the deepest DocTreePath at the given position.
- isSynthetic
Returns whether or not the given tree is synthetic - generated by the parser.
Please note that this
- parseExpression
Parses given expression.
- getComments
Returns list of comments attached to a given tree. Can return either preceding
or trailing comments.
- getPathElementOfKind
Returns path to the deepest tree of one of the given kinds containing the given
starting tree.
- parseStatement
Parses given statement.
- parseType
Parses given type in given context.
- tokensFor
Returns tokens for a given tree. Uses specified SourcePositions.
- attributeTree
Attribute the given tree in the given context.
- findNameSpan
- isEnum
Checks whether the given tree represents an enum.
- scopeFor
Computes Scope for the given position.