Lines Matching refs:machine
46 machine = self.symtab.state_machine
48 if machine is None:
49 self.error("Transition declaration not part of a machine.")
52 if action not in machine.actions:
53 self.error("Invalid action: %s is not part of machine: %s" % \
54 (action, machine))
57 if request_type not in machine.request_types:
59 "%s is not part of machine: %s" % \
60 (request_type, machine))
63 if state not in machine.states:
64 self.error("Invalid state: %s is not part of machine: %s" % \
65 (state, machine))
68 if event not in machine.events:
69 self.error("Invalid event: %s is not part of machine: %s" % \
70 (event, machine))
71 t = Transition(self.symtab, machine, state, event, next_state,
73 machine.addTransition(t)