C# 클래스 Antlr4.Runtime.Dfa.DFASerializer

A DFA walker that knows how to dump them to serialized strings.
A DFA walker that knows how to dump them to serialized strings.
파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

공개 메소드들

메소드 설명
DFASerializer ( DFA dfa, IRecognizer parser ) : System
DFASerializer ( DFA dfa, IVocabulary vocabulary ) : System
DFASerializer ( DFA dfa, IVocabulary vocabulary, string ruleNames, ATN atn ) : System
ToString ( ) : string

보호된 메소드들

메소드 설명
GetContextLabel ( int i ) : string
GetEdgeLabel ( int i ) : string

비공개 메소드들

메소드 설명
GetStateString ( DFAState s ) : string

메소드 상세

DFASerializer() 공개 메소드

public DFASerializer ( DFA dfa, IRecognizer parser ) : System
dfa DFA
parser IRecognizer
리턴 System

DFASerializer() 공개 메소드

public DFASerializer ( DFA dfa, IVocabulary vocabulary ) : System
dfa DFA
vocabulary IVocabulary
리턴 System

DFASerializer() 공개 메소드

public DFASerializer ( DFA dfa, IVocabulary vocabulary, string ruleNames, ATN atn ) : System
dfa DFA
vocabulary IVocabulary
ruleNames string
atn Antlr4.Runtime.Atn.ATN
리턴 System

GetContextLabel() 보호된 메소드

protected GetContextLabel ( int i ) : string
i int
리턴 string

GetEdgeLabel() 보호된 메소드

protected GetEdgeLabel ( int i ) : string
i int
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string