concepts.dm.crow.parsers.cdl_parser.Suite#
- class Suite[source]#
Bases:
object
A suite of statements. This is used as the intermediate representation of the parsed expressions.
Methods
get_all_behavior_expressions
([...])get_all_expr_expression
([...])Attributes
- __init__(items, local_variables=<factory>, tracker=None)#
- __new__(**kwargs)#
- get_all_behavior_expressions(use_runtime_assign=True)[source]#
- Return type:
List[CrowBehaviorBodyPrimitiveBase | CrowBehaviorBodySuiteBaseCrowControllerApplicationExpression | ListExpansionExpression]
- get_all_expr_expression(allow_multiple_expressions=False)[source]#
- Parameters:
allow_multiple_expressions (bool)
- Return type:
ValueOutputExpression | Tuple[ValueOutputExpression, …] | None
- get_combined_return_expression(allow_expr_expressions=False, allow_multiple_expressions=False)[source]#
- Parameters:
- Return type:
ValueOutputExpression | None
- tracker: FunctionCallTracker | None = None#