SyntaxNode
A syntax node that provides navigation to parent and siblings.
Properties
Functions
Link copied to clipboard
Navigate to a child after a position.
Link copied to clipboard
Navigate to a child before a position.
Link copied to clipboard
Create a cursor from this node.
Link copied to clipboard
Walk the tree back from a position, finding the innermost unfinished node (an error node) before the position.
Link copied to clipboard
abstract fun getChildren(type: String, before: String? = null, after: String? = null): List<SyntaxNode>
Get all children matching a type.
Link copied to clipboard
Match this node against a list of parent names (innermost last).
Link copied to clipboard
Resolve to the innermost node at a position.
Link copied to clipboard
Like resolve, but enters overlay-mounted trees to find the innermost node.