raesl.compile.ast.relations
#
Relation definition and instantiation.
Module Contents#
Classes#
Parameter of a relation definition. |
|
Relation definition. |
Attributes#
- raesl.compile.ast.relations.INPUT = 'input'#
- raesl.compile.ast.relations.OUTPUT = 'output'#
- raesl.compile.ast.relations.INPOUT = 'inp_out'#
- class raesl.compile.ast.relations.RelationDefParameter(name: raesl.compile.scanner.Token, type_name: raesl.compile.scanner.Token, direction: str, multi: bool)#
Parameter of a relation definition.
- Parameters:
name – Name of the parameter.
type_name – Name of the type of the parameter.
direction – Direction of the parameter.
multi – If set, parameter may be specified more than once.
- type#
Actual type of the parameter.
- class raesl.compile.ast.relations.RelationDefinition(name: raesl.compile.scanner.Token)#
Bases:
raesl.compile.ast.comment_storage.DefaultDocStore
Relation definition.
- Parameters:
name – Name of the relation definition.
- params#
Parameters of the definition.