tuil
ReferencePackages@mwillbanks/tuil-codeAPI

IncrementalSyntaxNode

interface exported by @mwillbanks/tuil-code.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-code.

export interface IncrementalSyntaxNode {
  readonly start: number;
  readonly end: number;
  readonly type: string;
  readonly startLine?: number;
  readonly endLine?: number;
  readonly diagnostic?: Omit<CodeDiagnostic, "start" | "end" | "kind">;
}

Members

MemberTypeRequiredDescriptionRelated types
startnumberYesThe start member uses the number contract.
endnumberYesThe end member uses the number contract.
typestringYesThe type member uses the string contract.
startLinenumber | undefinedNoThe startLine member uses the number | undefined contract.
endLinenumber | undefinedNoThe endLine member uses the number | undefined contract.
diagnosticOmit<CodeDiagnostic, "start" | "end" | "kind"> | undefinedNoThe diagnostic member uses the Omit<CodeDiagnostic, "start" | "end" | "kind"> | undefined contract.CodeDiagnostic

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