public ExceptionLexer(ICharStream input, IOutputStream outputStream, IErrorShow errorShow) : base(input) { IAntlrErrorListener <int> errorListener = new CMMErrorListener(outputStream, errorShow); this.RemoveErrorListeners(); this.AddErrorListener(errorListener); }
public CMMStaticErrorHandler(IOutputStream outputStream, IErrorShow errorShow) { this.outputStream = outputStream; this.error = errorShow; }
public CMMErrorListener(IOutputStream output, IErrorShow errorShow) : base() { this.outputStream = output; this.errorShow = errorShow; }