exception documentation
class NoTransition(Exception, Generic[
Constructor: NoTransition(state, symbol)
A finite state machine in state has no transition for symbol.
Method | __init__ |
Construct a NoTransition . |
Instance Variable | state |
See state init parameter. |
Instance Variable | symbol |
See symbol init parameter. |
Construct a NoTransition
.
Parameters | |
state:State | the finite state machine's state at the time of the illegal transition. |
symbol:Input | the input symbol for which no transition exists. |