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

Comparing trunk/src/mdParser/MDParser.hpp (file contents):
Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
Revision 1275 by cli2, Fri Jul 4 20:54:29 2008 UTC

# Line 2 | Line 2
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.4: "MDParser.g" -> "MDParser.hpp"$ */
6   #include <antlr/TokenStream.hpp>
7   #include <antlr/TokenBuffer.hpp>
8   #include "MDTokenTypes.hpp"
# Line 18 | Line 18 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
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 );
# Line 53 | Line 51 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
51          public: void moleculeblock();
52          public: void zconstraintblock();
53          public: void constant();
54 <        protected: void signedNumber();
54 >        protected: void intConst();
55 >        protected: void floatConst();
56          public: void moleculestatement();
57          public: void atomblock();
58          public: void bondblock();
# Line 62 | Line 61 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
61          public: void rigidbodyblock();
62          public: void cutoffgroupblock();
63          public: void fragmentblock();
65        protected: void intConst();
64          public: void atomstatement();
65 <        public: void signedNumberTuple();
65 >        public: void doubleNumberTuple();
66          public: void bondstatement();
67          public: void inttuple();
68          public: void bendstatement();
69          public: void torsionstatement();
70 +        public: void inversionblock();
71 +        public: void inversionstatement();
72          public: void rigidbodystatement();
73          public: void cutoffgroupstatement();
74          public: void fragmentstatement();
75 <        protected: void floatConst();
75 >        protected: void doubleNumber();
76   public:
77          ANTLR_USE_NAMESPACE(antlr)RefAST getAST()
78          {
# Line 84 | Line 84 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
84   private:
85          static const char* tokenNames[];
86   #ifndef NO_STATIC_CONSTS
87 <        static const int NUM_TOKENS = 56;
87 >        static const int NUM_TOKENS = 53;
88   #else
89          enum {
90 <                NUM_TOKENS = 56
90 >                NUM_TOKENS = 53
91          };
92   #endif
93          
# Line 119 | Line 119 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
119          static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_12;
120          static const unsigned long _tokenSet_13_data_[];
121          static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_13;
122 +        static const unsigned long _tokenSet_14_data_[];
123 +        static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_14;
124 +        static const unsigned long _tokenSet_15_data_[];
125 +        static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_15;
126   };
127  
128   #endif /*INC_MDParser_hpp_*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines