add_data_def_locals(data_def, vars)#

Add local variables to a scope.

Parameters:
data_defsuite.DataDef

Input scope, which is an operator, state, or action.

varsList[Tuple[str, TX]]

Name/type expression trees.

Returns:
List[suite.LocalVariable]

List of added variables.

Notes

This is an interface change with respect to the SCADE Creation Library. The pairs β€œname”/”type tree” are now embedded in a list of tuples.