2 def __init__(self, _libraries, _config, _states, _globalNamespace):
12 if state.id
not in addedStates:
13 addedStates[state.id] = state
14 allStates.append(state)
16 for childState
in state.getChildren():
17 if childState.id
not in addedStates:
18 addedStates[childState.id] = childState
19 allStates.append(childState)
27 for tran
in state.getOriginTransitions():
28 if tran.id
not in addedTransitions:
29 addedTransitions[tran.id] = tran
30 transitions.append(tran)
31 for childState
in state.getChildren():
32 for tran
in childState.getOriginTransitions():
33 if tran.id
not in addedTransitions:
34 addedTransitions[tran.id] = tran
35 transitions.append(tran)
47 if state.parent
is None:
def getAllTransitions(self)
def getStateById(self, id)
def __init__(self, _libraries, _config, _states, _globalNamespace)