| 1 | tim | 770 | #ifndef INC_MDParser_hpp_ | 
| 2 |  |  | #define INC_MDParser_hpp_ | 
| 3 |  |  |  | 
| 4 |  |  | #include <antlr/config.hpp> | 
| 5 | gezelter | 2040 | /* $ANTLR 2.7.7 (20141024): "MDParser.g" -> "MDParser.hpp"$ */ | 
| 6 | tim | 770 | #include <antlr/TokenStream.hpp> | 
| 7 |  |  | #include <antlr/TokenBuffer.hpp> | 
| 8 |  |  | #include "MDTokenTypes.hpp" | 
| 9 |  |  | #include <antlr/LLkParser.hpp> | 
| 10 |  |  |  | 
| 11 |  |  | #line 2 "MDParser.g" | 
| 12 |  |  |  | 
| 13 |  |  |  | 
| 14 |  |  | #include "antlr/CharScanner.hpp" | 
| 15 |  |  | #include "utils/StringUtils.hpp" | 
| 16 |  |  | #include "mdParser/FilenameObserver.hpp" | 
| 17 |  |  |  | 
| 18 |  |  | #line 19 "MDParser.hpp" | 
| 19 |  |  | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public MDTokenTypes | 
| 20 |  |  | { | 
| 21 | tim | 810 | #line 1 "MDParser.g" | 
| 22 | tim | 770 | #line 23 "MDParser.hpp" | 
| 23 |  |  | public: | 
| 24 |  |  | void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory ); | 
| 25 |  |  | protected: | 
| 26 |  |  | MDParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf, int k); | 
| 27 |  |  | public: | 
| 28 |  |  | MDParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf); | 
| 29 |  |  | protected: | 
| 30 |  |  | MDParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer, int k); | 
| 31 |  |  | public: | 
| 32 |  |  | MDParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer); | 
| 33 |  |  | MDParser(const ANTLR_USE_NAMESPACE(antlr)ParserSharedInputState& state); | 
| 34 |  |  | int getNumTokens() const | 
| 35 |  |  | { | 
| 36 |  |  | return MDParser::NUM_TOKENS; | 
| 37 |  |  | } | 
| 38 |  |  | const char* getTokenName( int type ) const | 
| 39 |  |  | { | 
| 40 |  |  | if( type > getNumTokens() ) return 0; | 
| 41 |  |  | return MDParser::tokenNames[type]; | 
| 42 |  |  | } | 
| 43 |  |  | const char* const* getTokenNames() const | 
| 44 |  |  | { | 
| 45 |  |  | return MDParser::tokenNames; | 
| 46 |  |  | } | 
| 47 |  |  | public: void mdfile(); | 
| 48 |  |  | public: void statement(); | 
| 49 |  |  | public: void assignment(); | 
| 50 |  |  | public: void componentblock(); | 
| 51 |  |  | public: void moleculeblock(); | 
| 52 |  |  | public: void zconstraintblock(); | 
| 53 | cli2 | 1360 | public: void restraintblock(); | 
| 54 | gezelter | 1782 | public: void flucqblock(); | 
| 55 |  |  | public: void rnemdblock(); | 
| 56 |  |  | public: void minimizerblock(); | 
| 57 | tim | 770 | public: void constant(); | 
| 58 | tim | 814 | protected: void intConst(); | 
| 59 |  |  | protected: void floatConst(); | 
| 60 | gezelter | 1782 | protected: void vectorConst(); | 
| 61 | tim | 770 | public: void moleculestatement(); | 
| 62 |  |  | public: void atomblock(); | 
| 63 |  |  | public: void bondblock(); | 
| 64 |  |  | public: void bendblock(); | 
| 65 |  |  | public: void torsionblock(); | 
| 66 | gezelter | 1277 | public: void inversionblock(); | 
| 67 | tim | 770 | public: void rigidbodyblock(); | 
| 68 |  |  | public: void cutoffgroupblock(); | 
| 69 |  |  | public: void fragmentblock(); | 
| 70 | gezelter | 1979 | public: void constraintblock(); | 
| 71 | tim | 770 | public: void atomstatement(); | 
| 72 | tim | 814 | public: void doubleNumberTuple(); | 
| 73 | tim | 770 | public: void bondstatement(); | 
| 74 |  |  | public: void inttuple(); | 
| 75 |  |  | public: void bendstatement(); | 
| 76 |  |  | public: void torsionstatement(); | 
| 77 | cli2 | 1275 | public: void inversionstatement(); | 
| 78 | tim | 770 | public: void rigidbodystatement(); | 
| 79 |  |  | public: void cutoffgroupstatement(); | 
| 80 |  |  | public: void fragmentstatement(); | 
| 81 | gezelter | 1979 | public: void constraintstatement(); | 
| 82 | tim | 814 | protected: void doubleNumber(); | 
| 83 | tim | 770 | public: | 
| 84 |  |  | ANTLR_USE_NAMESPACE(antlr)RefAST getAST() | 
| 85 |  |  | { | 
| 86 |  |  | return returnAST; | 
| 87 |  |  | } | 
| 88 |  |  |  | 
| 89 |  |  | protected: | 
| 90 |  |  | ANTLR_USE_NAMESPACE(antlr)RefAST returnAST; | 
| 91 |  |  | private: | 
| 92 |  |  | static const char* tokenNames[]; | 
| 93 |  |  | #ifndef NO_STATIC_CONSTS | 
| 94 | gezelter | 2046 | static const int NUM_TOKENS = 78; | 
| 95 | tim | 770 | #else | 
| 96 |  |  | enum { | 
| 97 | gezelter | 2046 | NUM_TOKENS = 78 | 
| 98 | tim | 770 | }; | 
| 99 |  |  | #endif | 
| 100 |  |  |  | 
| 101 |  |  | static const unsigned long _tokenSet_0_data_[]; | 
| 102 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0; | 
| 103 |  |  | static const unsigned long _tokenSet_1_data_[]; | 
| 104 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1; | 
| 105 |  |  | static const unsigned long _tokenSet_2_data_[]; | 
| 106 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2; | 
| 107 |  |  | static const unsigned long _tokenSet_3_data_[]; | 
| 108 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3; | 
| 109 |  |  | static const unsigned long _tokenSet_4_data_[]; | 
| 110 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4; | 
| 111 |  |  | static const unsigned long _tokenSet_5_data_[]; | 
| 112 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_5; | 
| 113 |  |  | static const unsigned long _tokenSet_6_data_[]; | 
| 114 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6; | 
| 115 |  |  | static const unsigned long _tokenSet_7_data_[]; | 
| 116 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_7; | 
| 117 |  |  | static const unsigned long _tokenSet_8_data_[]; | 
| 118 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_8; | 
| 119 |  |  | static const unsigned long _tokenSet_9_data_[]; | 
| 120 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_9; | 
| 121 |  |  | static const unsigned long _tokenSet_10_data_[]; | 
| 122 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_10; | 
| 123 |  |  | static const unsigned long _tokenSet_11_data_[]; | 
| 124 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_11; | 
| 125 |  |  | static const unsigned long _tokenSet_12_data_[]; | 
| 126 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_12; | 
| 127 |  |  | static const unsigned long _tokenSet_13_data_[]; | 
| 128 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_13; | 
| 129 | tim | 814 | static const unsigned long _tokenSet_14_data_[]; | 
| 130 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_14; | 
| 131 | cli2 | 1275 | static const unsigned long _tokenSet_15_data_[]; | 
| 132 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_15; | 
| 133 | gezelter | 1902 | static const unsigned long _tokenSet_16_data_[]; | 
| 134 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_16; | 
| 135 | gezelter | 2046 | static const unsigned long _tokenSet_17_data_[]; | 
| 136 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_17; | 
| 137 |  |  | static const unsigned long _tokenSet_18_data_[]; | 
| 138 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_18; | 
| 139 |  |  | static const unsigned long _tokenSet_19_data_[]; | 
| 140 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_19; | 
| 141 |  |  | static const unsigned long _tokenSet_20_data_[]; | 
| 142 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_20; | 
| 143 |  |  | static const unsigned long _tokenSet_21_data_[]; | 
| 144 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_21; | 
| 145 |  |  | static const unsigned long _tokenSet_22_data_[]; | 
| 146 |  |  | static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_22; | 
| 147 | tim | 770 | }; | 
| 148 |  |  |  | 
| 149 |  |  | #endif /*INC_MDParser_hpp_*/ |