Skip to content

SyntaxNode.cursor method

SyntaxNode › cursor

Unofficial

Create a tree cursor starting at this node.

Signature:

cursor(mode?: IterMode): LezerTreeCursor

Parameters:

ParameterTypeDescription
mode?IterModeThe iteration mode.

Returns: LezerTreeCursor — A tree cursor.