as2fm.scxml_converter.scxml_entries.utils.get_plain_expression
- as2fm.scxml_converter.scxml_entries.utils.get_plain_expression(in_expr: str, expr_prefixes: List[str], struct_declarations: ScxmlStructDeclarationsContainer | None) str
Convert framework-specific PREFIXES, custom struct and array indexing to plain SCXML.
- e.g. _msg.a => _event.data.a and
objects[2].x => objects.x[2]
- Parameters:
in_expr – The expression to convert.
expr_prefixes – The prefixes we expect in the provided expression.
struct_declarations – Declared structs in the ASCXML model.