as2fm.scxml_converter.scxml_entries.utils

Collection of various utilities for SCXML entries.

Functions

all_non_empty_strings(*in_args)

Check if all the arguments are non-empty strings.

convert_expression_with_object_arrays(expr)

e.g.

generate_tag_to_class_map(cls)

Generate a map from (xml) tags to their associated classes.

get_plain_expression(in_expr, cb_type, ...)

Convert ROS-specific PREFIXES, custom struct array indexing to plain SCXML.

get_plain_variable_name(in_name, xml_origin)

Given a variable or param name with member access, generate the plain version with '__'.

is_non_empty_string(scxml_type, arg_name, ...)

Check if a string is non-empty.

to_integer(scxml_type, arg_name, arg_value)

Try to convert a string to an integer.

Classes

CallbackType(value[, names, module, ...])

Enumeration of the different types of callbacks containing a body.