C# 클래스 Antlr4.Runtime.Atn.PredicateEvalInfo

This class represents profiling event information for semantic predicate evaluations which occur during prediction.
This class represents profiling event information for semantic predicate evaluations which occur during prediction.
상속: DecisionEventInfo
파일 보기 프로젝트 열기: antlr/antlr4

공개 프로퍼티들

프로퍼티 타입 설명
evalResult bool
predictedAlt int
semctx SemanticContext

공개 메소드들

메소드 설명
PredicateEvalInfo ( SimulatorState state, int decision, ITokenStream input, int startIndex, int stopIndex, SemanticContext semctx, bool evalResult, int predictedAlt ) : Antlr4.Runtime

Constructs a new instance of the PredicateEvalInfo class with the specified detailed predicate evaluation information.

메소드 상세

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

프로퍼티 상세

evalResult 공개적으로 프로퍼티

The result of evaluating the semantic context semctx .
public bool evalResult
리턴 bool

predictedAlt 공개적으로 프로퍼티

The alternative number for the decision which is guarded by the semantic context semctx . Note that other ATN configurations may predict the same alternative which are guarded by other semantic contexts and/or SemanticContext.NONE .
public int predictedAlt
리턴 int

semctx 공개적으로 프로퍼티

The semantic context which was evaluated.
The semantic context which was evaluated.
public SemanticContext semctx
리턴 SemanticContext