scenario_execution.model.types module

class scenario_execution.model.types.ActionDeclaration(qualified_behavior_name)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
class scenario_execution.model.types.ActionInherits(qualified_behavior_name)

Bases: Inheritance

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ActorDeclaration(actor)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
class scenario_execution.model.types.ActorInherits(actor)

Bases: Inheritance

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Argument(argument_name, argument_type, default_value)

Bases: Parameter

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.BehaviorInvocation(name, actor, behavior)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
get_resolved_value_with_variable_references(blackboard, skip_keys=None)
get_type()
class scenario_execution.model.types.BinaryExpression(operator)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.BoolLiteral(value)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.CallDirective(method_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.CastExpression(object_def, target_type)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.CompilationUnit

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.CoverDeclaration(target_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Declaration(name='')

Bases: ModelElement

get_base_type()
get_declaration_string()
get_qualified_name()
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.DoDirective

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.DoMember(label_name, composition_operator)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ElapsedExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ElementAccessExpression(list_name, index)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EmitDirective(event_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EnumDeclaration(enum_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.EnumMemberDeclaration(member_name, numeric_value)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EnumTypeExtension(enum_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EnumValueReference(enum_name, enum_member_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.EventCondition

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EventDeclaration(event_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EventFieldDecl(event_field_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EventReference(event_path)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.EveryExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Expression(left, right, operator)

Bases: object

eval(blackboard)
resolve(param, blackboard)
class scenario_execution.model.types.FallExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.FieldAccessExpression(field_name)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.FloatLiteral(value)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.FunctionApplicationExpression(func_name)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type()
get_type_string()
class scenario_execution.model.types.GlobalParameterDeclaration(name, field_name, field_type, default_value)

Bases: Parameter

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Identifier(name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.IdentifierReference(ref)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_blackboard_reference(blackboard)
get_resolved_value(blackboard=None)
get_type()
get_type_string()
get_variable_reference(blackboard)
class scenario_execution.model.types.Inheritance

Bases: ModelElement

class scenario_execution.model.types.InheritsCondition(field_name, bool_literal)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.IntegerLiteral(type_def, value)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.KeepConstraintDeclaration(constraint_qualifier)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.ListExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.LogicalExpression(operator)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.MethodBody(qualifier, type_ref, external_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.MethodDeclaration(method_name, return_type)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.ModelElement(name='')

Bases: object

accept(visitor)
delete_all_children()
delete_child(child)
enter_node(listener)
exit_node(listener)
find_children_of_type(typename)
find_first_child_of_type(typename, unique=True)
find_parent(typename)
find_reference_by_name(name, visited)
get_child(i)
get_child_count()
get_child_with_expected_type(pos, typename)
get_children()
get_ctx()
get_named_child(name, typename=None)
get_only_child()
get_parent()
get_value_child()
has_siblings()
resolve(name)
set_children(*children)
set_ctx(ctx, filename: str)
set_loc(line, column)
class scenario_execution.model.types.ModelExpression(name='')

Bases: ModelElement

class scenario_execution.model.types.ModifierDeclaration(actor, name)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ModifierInvocation(actor, modifier)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
class scenario_execution.model.types.NamedArgument(argument_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.OnDirective

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Parameter(name='')

Bases: Declaration

get_resolved_value(blackboard=None)
get_type()
get_type_string()
get_value_child()
class scenario_execution.model.types.ParameterDeclaration(field_name, field_type, default_value)

Bases: Parameter

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ParameterReference(field_name, field_access)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.PhysicalLiteral(unit, value)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
get_value_child()
class scenario_execution.model.types.PhysicalTypeDeclaration(type_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.PositionalArgument

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.RangeExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.RecordDeclaration(target_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.RelationExpression(operator)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
class scenario_execution.model.types.RemoveDefaultDeclaration

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.RiseExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.SIBaseExponent(unit_name)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.SIUnitSpecifier(factor, offset)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.SampleExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.ScenarioDeclaration(qualified_behavior_name)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
class scenario_execution.model.types.ScenarioInherits(qualified_behavior_name)

Bases: Inheritance

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.StringLiteral(value)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
get_type_string()
get_value_child()
class scenario_execution.model.types.StructDeclaration(struct_name)

Bases: StructuredDeclaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_base_type()
class scenario_execution.model.types.StructInherits(struct_name)

Bases: Inheritance

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.StructuredDeclaration(name='')

Bases: Declaration

get_parameter_names()
get_resolved_value(blackboard=None, skip_keys=None)
get_type()
get_type_string()
class scenario_execution.model.types.StructuredTypeExtension(type_name, qualified_behavior_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.TernaryExpression

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.Type(type_def, is_list)

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
get_resolved_value(blackboard=None)
class scenario_execution.model.types.TypeTestExpression(object_def, target_type)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.UnaryExpression(operator)

Bases: ModelExpression

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.UnitDeclaration(unit_name, physical_name)

Bases: Declaration

accept(visitor)
enter_node(listener)
exit_node(listener)
get_type_string()
class scenario_execution.model.types.UntilDirective

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
class scenario_execution.model.types.VariableDeclaration(field_name, field_type, default_value)

Bases: Parameter

accept(visitor)
enter_node(listener)
exit_node(listener)
get_fully_qualified_var_name()
class scenario_execution.model.types.VariableReference(blackboard, ref)

Bases: object

get_value()
set_value(val)
class scenario_execution.model.types.WaitDirective

Bases: ModelElement

accept(visitor)
enter_node(listener)
exit_node(listener)
scenario_execution.model.types.deserialize(elem)
scenario_execution.model.types.merge_nested_dicts(dict1, dict2, key_must_exist=True)
scenario_execution.model.types.print_tree(elem, logger, whitespace='')
scenario_execution.model.types.serialize(elem)
scenario_execution.model.types.to_string(elem)
scenario_execution.model.types.visit_expression(node, blackboard)