Class: Antlr4::Runtime::LookaheadEventInfo

Inherits:
DecisionEventInfo show all
Defined in:
lib/antlr4/runtime/lookahead_event_info.rb

Instance Attribute Summary collapse

Attributes inherited from DecisionEventInfo

#configs, #decision, #full_ctx, #input, #start_index, #stop_index

Instance Method Summary collapse

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_altObject (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