Class: RLTK::Parser::GoTo

Inherits:
Action
  • Object
show all
Defined in:
lib/rltk/parser.rb

Overview

The GoTo class indicates to the parser that it should goto the state specified by GoTo.id.

Instance Attribute Summary

Attributes inherited from Action

#id

Instance Method Summary collapse

Methods inherited from Action

#initialize

Constructor Details

This class inherits a constructor from RLTK::Parser::Action

Instance Method Details

#to_sString

Returns String representation of this action.

Returns:

  • (String)

    String representation of this action.



1651
1652
1653
# File 'lib/rltk/parser.rb', line 1651

def to_s
	"GoTo #{self.id}"
end