Optional
diagnosticsResult of the validation phase
The parse result holds the Abstract Syntax Tree (AST) and potentially also parser / lexer errors
Optional
precomputedResult of the scope precomputation phase
An array of all cross-references found in the AST while linking
The current state of the document
Readonly
textThe text document used to convert between offsets and positions
Readonly
uriThe 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.