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;
127 astFactory->addASTChild( currentAST, returnAST );
128 statement_AST = currentAST.root;
134 astFactory->addASTChild( currentAST, returnAST );
135 statement_AST = currentAST.root;
140 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
144 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
146 recover(ex,_tokenSet_2);
148 returnAST = statement_AST;
151void MDParser::assignment() {
152 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
153 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
154 ANTLR_USE_NAMESPACE(antlr)RefAST assignment_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
157 ANTLR_USE_NAMESPACE(antlr)RefAST tmp1_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
158 tmp1_AST = astFactory->create(LT(1));
159 astFactory->addASTChild(currentAST, tmp1_AST);
161 ANTLR_USE_NAMESPACE(antlr)RefAST tmp2_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
162 tmp2_AST = astFactory->create(LT(1));
163 astFactory->makeASTRoot(currentAST, tmp2_AST);
166 astFactory->addASTChild( currentAST, returnAST );
168 assignment_AST = currentAST.root;
170 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
172 recover(ex,_tokenSet_3);
174 returnAST = assignment_AST;
177void MDParser::componentblock() {
178 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
179 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
180 ANTLR_USE_NAMESPACE(antlr)RefAST componentblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
183 ANTLR_USE_NAMESPACE(antlr)RefAST tmp4_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
184 tmp4_AST = astFactory->create(LT(1));
185 astFactory->makeASTRoot(currentAST, tmp4_AST);
192 astFactory->addASTChild( currentAST, returnAST );
201 ANTLR_USE_NAMESPACE(antlr)RefAST tmp6_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
202 tmp6_AST = astFactory->create(LT(1));
203 astFactory->addASTChild(currentAST, tmp6_AST);
205#line 100 "MDParser.g"
206 tmp6_AST->setType(ENDBLOCK);
207#line 208 "MDParser.cpp"
208 componentblock_AST = currentAST.root;
210 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
212 recover(ex,_tokenSet_2);
214 returnAST = componentblock_AST;
217void MDParser::moleculeblock() {
218 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
219 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
220 ANTLR_USE_NAMESPACE(antlr)RefAST moleculeblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
223 ANTLR_USE_NAMESPACE(antlr)RefAST tmp7_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
224 tmp7_AST = astFactory->create(LT(1));
225 astFactory->makeASTRoot(currentAST, tmp7_AST);
230 if ((_tokenSet_4.member(LA(1)))) {
232 astFactory->addASTChild( currentAST, returnAST );
241 ANTLR_USE_NAMESPACE(antlr)RefAST tmp9_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
242 tmp9_AST = astFactory->create(LT(1));
243 astFactory->addASTChild(currentAST, tmp9_AST);
245#line 121 "MDParser.g"
246 tmp9_AST->setType(ENDBLOCK);
247#line 248 "MDParser.cpp"
248 moleculeblock_AST = currentAST.root;
250 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
252 recover(ex,_tokenSet_2);
254 returnAST = moleculeblock_AST;
257void MDParser::fragmentblock() {
258 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
259 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
260 ANTLR_USE_NAMESPACE(antlr)RefAST fragmentblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
263 ANTLR_USE_NAMESPACE(antlr)RefAST tmp10_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
264 tmp10_AST = astFactory->create(LT(1));
265 astFactory->makeASTRoot(currentAST, tmp10_AST);
270 if ((_tokenSet_5.member(LA(1)))) {
272 astFactory->addASTChild( currentAST, returnAST );
281 ANTLR_USE_NAMESPACE(antlr)RefAST tmp12_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
282 tmp12_AST = astFactory->create(LT(1));
283 astFactory->addASTChild(currentAST, tmp12_AST);
285#line 222 "MDParser.g"
286 tmp12_AST->setType(ENDBLOCK);
287#line 288 "MDParser.cpp"
288 fragmentblock_AST = currentAST.root;
290 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
292 recover(ex,_tokenSet_2);
294 returnAST = fragmentblock_AST;
297void MDParser::zconstraintblock() {
298 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
299 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
300 ANTLR_USE_NAMESPACE(antlr)RefAST zconstraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
303 ANTLR_USE_NAMESPACE(antlr)RefAST tmp13_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
304 tmp13_AST = astFactory->create(LT(1));
305 astFactory->makeASTRoot(currentAST, tmp13_AST);
312 astFactory->addASTChild( currentAST, returnAST );
321 ANTLR_USE_NAMESPACE(antlr)RefAST tmp15_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
322 tmp15_AST = astFactory->create(LT(1));
323 astFactory->addASTChild(currentAST, tmp15_AST);
325#line 103 "MDParser.g"
326 tmp15_AST->setType(ENDBLOCK);
327#line 328 "MDParser.cpp"
328 zconstraintblock_AST = currentAST.root;
330 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
332 recover(ex,_tokenSet_2);
334 returnAST = zconstraintblock_AST;
337void MDParser::restraintblock() {
338 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
339 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
340 ANTLR_USE_NAMESPACE(antlr)RefAST restraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
343 ANTLR_USE_NAMESPACE(antlr)RefAST tmp16_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
344 tmp16_AST = astFactory->create(LT(1));
345 astFactory->makeASTRoot(currentAST, tmp16_AST);
352 astFactory->addASTChild( currentAST, returnAST );
361 ANTLR_USE_NAMESPACE(antlr)RefAST tmp18_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
362 tmp18_AST = astFactory->create(LT(1));
363 astFactory->addASTChild(currentAST, tmp18_AST);
365#line 106 "MDParser.g"
366 tmp18_AST->setType(ENDBLOCK);
367#line 368 "MDParser.cpp"
368 restraintblock_AST = currentAST.root;
370 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
372 recover(ex,_tokenSet_2);
374 returnAST = restraintblock_AST;
377void MDParser::flucqblock() {
378 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
379 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
380 ANTLR_USE_NAMESPACE(antlr)RefAST flucqblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
383 ANTLR_USE_NAMESPACE(antlr)RefAST tmp19_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
384 tmp19_AST = astFactory->create(LT(1));
385 astFactory->makeASTRoot(currentAST, tmp19_AST);
392 astFactory->addASTChild( currentAST, returnAST );
401 ANTLR_USE_NAMESPACE(antlr)RefAST tmp21_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
402 tmp21_AST = astFactory->create(LT(1));
403 astFactory->addASTChild(currentAST, tmp21_AST);
405#line 109 "MDParser.g"
406 tmp21_AST->setType(ENDBLOCK);
407#line 408 "MDParser.cpp"
408 flucqblock_AST = currentAST.root;
410 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
412 recover(ex,_tokenSet_2);
414 returnAST = flucqblock_AST;
417void MDParser::rnemdblock() {
418 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
419 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
420 ANTLR_USE_NAMESPACE(antlr)RefAST rnemdblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
423 ANTLR_USE_NAMESPACE(antlr)RefAST tmp22_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
424 tmp22_AST = astFactory->create(LT(1));
425 astFactory->makeASTRoot(currentAST, tmp22_AST);
432 astFactory->addASTChild( currentAST, returnAST );
441 ANTLR_USE_NAMESPACE(antlr)RefAST tmp24_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
442 tmp24_AST = astFactory->create(LT(1));
443 astFactory->addASTChild(currentAST, tmp24_AST);
445#line 112 "MDParser.g"
446 tmp24_AST->setType(ENDBLOCK);
447#line 448 "MDParser.cpp"
448 rnemdblock_AST = currentAST.root;
450 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
452 recover(ex,_tokenSet_2);
454 returnAST = rnemdblock_AST;
457void MDParser::lightblock() {
458 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
459 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
460 ANTLR_USE_NAMESPACE(antlr)RefAST lightblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
463 ANTLR_USE_NAMESPACE(antlr)RefAST tmp25_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
464 tmp25_AST = astFactory->create(LT(1));
465 astFactory->makeASTRoot(currentAST, tmp25_AST);
472 astFactory->addASTChild( currentAST, returnAST );
481 ANTLR_USE_NAMESPACE(antlr)RefAST tmp27_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
482 tmp27_AST = astFactory->create(LT(1));
483 astFactory->addASTChild(currentAST, tmp27_AST);
485#line 115 "MDParser.g"
486 tmp27_AST->setType(ENDBLOCK);
487#line 488 "MDParser.cpp"
488 lightblock_AST = currentAST.root;
490 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
492 recover(ex,_tokenSet_2);
494 returnAST = lightblock_AST;
497void MDParser::minimizerblock() {
498 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
499 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
500 ANTLR_USE_NAMESPACE(antlr)RefAST minimizerblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
503 ANTLR_USE_NAMESPACE(antlr)RefAST tmp28_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
504 tmp28_AST = astFactory->create(LT(1));
505 astFactory->makeASTRoot(currentAST, tmp28_AST);
512 astFactory->addASTChild( currentAST, returnAST );
521 ANTLR_USE_NAMESPACE(antlr)RefAST tmp30_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
522 tmp30_AST = astFactory->create(LT(1));
523 astFactory->addASTChild(currentAST, tmp30_AST);
525#line 118 "MDParser.g"
526 tmp30_AST->setType(ENDBLOCK);
527#line 528 "MDParser.cpp"
528 minimizerblock_AST = currentAST.root;
530 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
532 recover(ex,_tokenSet_2);
534 returnAST = minimizerblock_AST;
537void MDParser::constant() {
538 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
539 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
540 ANTLR_USE_NAMESPACE(antlr)RefAST constant_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
548 astFactory->addASTChild( currentAST, returnAST );
549 constant_AST = currentAST.root;
556 astFactory->addASTChild( currentAST, returnAST );
557 constant_AST = currentAST.root;
563 astFactory->addASTChild( currentAST, returnAST );
564 constant_AST = currentAST.root;
569 ANTLR_USE_NAMESPACE(antlr)RefAST tmp31_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
570 tmp31_AST = astFactory->create(LT(1));
571 astFactory->addASTChild(currentAST, tmp31_AST);
573 constant_AST = currentAST.root;
578 ANTLR_USE_NAMESPACE(antlr)RefAST tmp32_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
579 tmp32_AST = astFactory->create(LT(1));
580 astFactory->addASTChild(currentAST, tmp32_AST);
581 match(StringLiteral);
582 constant_AST = currentAST.root;
587 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
591 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
593 recover(ex,_tokenSet_6);
595 returnAST = constant_AST;
598void MDParser::intConst() {
599 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
600 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
601 ANTLR_USE_NAMESPACE(antlr)RefAST intConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
607 ANTLR_USE_NAMESPACE(antlr)RefAST tmp33_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
608 tmp33_AST = astFactory->create(LT(1));
609 astFactory->addASTChild(currentAST, tmp33_AST);
611 intConst_AST = currentAST.root;
616 ANTLR_USE_NAMESPACE(antlr)RefAST tmp34_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
617 tmp34_AST = astFactory->create(LT(1));
618 astFactory->addASTChild(currentAST, tmp34_AST);
620 intConst_AST = currentAST.root;
625 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
629 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
631 recover(ex,_tokenSet_7);
633 returnAST = intConst_AST;
636void MDParser::floatConst() {
637 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
638 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
639 ANTLR_USE_NAMESPACE(antlr)RefAST floatConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
645 ANTLR_USE_NAMESPACE(antlr)RefAST tmp35_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
646 tmp35_AST = astFactory->create(LT(1));
647 astFactory->addASTChild(currentAST, tmp35_AST);
649 floatConst_AST = currentAST.root;
654 ANTLR_USE_NAMESPACE(antlr)RefAST tmp36_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
655 tmp36_AST = astFactory->create(LT(1));
656 astFactory->addASTChild(currentAST, tmp36_AST);
658 floatConst_AST = currentAST.root;
663 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
667 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
669 recover(ex,_tokenSet_8);
671 returnAST = floatConst_AST;
674void MDParser::vectorConst() {
675 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
676 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
677 ANTLR_USE_NAMESPACE(antlr)RefAST vectorConst_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
680 ANTLR_USE_NAMESPACE(antlr)RefAST tmp37_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
681 tmp37_AST = astFactory->create(LT(1));
682 astFactory->makeASTRoot(currentAST, tmp37_AST);
685 astFactory->addASTChild( currentAST, returnAST );
686 ANTLR_USE_NAMESPACE(antlr)RefAST tmp38_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
687 tmp38_AST = astFactory->create(LT(1));
688 astFactory->addASTChild(currentAST, tmp38_AST);
690 vectorConst_AST = currentAST.root;
692 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
694 recover(ex,_tokenSet_6);
696 returnAST = vectorConst_AST;
699void MDParser::moleculestatement() {
700 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
701 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
702 ANTLR_USE_NAMESPACE(antlr)RefAST moleculestatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
709 astFactory->addASTChild( currentAST, returnAST );
710 moleculestatement_AST = currentAST.root;
716 astFactory->addASTChild( currentAST, returnAST );
717 moleculestatement_AST = currentAST.root;
723 astFactory->addASTChild( currentAST, returnAST );
724 moleculestatement_AST = currentAST.root;
730 astFactory->addASTChild( currentAST, returnAST );
731 moleculestatement_AST = currentAST.root;
737 astFactory->addASTChild( currentAST, returnAST );
738 moleculestatement_AST = currentAST.root;
744 astFactory->addASTChild( currentAST, returnAST );
745 moleculestatement_AST = currentAST.root;
751 astFactory->addASTChild( currentAST, returnAST );
752 moleculestatement_AST = currentAST.root;
758 astFactory->addASTChild( currentAST, returnAST );
759 moleculestatement_AST = currentAST.root;
765 astFactory->addASTChild( currentAST, returnAST );
766 moleculestatement_AST = currentAST.root;
772 astFactory->addASTChild( currentAST, returnAST );
773 moleculestatement_AST = currentAST.root;
778 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
782 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
784 recover(ex,_tokenSet_9);
786 returnAST = moleculestatement_AST;
789void MDParser::atomblock() {
790 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
791 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
792 ANTLR_USE_NAMESPACE(antlr)RefAST atomblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
795 ANTLR_USE_NAMESPACE(antlr)RefAST tmp39_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
796 tmp39_AST = astFactory->create(LT(1));
797 astFactory->makeASTRoot(currentAST, tmp39_AST);
801 astFactory->addASTChild( currentAST, returnAST );
806 if ((_tokenSet_10.member(LA(1)))) {
808 astFactory->addASTChild( currentAST, returnAST );
817 ANTLR_USE_NAMESPACE(antlr)RefAST tmp43_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
818 tmp43_AST = astFactory->create(LT(1));
819 astFactory->addASTChild(currentAST, tmp43_AST);
821#line 136 "MDParser.g"
822 tmp43_AST->setType(ENDBLOCK);
823#line 824 "MDParser.cpp"
824 atomblock_AST = currentAST.root;
826 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
828 recover(ex,_tokenSet_11);
830 returnAST = atomblock_AST;
833void MDParser::bondblock() {
834 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
835 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
836 ANTLR_USE_NAMESPACE(antlr)RefAST bondblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
839 ANTLR_USE_NAMESPACE(antlr)RefAST tmp44_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
840 tmp44_AST = astFactory->create(LT(1));
841 astFactory->makeASTRoot(currentAST, tmp44_AST);
858 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
865 if ((_tokenSet_12.member(LA(1)))) {
867 astFactory->addASTChild( currentAST, returnAST );
876 ANTLR_USE_NAMESPACE(antlr)RefAST tmp48_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
877 tmp48_AST = astFactory->create(LT(1));
878 astFactory->addASTChild(currentAST, tmp48_AST);
880#line 146 "MDParser.g"
881 tmp48_AST->setType(ENDBLOCK);
882#line 883 "MDParser.cpp"
883 bondblock_AST = currentAST.root;
885 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
887 recover(ex,_tokenSet_11);
889 returnAST = bondblock_AST;
892void MDParser::bendblock() {
893 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
894 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
895 ANTLR_USE_NAMESPACE(antlr)RefAST bendblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
898 ANTLR_USE_NAMESPACE(antlr)RefAST tmp49_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
899 tmp49_AST = astFactory->create(LT(1));
900 astFactory->makeASTRoot(currentAST, tmp49_AST);
917 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
924 if ((_tokenSet_13.member(LA(1)))) {
926 astFactory->addASTChild( currentAST, returnAST );
935 ANTLR_USE_NAMESPACE(antlr)RefAST tmp53_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
936 tmp53_AST = astFactory->create(LT(1));
937 astFactory->addASTChild(currentAST, tmp53_AST);
939#line 159 "MDParser.g"
940 tmp53_AST->setType(ENDBLOCK);
941#line 942 "MDParser.cpp"
942 bendblock_AST = currentAST.root;
944 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
946 recover(ex,_tokenSet_11);
948 returnAST = bendblock_AST;
951void MDParser::torsionblock() {
952 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
953 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
954 ANTLR_USE_NAMESPACE(antlr)RefAST torsionblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
957 ANTLR_USE_NAMESPACE(antlr)RefAST tmp54_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
958 tmp54_AST = astFactory->create(LT(1));
959 astFactory->makeASTRoot(currentAST, tmp54_AST);
976 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
983 if ((_tokenSet_14.member(LA(1)))) {
985 astFactory->addASTChild( currentAST, returnAST );
994 ANTLR_USE_NAMESPACE(antlr)RefAST tmp58_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
995 tmp58_AST = astFactory->create(LT(1));
996 astFactory->addASTChild(currentAST, tmp58_AST);
998#line 173 "MDParser.g"
999 tmp58_AST->setType(ENDBLOCK);
1000#line 1001 "MDParser.cpp"
1001 torsionblock_AST = currentAST.root;
1003 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1005 recover(ex,_tokenSet_11);
1007 returnAST = torsionblock_AST;
1010void MDParser::inversionblock() {
1011 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1012 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1013 ANTLR_USE_NAMESPACE(antlr)RefAST inversionblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1016 ANTLR_USE_NAMESPACE(antlr)RefAST tmp59_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1017 tmp59_AST = astFactory->create(LT(1));
1018 astFactory->makeASTRoot(currentAST, tmp59_AST);
1035 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1042 if ((_tokenSet_15.member(LA(1)))) {
1043 inversionstatement();
1044 astFactory->addASTChild( currentAST, returnAST );
1053 ANTLR_USE_NAMESPACE(antlr)RefAST tmp63_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1054 tmp63_AST = astFactory->create(LT(1));
1055 astFactory->addASTChild(currentAST, tmp63_AST);
1057#line 188 "MDParser.g"
1058 tmp63_AST->setType(ENDBLOCK);
1059#line 1060 "MDParser.cpp"
1060 inversionblock_AST = currentAST.root;
1062 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1064 recover(ex,_tokenSet_11);
1066 returnAST = inversionblock_AST;
1069void MDParser::rigidbodyblock() {
1070 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1071 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1072 ANTLR_USE_NAMESPACE(antlr)RefAST rigidbodyblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1075 ANTLR_USE_NAMESPACE(antlr)RefAST tmp64_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1076 tmp64_AST = astFactory->create(LT(1));
1077 astFactory->makeASTRoot(currentAST, tmp64_AST);
1081 astFactory->addASTChild( currentAST, returnAST );
1086 if ((LA(1) == MEMBERS || LA(1) == ID)) {
1087 rigidbodystatement();
1088 astFactory->addASTChild( currentAST, returnAST );
1097 ANTLR_USE_NAMESPACE(antlr)RefAST tmp68_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1098 tmp68_AST = astFactory->create(LT(1));
1099 astFactory->addASTChild(currentAST, tmp68_AST);
1101#line 201 "MDParser.g"
1102 tmp68_AST->setType(ENDBLOCK);
1103#line 1104 "MDParser.cpp"
1104 rigidbodyblock_AST = currentAST.root;
1106 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1108 recover(ex,_tokenSet_11);
1110 returnAST = rigidbodyblock_AST;
1113void MDParser::cutoffgroupblock() {
1114 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1115 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1116 ANTLR_USE_NAMESPACE(antlr)RefAST cutoffgroupblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1119 ANTLR_USE_NAMESPACE(antlr)RefAST tmp69_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1120 tmp69_AST = astFactory->create(LT(1));
1121 astFactory->makeASTRoot(currentAST, tmp69_AST);
1138 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1145 if ((LA(1) == MEMBERS || LA(1) == ID)) {
1146 cutoffgroupstatement();
1147 astFactory->addASTChild( currentAST, returnAST );
1156 ANTLR_USE_NAMESPACE(antlr)RefAST tmp73_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1157 tmp73_AST = astFactory->create(LT(1));
1158 astFactory->addASTChild(currentAST, tmp73_AST);
1160#line 208 "MDParser.g"
1161 tmp73_AST->setType(ENDBLOCK);
1162#line 1163 "MDParser.cpp"
1163 cutoffgroupblock_AST = currentAST.root;
1165 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1167 recover(ex,_tokenSet_11);
1169 returnAST = cutoffgroupblock_AST;
1172void MDParser::constraintblock() {
1173 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1174 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1175 ANTLR_USE_NAMESPACE(antlr)RefAST constraintblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1178 ANTLR_USE_NAMESPACE(antlr)RefAST tmp74_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1179 tmp74_AST = astFactory->create(LT(1));
1180 astFactory->makeASTRoot(currentAST, tmp74_AST);
1197 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1204 if ((LA(1) == MEMBERS || LA(1) == ID)) {
1205 constraintstatement();
1206 astFactory->addASTChild( currentAST, returnAST );
1215 ANTLR_USE_NAMESPACE(antlr)RefAST tmp78_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1216 tmp78_AST = astFactory->create(LT(1));
1217 astFactory->addASTChild(currentAST, tmp78_AST);
1219#line 237 "MDParser.g"
1220 tmp78_AST->setType(ENDBLOCK);
1221#line 1222 "MDParser.cpp"
1222 constraintblock_AST = currentAST.root;
1224 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1226 recover(ex,_tokenSet_11);
1228 returnAST = constraintblock_AST;
1231void MDParser::sequencestring() {
1232 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1233 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1234 ANTLR_USE_NAMESPACE(antlr)RefAST sequencestring_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1237 ANTLR_USE_NAMESPACE(antlr)RefAST tmp79_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1238 tmp79_AST = astFactory->create(LT(1));
1239 astFactory->addASTChild(currentAST, tmp79_AST);
1241 ANTLR_USE_NAMESPACE(antlr)RefAST tmp80_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1242 tmp80_AST = astFactory->create(LT(1));
1243 astFactory->makeASTRoot(currentAST, tmp80_AST);
1246 astFactory->addASTChild( currentAST, returnAST );
1248 sequencestring_AST = currentAST.root;
1250 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1252 recover(ex,_tokenSet_9);
1254 returnAST = sequencestring_AST;
1257void MDParser::atomstatement() {
1258 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1259 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1260 ANTLR_USE_NAMESPACE(antlr)RefAST atomstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1267 astFactory->addASTChild( currentAST, returnAST );
1268 atomstatement_AST = currentAST.root;
1273 ANTLR_USE_NAMESPACE(antlr)RefAST tmp82_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1274 tmp82_AST = astFactory->create(LT(1));
1275 astFactory->makeASTRoot(currentAST, tmp82_AST);
1278 doubleNumberTuple();
1279 astFactory->addASTChild( currentAST, returnAST );
1282 atomstatement_AST = currentAST.root;
1287 ANTLR_USE_NAMESPACE(antlr)RefAST tmp86_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1288 tmp86_AST = astFactory->create(LT(1));
1289 astFactory->makeASTRoot(currentAST, tmp86_AST);
1292 doubleNumberTuple();
1293 astFactory->addASTChild( currentAST, returnAST );
1296 atomstatement_AST = currentAST.root;
1301 ANTLR_USE_NAMESPACE(antlr)RefAST tmp90_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1302 tmp90_AST = astFactory->create(LT(1));
1303 astFactory->makeASTRoot(currentAST, tmp90_AST);
1307 astFactory->addASTChild( currentAST, returnAST );
1310 atomstatement_AST = currentAST.root;
1315 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1319 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1321 recover(ex,_tokenSet_16);
1323 returnAST = atomstatement_AST;
1326void MDParser::doubleNumberTuple() {
1327 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1328 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1329 ANTLR_USE_NAMESPACE(antlr)RefAST doubleNumberTuple_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1333 astFactory->addASTChild( currentAST, returnAST );
1336 if ((LA(1) == COMMA)) {
1339 astFactory->addASTChild( currentAST, returnAST );
1348 doubleNumberTuple_AST = currentAST.root;
1350 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1352 recover(ex,_tokenSet_17);
1354 returnAST = doubleNumberTuple_AST;
1357void MDParser::bondstatement() {
1358 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1359 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1360 ANTLR_USE_NAMESPACE(antlr)RefAST bondstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1367 astFactory->addASTChild( currentAST, returnAST );
1368 bondstatement_AST = currentAST.root;
1373 ANTLR_USE_NAMESPACE(antlr)RefAST tmp95_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1374 tmp95_AST = astFactory->create(LT(1));
1375 astFactory->makeASTRoot(currentAST, tmp95_AST);
1379 astFactory->addASTChild( currentAST, returnAST );
1382 bondstatement_AST = currentAST.root;
1387 ANTLR_USE_NAMESPACE(antlr)RefAST tmp99_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1388 tmp99_AST = astFactory->create(LT(1));
1389 astFactory->makeASTRoot(currentAST, tmp99_AST);
1393 astFactory->addASTChild( currentAST, returnAST );
1396 bondstatement_AST = currentAST.root;
1401 ANTLR_USE_NAMESPACE(antlr)RefAST tmp103_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1402 tmp103_AST = astFactory->create(LT(1));
1403 astFactory->makeASTRoot(currentAST, tmp103_AST);
1406 doubleNumberTuple();
1407 astFactory->addASTChild( currentAST, returnAST );
1410 bondstatement_AST = currentAST.root;
1415 ANTLR_USE_NAMESPACE(antlr)RefAST tmp107_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1416 tmp107_AST = astFactory->create(LT(1));
1417 astFactory->makeASTRoot(currentAST, tmp107_AST);
1420 doubleNumberTuple();
1421 astFactory->addASTChild( currentAST, returnAST );
1424 bondstatement_AST = currentAST.root;
1429 ANTLR_USE_NAMESPACE(antlr)RefAST tmp111_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1430 tmp111_AST = astFactory->create(LT(1));
1431 astFactory->makeASTRoot(currentAST, tmp111_AST);
1434 doubleNumberTuple();
1435 astFactory->addASTChild( currentAST, returnAST );
1438 bondstatement_AST = currentAST.root;
1443 ANTLR_USE_NAMESPACE(antlr)RefAST tmp115_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1444 tmp115_AST = astFactory->create(LT(1));
1445 astFactory->makeASTRoot(currentAST, tmp115_AST);
1448 doubleNumberTuple();
1449 astFactory->addASTChild( currentAST, returnAST );
1452 bondstatement_AST = currentAST.root;
1457 ANTLR_USE_NAMESPACE(antlr)RefAST tmp119_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1458 tmp119_AST = astFactory->create(LT(1));
1459 astFactory->makeASTRoot(currentAST, tmp119_AST);
1462 doubleNumberTuple();
1463 astFactory->addASTChild( currentAST, returnAST );
1466 bondstatement_AST = currentAST.root;
1471 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1475 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1477 recover(ex,_tokenSet_18);
1479 returnAST = bondstatement_AST;
1482void MDParser::inttuple() {
1483 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1484 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1485 ANTLR_USE_NAMESPACE(antlr)RefAST inttuple_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1489 astFactory->addASTChild( currentAST, returnAST );
1492 if ((LA(1) == COMMA)) {
1495 astFactory->addASTChild( currentAST, returnAST );
1504 inttuple_AST = currentAST.root;
1506 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1508 recover(ex,_tokenSet_17);
1510 returnAST = inttuple_AST;
1513void MDParser::bendstatement() {
1514 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1515 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1516 ANTLR_USE_NAMESPACE(antlr)RefAST bendstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1523 astFactory->addASTChild( currentAST, returnAST );
1524 bendstatement_AST = currentAST.root;
1529 ANTLR_USE_NAMESPACE(antlr)RefAST tmp124_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1530 tmp124_AST = astFactory->create(LT(1));
1531 astFactory->makeASTRoot(currentAST, tmp124_AST);
1535 astFactory->addASTChild( currentAST, returnAST );
1538 bendstatement_AST = currentAST.root;
1543 ANTLR_USE_NAMESPACE(antlr)RefAST tmp128_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1544 tmp128_AST = astFactory->create(LT(1));
1545 astFactory->makeASTRoot(currentAST, tmp128_AST);
1548 doubleNumberTuple();
1549 astFactory->addASTChild( currentAST, returnAST );
1552 bendstatement_AST = currentAST.root;
1557 ANTLR_USE_NAMESPACE(antlr)RefAST tmp132_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1558 tmp132_AST = astFactory->create(LT(1));
1559 astFactory->makeASTRoot(currentAST, tmp132_AST);
1562 doubleNumberTuple();
1563 astFactory->addASTChild( currentAST, returnAST );
1566 bendstatement_AST = currentAST.root;
1571 ANTLR_USE_NAMESPACE(antlr)RefAST tmp136_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1572 tmp136_AST = astFactory->create(LT(1));
1573 astFactory->makeASTRoot(currentAST, tmp136_AST);
1576 doubleNumberTuple();
1577 astFactory->addASTChild( currentAST, returnAST );
1580 bendstatement_AST = currentAST.root;
1585 ANTLR_USE_NAMESPACE(antlr)RefAST tmp140_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1586 tmp140_AST = astFactory->create(LT(1));
1587 astFactory->makeASTRoot(currentAST, tmp140_AST);
1590 doubleNumberTuple();
1591 astFactory->addASTChild( currentAST, returnAST );
1594 bendstatement_AST = currentAST.root;
1599 ANTLR_USE_NAMESPACE(antlr)RefAST tmp144_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1600 tmp144_AST = astFactory->create(LT(1));
1601 astFactory->makeASTRoot(currentAST, tmp144_AST);
1604 doubleNumberTuple();
1605 astFactory->addASTChild( currentAST, returnAST );
1608 bendstatement_AST = currentAST.root;
1613 ANTLR_USE_NAMESPACE(antlr)RefAST tmp148_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1614 tmp148_AST = astFactory->create(LT(1));
1615 astFactory->makeASTRoot(currentAST, tmp148_AST);
1618 doubleNumberTuple();
1619 astFactory->addASTChild( currentAST, returnAST );
1622 bendstatement_AST = currentAST.root;
1627 ANTLR_USE_NAMESPACE(antlr)RefAST tmp152_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1628 tmp152_AST = astFactory->create(LT(1));
1629 astFactory->makeASTRoot(currentAST, tmp152_AST);
1632 doubleNumberTuple();
1633 astFactory->addASTChild( currentAST, returnAST );
1636 bendstatement_AST = currentAST.root;
1641 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1645 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1647 recover(ex,_tokenSet_19);
1649 returnAST = bendstatement_AST;
1652void MDParser::torsionstatement() {
1653 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1654 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1655 ANTLR_USE_NAMESPACE(antlr)RefAST torsionstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1662 astFactory->addASTChild( currentAST, returnAST );
1663 torsionstatement_AST = currentAST.root;
1668 ANTLR_USE_NAMESPACE(antlr)RefAST tmp156_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1669 tmp156_AST = astFactory->create(LT(1));
1670 astFactory->makeASTRoot(currentAST, tmp156_AST);
1674 astFactory->addASTChild( currentAST, returnAST );
1677 torsionstatement_AST = currentAST.root;
1682 ANTLR_USE_NAMESPACE(antlr)RefAST tmp160_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1683 tmp160_AST = astFactory->create(LT(1));
1684 astFactory->makeASTRoot(currentAST, tmp160_AST);
1685 match(GHOSTTORSION);
1687 doubleNumberTuple();
1688 astFactory->addASTChild( currentAST, returnAST );
1691 torsionstatement_AST = currentAST.root;
1696 ANTLR_USE_NAMESPACE(antlr)RefAST tmp164_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1697 tmp164_AST = astFactory->create(LT(1));
1698 astFactory->makeASTRoot(currentAST, tmp164_AST);
1701 doubleNumberTuple();
1702 astFactory->addASTChild( currentAST, returnAST );
1705 torsionstatement_AST = currentAST.root;
1710 ANTLR_USE_NAMESPACE(antlr)RefAST tmp168_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1711 tmp168_AST = astFactory->create(LT(1));
1712 astFactory->makeASTRoot(currentAST, tmp168_AST);
1715 doubleNumberTuple();
1716 astFactory->addASTChild( currentAST, returnAST );
1719 torsionstatement_AST = currentAST.root;
1724 ANTLR_USE_NAMESPACE(antlr)RefAST tmp172_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1725 tmp172_AST = astFactory->create(LT(1));
1726 astFactory->makeASTRoot(currentAST, tmp172_AST);
1729 doubleNumberTuple();
1730 astFactory->addASTChild( currentAST, returnAST );
1733 torsionstatement_AST = currentAST.root;
1738 ANTLR_USE_NAMESPACE(antlr)RefAST tmp176_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1739 tmp176_AST = astFactory->create(LT(1));
1740 astFactory->makeASTRoot(currentAST, tmp176_AST);
1743 doubleNumberTuple();
1744 astFactory->addASTChild( currentAST, returnAST );
1747 torsionstatement_AST = currentAST.root;
1752 ANTLR_USE_NAMESPACE(antlr)RefAST tmp180_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1753 tmp180_AST = astFactory->create(LT(1));
1754 astFactory->makeASTRoot(currentAST, tmp180_AST);
1757 doubleNumberTuple();
1758 astFactory->addASTChild( currentAST, returnAST );
1761 torsionstatement_AST = currentAST.root;
1766 ANTLR_USE_NAMESPACE(antlr)RefAST tmp184_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1767 tmp184_AST = astFactory->create(LT(1));
1768 astFactory->makeASTRoot(currentAST, tmp184_AST);
1771 doubleNumberTuple();
1772 astFactory->addASTChild( currentAST, returnAST );
1775 torsionstatement_AST = currentAST.root;
1780 ANTLR_USE_NAMESPACE(antlr)RefAST tmp188_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1781 tmp188_AST = astFactory->create(LT(1));
1782 astFactory->makeASTRoot(currentAST, tmp188_AST);
1785 doubleNumberTuple();
1786 astFactory->addASTChild( currentAST, returnAST );
1789 torsionstatement_AST = currentAST.root;
1794 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1798 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1800 recover(ex,_tokenSet_20);
1802 returnAST = torsionstatement_AST;
1805void MDParser::inversionstatement() {
1806 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1807 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1808 ANTLR_USE_NAMESPACE(antlr)RefAST inversionstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1815 astFactory->addASTChild( currentAST, returnAST );
1816 inversionstatement_AST = currentAST.root;
1821 ANTLR_USE_NAMESPACE(antlr)RefAST tmp192_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1822 tmp192_AST = astFactory->create(LT(1));
1823 astFactory->makeASTRoot(currentAST, tmp192_AST);
1827 astFactory->addASTChild( currentAST, returnAST );
1830 inversionstatement_AST = currentAST.root;
1835 ANTLR_USE_NAMESPACE(antlr)RefAST tmp196_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1836 tmp196_AST = astFactory->create(LT(1));
1837 astFactory->makeASTRoot(currentAST, tmp196_AST);
1841 astFactory->addASTChild( currentAST, returnAST );
1844 inversionstatement_AST = currentAST.root;
1849 ANTLR_USE_NAMESPACE(antlr)RefAST tmp200_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1850 tmp200_AST = astFactory->create(LT(1));
1851 astFactory->makeASTRoot(currentAST, tmp200_AST);
1852 match(AMBERIMPROPER);
1854 doubleNumberTuple();
1855 astFactory->addASTChild( currentAST, returnAST );
1858 inversionstatement_AST = currentAST.root;
1861 case IMPROPERCOSINE:
1863 ANTLR_USE_NAMESPACE(antlr)RefAST tmp204_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1864 tmp204_AST = astFactory->create(LT(1));
1865 astFactory->makeASTRoot(currentAST, tmp204_AST);
1866 match(IMPROPERCOSINE);
1868 doubleNumberTuple();
1869 astFactory->addASTChild( currentAST, returnAST );
1872 inversionstatement_AST = currentAST.root;
1877 ANTLR_USE_NAMESPACE(antlr)RefAST tmp208_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1878 tmp208_AST = astFactory->create(LT(1));
1879 astFactory->makeASTRoot(currentAST, tmp208_AST);
1882 doubleNumberTuple();
1883 astFactory->addASTChild( currentAST, returnAST );
1886 inversionstatement_AST = currentAST.root;
1889 case CENTRALATOMHEIGHT:
1891 ANTLR_USE_NAMESPACE(antlr)RefAST tmp212_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1892 tmp212_AST = astFactory->create(LT(1));
1893 astFactory->makeASTRoot(currentAST, tmp212_AST);
1894 match(CENTRALATOMHEIGHT);
1896 doubleNumberTuple();
1897 astFactory->addASTChild( currentAST, returnAST );
1900 inversionstatement_AST = currentAST.root;
1905 ANTLR_USE_NAMESPACE(antlr)RefAST tmp216_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1906 tmp216_AST = astFactory->create(LT(1));
1907 astFactory->makeASTRoot(currentAST, tmp216_AST);
1910 doubleNumberTuple();
1911 astFactory->addASTChild( currentAST, returnAST );
1914 inversionstatement_AST = currentAST.root;
1919 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1923 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1925 recover(ex,_tokenSet_21);
1927 returnAST = inversionstatement_AST;
1930void MDParser::rigidbodystatement() {
1931 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1932 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1933 ANTLR_USE_NAMESPACE(antlr)RefAST rigidbodystatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1940 astFactory->addASTChild( currentAST, returnAST );
1941 rigidbodystatement_AST = currentAST.root;
1946 ANTLR_USE_NAMESPACE(antlr)RefAST tmp220_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1947 tmp220_AST = astFactory->create(LT(1));
1948 astFactory->makeASTRoot(currentAST, tmp220_AST);
1952 astFactory->addASTChild( currentAST, returnAST );
1955 rigidbodystatement_AST = currentAST.root;
1960 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
1964 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
1966 recover(ex,_tokenSet_22);
1968 returnAST = rigidbodystatement_AST;
1971void MDParser::cutoffgroupstatement() {
1972 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1973 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
1974 ANTLR_USE_NAMESPACE(antlr)RefAST cutoffgroupstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1981 astFactory->addASTChild( currentAST, returnAST );
1982 cutoffgroupstatement_AST = currentAST.root;
1987 ANTLR_USE_NAMESPACE(antlr)RefAST tmp224_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
1988 tmp224_AST = astFactory->create(LT(1));
1989 astFactory->makeASTRoot(currentAST, tmp224_AST);
1993 astFactory->addASTChild( currentAST, returnAST );
1996 cutoffgroupstatement_AST = currentAST.root;
2001 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2005 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2007 recover(ex,_tokenSet_22);
2009 returnAST = cutoffgroupstatement_AST;
2012void MDParser::nodesblock() {
2013 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2014 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
2015 ANTLR_USE_NAMESPACE(antlr)RefAST nodesblock_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2018 ANTLR_USE_NAMESPACE(antlr)RefAST tmp228_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2019 tmp228_AST = astFactory->create(LT(1));
2020 astFactory->makeASTRoot(currentAST, tmp228_AST);
2037 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2044 if ((LA(1) == MEMBERS || LA(1) == ID)) {
2046 astFactory->addASTChild( currentAST, returnAST );
2055 ANTLR_USE_NAMESPACE(antlr)RefAST tmp232_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2056 tmp232_AST = astFactory->create(LT(1));
2057 astFactory->addASTChild(currentAST, tmp232_AST);
2059#line 215 "MDParser.g"
2060 tmp232_AST->setType(ENDBLOCK);
2061#line 2062 "MDParser.cpp"
2062 nodesblock_AST = currentAST.root;
2064 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2066 recover(ex,_tokenSet_23);
2068 returnAST = nodesblock_AST;
2071void MDParser::nodesstatement() {
2072 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2073 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
2074 ANTLR_USE_NAMESPACE(antlr)RefAST nodesstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2081 astFactory->addASTChild( currentAST, returnAST );
2082 nodesstatement_AST = currentAST.root;
2087 ANTLR_USE_NAMESPACE(antlr)RefAST tmp233_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2088 tmp233_AST = astFactory->create(LT(1));
2089 astFactory->makeASTRoot(currentAST, tmp233_AST);
2093 astFactory->addASTChild( currentAST, returnAST );
2096 nodesstatement_AST = currentAST.root;
2101 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2105 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2107 recover(ex,_tokenSet_22);
2109 returnAST = nodesstatement_AST;
2112void MDParser::fragmentstatement() {
2113 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2114 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
2115 ANTLR_USE_NAMESPACE(antlr)RefAST fragmentstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2122 astFactory->addASTChild( currentAST, returnAST );
2123 fragmentstatement_AST = currentAST.root;
2129 astFactory->addASTChild( currentAST, returnAST );
2130 fragmentstatement_AST = currentAST.root;
2136 astFactory->addASTChild( currentAST, returnAST );
2137 fragmentstatement_AST = currentAST.root;
2143 astFactory->addASTChild( currentAST, returnAST );
2144 fragmentstatement_AST = currentAST.root;
2150 astFactory->addASTChild( currentAST, returnAST );
2151 fragmentstatement_AST = currentAST.root;
2157 astFactory->addASTChild( currentAST, returnAST );
2158 fragmentstatement_AST = currentAST.root;
2164 astFactory->addASTChild( currentAST, returnAST );
2165 fragmentstatement_AST = currentAST.root;
2171 astFactory->addASTChild( currentAST, returnAST );
2172 fragmentstatement_AST = currentAST.root;
2178 astFactory->addASTChild( currentAST, returnAST );
2179 fragmentstatement_AST = currentAST.root;
2185 astFactory->addASTChild( currentAST, returnAST );
2186 fragmentstatement_AST = currentAST.root;
2191 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2195 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2197 recover(ex,_tokenSet_23);
2199 returnAST = fragmentstatement_AST;
2202void MDParser::constraintstatement() {
2203 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2204 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
2205 ANTLR_USE_NAMESPACE(antlr)RefAST constraintstatement_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2212 astFactory->addASTChild( currentAST, returnAST );
2213 constraintstatement_AST = currentAST.root;
2218 ANTLR_USE_NAMESPACE(antlr)RefAST tmp237_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2219 tmp237_AST = astFactory->create(LT(1));
2220 astFactory->makeASTRoot(currentAST, tmp237_AST);
2224 astFactory->addASTChild( currentAST, returnAST );
2227 constraintstatement_AST = currentAST.root;
2232 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2236 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2238 recover(ex,_tokenSet_22);
2240 returnAST = constraintstatement_AST;
2243void MDParser::doubleNumber() {
2244 returnAST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2245 ANTLR_USE_NAMESPACE(antlr)ASTPair currentAST;
2246 ANTLR_USE_NAMESPACE(antlr)RefAST doubleNumber_AST = ANTLR_USE_NAMESPACE(antlr)nullAST;
2255 astFactory->addASTChild( currentAST, returnAST );
2262 astFactory->addASTChild( currentAST, returnAST );
2267 throw ANTLR_USE_NAMESPACE(antlr)NoViableAltException(LT(1), getFilename());
2271 doubleNumber_AST = currentAST.root;
2273 catch (ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex) {
2275 recover(ex,_tokenSet_24);
2277 returnAST = doubleNumber_AST;
2280void MDParser::initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory )
2282 factory.setMaxNodeType(80);
2284const char* MDParser::tokenNames[] = {
2288 "NULL_TREE_LOOKAHEAD",
2326 "\"AmberImproper\"",
2327 "\"ImproperCosine\"",
2328 "\"CentralAtomHeight\"",
2369const unsigned long MDParser::_tokenSet_0_data_[] = { 251789552UL, 65536UL, 0UL, 0UL };
2372const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_0(_tokenSet_0_data_,4);
2373const unsigned long MDParser::_tokenSet_1_data_[] = { 2UL, 0UL, 0UL, 0UL };
2375const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_1(_tokenSet_1_data_,4);
2376const unsigned long MDParser::_tokenSet_2_data_[] = { 251789554UL, 65536UL, 0UL, 0UL };
2379const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_2(_tokenSet_2_data_,4);
2380const unsigned long MDParser::_tokenSet_3_data_[] = { 4294901746UL, 2195455UL, 0UL, 0UL };
2388const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_3(_tokenSet_3_data_,4);
2389const unsigned long MDParser::_tokenSet_4_data_[] = { 327424UL, 65536UL, 0UL, 0UL };
2392const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_4(_tokenSet_4_data_,4);
2393const unsigned long MDParser::_tokenSet_5_data_[] = { 65280UL, 81920UL, 0UL, 0UL };
2396const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_5(_tokenSet_5_data_,4);
2397const unsigned long MDParser::_tokenSet_6_data_[] = { 0UL, 262144UL, 0UL, 0UL };
2399const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_6(_tokenSet_6_data_,4);
2400const unsigned long MDParser::_tokenSet_7_data_[] = { 0UL, 109314048UL, 0UL, 0UL };
2402const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_7(_tokenSet_7_data_,4);
2403const unsigned long MDParser::_tokenSet_8_data_[] = { 0UL, 100925440UL, 0UL, 0UL };
2405const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_8(_tokenSet_8_data_,4);
2406const unsigned long MDParser::_tokenSet_9_data_[] = { 327424UL, 2162688UL, 0UL, 0UL };
2409const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_9(_tokenSet_9_data_,4);
2410const unsigned long MDParser::_tokenSet_10_data_[] = { 12582912UL, 73728UL, 0UL, 0UL };
2412const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_10(_tokenSet_10_data_,4);
2413const unsigned long MDParser::_tokenSet_11_data_[] = { 327424UL, 2179072UL, 0UL, 0UL };
2416const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_11(_tokenSet_11_data_,4);
2417const unsigned long MDParser::_tokenSet_12_data_[] = { 4027056128UL, 65539UL, 0UL, 0UL };
2420const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_12(_tokenSet_12_data_,4);
2421const unsigned long MDParser::_tokenSet_13_data_[] = { 3758620672UL, 65565UL, 0UL, 0UL };
2424const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_13(_tokenSet_13_data_,4);
2425const unsigned long MDParser::_tokenSet_14_data_[] = { 3758620672UL, 66017UL, 0UL, 0UL };
2428const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_14(_tokenSet_14_data_,4);
2429const unsigned long MDParser::_tokenSet_15_data_[] = { 540016640UL, 73216UL, 0UL, 0UL };
2432const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_15(_tokenSet_15_data_,4);
2433const unsigned long MDParser::_tokenSet_16_data_[] = { 12582912UL, 2170880UL, 0UL, 0UL };
2435const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_16(_tokenSet_16_data_,4);
2436const unsigned long MDParser::_tokenSet_17_data_[] = { 0UL, 33554432UL, 0UL, 0UL };
2438const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_17(_tokenSet_17_data_,4);
2439const unsigned long MDParser::_tokenSet_18_data_[] = { 4027056128UL, 2162691UL, 0UL, 0UL };
2442const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_18(_tokenSet_18_data_,4);
2443const unsigned long MDParser::_tokenSet_19_data_[] = { 3758620672UL, 2162717UL, 0UL, 0UL };
2446const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_19(_tokenSet_19_data_,4);
2447const unsigned long MDParser::_tokenSet_20_data_[] = { 3758620672UL, 2163169UL, 0UL, 0UL };
2450const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_20(_tokenSet_20_data_,4);
2451const unsigned long MDParser::_tokenSet_21_data_[] = { 540016640UL, 2170368UL, 0UL, 0UL };
2454const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_21(_tokenSet_21_data_,4);
2455const unsigned long MDParser::_tokenSet_22_data_[] = { 524288UL, 2162688UL, 0UL, 0UL };
2457const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_22(_tokenSet_22_data_,4);
2458const unsigned long MDParser::_tokenSet_23_data_[] = { 65280UL, 2179072UL, 0UL, 0UL };
2461const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_23(_tokenSet_23_data_,4);
2462const unsigned long MDParser::_tokenSet_24_data_[] = { 0UL, 100663296UL, 0UL, 0UL };
2464const ANTLR_USE_NAMESPACE(antlr)BitSet MDParser::_tokenSet_24(_tokenSet_24_data_,4);