Class: Lrama::State::Shift
- Inherits:
-
Object
- Object
- Lrama::State::Shift
- Defined in:
- lib/lrama/state/shift.rb
Instance Attribute Summary collapse
-
#next_items ⇒ Object
readonly
Returns the value of attribute next_items.
-
#next_sym ⇒ Object
readonly
Returns the value of attribute next_sym.
-
#not_selected ⇒ Object
Returns the value of attribute not_selected.
Instance Method Summary collapse
-
#initialize(next_sym, next_items) ⇒ Shift
constructor
A new instance of Shift.
Constructor Details
#initialize(next_sym, next_items) ⇒ Shift
7 8 9 10 |
# File 'lib/lrama/state/shift.rb', line 7 def initialize(next_sym, next_items) @next_sym = next_sym @next_items = next_items end |
Instance Attribute Details
#next_items ⇒ Object (readonly)
Returns the value of attribute next_items.
4 5 6 |
# File 'lib/lrama/state/shift.rb', line 4 def next_items @next_items end |
#next_sym ⇒ Object (readonly)
Returns the value of attribute next_sym.
4 5 6 |
# File 'lib/lrama/state/shift.rb', line 4 def next_sym @next_sym end |
#not_selected ⇒ Object
Returns the value of attribute not_selected.
5 6 7 |
# File 'lib/lrama/state/shift.rb', line 5 def not_selected @not_selected end |