public class DFASerializer extends Object
| Constructor and Description |
|---|
DFASerializer(DFA dfa,
Recognizer<?,?> parser) |
DFASerializer(DFA dfa,
String[] tokenNames)
Deprecated.
Use
DFASerializer(DFA, Vocabulary) instead. |
DFASerializer(DFA dfa,
String[] tokenNames,
String[] ruleNames,
ATN atn)
Deprecated.
Use
DFASerializer(DFA, Vocabulary, String[], ATN) instead. |
DFASerializer(DFA dfa,
Vocabulary vocabulary) |
DFASerializer(DFA dfa,
Vocabulary vocabulary,
String[] ruleNames,
ATN atn) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getContextLabel(int i) |
protected String |
getEdgeLabel(int i) |
String |
toString() |
@Deprecated public DFASerializer(@NotNull DFA dfa, @Nullable String[] tokenNames)
DFASerializer(DFA, Vocabulary) instead.public DFASerializer(@NotNull
DFA dfa,
@NotNull
Vocabulary vocabulary)
public DFASerializer(@NotNull
DFA dfa,
@Nullable
Recognizer<?,?> parser)
@Deprecated public DFASerializer(@NotNull DFA dfa, @Nullable String[] tokenNames, @Nullable String[] ruleNames, @Nullable ATN atn)
DFASerializer(DFA, Vocabulary, String[], ATN) instead.public DFASerializer(@NotNull
DFA dfa,
@NotNull
Vocabulary vocabulary,
@Nullable
String[] ruleNames,
@Nullable
ATN atn)
Copyright © 1992–2024 Daniel Sun. All rights reserved.