Parent

Methods

Racc::Goto

Represents a transition on the grammar. “Real goto” means a transition by nonterminal, but this class treats also terminal’s. If one is a terminal transition, .ident returns nil.

Attributes

ident[R]
symbol[R]
from_state[R]
to_state[R]

Public Class Methods

new(ident, sym, from, to) click to toggle source
     # File lib/racc/state.rb, line 767
767:     def initialize(ident, sym, from, to)
768:       @ident      = ident
769:       @symbol     = sym
770:       @from_state = from
771:       @to_state   = to
772:     end

Public Instance Methods

inspect() click to toggle source
     # File lib/racc/state.rb, line 779
779:     def inspect
780:       "(#{@from_state.ident}-#{@symbol}->#{@to_state.ident})"
781:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.