public TokenStreamRecognitionException(RecognitionException re) :
     base(re.Message)
 {
     this.recog = re;
 }
Esempio n. 2
0
		/*Parser error-reporting function can be overridden in subclass */
		public virtual void  reportError(RecognitionException ex)
		{
			Console.Error.WriteLine(ex.ToString());
		}
Esempio n. 3
0
		public virtual void recover(RecognitionException ex, BitSet tokenSet)
		{
			consume();
			consumeUntil(tokenSet);
		}