static XPathLexer() { decisionToDFA = new DFA[_ATN.NumberOfDecisions]; for (int i = 0; i < _ATN.NumberOfDecisions; i++) { decisionToDFA[i] = new DFA(_ATN.GetDecisionState(i), i); } }
public DFASerializer(DFA dfa, IRecognizer parser) : this(dfa, parser != null ? parser.Vocabulary : Vocabulary.EmptyVocabulary, parser != null ? parser.RuleNames : null, parser != null ? parser.Atn : null) { }
public DFASerializer(DFA dfa, IVocabulary vocabulary) : this(dfa, vocabulary, null, null) { }