Example #1
0
        public ExceptionLexer(ICharStream input, IOutputStream outputStream, IErrorShow errorShow) : base(input)
        {
            IAntlrErrorListener <int> errorListener = new CMMErrorListener(outputStream, errorShow);

            this.RemoveErrorListeners();
            this.AddErrorListener(errorListener);
        }
Example #2
0
 public CMMStaticErrorHandler(IOutputStream outputStream, IErrorShow errorShow)
 {
     this.outputStream = outputStream;
     this.error        = errorShow;
 }
Example #3
0
 public CMMErrorListener(IOutputStream output, IErrorShow errorShow) : base()
 {
     this.outputStream = output;
     this.errorShow    = errorShow;
 }