tuil
ReferencePackages@mwillbanks/tuil-streamingAPI

PartialDocument

interface exported by @mwillbanks/tuil-streaming.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-streaming.

export interface PartialDocument {
  readonly format: string;
  readonly complete: boolean;
  readonly root: DocumentNode;
  readonly diagnostics: readonly ParserDiagnostic[];
  readonly source: string;
}

Members

MemberTypeRequiredDescriptionRelated types
formatstringYesThe format member uses the string contract.
completebooleanYesThe complete member uses the boolean contract.
rootDocumentNodeYesThe root member uses the DocumentNode contract.DocumentNode
diagnosticsreadonly ParserDiagnostic[]YesThe diagnostics member uses the readonly ParserDiagnostic[] contract.ParserDiagnostic
sourcestringYesThe source member uses the string 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-streaming

On this page