ReadonlyfromThe start position of the node.
ReadonlynameThe name of the node (.type.name).
ReadonlynodeRetrieve a stable syntax node at this position.
ReadonlytoThe end position of the node.
ReadonlytreeGet the tree that represents the current node, if any. Will return null when the node is in a tree buffer.
ReadonlytypeThe type of the node.
The set of properties provided by both
SyntaxNodeandTreeCursor. Note that, if you need an object that is guaranteed to stay stable in the future, you need to use thenodeaccessor.