ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/mdParser/MDTreeParser.hpp
(Generate patch)

Comparing:
trunk/src/mdParser/MDTreeParser.hpp (file contents), Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
branches/development/src/mdParser/MDTreeParser.hpp (file contents), Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC

# Line 3 | Line 3
3  
4   #include <antlr/config.hpp>
5   #include "MDTreeParserTokenTypes.hpp"
6 < /* $ANTLR 2.7.5 (20050406): "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"
# Line 12 | Line 12 | using namespace std;
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
# Line 53 | Line 53 | class CUSTOM_API MDTreeParser : public ANTLR_USE_NAMES
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          );
59        public: void signedIntOrFloat(ANTLR_USE_NAMESPACE(antlr)RefAST _t,
60                ANTLR_USE_NAMESPACE(antlr)RefAST id
61        );
60          protected: int  intConst(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
61 <        protected: double  floatConst(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
61 >        protected: RealType  floatConst(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
62          public: void moleculestatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
63          public: void atomblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
64          public: void bondblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
65          public: void bendblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
66          public: void torsionblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
67 +        public: void inversionblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
68          public: void rigidbodyblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
69          public: void cutoffgroupblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
70          public: void fragmentblock(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
71          public: void atomstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
72 <        public: vector<double>  signedNumberTuple(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
72 >        public: vector<RealType>  doubleNumberTuple(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
73          public: void bondstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
74          public: vector<int>  inttuple(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
75          public: void bendstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
76          public: void torsionstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
77 +        public: void inversionstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
78          public: void rigidbodystatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
79          public: void cutoffgroupstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
80          public: void fragmentstatement(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
81 <        protected: double  signedNumber(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
81 >        protected: RealType  doubleNumber(ANTLR_USE_NAMESPACE(antlr)RefAST _t);
82   public:
83          ANTLR_USE_NAMESPACE(antlr)RefAST getAST()
84          {
# Line 91 | Line 91 | class CUSTOM_API MDTreeParser : public ANTLR_USE_NAMES
91   private:
92          static const char* tokenNames[];
93   #ifndef NO_STATIC_CONSTS
94 <        static const int NUM_TOKENS = 56;
94 >        static const int NUM_TOKENS = 54;
95   #else
96          enum {
97 <                NUM_TOKENS = 56
97 >                NUM_TOKENS = 54
98          };
99   #endif
100          
# Line 102 | Line 102 | class CUSTOM_API MDTreeParser : public ANTLR_USE_NAMES
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;
105   };
106  
107   #endif /*INC_MDTreeParser_hpp_*/

Comparing:
trunk/src/mdParser/MDTreeParser.hpp (property svn:keywords), Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
branches/development/src/mdParser/MDTreeParser.hpp (property svn:keywords), Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines