token_stream_recognition_exception.sa
Upload User: afrynkmhm
Upload Date: 2007-01-06
Package Size: 1262k
Code Size: 1k
Development Platform:

Others

  1. (* 
  2.   ANTLR Translator Generator
  3.   Project led by Terence Parr at http://www.jGuru.com
  4.   Software rights: http://www.antlr.org/RIGHTS.html
  5.  
  6.   $Id: //depot/code/org.antlr/release/antlr-2.7.0/lib/sather/Antlr/token_stream_recognition_exception.sa#1 $
  7. *)
  8. -- Wraps a ANTLR_RECOGNITION_EXCEPTION in a
  9. -- ANTLR_TOKEN_STREAM_EXCEPTION so you can pass it along.
  10. abstract class $ANTLR_TOKEN_STREAM_RECOGNITION_EXCEPTION 
  11.       < $ANTLR_TOKEN_STREAM_EXCEPTION is
  12.    str : STR;
  13.    message : STR;
  14. end;
  15. class ANTLR_TOKEN_STREAM_RECOGNITION_EXCEPTION 
  16.       < $ANTLR_TOKEN_STREAM_RECOGNITION_EXCEPTION is
  17.    include ANTLR_TOKEN_STREAM_EXCEPTION;
  18. end;