]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_codesigning/antlr2/antlr/CommonHiddenStreamToken.hpp
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_codesigning / antlr2 / antlr / CommonHiddenStreamToken.hpp
1 #ifndef INC_CommonHiddenStreamToken_hpp__
2 #define INC_CommonHiddenStreamToken_hpp__
3
4 /* ANTLR Translator Generator
5 * Project led by Terence Parr at http://www.jGuru.com
6 * Software rights: http://www.antlr.org/license.html
7 *
8 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/CommonHiddenStreamToken.hpp#2 $
9 */
10
11 #include <antlr/config.hpp>
12 #include <antlr/CommonToken.hpp>
13
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
15 namespace antlr {
16 #endif
17
18 class ANTLR_API CommonHiddenStreamToken : public CommonToken {
19 protected:
20 RefToken hiddenBefore;
21 RefToken hiddenAfter;
22
23 public:
24 CommonHiddenStreamToken();
25 CommonHiddenStreamToken(int t, const ANTLR_USE_NAMESPACE(std)string& txt);
26 CommonHiddenStreamToken(const ANTLR_USE_NAMESPACE(std)string& s);
27
28 RefToken getHiddenAfter();
29 RefToken getHiddenBefore();
30
31 static RefToken factory();
32
33 void setHiddenAfter(RefToken t);
34 void setHiddenBefore(RefToken t);
35 };
36
37 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
38 }
39 #endif
40
41 #endif //INC_CommonHiddenStreamToken_hpp__