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