3#include <antlr/NoViableAltException.hpp>
4#include <antlr/SemanticException.hpp>
5#include <antlr/ASTFactory.hpp>
8MDParser::MDParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf,
int k)
9: ANTLR_USE_NAMESPACE(antlr)LLkParser(tokenBuf,k)
13MDParser::MDParser(ANTLR_USE_NAMESPACE(antlr)TokenBuffer& tokenBuf)
14: ANTLR_USE_NAMESPACE(antlr)LLkParser(tokenBuf,3)
18MDParser::MDParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer,
int k)
19: ANTLR_USE_NAMESPACE(antlr)LLkParser(lexer,k)
23MDParser::MDParser(ANTLR_USE_NAMESPACE(antlr)TokenStream& lexer)
24: ANTLR_USE_NAMESPACE(antlr)LLkParser(lexer,3)
28MDParser::MDParser(
const ANTLR_USE_NAMESPACE(antlr)ParserSharedInputState& state)
29: ANTLR_USE_NAMESPACE(antlr)LLkParser(state,3)
33void MDParser::mdfile() {
34 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
35 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
36 ANTLR_USE_NAMESPACE(antlr)RefAST mdfile_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
41 if ((_tokenSet_0.member(LA(1)))) {
43 astFactory->addASTChild( currentAST, returnAST );
52 mdfile_AST = currentAST.root;
54 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
56 recover(ex,_tokenSet_1);
58 returnAST = mdfile_AST;
61void MDParser::statement() {
62 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
63 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
64 ANTLR_USE_NAMESPACE(antlr)RefAST statement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
71 astFactory->addASTChild( currentAST, returnAST );
72 statement_AST = currentAST.root;
78 astFactory->addASTChild( currentAST, returnAST );
79 statement_AST = currentAST.root;
85 astFactory->addASTChild( currentAST, returnAST );
86 statement_AST = currentAST.root;
92 astFactory->addASTChild( currentAST, returnAST );
93 statement_AST = currentAST.root;
99 astFactory->addASTChild( currentAST, returnAST );
100 statement_AST = currentAST.root;
106 astFactory->addASTChild( currentAST, returnAST );
107 statement_AST = currentAST.root;
113 astFactory->addASTChild( currentAST, returnAST );
114 statement_AST = currentAST.root;
120 astFactory->addASTChild( currentAST, returnAST );
121 statement_AST = currentAST.root;
126 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
130 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
132 recover(ex,_tokenSet_2);
134 returnAST = statement_AST;
137void MDParser::assignment() {
138 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
139 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
140 ANTLR_USE_NAMESPACE(antlr)RefAST assignment_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
143 ANTLR_USE_NAMESPACE(antlr)RefAST tmp1_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
144 tmp1_AST = astFactory->create(LT(1));
145 astFactory->addASTChild(currentAST, tmp1_AST);
147 ANTLR_USE_NAMESPACE(antlr)RefAST tmp2_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
148 tmp2_AST = astFactory->create(LT(1));
149 astFactory->makeASTRoot(currentAST, tmp2_AST);
152 astFactory->addASTChild( currentAST, returnAST );
154 assignment_AST = currentAST.root;
156 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
158 recover(ex,_tokenSet_3);
160 returnAST = assignment_AST;
163void MDParser::componentblock() {
164 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
165 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
166 ANTLR_USE_NAMESPACE(antlr)RefAST componentblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
169 ANTLR_USE_NAMESPACE(antlr)RefAST tmp4_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
170 tmp4_AST = astFactory->create(LT(1));
171 astFactory->makeASTRoot(currentAST, tmp4_AST);
178 astFactory->addASTChild( currentAST, returnAST );
187 ANTLR_USE_NAMESPACE(antlr)RefAST tmp6_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
188 tmp6_AST = astFactory->create(LT(1));
189 astFactory->addASTChild(currentAST, tmp6_AST);
192 tmp6_AST->setType(ENDBLOCK);
193#line 194 "MDParser.cpp"
194 componentblock_AST = currentAST.root;
196 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
198 recover(ex,_tokenSet_2);
200 returnAST = componentblock_AST;
203void MDParser::moleculeblock() {
204 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
205 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
206 ANTLR_USE_NAMESPACE(antlr)RefAST moleculeblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
209 ANTLR_USE_NAMESPACE(antlr)RefAST tmp7_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
210 tmp7_AST = astFactory->create(LT(1));
211 astFactory->makeASTRoot(currentAST, tmp7_AST);
216 if ((_tokenSet_4.member(LA(1)))) {
218 astFactory->addASTChild( currentAST, returnAST );
227 ANTLR_USE_NAMESPACE(antlr)RefAST tmp9_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
228 tmp9_AST = astFactory->create(LT(1));
229 astFactory->addASTChild(currentAST, tmp9_AST);
231#line 113 "MDParser.g"
232 tmp9_AST->setType(ENDBLOCK);
233#line 234 "MDParser.cpp"
234 moleculeblock_AST = currentAST.root;
236 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
238 recover(ex,_tokenSet_2);
240 returnAST = moleculeblock_AST;
243void MDParser::zconstraintblock() {
244 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
245 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
246 ANTLR_USE_NAMESPACE(antlr)RefAST zconstraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
249 ANTLR_USE_NAMESPACE(antlr)RefAST tmp10_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
250 tmp10_AST = astFactory->create(LT(1));
251 astFactory->makeASTRoot(currentAST, tmp10_AST);
258 astFactory->addASTChild( currentAST, returnAST );
267 ANTLR_USE_NAMESPACE(antlr)RefAST tmp12_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
268 tmp12_AST = astFactory->create(LT(1));
269 astFactory->addASTChild(currentAST, tmp12_AST);
272 tmp12_AST->setType(ENDBLOCK);
273#line 274 "MDParser.cpp"
274 zconstraintblock_AST = currentAST.root;
276 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
278 recover(ex,_tokenSet_2);
280 returnAST = zconstraintblock_AST;
283void MDParser::restraintblock() {
284 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
285 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
286 ANTLR_USE_NAMESPACE(antlr)RefAST restraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
289 ANTLR_USE_NAMESPACE(antlr)RefAST tmp13_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
290 tmp13_AST = astFactory->create(LT(1));
291 astFactory->makeASTRoot(currentAST, tmp13_AST);
298 astFactory->addASTChild( currentAST, returnAST );
307 ANTLR_USE_NAMESPACE(antlr)RefAST tmp15_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
308 tmp15_AST = astFactory->create(LT(1));
309 astFactory->addASTChild(currentAST, tmp15_AST);
311#line 101 "MDParser.g"
312 tmp15_AST->setType(ENDBLOCK);
313#line 314 "MDParser.cpp"
314 restraintblock_AST = currentAST.root;
316 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
318 recover(ex,_tokenSet_2);
320 returnAST = restraintblock_AST;
323void MDParser::flucqblock() {
324 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
325 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
326 ANTLR_USE_NAMESPACE(antlr)RefAST flucqblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
329 ANTLR_USE_NAMESPACE(antlr)RefAST tmp16_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
330 tmp16_AST = astFactory->create(LT(1));
331 astFactory->makeASTRoot(currentAST, tmp16_AST);
338 astFactory->addASTChild( currentAST, returnAST );
347 ANTLR_USE_NAMESPACE(antlr)RefAST tmp18_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
348 tmp18_AST = astFactory->create(LT(1));
349 astFactory->addASTChild(currentAST, tmp18_AST);
351#line 104 "MDParser.g"
352 tmp18_AST->setType(ENDBLOCK);
353#line 354 "MDParser.cpp"
354 flucqblock_AST = currentAST.root;
356 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
358 recover(ex,_tokenSet_2);
360 returnAST = flucqblock_AST;
363void MDParser::rnemdblock() {
364 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
365 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
366 ANTLR_USE_NAMESPACE(antlr)RefAST rnemdblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
369 ANTLR_USE_NAMESPACE(antlr)RefAST tmp19_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
370 tmp19_AST = astFactory->create(LT(1));
371 astFactory->makeASTRoot(currentAST, tmp19_AST);
378 astFactory->addASTChild( currentAST, returnAST );
387 ANTLR_USE_NAMESPACE(antlr)RefAST tmp21_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
388 tmp21_AST = astFactory->create(LT(1));
389 astFactory->addASTChild(currentAST, tmp21_AST);
391#line 107 "MDParser.g"
392 tmp21_AST->setType(ENDBLOCK);
393#line 394 "MDParser.cpp"
394 rnemdblock_AST = currentAST.root;
396 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
398 recover(ex,_tokenSet_2);
400 returnAST = rnemdblock_AST;
403void MDParser::minimizerblock() {
404 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
405 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
406 ANTLR_USE_NAMESPACE(antlr)RefAST minimizerblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
409 ANTLR_USE_NAMESPACE(antlr)RefAST tmp22_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
410 tmp22_AST = astFactory->create(LT(1));
411 astFactory->makeASTRoot(currentAST, tmp22_AST);
418 astFactory->addASTChild( currentAST, returnAST );
427 ANTLR_USE_NAMESPACE(antlr)RefAST tmp24_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
428 tmp24_AST = astFactory->create(LT(1));
429 astFactory->addASTChild(currentAST, tmp24_AST);
431#line 110 "MDParser.g"
432 tmp24_AST->setType(ENDBLOCK);
433#line 434 "MDParser.cpp"
434 minimizerblock_AST = currentAST.root;
436 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
438 recover(ex,_tokenSet_2);
440 returnAST = minimizerblock_AST;
443void MDParser::constant() {
444 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
445 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
446 ANTLR_USE_NAMESPACE(antlr)RefAST constant_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
454 astFactory->addASTChild( currentAST, returnAST );
455 constant_AST = currentAST.root;
462 astFactory->addASTChild( currentAST, returnAST );
463 constant_AST = currentAST.root;
469 astFactory->addASTChild( currentAST, returnAST );
470 constant_AST = currentAST.root;
475 ANTLR_USE_NAMESPACE(antlr)RefAST tmp25_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
476 tmp25_AST = astFactory->create(LT(1));
477 astFactory->addASTChild(currentAST, tmp25_AST);
479 constant_AST = currentAST.root;
484 ANTLR_USE_NAMESPACE(antlr)RefAST tmp26_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
485 tmp26_AST = astFactory->create(LT(1));
486 astFactory->addASTChild(currentAST, tmp26_AST);
487 match(StringLiteral);
488 constant_AST = currentAST.root;
493 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
497 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
499 recover(ex,_tokenSet_5);
501 returnAST = constant_AST;
504void MDParser::intConst() {
505 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
506 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
507 ANTLR_USE_NAMESPACE(antlr)RefAST intConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
513 ANTLR_USE_NAMESPACE(antlr)RefAST tmp27_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
514 tmp27_AST = astFactory->create(LT(1));
515 astFactory->addASTChild(currentAST, tmp27_AST);
517 intConst_AST = currentAST.root;
522 ANTLR_USE_NAMESPACE(antlr)RefAST tmp28_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
523 tmp28_AST = astFactory->create(LT(1));
524 astFactory->addASTChild(currentAST, tmp28_AST);
526 intConst_AST = currentAST.root;
531 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
535 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
537 recover(ex,_tokenSet_6);
539 returnAST = intConst_AST;
542void MDParser::floatConst() {
543 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
544 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
545 ANTLR_USE_NAMESPACE(antlr)RefAST floatConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
551 ANTLR_USE_NAMESPACE(antlr)RefAST tmp29_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
552 tmp29_AST = astFactory->create(LT(1));
553 astFactory->addASTChild(currentAST, tmp29_AST);
555 floatConst_AST = currentAST.root;
560 ANTLR_USE_NAMESPACE(antlr)RefAST tmp30_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
561 tmp30_AST = astFactory->create(LT(1));
562 astFactory->addASTChild(currentAST, tmp30_AST);
564 floatConst_AST = currentAST.root;
569 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
573 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
575 recover(ex,_tokenSet_7);
577 returnAST = floatConst_AST;
580void MDParser::vectorConst() {
581 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
582 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
583 ANTLR_USE_NAMESPACE(antlr)RefAST vectorConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
586 ANTLR_USE_NAMESPACE(antlr)RefAST tmp31_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
587 tmp31_AST = astFactory->create(LT(1));
588 astFactory->makeASTRoot(currentAST, tmp31_AST);
591 astFactory->addASTChild( currentAST, returnAST );
592 ANTLR_USE_NAMESPACE(antlr)RefAST tmp32_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
593 tmp32_AST = astFactory->create(LT(1));
594 astFactory->addASTChild(currentAST, tmp32_AST);
596 vectorConst_AST = currentAST.root;
598 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
600 recover(ex,_tokenSet_5);
602 returnAST = vectorConst_AST;
605void MDParser::moleculestatement() {
606 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
607 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
608 ANTLR_USE_NAMESPACE(antlr)RefAST moleculestatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
615 astFactory->addASTChild( currentAST, returnAST );
616 moleculestatement_AST = currentAST.root;
622 astFactory->addASTChild( currentAST, returnAST );
623 moleculestatement_AST = currentAST.root;
629 astFactory->addASTChild( currentAST, returnAST );
630 moleculestatement_AST = currentAST.root;
636 astFactory->addASTChild( currentAST, returnAST );
637 moleculestatement_AST = currentAST.root;
643 astFactory->addASTChild( currentAST, returnAST );
644 moleculestatement_AST = currentAST.root;
650 astFactory->addASTChild( currentAST, returnAST );
651 moleculestatement_AST = currentAST.root;
657 astFactory->addASTChild( currentAST, returnAST );
658 moleculestatement_AST = currentAST.root;
664 astFactory->addASTChild( currentAST, returnAST );
665 moleculestatement_AST = currentAST.root;
671 astFactory->addASTChild( currentAST, returnAST );
672 moleculestatement_AST = currentAST.root;
678 astFactory->addASTChild( currentAST, returnAST );
679 moleculestatement_AST = currentAST.root;
684 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
688 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
690 recover(ex,_tokenSet_8);
692 returnAST = moleculestatement_AST;
695void MDParser::atomblock() {
696 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
697 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
698 ANTLR_USE_NAMESPACE(antlr)RefAST atomblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
701 ANTLR_USE_NAMESPACE(antlr)RefAST tmp33_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
702 tmp33_AST = astFactory->create(LT(1));
703 astFactory->makeASTRoot(currentAST, tmp33_AST);
707 astFactory->addASTChild( currentAST, returnAST );
712 if ((_tokenSet_9.member(LA(1)))) {
714 astFactory->addASTChild( currentAST, returnAST );
723 ANTLR_USE_NAMESPACE(antlr)RefAST tmp37_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
724 tmp37_AST = astFactory->create(LT(1));
725 astFactory->addASTChild(currentAST, tmp37_AST);
727#line 128 "MDParser.g"
728 tmp37_AST->setType(ENDBLOCK);
729#line 730 "MDParser.cpp"
730 atomblock_AST = currentAST.root;
732 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
734 recover(ex,_tokenSet_8);
736 returnAST = atomblock_AST;
739void MDParser::bondblock() {
740 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
741 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
742 ANTLR_USE_NAMESPACE(antlr)RefAST bondblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
745 ANTLR_USE_NAMESPACE(antlr)RefAST tmp38_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
746 tmp38_AST = astFactory->create(LT(1));
747 astFactory->makeASTRoot(currentAST, tmp38_AST);
764 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
771 if ((_tokenSet_10.member(LA(1)))) {
773 astFactory->addASTChild( currentAST, returnAST );
782 ANTLR_USE_NAMESPACE(antlr)RefAST tmp42_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
783 tmp42_AST = astFactory->create(LT(1));
784 astFactory->addASTChild(currentAST, tmp42_AST);
786#line 138 "MDParser.g"
787 tmp42_AST->setType(ENDBLOCK);
788#line 789 "MDParser.cpp"
789 bondblock_AST = currentAST.root;
791 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
793 recover(ex,_tokenSet_8);
795 returnAST = bondblock_AST;
798void MDParser::bendblock() {
799 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
800 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
801 ANTLR_USE_NAMESPACE(antlr)RefAST bendblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
804 ANTLR_USE_NAMESPACE(antlr)RefAST tmp43_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
805 tmp43_AST = astFactory->create(LT(1));
806 astFactory->makeASTRoot(currentAST, tmp43_AST);
823 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
830 if ((_tokenSet_11.member(LA(1)))) {
832 astFactory->addASTChild( currentAST, returnAST );
841 ANTLR_USE_NAMESPACE(antlr)RefAST tmp47_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
842 tmp47_AST = astFactory->create(LT(1));
843 astFactory->addASTChild(currentAST, tmp47_AST);
845#line 151 "MDParser.g"
846 tmp47_AST->setType(ENDBLOCK);
847#line 848 "MDParser.cpp"
848 bendblock_AST = currentAST.root;
850 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
852 recover(ex,_tokenSet_8);
854 returnAST = bendblock_AST;
857void MDParser::torsionblock() {
858 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
859 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
860 ANTLR_USE_NAMESPACE(antlr)RefAST torsionblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
863 ANTLR_USE_NAMESPACE(antlr)RefAST tmp48_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
864 tmp48_AST = astFactory->create(LT(1));
865 astFactory->makeASTRoot(currentAST, tmp48_AST);
882 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
889 if ((_tokenSet_12.member(LA(1)))) {
891 astFactory->addASTChild( currentAST, returnAST );
900 ANTLR_USE_NAMESPACE(antlr)RefAST tmp52_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
901 tmp52_AST = astFactory->create(LT(1));
902 astFactory->addASTChild(currentAST, tmp52_AST);
904#line 165 "MDParser.g"
905 tmp52_AST->setType(ENDBLOCK);
906#line 907 "MDParser.cpp"
907 torsionblock_AST = currentAST.root;
909 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
911 recover(ex,_tokenSet_8);
913 returnAST = torsionblock_AST;
916void MDParser::inversionblock() {
917 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
918 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
919 ANTLR_USE_NAMESPACE(antlr)RefAST inversionblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
922 ANTLR_USE_NAMESPACE(antlr)RefAST tmp53_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
923 tmp53_AST = astFactory->create(LT(1));
924 astFactory->makeASTRoot(currentAST, tmp53_AST);
941 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
948 if ((_tokenSet_13.member(LA(1)))) {
949 inversionstatement();
950 astFactory->addASTChild( currentAST, returnAST );
959 ANTLR_USE_NAMESPACE(antlr)RefAST tmp57_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
960 tmp57_AST = astFactory->create(LT(1));
961 astFactory->addASTChild(currentAST, tmp57_AST);
963#line 180 "MDParser.g"
964 tmp57_AST->setType(ENDBLOCK);
965#line 966 "MDParser.cpp"
966 inversionblock_AST = currentAST.root;
968 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
970 recover(ex,_tokenSet_8);
972 returnAST = inversionblock_AST;
975void MDParser::rigidbodyblock() {
976 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
977 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
978 ANTLR_USE_NAMESPACE(antlr)RefAST rigidbodyblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
981 ANTLR_USE_NAMESPACE(antlr)RefAST tmp58_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
982 tmp58_AST = astFactory->create(LT(1));
983 astFactory->makeASTRoot(currentAST, tmp58_AST);
987 astFactory->addASTChild( currentAST, returnAST );
992 if ((LA(1) == MEMBERS || LA(1) == ID)) {
993 rigidbodystatement();
994 astFactory->addASTChild( currentAST, returnAST );
1003 ANTLR_USE_NAMESPACE(antlr)RefAST tmp62_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1004 tmp62_AST = astFactory->create(LT(1));
1005 astFactory->addASTChild(currentAST, tmp62_AST);
1007#line 193 "MDParser.g"
1008 tmp62_AST->setType(ENDBLOCK);
1009#line 1010 "MDParser.cpp"
1010 rigidbodyblock_AST = currentAST.root;
1012 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1014 recover(ex,_tokenSet_8);
1016 returnAST = rigidbodyblock_AST;
1019void MDParser::cutoffgroupblock() {
1020 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1021 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1022 ANTLR_USE_NAMESPACE(antlr)RefAST cutoffgroupblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1025 ANTLR_USE_NAMESPACE(antlr)RefAST tmp63_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1026 tmp63_AST = astFactory->create(LT(1));
1027 astFactory->makeASTRoot(currentAST, tmp63_AST);
1044 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1051 if ((LA(1) == MEMBERS || LA(1) == ID)) {
1052 cutoffgroupstatement();
1053 astFactory->addASTChild( currentAST, returnAST );
1062 ANTLR_USE_NAMESPACE(antlr)RefAST tmp67_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1063 tmp67_AST = astFactory->create(LT(1));
1064 astFactory->addASTChild(currentAST, tmp67_AST);
1066#line 200 "MDParser.g"
1067 tmp67_AST->setType(ENDBLOCK);
1068#line 1069 "MDParser.cpp"
1069 cutoffgroupblock_AST = currentAST.root;
1071 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1073 recover(ex,_tokenSet_8);
1075 returnAST = cutoffgroupblock_AST;
1078void MDParser::fragmentblock() {
1079 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1080 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1081 ANTLR_USE_NAMESPACE(antlr)RefAST fragmentblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1084 ANTLR_USE_NAMESPACE(antlr)RefAST tmp68_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1085 tmp68_AST = astFactory->create(LT(1));
1086 astFactory->makeASTRoot(currentAST, tmp68_AST);
1090 astFactory->addASTChild( currentAST, returnAST );
1095 if ((LA(1) == ID)) {
1096 fragmentstatement();
1097 astFactory->addASTChild( currentAST, returnAST );
1106 ANTLR_USE_NAMESPACE(antlr)RefAST tmp72_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1107 tmp72_AST = astFactory->create(LT(1));
1108 astFactory->addASTChild(currentAST, tmp72_AST);
1110#line 207 "MDParser.g"
1111 tmp72_AST->setType(ENDBLOCK);
1112#line 1113 "MDParser.cpp"
1113 fragmentblock_AST = currentAST.root;
1115 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1117 recover(ex,_tokenSet_8);
1119 returnAST = fragmentblock_AST;
1122void MDParser::constraintblock() {
1123 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1124 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1125 ANTLR_USE_NAMESPACE(antlr)RefAST constraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1128 ANTLR_USE_NAMESPACE(antlr)RefAST tmp73_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1129 tmp73_AST = astFactory->create(LT(1));
1130 astFactory->makeASTRoot(currentAST, tmp73_AST);
1147 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1154 if ((LA(1) == MEMBERS || LA(1) == ID)) {
1155 constraintstatement();
1156 astFactory->addASTChild( currentAST, returnAST );
1165 ANTLR_USE_NAMESPACE(antlr)RefAST tmp77_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1166 tmp77_AST = astFactory->create(LT(1));
1167 astFactory->addASTChild(currentAST, tmp77_AST);
1169#line 213 "MDParser.g"
1170 tmp77_AST->setType(ENDBLOCK);
1171#line 1172 "MDParser.cpp"
1172 constraintblock_AST = currentAST.root;
1174 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1176 recover(ex,_tokenSet_8);
1178 returnAST = constraintblock_AST;
1181void MDParser::atomstatement() {
1182 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1183 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1184 ANTLR_USE_NAMESPACE(antlr)RefAST atomstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1191 astFactory->addASTChild( currentAST, returnAST );
1192 atomstatement_AST = currentAST.root;
1197 ANTLR_USE_NAMESPACE(antlr)RefAST tmp78_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1198 tmp78_AST = astFactory->create(LT(1));
1199 astFactory->makeASTRoot(currentAST, tmp78_AST);
1202 doubleNumberTuple();
1203 astFactory->addASTChild( currentAST, returnAST );
1206 atomstatement_AST = currentAST.root;
1211 ANTLR_USE_NAMESPACE(antlr)RefAST tmp82_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1212 tmp82_AST = astFactory->create(LT(1));
1213 astFactory->makeASTRoot(currentAST, tmp82_AST);
1216 doubleNumberTuple();
1217 astFactory->addASTChild( currentAST, returnAST );
1220 atomstatement_AST = currentAST.root;
1225 ANTLR_USE_NAMESPACE(antlr)RefAST tmp86_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1226 tmp86_AST = astFactory->create(LT(1));
1227 astFactory->makeASTRoot(currentAST, tmp86_AST);
1231 astFactory->addASTChild( currentAST, returnAST );
1234 atomstatement_AST = currentAST.root;
1239 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1243 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1245 recover(ex,_tokenSet_14);
1247 returnAST = atomstatement_AST;
1250void MDParser::doubleNumberTuple() {
1251 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1252 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1253 ANTLR_USE_NAMESPACE(antlr)RefAST doubleNumberTuple_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1257 astFactory->addASTChild( currentAST, returnAST );
1260 if ((LA(1) == COMMA)) {
1263 astFactory->addASTChild( currentAST, returnAST );
1272 doubleNumberTuple_AST = currentAST.root;
1274 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1276 recover(ex,_tokenSet_15);
1278 returnAST = doubleNumberTuple_AST;
1281void MDParser::bondstatement() {
1282 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1283 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1284 ANTLR_USE_NAMESPACE(antlr)RefAST bondstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1291 astFactory->addASTChild( currentAST, returnAST );
1292 bondstatement_AST = currentAST.root;
1297 ANTLR_USE_NAMESPACE(antlr)RefAST tmp91_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1298 tmp91_AST = astFactory->create(LT(1));
1299 astFactory->makeASTRoot(currentAST, tmp91_AST);
1303 astFactory->addASTChild( currentAST, returnAST );
1306 bondstatement_AST = currentAST.root;
1311 ANTLR_USE_NAMESPACE(antlr)RefAST tmp95_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1312 tmp95_AST = astFactory->create(LT(1));
1313 astFactory->makeASTRoot(currentAST, tmp95_AST);
1317 astFactory->addASTChild( currentAST, returnAST );
1320 bondstatement_AST = currentAST.root;
1325 ANTLR_USE_NAMESPACE(antlr)RefAST tmp99_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1326 tmp99_AST = astFactory->create(LT(1));
1327 astFactory->makeASTRoot(currentAST, tmp99_AST);
1330 doubleNumberTuple();
1331 astFactory->addASTChild( currentAST, returnAST );
1334 bondstatement_AST = currentAST.root;
1339 ANTLR_USE_NAMESPACE(antlr)RefAST tmp103_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1340 tmp103_AST = astFactory->create(LT(1));
1341 astFactory->makeASTRoot(currentAST, tmp103_AST);
1344 doubleNumberTuple();
1345 astFactory->addASTChild( currentAST, returnAST );
1348 bondstatement_AST = currentAST.root;
1353 ANTLR_USE_NAMESPACE(antlr)RefAST tmp107_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1354 tmp107_AST = astFactory->create(LT(1));
1355 astFactory->makeASTRoot(currentAST, tmp107_AST);
1358 doubleNumberTuple();
1359 astFactory->addASTChild( currentAST, returnAST );
1362 bondstatement_AST = currentAST.root;
1367 ANTLR_USE_NAMESPACE(antlr)RefAST tmp111_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1368 tmp111_AST = astFactory->create(LT(1));
1369 astFactory->makeASTRoot(currentAST, tmp111_AST);
1372 doubleNumberTuple();
1373 astFactory->addASTChild( currentAST, returnAST );
1376 bondstatement_AST = currentAST.root;
1381 ANTLR_USE_NAMESPACE(antlr)RefAST tmp115_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1382 tmp115_AST = astFactory->create(LT(1));
1383 astFactory->makeASTRoot(currentAST, tmp115_AST);
1386 doubleNumberTuple();
1387 astFactory->addASTChild( currentAST, returnAST );
1390 bondstatement_AST = currentAST.root;
1395 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1399 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1401 recover(ex,_tokenSet_16);
1403 returnAST = bondstatement_AST;
1406void MDParser::inttuple() {
1407 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1408 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1409 ANTLR_USE_NAMESPACE(antlr)RefAST inttuple_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1413 astFactory->addASTChild( currentAST, returnAST );
1416 if ((LA(1) == COMMA)) {
1419 astFactory->addASTChild( currentAST, returnAST );
1428 inttuple_AST = currentAST.root;
1430 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1432 recover(ex,_tokenSet_15);
1434 returnAST = inttuple_AST;
1437void MDParser::bendstatement() {
1438 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1439 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1440 ANTLR_USE_NAMESPACE(antlr)RefAST bendstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1447 astFactory->addASTChild( currentAST, returnAST );
1448 bendstatement_AST = currentAST.root;
1453 ANTLR_USE_NAMESPACE(antlr)RefAST tmp120_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1454 tmp120_AST = astFactory->create(LT(1));
1455 astFactory->makeASTRoot(currentAST, tmp120_AST);
1459 astFactory->addASTChild( currentAST, returnAST );
1462 bendstatement_AST = currentAST.root;
1467 ANTLR_USE_NAMESPACE(antlr)RefAST tmp124_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1468 tmp124_AST = astFactory->create(LT(1));
1469 astFactory->makeASTRoot(currentAST, tmp124_AST);
1472 doubleNumberTuple();
1473 astFactory->addASTChild( currentAST, returnAST );
1476 bendstatement_AST = currentAST.root;
1481 ANTLR_USE_NAMESPACE(antlr)RefAST tmp128_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1482 tmp128_AST = astFactory->create(LT(1));
1483 astFactory->makeASTRoot(currentAST, tmp128_AST);
1486 doubleNumberTuple();
1487 astFactory->addASTChild( currentAST, returnAST );
1490 bendstatement_AST = currentAST.root;
1495 ANTLR_USE_NAMESPACE(antlr)RefAST tmp132_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1496 tmp132_AST = astFactory->create(LT(1));
1497 astFactory->makeASTRoot(currentAST, tmp132_AST);
1500 doubleNumberTuple();
1501 astFactory->addASTChild( currentAST, returnAST );
1504 bendstatement_AST = currentAST.root;
1509 ANTLR_USE_NAMESPACE(antlr)RefAST tmp136_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1510 tmp136_AST = astFactory->create(LT(1));
1511 astFactory->makeASTRoot(currentAST, tmp136_AST);
1514 doubleNumberTuple();
1515 astFactory->addASTChild( currentAST, returnAST );
1518 bendstatement_AST = currentAST.root;
1523 ANTLR_USE_NAMESPACE(antlr)RefAST tmp140_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1524 tmp140_AST = astFactory->create(LT(1));
1525 astFactory->makeASTRoot(currentAST, tmp140_AST);
1528 doubleNumberTuple();
1529 astFactory->addASTChild( currentAST, returnAST );
1532 bendstatement_AST = currentAST.root;
1537 ANTLR_USE_NAMESPACE(antlr)RefAST tmp144_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1538 tmp144_AST = astFactory->create(LT(1));
1539 astFactory->makeASTRoot(currentAST, tmp144_AST);
1542 doubleNumberTuple();
1543 astFactory->addASTChild( currentAST, returnAST );
1546 bendstatement_AST = currentAST.root;
1551 ANTLR_USE_NAMESPACE(antlr)RefAST tmp148_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1552 tmp148_AST = astFactory->create(LT(1));
1553 astFactory->makeASTRoot(currentAST, tmp148_AST);
1556 doubleNumberTuple();
1557 astFactory->addASTChild( currentAST, returnAST );
1560 bendstatement_AST = currentAST.root;
1565 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1569 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1571 recover(ex,_tokenSet_17);
1573 returnAST = bendstatement_AST;
1576void MDParser::torsionstatement() {
1577 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1578 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1579 ANTLR_USE_NAMESPACE(antlr)RefAST torsionstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1586 astFactory->addASTChild( currentAST, returnAST );
1587 torsionstatement_AST = currentAST.root;
1592 ANTLR_USE_NAMESPACE(antlr)RefAST tmp152_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1593 tmp152_AST = astFactory->create(LT(1));
1594 astFactory->makeASTRoot(currentAST, tmp152_AST);
1598 astFactory->addASTChild( currentAST, returnAST );
1601 torsionstatement_AST = currentAST.root;
1606 ANTLR_USE_NAMESPACE(antlr)RefAST tmp156_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1607 tmp156_AST = astFactory->create(LT(1));
1608 astFactory->makeASTRoot(currentAST, tmp156_AST);
1609 match(GHOSTTORSION);
1611 doubleNumberTuple();
1612 astFactory->addASTChild( currentAST, returnAST );
1615 torsionstatement_AST = currentAST.root;
1620 ANTLR_USE_NAMESPACE(antlr)RefAST tmp160_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1621 tmp160_AST = astFactory->create(LT(1));
1622 astFactory->makeASTRoot(currentAST, tmp160_AST);
1625 doubleNumberTuple();
1626 astFactory->addASTChild( currentAST, returnAST );
1629 torsionstatement_AST = currentAST.root;
1634 ANTLR_USE_NAMESPACE(antlr)RefAST tmp164_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1635 tmp164_AST = astFactory->create(LT(1));
1636 astFactory->makeASTRoot(currentAST, tmp164_AST);
1639 doubleNumberTuple();
1640 astFactory->addASTChild( currentAST, returnAST );
1643 torsionstatement_AST = currentAST.root;
1648 ANTLR_USE_NAMESPACE(antlr)RefAST tmp168_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1649 tmp168_AST = astFactory->create(LT(1));
1650 astFactory->makeASTRoot(currentAST, tmp168_AST);
1653 doubleNumberTuple();
1654 astFactory->addASTChild( currentAST, returnAST );
1657 torsionstatement_AST = currentAST.root;
1662 ANTLR_USE_NAMESPACE(antlr)RefAST tmp172_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1663 tmp172_AST = astFactory->create(LT(1));
1664 astFactory->makeASTRoot(currentAST, tmp172_AST);
1667 doubleNumberTuple();
1668 astFactory->addASTChild( currentAST, returnAST );
1671 torsionstatement_AST = currentAST.root;
1676 ANTLR_USE_NAMESPACE(antlr)RefAST tmp176_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1677 tmp176_AST = astFactory->create(LT(1));
1678 astFactory->makeASTRoot(currentAST, tmp176_AST);
1681 doubleNumberTuple();
1682 astFactory->addASTChild( currentAST, returnAST );
1685 torsionstatement_AST = currentAST.root;
1690 ANTLR_USE_NAMESPACE(antlr)RefAST tmp180_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1691 tmp180_AST = astFactory->create(LT(1));
1692 astFactory->makeASTRoot(currentAST, tmp180_AST);
1695 doubleNumberTuple();
1696 astFactory->addASTChild( currentAST, returnAST );
1699 torsionstatement_AST = currentAST.root;
1704 ANTLR_USE_NAMESPACE(antlr)RefAST tmp184_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1705 tmp184_AST = astFactory->create(LT(1));
1706 astFactory->makeASTRoot(currentAST, tmp184_AST);
1709 doubleNumberTuple();
1710 astFactory->addASTChild( currentAST, returnAST );
1713 torsionstatement_AST = currentAST.root;
1718 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1722 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1724 recover(ex,_tokenSet_18);
1726 returnAST = torsionstatement_AST;
1729void MDParser::inversionstatement() {
1730 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1731 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1732 ANTLR_USE_NAMESPACE(antlr)RefAST inversionstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1739 astFactory->addASTChild( currentAST, returnAST );
1740 inversionstatement_AST = currentAST.root;
1745 ANTLR_USE_NAMESPACE(antlr)RefAST tmp188_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1746 tmp188_AST = astFactory->create(LT(1));
1747 astFactory->makeASTRoot(currentAST, tmp188_AST);
1751 astFactory->addASTChild( currentAST, returnAST );
1754 inversionstatement_AST = currentAST.root;
1759 ANTLR_USE_NAMESPACE(antlr)RefAST tmp192_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1760 tmp192_AST = astFactory->create(LT(1));
1761 astFactory->makeASTRoot(currentAST, tmp192_AST);
1765 astFactory->addASTChild( currentAST, returnAST );
1768 inversionstatement_AST = currentAST.root;
1773 ANTLR_USE_NAMESPACE(antlr)RefAST tmp196_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1774 tmp196_AST = astFactory->create(LT(1));
1775 astFactory->makeASTRoot(currentAST, tmp196_AST);
1776 match(AMBERIMPROPER);
1778 doubleNumberTuple();
1779 astFactory->addASTChild( currentAST, returnAST );
1782 inversionstatement_AST = currentAST.root;
1785 case IMPROPERCOSINE:
1787 ANTLR_USE_NAMESPACE(antlr)RefAST tmp200_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1788 tmp200_AST = astFactory->create(LT(1));
1789 astFactory->makeASTRoot(currentAST, tmp200_AST);
1790 match(IMPROPERCOSINE);
1792 doubleNumberTuple();
1793 astFactory->addASTChild( currentAST, returnAST );
1796 inversionstatement_AST = currentAST.root;
1801 ANTLR_USE_NAMESPACE(antlr)RefAST tmp204_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1802 tmp204_AST = astFactory->create(LT(1));
1803 astFactory->makeASTRoot(currentAST, tmp204_AST);
1806 doubleNumberTuple();
1807 astFactory->addASTChild( currentAST, returnAST );
1810 inversionstatement_AST = currentAST.root;
1813 case CENTRALATOMHEIGHT:
1815 ANTLR_USE_NAMESPACE(antlr)RefAST tmp208_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1816 tmp208_AST = astFactory->create(LT(1));
1817 astFactory->makeASTRoot(currentAST, tmp208_AST);
1818 match(CENTRALATOMHEIGHT);
1820 doubleNumberTuple();
1821 astFactory->addASTChild( currentAST, returnAST );
1824 inversionstatement_AST = currentAST.root;
1829 ANTLR_USE_NAMESPACE(antlr)RefAST tmp212_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1830 tmp212_AST = astFactory->create(LT(1));
1831 astFactory->makeASTRoot(currentAST, tmp212_AST);
1834 doubleNumberTuple();
1835 astFactory->addASTChild( currentAST, returnAST );
1838 inversionstatement_AST = currentAST.root;
1843 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1847 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1849 recover(ex,_tokenSet_19);
1851 returnAST = inversionstatement_AST;
1854void MDParser::rigidbodystatement() {
1855 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1856 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1857 ANTLR_USE_NAMESPACE(antlr)RefAST rigidbodystatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1864 astFactory->addASTChild( currentAST, returnAST );
1865 rigidbodystatement_AST = currentAST.root;
1870 ANTLR_USE_NAMESPACE(antlr)RefAST tmp216_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1871 tmp216_AST = astFactory->create(LT(1));
1872 astFactory->makeASTRoot(currentAST, tmp216_AST);
1876 astFactory->addASTChild( currentAST, returnAST );
1879 rigidbodystatement_AST = currentAST.root;
1884 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1888 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1890 recover(ex,_tokenSet_20);
1892 returnAST = rigidbodystatement_AST;
1895void MDParser::cutoffgroupstatement() {
1896 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1897 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1898 ANTLR_USE_NAMESPACE(antlr)RefAST cutoffgroupstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1905 astFactory->addASTChild( currentAST, returnAST );
1906 cutoffgroupstatement_AST = currentAST.root;
1911 ANTLR_USE_NAMESPACE(antlr)RefAST tmp220_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1912 tmp220_AST = astFactory->create(LT(1));
1913 astFactory->makeASTRoot(currentAST, tmp220_AST);
1917 astFactory->addASTChild( currentAST, returnAST );
1920 cutoffgroupstatement_AST = currentAST.root;
1925 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1929 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1931 recover(ex,_tokenSet_20);
1933 returnAST = cutoffgroupstatement_AST;
1936void MDParser::fragmentstatement() {
1937 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1938 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1939 ANTLR_USE_NAMESPACE(antlr)RefAST fragmentstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1943 astFactory->addASTChild( currentAST, returnAST );
1944 fragmentstatement_AST = currentAST.root;
1946 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1948 recover(ex,_tokenSet_21);
1950 returnAST = fragmentstatement_AST;
1953void MDParser::constraintstatement() {
1954 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1955 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1956 ANTLR_USE_NAMESPACE(antlr)RefAST constraintstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1963 astFactory->addASTChild( currentAST, returnAST );
1964 constraintstatement_AST = currentAST.root;
1969 ANTLR_USE_NAMESPACE(antlr)RefAST tmp224_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1970 tmp224_AST = astFactory->create(LT(1));
1971 astFactory->makeASTRoot(currentAST, tmp224_AST);
1975 astFactory->addASTChild( currentAST, returnAST );
1978 constraintstatement_AST = currentAST.root;
1983 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1987 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1989 recover(ex,_tokenSet_20);
1991 returnAST = constraintstatement_AST;
1994void MDParser::doubleNumber() {
1995 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1996 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1997 ANTLR_USE_NAMESPACE(antlr)RefAST doubleNumber_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2006 astFactory->addASTChild( currentAST, returnAST );
2013 astFactory->addASTChild( currentAST, returnAST );
2018 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2022 doubleNumber_AST = currentAST.root;
2024 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2026 recover(ex,_tokenSet_22);
2028 returnAST = doubleNumber_AST;
2031void MDParser::initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory )
2033 factory.setMaxNodeType(77);
2035const char* MDParser::tokenNames[] = {
2039 "NULL_TREE_LOOKAHEAD",
2075 "\"AmberImproper\"",
2076 "\"ImproperCosine\"",
2077 "\"CentralAtomHeight\"",
2117const unsigned long MDParser::_tokenSet_0_data_[] = { 58720496UL, 8192UL, 0UL, 0UL };
2120const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_0(_tokenSet_0_data_,4);
2121const unsigned long MDParser::_tokenSet_1_data_[] = { 2UL, 0UL, 0UL, 0UL };
2123const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_1(_tokenSet_1_data_,4);
2124const unsigned long MDParser::_tokenSet_2_data_[] = { 58720498UL, 8192UL, 0UL, 0UL };
2127const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_2(_tokenSet_2_data_,4);
2128const unsigned long MDParser::_tokenSet_3_data_[] = { 4294901746UL, 274431UL, 0UL, 0UL };
2136const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_3(_tokenSet_3_data_,4);
2137const unsigned long MDParser::_tokenSet_4_data_[] = { 196352UL, 8192UL, 0UL, 0UL };
2140const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_4(_tokenSet_4_data_,4);
2141const unsigned long MDParser::_tokenSet_5_data_[] = { 0UL, 32768UL, 0UL, 0UL };
2143const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_5(_tokenSet_5_data_,4);
2144const unsigned long MDParser::_tokenSet_6_data_[] = { 0UL, 13664256UL, 0UL, 0UL };
2146const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_6(_tokenSet_6_data_,4);
2147const unsigned long MDParser::_tokenSet_7_data_[] = { 0UL, 12615680UL, 0UL, 0UL };
2149const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_7(_tokenSet_7_data_,4);
2150const unsigned long MDParser::_tokenSet_8_data_[] = { 196352UL, 270336UL, 0UL, 0UL };
2153const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_8(_tokenSet_8_data_,4);
2154const unsigned long MDParser::_tokenSet_9_data_[] = { 6291456UL, 10240UL, 0UL, 0UL };
2156const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_9(_tokenSet_9_data_,4);
2157const unsigned long MDParser::_tokenSet_10_data_[] = { 4228120576UL, 8192UL, 0UL, 0UL };
2160const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_10(_tokenSet_10_data_,4);
2161const unsigned long MDParser::_tokenSet_11_data_[] = { 2013528064UL, 8199UL, 0UL, 0UL };
2164const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_11(_tokenSet_11_data_,4);
2165const unsigned long MDParser::_tokenSet_12_data_[] = { 2013528064UL, 8312UL, 0UL, 0UL };
2168const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_12(_tokenSet_12_data_,4);
2169const unsigned long MDParser::_tokenSet_13_data_[] = { 135790592UL, 10112UL, 0UL, 0UL };
2172const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_13(_tokenSet_13_data_,4);
2173const unsigned long MDParser::_tokenSet_14_data_[] = { 6291456UL, 272384UL, 0UL, 0UL };
2175const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_14(_tokenSet_14_data_,4);
2176const unsigned long MDParser::_tokenSet_15_data_[] = { 0UL, 4194304UL, 0UL, 0UL };
2178const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_15(_tokenSet_15_data_,4);
2179const unsigned long MDParser::_tokenSet_16_data_[] = { 4228120576UL, 270336UL, 0UL, 0UL };
2182const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_16(_tokenSet_16_data_,4);
2183const unsigned long MDParser::_tokenSet_17_data_[] = { 2013528064UL, 270343UL, 0UL, 0UL };
2186const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_17(_tokenSet_17_data_,4);
2187const unsigned long MDParser::_tokenSet_18_data_[] = { 2013528064UL, 270456UL, 0UL, 0UL };
2190const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_18(_tokenSet_18_data_,4);
2191const unsigned long MDParser::_tokenSet_19_data_[] = { 135790592UL, 272256UL, 0UL, 0UL };
2194const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_19(_tokenSet_19_data_,4);
2195const unsigned long MDParser::_tokenSet_20_data_[] = { 262144UL, 270336UL, 0UL, 0UL };
2197const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_20(_tokenSet_20_data_,4);
2198const unsigned long MDParser::_tokenSet_21_data_[] = { 0UL, 270336UL, 0UL, 0UL };
2200const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_21(_tokenSet_21_data_,4);
2201const unsigned long MDParser::_tokenSet_22_data_[] = { 0UL, 12582912UL, 0UL, 0UL };
2203const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_22(_tokenSet_22_data_,4);