Class: Antlr4::Runtime::DecisionInfo
- Inherits:
-
Object
- Object
- Antlr4::Runtime::DecisionInfo
- Defined in:
- lib/antlr4/runtime/decision_info.rb
Instance Attribute Summary collapse
-
#ambiguities ⇒ Object
Returns the value of attribute ambiguities.
-
#context_sensitivities ⇒ Object
Returns the value of attribute context_sensitivities.
-
#decision ⇒ Object
Returns the value of attribute decision.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#invocations ⇒ Object
Returns the value of attribute invocations.
-
#LL_ATNTransitions ⇒ Object
Returns the value of attribute LL_ATNTransitions.
-
#LL_DFATransitions ⇒ Object
Returns the value of attribute LL_DFATransitions.
-
#LL_Fallback ⇒ Object
Returns the value of attribute LL_Fallback.
-
#LL_MaxLook ⇒ Object
Returns the value of attribute LL_MaxLook.
-
#LL_MaxLookEvent ⇒ Object
Returns the value of attribute LL_MaxLookEvent.
-
#LL_MinLook ⇒ Object
Returns the value of attribute LL_MinLook.
-
#LL_TotalLook ⇒ Object
Returns the value of attribute LL_TotalLook.
-
#predicate_evals ⇒ Object
Returns the value of attribute predicate_evals.
-
#SLL_ATNTransitions ⇒ Object
Returns the value of attribute SLL_ATNTransitions.
-
#SLL_DFATransitions ⇒ Object
Returns the value of attribute SLL_DFATransitions.
-
#SLL_MaxLook ⇒ Object
Returns the value of attribute SLL_MaxLook.
-
#SLL_MaxLookEvent ⇒ Object
Returns the value of attribute SLL_MaxLookEvent.
-
#SLL_MinLook ⇒ Object
Returns the value of attribute SLL_MinLook.
-
#SLL_TotalLook ⇒ Object
Returns the value of attribute SLL_TotalLook.
-
#timeInPrediction ⇒ Object
Returns the value of attribute timeInPrediction.
Instance Method Summary collapse
-
#initialize(decision) ⇒ DecisionInfo
constructor
A new instance of DecisionInfo.
- #to_s ⇒ Object
Constructor Details
#initialize(decision) ⇒ DecisionInfo
Returns a new instance of DecisionInfo.
24 25 26 27 28 29 30 |
# File 'lib/antlr4/runtime/decision_info.rb', line 24 def initialize(decision) @context_sensitivities = [] @errors = [] @ambiguities = [] @predicate_evals = [] @decision = decision end |
Instance Attribute Details
#ambiguities ⇒ Object
Returns the value of attribute ambiguities.
16 17 18 |
# File 'lib/antlr4/runtime/decision_info.rb', line 16 def ambiguities @ambiguities end |
#context_sensitivities ⇒ Object
Returns the value of attribute context_sensitivities.
14 15 16 |
# File 'lib/antlr4/runtime/decision_info.rb', line 14 def context_sensitivities @context_sensitivities end |
#decision ⇒ Object
Returns the value of attribute decision.
3 4 5 |
# File 'lib/antlr4/runtime/decision_info.rb', line 3 def decision @decision end |
#errors ⇒ Object
Returns the value of attribute errors.
15 16 17 |
# File 'lib/antlr4/runtime/decision_info.rb', line 15 def errors @errors end |
#invocations ⇒ Object
Returns the value of attribute invocations.
4 5 6 |
# File 'lib/antlr4/runtime/decision_info.rb', line 4 def invocations @invocations end |
#LL_ATNTransitions ⇒ Object
Returns the value of attribute LL_ATNTransitions.
21 22 23 |
# File 'lib/antlr4/runtime/decision_info.rb', line 21 def LL_ATNTransitions @LL_ATNTransitions end |
#LL_DFATransitions ⇒ Object
Returns the value of attribute LL_DFATransitions.
22 23 24 |
# File 'lib/antlr4/runtime/decision_info.rb', line 22 def LL_DFATransitions @LL_DFATransitions end |
#LL_Fallback ⇒ Object
Returns the value of attribute LL_Fallback.
20 21 22 |
# File 'lib/antlr4/runtime/decision_info.rb', line 20 def LL_Fallback @LL_Fallback end |
#LL_MaxLook ⇒ Object
Returns the value of attribute LL_MaxLook.
12 13 14 |
# File 'lib/antlr4/runtime/decision_info.rb', line 12 def LL_MaxLook @LL_MaxLook end |
#LL_MaxLookEvent ⇒ Object
Returns the value of attribute LL_MaxLookEvent.
13 14 15 |
# File 'lib/antlr4/runtime/decision_info.rb', line 13 def LL_MaxLookEvent @LL_MaxLookEvent end |
#LL_MinLook ⇒ Object
Returns the value of attribute LL_MinLook.
11 12 13 |
# File 'lib/antlr4/runtime/decision_info.rb', line 11 def LL_MinLook @LL_MinLook end |
#LL_TotalLook ⇒ Object
Returns the value of attribute LL_TotalLook.
10 11 12 |
# File 'lib/antlr4/runtime/decision_info.rb', line 10 def LL_TotalLook @LL_TotalLook end |
#predicate_evals ⇒ Object
Returns the value of attribute predicate_evals.
17 18 19 |
# File 'lib/antlr4/runtime/decision_info.rb', line 17 def predicate_evals @predicate_evals end |
#SLL_ATNTransitions ⇒ Object
Returns the value of attribute SLL_ATNTransitions.
18 19 20 |
# File 'lib/antlr4/runtime/decision_info.rb', line 18 def SLL_ATNTransitions @SLL_ATNTransitions end |
#SLL_DFATransitions ⇒ Object
Returns the value of attribute SLL_DFATransitions.
19 20 21 |
# File 'lib/antlr4/runtime/decision_info.rb', line 19 def SLL_DFATransitions @SLL_DFATransitions end |
#SLL_MaxLook ⇒ Object
Returns the value of attribute SLL_MaxLook.
8 9 10 |
# File 'lib/antlr4/runtime/decision_info.rb', line 8 def SLL_MaxLook @SLL_MaxLook end |
#SLL_MaxLookEvent ⇒ Object
Returns the value of attribute SLL_MaxLookEvent.
9 10 11 |
# File 'lib/antlr4/runtime/decision_info.rb', line 9 def SLL_MaxLookEvent @SLL_MaxLookEvent end |
#SLL_MinLook ⇒ Object
Returns the value of attribute SLL_MinLook.
7 8 9 |
# File 'lib/antlr4/runtime/decision_info.rb', line 7 def SLL_MinLook @SLL_MinLook end |
#SLL_TotalLook ⇒ Object
Returns the value of attribute SLL_TotalLook.
6 7 8 |
# File 'lib/antlr4/runtime/decision_info.rb', line 6 def SLL_TotalLook @SLL_TotalLook end |
#timeInPrediction ⇒ Object
Returns the value of attribute timeInPrediction.
5 6 7 |
# File 'lib/antlr4/runtime/decision_info.rb', line 5 def timeInPrediction @timeInPrediction end |
Instance Method Details
#to_s ⇒ Object
32 33 34 |
# File 'lib/antlr4/runtime/decision_info.rb', line 32 def to_s '' + 'decision=' + @decision + ', contextSensitivities=' + @context_sensitivities.size + ', errors=' + @errors.size + ', ambiguities=' + @ambiguities.size + ', SLL_lookahead=' + SLL_TotalLook + ', SLL_ATNTransitions=' + SLL_ATNTransitions + ', SLL_DFATransitions=' + SLL_DFATransitions + ', LL_Fallback=' + LL_Fallback + ', LL_lookahead=' + LL_TotalLook + ', LL_ATNTransitions=' + LL_ATNTransitions + 'end' end |