Class: RLTK::Parser::Shift

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

Overview

The Shift class indicates to the parser that it should shift the current input token.

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



1697
1698
1699
# File 'lib/rltk/parser.rb', line 1697

def to_s
  "Shift to State #{self.id}"
end