Пример #1
0
 def __init__(self, input=None):
     super().__init__(input)
     self.checkVersion("4.6")
     self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA,
                                      PredictionContextCache())
     self._actions = None
     self._predicates = None
Пример #2
0
 def __init__(self, input:InputStream):
     super().__init__(input)
     self._interp = LexerATNSimulator(self, self._ATN, self._decisionToDFA, self._sharedContextCache)
     self.grammarFileName = "XPathLexer.g4"