Skip to content

PartialParse

Unofficial

An in-progress parse operation that can be advanced incrementally.

Import:

import type { PartialParse } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PartialParse

Properties

Property Type Description
parsedPos number The position up to which the document has been parsed.
stoppedAt null | number The position at which the parse was stopped, or null if not stopped.

Methods

Method Returns Description
advance() LezerTree | null Advance the parse by some amount.
stopAt(pos) void Tell the parse to stop at a given position.

Links to this page: