ANTLR Support Libraries 2.7.1+
|
00001 #ifndef INC_TokenStream_hpp__ 00002 #define INC_TokenStream_hpp__ 00003 00004 /* ANTLR Translator Generator 00005 * Project led by Terence Parr at http://www.jGuru.com 00006 * Software rights: http://www.antlr.org/license.html 00007 * 00008 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/TokenStream.hpp#2 $ 00009 */ 00010 00011 #include <antlr/config.hpp> 00012 #include <antlr/Token.hpp> 00013 00014 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE 00015 namespace antlr { 00016 #endif 00017 00022 class ANTLR_API TokenStream { 00023 public: 00024 virtual RefToken nextToken()=0; 00025 virtual ~TokenStream() 00026 { 00027 } 00028 }; 00029 00030 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE 00031 } 00032 #endif 00033 00034 #endif //INC_TokenStream_hpp__