1 #ifndef INC_CommonHiddenStreamToken_hpp__
2 #define INC_CommonHiddenStreamToken_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/CommonHiddenStreamToken.hpp#2 $
11 #include <antlr/config.hpp>
12 #include <antlr/CommonToken.hpp>
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
18 class ANTLR_API CommonHiddenStreamToken : public CommonToken {
20 RefToken hiddenBefore;
24 CommonHiddenStreamToken();
25 CommonHiddenStreamToken(int t, const ANTLR_USE_NAMESPACE(std)string& txt);
26 CommonHiddenStreamToken(const ANTLR_USE_NAMESPACE(std)string& s);
28 RefToken getHiddenAfter();
29 RefToken getHiddenBefore();
31 static RefToken factory();
33 void setHiddenAfter(RefToken t);
34 void setHiddenBefore(RefToken t);
37 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
41 #endif //INC_CommonHiddenStreamToken_hpp__