3 |
|
|
4 |
|
#include <antlr/config.hpp> |
5 |
|
#include "MDTreeParserTokenTypes.hpp" |
6 |
< |
/* $ANTLR 2.7.4: "MDTreeParser.g" -> "MDTreeParser.hpp"$ */ |
6 |
> |
/* $ANTLR 2.7.7 (20090623): "MDTreeParser.g" -> "MDTreeParser.hpp"$ */ |
7 |
|
#include <antlr/TreeParser.hpp> |
8 |
|
|
9 |
|
#line 2 "MDTreeParser.g" |
12 |
|
#include "io/Globals.hpp" |
13 |
|
#include "utils/StringUtils.hpp" |
14 |
|
using namespace std; |
15 |
< |
using namespace oopse; |
15 |
> |
using namespace OpenMD; |
16 |
|
|
17 |
|
#line 18 "MDTreeParser.hpp" |
18 |
|
class CUSTOM_API MDTreeParser : public ANTLR_USE_NAMESPACE(antlr)TreeParser, public MDTreeParserTokenTypes |
53 |
|
public: void componentblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t); |
54 |
|
public: void moleculeblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t); |
55 |
|
public: void zconstraintblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t); |
56 |
+ |
public: void restraintblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t); |
57 |
|
public: void constant(ANTLR_USE_NAMESPACE(antlr)RefAST _t, |
58 |
|
ANTLR_USE_NAMESPACE(antlr)RefAST id |
59 |
|
); |
91 |
|
private: |
92 |
|
static const char* tokenNames[]; |
93 |
|
#ifndef NO_STATIC_CONSTS |
94 |
< |
static const int NUM_TOKENS = 53; |
94 |
> |
static const int NUM_TOKENS = 54; |
95 |
|
#else |
96 |
|
enum { |
97 |
< |
NUM_TOKENS = 53 |
97 |
> |
NUM_TOKENS = 54 |
98 |
|
}; |
99 |
|
#endif |
100 |
|
|