Skip to content

Pipeline

Generated from the TypeQLite grammar.

A Pipeline node of the TypeQLite syntax tree: what the grammar rule Pipeline produces. Its $type is 'Pipeline'.

Properties

Name Description
$container The container node in the AST; every node except the root node has a container.
$containerIndex? In case $containerProperty is an array, the array index is stored here.
$containerProperty? The property of the $container node that contains this node.
$cstNode? The Concrete Syntax Tree (CST) node of the text range from which this node was parsed.
$document? The document containing the AST; only the root node has a direct reference to the document.
$type Every AST node has a type corresponding to what was specified in the grammar declaration.
end true when the source writes end ;.
fetch? The FetchStage node written in fetch.
functions The FunctionDefinition nodes written in functions, in source order.
returnStage? The ReturnStage node written in returnStage.
stages The LeadStage, Stage nodes written in stages, in source order.

readonly $container: TypeQLiteFile | FetchList

The container node in the AST; every node except the root node has a container.

langium.AstNode.$container


readonly optional $containerIndex?: number

Defined in: node_modules/langium/lib/syntax-tree.d.ts:21

In case $containerProperty is an array, the array index is stored here.

langium.AstNode.$containerIndex


readonly optional $containerProperty?: string

Defined in: node_modules/langium/lib/syntax-tree.d.ts:19

The property of the $container node that contains this node. This is either a direct reference or an array.

langium.AstNode.$containerProperty


readonly optional $cstNode?: CstNode

Defined in: node_modules/langium/lib/syntax-tree.d.ts:23

The Concrete Syntax Tree (CST) node of the text range from which this node was parsed.

langium.AstNode.$cstNode


readonly optional $document?: LangiumDocument<AstNode>

Defined in: node_modules/langium/lib/syntax-tree.d.ts:25

The document containing the AST; only the root node has a direct reference to the document.

langium.AstNode.$document


readonly $type: "Pipeline"

Every AST node has a type corresponding to what was specified in the grammar declaration.

langium.AstNode.$type


end: boolean

true when the source writes end ;.


optional fetch?: FetchStage

The FetchStage node written in fetch. It is absent when the source does not write it.


functions: FunctionDefinition[]

The FunctionDefinition nodes written in functions, in source order.


optional returnStage?: ReturnStage

The ReturnStage node written in returnStage. It is absent when the source does not write it.


stages: (InsertStage | MatchStage | PutStage | UpdateStage | DeleteStage | DistinctStage | GivenStage | LimitStage | OffsetStage | ReduceStage | RequireStage | SelectStage | SortStage)[]

The LeadStage, Stage nodes written in stages, in source order.

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.