public InputMismatchException(Parser recognizer) {super(recognizer, recognizer.getInputStream(), recognizer._ctx);this.setOffendingToken(recognizer.getCurrentToken());}
public InputMismatchException(Parser recognizer): base(recognizer, ((ITokenStream)recognizer.InputStream), recognizer.RuleContext){this.OffendingToken = recognizer.CurrentToken;}