Class: Racc::Item
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/racc/state.rb |
Overview
LALR item. A set of rule and its lookahead tokens.
Class Method Summary
- .new(rule, la) ⇒ Item constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(rule, la) ⇒ Item
Instance Attribute Details
#la (readonly)
[ GitHub ]# File 'lib/racc/state.rb', line 798
attr_reader :la
#rule (readonly)
[ GitHub ]# File 'lib/racc/state.rb', line 797
attr_reader :rule