Expand description

This module contains the RtLolaAst data structures for the RTLola Language.

Every node in the abstract syntax tree is assigned a unique id and has a span referencing the node’s location in the specification.

Structs

An Ast node representing the declaration of a close condition of a stream template

An Ast node representing the declaration of a constant.

The Ast representation of a stream expression

An Ast node representing the declaration of a filter condition of a stream template

An Ast node representing the name of a called function and also the names of the arguments.

This struct represents an identifier in the specification. For example the name of an Output or Input.

An Ast node representing the import of a module, which brings additional implemented functionality to a specification. The ‘math’ module, for example, adds pre-defined mathematical functions as the sine or cosine function.

An Ast node representing the declaration of an input stream.

An Ast node representing the declaration of a literal

Every node in the Ast gets a unique id, represented by a 32bit unsigned integer. They are used in the later analysis phases to store information about Ast nodes.

An Ast node representing the declaration of an output stream.

An Ast node representing the declaration of a parameter of a parametrized stream.

An Ast node representing an opening or closing parenthesis.

The root of a RTLola specification, consisting of stream and trigger declarations. Each declaration contains the id of the Ast node, a span, and declaration-specific components.

An Ast node representing the declaration of a spawn condition of a stream template.

An Ast node representing the declaration of a trigger

An Ast node representing the declaration of a value type

An Ast node representing the declaration of a field of a user-defined type.

An Ast node representing the declaration of a user-defined type.

Enums

An Ast node representing a binary operator.

The Ast representation of a single expression

The Ast representation of literals

Describes the operation used to access a stream with a offset

Describes the operation used to access a stream

Supported time unit for real time expressions

Ast representation of the value type of a stream

An Ast node representing an unary operator.

The Ast representation of the different aggregation functions