Antlr4.Runtime.Atn.PredicateEvalInfo.PredicateEvalInfo C# (CSharp) Метод

PredicateEvalInfo() публичный Метод

Constructs a new instance of the PredicateEvalInfo class with the specified detailed predicate evaluation information.
public PredicateEvalInfo ( SimulatorState state, int decision, ITokenStream input, int startIndex, int stopIndex, SemanticContext semctx, bool evalResult, int predictedAlt ) : Antlr4.Runtime
state SimulatorState The simulator state
decision int The decision number
input ITokenStream The input token stream
startIndex int The start index for the current prediction
stopIndex int /// The index at which the predicate evaluation was /// triggered. Note that the input stream may be reset to other positions for /// the actual evaluation of individual predicates. ///
semctx SemanticContext The semantic context which was evaluated
evalResult bool The results of evaluating the semantic context
predictedAlt int /// The alternative number for the decision which is /// guarded by the semantic context /// /// . See /// /// for more information. ///
Результат Antlr4.Runtime
        public PredicateEvalInfo(SimulatorState state, int decision, ITokenStream input, int startIndex, int stopIndex, SemanticContext semctx, bool evalResult, int predictedAlt)
            : base(decision, state, input, startIndex, stopIndex, state.useContext)
        {
            this.semctx = semctx;
            this.evalResult = evalResult;
            this.predictedAlt = predictedAlt;
        }
PredicateEvalInfo