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