concepts.dsl.expression.Expression#
- class Expression[source]#
Bases:
ABC
Expression is an abstract class for all expressions in the DSL. An important note about Expression is that the class itself does not contain any “implementation.”
For example, the expression and(x, y, z) does not contain any information about how to compute the conjunction (e.g., taking the product of the three values). The actual implementation of the expression will be provided by the Executor classes.
Methods
cached_string
([max_length])Attributes
- __init__()#
- __new__(**kwargs)#
- abstract property return_type: ObjectType | ValueType | FunctionType | SequenceType | None#