Class: RLTK::Parser::Shift
Overview
The Shift class indicates to the parser that it should shift the current input token.
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#to_s ⇒ String
String representation of this action.
Methods inherited from Action
Constructor Details
This class inherits a constructor from RLTK::Parser::Action
Instance Method Details
#to_s ⇒ String
Returns String representation of this action.
1634 1635 1636 |
# File 'lib/rltk/parser.rb', line 1634 def to_s "Shift to State #{self.id}" end |