Package org.antlr.v4.runtime.dfa
Class DFASerializer
- java.lang.Object
-
- org.antlr.v4.runtime.dfa.DFASerializer
-
- Direct Known Subclasses:
LexerDFASerializer
public class DFASerializer extends Object
A DFA walker that knows how to dump them to serialized strings.
-
-
Constructor Summary
Constructors Constructor Description DFASerializer(DFA dfa, String[] tokenNames)
Deprecated.UseDFASerializer(DFA, Vocabulary)
instead.DFASerializer(DFA dfa, Vocabulary vocabulary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getEdgeLabel(int i)
protected String
getStateString(DFAState s)
String
toString()
-
-
-
Constructor Detail
-
DFASerializer
@Deprecated public DFASerializer(DFA dfa, String[] tokenNames)
Deprecated.UseDFASerializer(DFA, Vocabulary)
instead.
-
DFASerializer
public DFASerializer(DFA dfa, Vocabulary vocabulary)
-
-