as2fm.jani_generator.scxml_helpers.scxml_expression.parse_ecmascript_to_jani_expression
- as2fm.jani_generator.scxml_helpers.scxml_expression.parse_ecmascript_to_jani_expression(ecmascript: str, elem: _Element | None, target_array_info: ArrayInfo | None = None) JaniExpression
Parse ecmascript to jani expression.
- Parameters:
ecmascript – The ecmascript to parse.
elem – The xml element associated to the expression, for error logging.
target_array_info – The array info required by the target variable (if any).
- Returns:
The jani expression.