1 #ifndef INC_TokenStream_hpp__
2 #define INC_TokenStream_hpp__
4 /* ANTLR Translator Generator
5 * Project led by Terence Parr at http://www.jGuru.com
6 * Software rights: http://www.antlr.org/license.html
8 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/TokenStream.hpp#2 $
11 #include <antlr/config.hpp>
12 #include <antlr/Token.hpp>
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
18 /** This interface allows any object to pretend it is a stream
20 * @author Terence Parr, MageLang Institute
22 class ANTLR_API TokenStream {
24 virtual RefToken nextToken()=0;
25 virtual ~TokenStream()
30 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
34 #endif //INC_TokenStream_hpp__