IncrementalSyntaxNode
interface exported by @mwillbanks/tuil-code.
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
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
start | number | Yes | The start member uses the number contract. | — |
end | number | Yes | The end member uses the number contract. | — |
type | string | Yes | The type member uses the string contract. | — |
startLine | number | undefined | No | The startLine member uses the number | undefined contract. | — |
endLine | number | undefined | No | The endLine member uses the number | undefined contract. | — |
diagnostic | Omit<CodeDiagnostic, "start" | "end" | "kind"> | undefined | No | The 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.
Related types
Source
View the secondary source reference