Protected
Readonly
descriptionsProtected
Readonly
namePrivate
omlIRICreates AstNodeDescription AstNodeDescriptions for the given AstNode parentNode and its children. The list of children to be considered is determined by the function parameter children. By default only the direct children of parentNode are visited, nested nodes are not exported.
OperationCanceled
if a user action occurs during execution.
A list of AstNodeDescription AstNodeDescriptions to be published to index.
AST node to be exported, i.e., of which an AstNodeDescription shall be added to the returned list.
The document containing the AST node to be exported.
Optional
children: ((root: AstNode) => Iterable<AstNode>)A function called with parentNode as single argument and returning an Iterable supplying the children to be visited, which must be directly or transitively contained in parentNode.
Optional
cancelToken: CancellationTokenIndicates when to cancel the current operation.
Protected
exportAdd a single node to the list of exports if it has a name. Override this method to change how symbols are exported, e.g. by modifying their exported name.
Private
getPrivate
processProtected
processProcess a single node during scopes computation. The default implementation makes the node visible in the subtree of its container (if the node has a name). Override this method to change this, e.g. by increasing the visibility to a higher level in the AST.
Generated using TypeDoc
Extension of the default Langium scope computation implementation to support visibility of all elements defined in a file at the global scope and to export all elements via full IRI