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

TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED.
TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED. In the ATN, labels will always be exactly one predicate, but the DFA may have to combine a bunch of them as it collects predicates from multiple ATN configurations into a single DFA state.
상속: AbstractPredicateTransition
파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
isCtxDependent bool
predIndex int
ruleIndex int

공개 메소드들

메소드 설명
Matches ( int symbol, int minVocabSymbol, int maxVocabSymbol ) : bool
PredicateTransition ( ATNState target, int ruleIndex, int predIndex, bool isCtxDependent ) : Antlr4.Runtime.Atn

비공개 메소드들

메소드 설명
ToString ( ) : string

메소드 상세

Matches() 공개 메소드

public Matches ( int symbol, int minVocabSymbol, int maxVocabSymbol ) : bool
symbol int
minVocabSymbol int
maxVocabSymbol int
리턴 bool

PredicateTransition() 공개 메소드

public PredicateTransition ( ATNState target, int ruleIndex, int predIndex, bool isCtxDependent ) : Antlr4.Runtime.Atn
target ATNState
ruleIndex int
predIndex int
isCtxDependent bool
리턴 Antlr4.Runtime.Atn

프로퍼티 상세

isCtxDependent 공개적으로 프로퍼티

public bool isCtxDependent
리턴 bool

predIndex 공개적으로 프로퍼티

public int predIndex
리턴 int

ruleIndex 공개적으로 프로퍼티

public int ruleIndex
리턴 int