Class: Antlr4::Runtime::DecisionEventInfo
- Inherits:
-
Object
- Object
- Antlr4::Runtime::DecisionEventInfo
- Defined in:
- lib/antlr4/runtime/decision_event_info.rb
Direct Known Subclasses
AmbiguityInfo, ContextSensitivityInfo, ErrorInfo, LookaheadEventInfo, PredicateEvalInfo
Instance Attribute Summary collapse
-
#configs ⇒ Object
Returns the value of attribute configs.
-
#decision ⇒ Object
Returns the value of attribute decision.
-
#full_ctx ⇒ Object
Returns the value of attribute full_ctx.
-
#input ⇒ Object
Returns the value of attribute input.
-
#start_index ⇒ Object
Returns the value of attribute start_index.
-
#stop_index ⇒ Object
Returns the value of attribute stop_index.
Instance Method Summary collapse
-
#initialize(decision, configs, input, start_index, stop_index, full_ctx) ⇒ DecisionEventInfo
constructor
A new instance of DecisionEventInfo.
Constructor Details
#initialize(decision, configs, input, start_index, stop_index, full_ctx) ⇒ DecisionEventInfo
Returns a new instance of DecisionEventInfo.
10 11 12 13 14 15 16 17 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 10 def initialize(decision, configs, input, start_index, stop_index, full_ctx) @decision = decision @full_ctx = full_ctx @stop_index = stop_index @input = input @start_index = start_index @configs = configs end |
Instance Attribute Details
#configs ⇒ Object
Returns the value of attribute configs.
4 5 6 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 4 def configs @configs end |
#decision ⇒ Object
Returns the value of attribute decision.
3 4 5 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 3 def decision @decision end |
#full_ctx ⇒ Object
Returns the value of attribute full_ctx.
8 9 10 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 8 def full_ctx @full_ctx end |
#input ⇒ Object
Returns the value of attribute input.
5 6 7 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 5 def input @input end |
#start_index ⇒ Object
Returns the value of attribute start_index.
6 7 8 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 6 def start_index @start_index end |
#stop_index ⇒ Object
Returns the value of attribute stop_index.
7 8 9 |
# File 'lib/antlr4/runtime/decision_event_info.rb', line 7 def stop_index @stop_index end |