class Racc::Goto
If one is a terminal transition, .ident returns nil.
but this class treats also terminal’s.
“Real goto” means a transition by nonterminal,
Represents a transition on the grammar.
def initialize(ident, sym, from, to)
def initialize(ident, sym, from, to) @ident = ident @symbol = sym @from_state = from @to_state = to end
def inspect
def inspect "(#{@from_state.ident}-#{@symbol}->#{@to_state.ident})" end