LezerTree.cursorAt method
LezerTree › cursorAt
Unofficial
Create a cursor positioned at the given position.Signature:
cursorAt(pos: number, side?: -1 | 0 | 1, mode?: IterMode): LezerTreeCursorParameters:
| Parameter | Type | Description |
|---|---|---|
| pos | number | The position to start at. |
| side? | -1 | 0 | 1 | Which side of the position to prefer. |
| mode? | IterMode | The iteration mode. |
Returns: LezerTreeCursor — A tree cursor.