SyntaxNodeRef
Unofficial
A reference to a syntax node, providing its position and type information.
Import:
import type { SyntaxNodeRef } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface SyntaxNodeRefProperties
| Property | Type | Description | |
|---|---|---|---|
| from | number | The start position of the node. | |
| name | string | The name of the node type. | |
| node | SyntaxNode | The actual syntax node. | |
| to | number | The end position of the node. | |
| tree | LezerTree | null | The tree that this node belongs to, if it is a top node. | |
| type | NodeType | The type of this node. |
Links to this page: