OptionaldiagnosticsResult of the validation phase
OptionallocalResult of the scope precomputation phase
The parse result holds the Abstract Syntax Tree (AST) and potentially also parser / lexer errors
An array of all cross-references found in the AST while linking
The current state of the document
ReadonlytextThe text document used to convert between offsets and positions
ReadonlyuriThe Uniform Resource Identifier (URI) of the document
A Langium document holds the parse result (AST and CST) and any additional state that is derived from the AST, e.g. the result of scope precomputation.