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, array_info: ArrayInfo | None = None) JaniExpression

Parse ecmascript to jani expression.

Parameters:
  • ecmascript – The ecmascript to parse.

  • array_info – The type and max size of the array, if required.

Returns:

The jani expression.