MCPcopy
hub / github.com/antlr/antlr4 / __init__

Method __init__

runtime/Python3/src/antlr4/error/Errors.py:129–131  ·  view source on GitHub ↗
(self, recognizer:Parser)

Source from the content-addressed store, hash-verified

127class InputMismatchException(RecognitionException):
128
129 def __init__(self, recognizer:Parser):
130 super().__init__(recognizer=recognizer, input=recognizer.getInputStream(), ctx=recognizer._ctx)
131 self.offendingToken = recognizer.getCurrentToken()
132
133
134# A semantic predicate failed during validation. Validation of predicates

Callers

nothing calls this directly

Calls 3

getInputStreamMethod · 0.65
__init__Method · 0.45
getCurrentTokenMethod · 0.45

Tested by

no test coverage detected