Pushdown::Transition::
Switch class
Superclass | Pushdown::Transition |
A switch transition – remove the current state from the stack and add a different one.
Attributes
- data R
The data object to pass to the
state_class
‘s constructor- state_class R
The State to push to.
Public Class Methods
Create a transition that will Switch
the current State with an instance of the given state_class
on the stack.
Public Instance Methods
Apply the transition to the given stack
.