Skip to content

LezerTreeFragment

Unofficial

Represents a fragment of a previously parsed tree that can be reused.

Import:

import type { LezerTreeFragment } from '@obsidian-typings/obsidian-public-latest';

Signature:

export class LezerTreeFragment

Properties

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.