OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
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$
9 */
10
11#include <antlr/config.hpp>
12#include <antlr/CommonToken.hpp>
13
14#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
15namespace antlr {
16#endif
17
18class ANTLR_API CommonHiddenStreamToken : public CommonToken {
19protected:
20 RefToken hiddenBefore;
21 RefToken hiddenAfter;
22
23public:
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__