Class: Ibex::Runtime::RepairAdvance
- Inherits:
-
Object
- Object
- Ibex::Runtime::RepairAdvance
- Defined in:
- lib/ibex/runtime/repair.rb,
sig/ibex/runtime/repair.rbs
Overview
Internal result of simulating reductions followed by one table action.
Instance Attribute Summary collapse
- #stack ⇒ Array[Integer] readonly
- #status ⇒ :shift, :accept readonly
Instance Method Summary collapse
-
#initialize(status:, stack:) ⇒ RepairAdvance
constructor
A new instance of RepairAdvance.
Constructor Details
#initialize(status:, stack:) ⇒ RepairAdvance
Returns a new instance of RepairAdvance.
150 151 152 153 154 |
# File 'lib/ibex/runtime/repair.rb', line 150 def initialize(status:, stack:) @status = status @stack = stack freeze end |
Instance Attribute Details
#stack ⇒ Array[Integer] (readonly)
147 148 149 |
# File 'lib/ibex/runtime/repair.rb', line 147 def stack @stack end |
#status ⇒ :shift, :accept (readonly)
146 147 148 |
# File 'lib/ibex/runtime/repair.rb', line 146 def status @status end |