Class: Antlr4::Runtime::LookaheadEventInfo
- Inherits:
-
DecisionEventInfo
- Object
- DecisionEventInfo
- Antlr4::Runtime::LookaheadEventInfo
- Defined in:
- lib/antlr4/runtime/lookahead_event_info.rb
Instance Attribute Summary collapse
-
#predicted_alt ⇒ Object
readonly
Returns the value of attribute predicted_alt.
Attributes inherited from DecisionEventInfo
#configs, #decision, #full_ctx, #input, #start_index, #stop_index
Instance Method Summary collapse
-
#initialize(decision, configs, predicted_alt, input, start_index, stop_index, fullCtx) ⇒ LookaheadEventInfo
constructor
A new instance of LookaheadEventInfo.
Constructor Details
#initialize(decision, configs, predicted_alt, input, start_index, stop_index, fullCtx) ⇒ LookaheadEventInfo
Returns a new instance of LookaheadEventInfo.
5 6 7 8 |
# File 'lib/antlr4/runtime/lookahead_event_info.rb', line 5 def initialize(decision, configs, predicted_alt, input, start_index, stop_index, fullCtx) super(decision, configs, input, start_index, stop_index, fullCtx) @predicted_alt = predicted_alt end |
Instance Attribute Details
#predicted_alt ⇒ Object (readonly)
Returns the value of attribute predicted_alt.
3 4 5 |
# File 'lib/antlr4/runtime/lookahead_event_info.rb', line 3 def predicted_alt @predicted_alt end |