2 |
|
#define INC_MDParser_hpp_ |
3 |
|
|
4 |
|
#include <antlr/config.hpp> |
5 |
< |
/* $ANTLR 2.7.5 (20050406): "MDParser.g" -> "MDParser.hpp"$ */ |
5 |
> |
/* $ANTLR 2.7.7 (20090623): "MDParser.g" -> "MDParser.hpp"$ */ |
6 |
|
#include <antlr/TokenStream.hpp> |
7 |
|
#include <antlr/TokenBuffer.hpp> |
8 |
|
#include "MDTokenTypes.hpp" |
18 |
|
#line 19 "MDParser.hpp" |
19 |
|
class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public MDTokenTypes |
20 |
|
{ |
21 |
< |
#line 44 "MDParser.g" |
22 |
< |
|
23 |
< |
// Suppport C++-style single-line comments? |
21 |
> |
#line 1 "MDParser.g" |
22 |
|
#line 23 "MDParser.hpp" |
23 |
|
public: |
24 |
|
void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); |
50 |
|
public: void componentblock(); |
51 |
|
public: void moleculeblock(); |
52 |
|
public: void zconstraintblock(); |
53 |
+ |
public: void restraintblock(); |
54 |
|
public: void constant(); |
55 |
< |
protected: void signedNumber(); |
55 |
> |
protected: void intConst(); |
56 |
> |
protected: void floatConst(); |
57 |
|
public: void moleculestatement(); |
58 |
|
public: void atomblock(); |
59 |
|
public: void bondblock(); |
60 |
|
public: void bendblock(); |
61 |
|
public: void torsionblock(); |
62 |
+ |
public: void inversionblock(); |
63 |
|
public: void rigidbodyblock(); |
64 |
|
public: void cutoffgroupblock(); |
65 |
|
public: void fragmentblock(); |
65 |
– |
protected: void intConst(); |
66 |
|
public: void atomstatement(); |
67 |
< |
public: void signedNumberTuple(); |
67 |
> |
public: void doubleNumberTuple(); |
68 |
|
public: void bondstatement(); |
69 |
|
public: void inttuple(); |
70 |
|
public: void bendstatement(); |
71 |
|
public: void torsionstatement(); |
72 |
+ |
public: void inversionstatement(); |
73 |
|
public: void rigidbodystatement(); |
74 |
|
public: void cutoffgroupstatement(); |
75 |
|
public: void fragmentstatement(); |
76 |
< |
protected: void floatConst(); |
76 |
> |
protected: void doubleNumber(); |
77 |
|
public: |
78 |
|
ANTLR_USE_NAMESPACE(antlr)RefAST getAST() |
79 |
|
{ |
85 |
|
private: |
86 |
|
static const char* tokenNames[]; |
87 |
|
#ifndef NO_STATIC_CONSTS |
88 |
< |
static const int NUM_TOKENS = 56; |
88 |
> |
static const int NUM_TOKENS = 54; |
89 |
|
#else |
90 |
|
enum { |
91 |
< |
NUM_TOKENS = 56 |
91 |
> |
NUM_TOKENS = 54 |
92 |
|
}; |
93 |
|
#endif |
94 |
|
|
120 |
|
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_12; |
121 |
|
static const unsigned long _tokenSet_13_data_[]; |
122 |
|
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_13; |
123 |
+ |
static const unsigned long _tokenSet_14_data_[]; |
124 |
+ |
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_14; |
125 |
+ |
static const unsigned long _tokenSet_15_data_[]; |
126 |
+ |
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_15; |
127 |
|
}; |
128 |
|
|
129 |
|
#endif /*INC_MDParser_hpp_*/ |