LezerTreeFragment
Unofficial
Represents a fragment of a previously parsed tree that can be reused.
Import:
import type { LezerTreeFragment } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export class LezerTreeFragmentProperties
| Property | Type | Description | |
|---|---|---|---|
| from | number | The start position of this fragment in the original document. | |
| offset | number | The offset that positions in this fragment are shifted by. | |
| to | number | The end position of this fragment in the original document. | |
| tree | LezerTree | The tree for this fragment. |