Class: Lrama::State::Shift
- Inherits:
-
Object
- Object
- Lrama::State::Shift
- Defined in:
- lib/lrama/states.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
Returns a new instance of Shift.
42 43 44 45 |
# File 'lib/lrama/states.rb', line 42 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.
39 40 41 |
# File 'lib/lrama/states.rb', line 39 def next_items @next_items end |
#next_sym ⇒ Object (readonly)
Returns the value of attribute next_sym.
39 40 41 |
# File 'lib/lrama/states.rb', line 39 def next_sym @next_sym end |
#not_selected ⇒ Object
Returns the value of attribute not_selected.
40 41 42 |
# File 'lib/lrama/states.rb', line 40 def not_selected @not_selected end |