Class: RLTK::Parser::Reduce
Overview
The Reduce class indicates to the parser that it should reduce the input stack by the rule specified by Reduce.id.
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.
1552 1553 1554 |
# File 'lib/rltk/parser.rb', line 1552 def to_s "Reduce by Production #{self.id}" end |