as2fm.as2fm_common.common

Common functionalities used throughout the toolchain.

Functions

is_comment(element)

Check if an element is a comment.

is_valid_variable_name(var_name)

Check if a string can represent a variable name in JANI and SCXML.

remove_namespace(tag)

If a tag has a namespace, remove it.

string_as_bool(value_str)

Special case for boolean conversion for configuration parameters.

value_to_type(value)

Return the type of a python object (to be a jani value).