C# Class 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.
Afficher le fichier Open project: antlr/antlr4 Class Usage Examples

Méthodes publiques

Méthode Description
DFASerializer ( DFA dfa, IRecognizer parser ) : System
DFASerializer ( DFA dfa, IVocabulary vocabulary ) : System
DFASerializer ( DFA dfa, IVocabulary vocabulary, string ruleNames, ATN atn ) : System
ToString ( ) : string

Méthodes protégées

Méthode Description
GetContextLabel ( int i ) : string
GetEdgeLabel ( int i ) : string

Private Methods

Méthode Description
GetStateString ( DFAState s ) : string

Method Details

DFASerializer() public méthode

public DFASerializer ( DFA dfa, IRecognizer parser ) : System
dfa DFA
parser IRecognizer
Résultat System

DFASerializer() public méthode

public DFASerializer ( DFA dfa, IVocabulary vocabulary ) : System
dfa DFA
vocabulary IVocabulary
Résultat System

DFASerializer() public méthode

public DFASerializer ( DFA dfa, IVocabulary vocabulary, string ruleNames, ATN atn ) : System
dfa DFA
vocabulary IVocabulary
ruleNames string
atn Antlr4.Runtime.Atn.ATN
Résultat System

GetContextLabel() protected méthode

protected GetContextLabel ( int i ) : string
i int
Résultat string

GetEdgeLabel() protected méthode

protected GetEdgeLabel ( int i ) : string
i int
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string