C# 클래스 Antlr4.Analysis.LeftRecursionDetector

파일 보기 프로젝트 열기: sharwell/antlr4cs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
atn Antlr4.Runtime.Atn.ATN
listOfRecursiveCycles IList>

공개 메소드들

메소드 설명
Check ( Rule enclosingRule, ATNState s, ISet visitedStates ) : bool
Check ( ) : void
LeftRecursionDetector ( Grammar g, ATN atn ) : System.Collections.Generic

보호된 메소드들

메소드 설명
AddRulesToCycle ( Rule enclosingRule, Rule targetRule ) : void

메소드 상세

AddRulesToCycle() 보호된 메소드

protected AddRulesToCycle ( Rule enclosingRule, Rule targetRule ) : void
enclosingRule Antlr4.Tool.Rule
targetRule Antlr4.Tool.Rule
리턴 void

Check() 공개 메소드

public Check ( Rule enclosingRule, ATNState s, ISet visitedStates ) : bool
enclosingRule Antlr4.Tool.Rule
s Antlr4.Runtime.Atn.ATNState
visitedStates ISet
리턴 bool

Check() 공개 메소드

public Check ( ) : void
리턴 void

LeftRecursionDetector() 공개 메소드

public LeftRecursionDetector ( Grammar g, ATN atn ) : System.Collections.Generic
g Antlr4.Tool.Grammar
atn Antlr4.Runtime.Atn.ATN
리턴 System.Collections.Generic

프로퍼티 상세

atn 공개적으로 프로퍼티

public ATN,Antlr4.Runtime.Atn atn
리턴 Antlr4.Runtime.Atn.ATN

listOfRecursiveCycles 공개적으로 프로퍼티

public IList> listOfRecursiveCycles
리턴 IList>