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-catalyst-latest';

Signature:

export class LezerTreeFragment

Properties

PropertyTypeDescription
fromnumberThe start position of this fragment in the original document.
offsetnumberThe offset that positions in this fragment are shifted by.
tonumberThe end position of this fragment in the original document.
treeLezerTreeThe tree for this fragment.