tuil
ReferencePackages@mwillbanks/tuil-codeAPI

IncrementalSyntaxEngine

interface exported by @mwillbanks/tuil-code.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-code.

export interface IncrementalSyntaxEngine {
  parse(
    source: string,
    previous: IncrementalSyntaxTree | undefined,
    signal: AbortSignal,
  ): IncrementalSyntaxTree | Promise<IncrementalSyntaxTree>;
  dispose?(): void;
}

Members

MemberTypeRequiredDescriptionRelated types
parse(source: string, previous: IncrementalSyntaxTree | undefined, signal: AbortSignal) => IncrementalSyntaxTree | Promise<IncrementalSyntaxTree>YesThe parse member uses the (source: string, previous: IncrementalSyntaxTree | undefined, signal: AbortSignal) => IncrementalSyntaxTree | Promise<IncrementalSyntaxTree> contract.IncrementalSyntaxTree
dispose(() => void) | undefinedNoThe dispose member uses the (() => void) | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-code

On this page