diff options
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g')
-rw-r--r-- | Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g | 746 |
1 files changed, 296 insertions, 450 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g index aa14179a..2ab53393 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguage.g | |||
@@ -119,9 +119,29 @@ ruleVampireModel returns [EObject current=null] | |||
119 | ( | 119 | ( |
120 | ( | 120 | ( |
121 | { | 121 | { |
122 | newCompositeNode(grammarAccess.getVampireModelAccess().getFormulasVLSFofFormulaParserRuleCall_2_0()); | 122 | newCompositeNode(grammarAccess.getVampireModelAccess().getConfirmationsVLSConfirmationsParserRuleCall_2_0()); |
123 | } | 123 | } |
124 | lv_formulas_2_0=ruleVLSFofFormula | 124 | lv_confirmations_2_0=ruleVLSConfirmations |
125 | { | ||
126 | if ($current==null) { | ||
127 | $current = createModelElementForParent(grammarAccess.getVampireModelRule()); | ||
128 | } | ||
129 | add( | ||
130 | $current, | ||
131 | "confirmations", | ||
132 | lv_confirmations_2_0, | ||
133 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSConfirmations"); | ||
134 | afterParserOrEnumRuleCall(); | ||
135 | } | ||
136 | ) | ||
137 | ) | ||
138 | | | ||
139 | ( | ||
140 | ( | ||
141 | { | ||
142 | newCompositeNode(grammarAccess.getVampireModelAccess().getFormulasVLSFofFormulaParserRuleCall_3_0()); | ||
143 | } | ||
144 | lv_formulas_3_0=ruleVLSFofFormula | ||
125 | { | 145 | { |
126 | if ($current==null) { | 146 | if ($current==null) { |
127 | $current = createModelElementForParent(grammarAccess.getVampireModelRule()); | 147 | $current = createModelElementForParent(grammarAccess.getVampireModelRule()); |
@@ -129,12 +149,32 @@ ruleVampireModel returns [EObject current=null] | |||
129 | add( | 149 | add( |
130 | $current, | 150 | $current, |
131 | "formulas", | 151 | "formulas", |
132 | lv_formulas_2_0, | 152 | lv_formulas_3_0, |
133 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSFofFormula"); | 153 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSFofFormula"); |
134 | afterParserOrEnumRuleCall(); | 154 | afterParserOrEnumRuleCall(); |
135 | } | 155 | } |
136 | ) | 156 | ) |
137 | ) | 157 | ) |
158 | | | ||
159 | ( | ||
160 | ( | ||
161 | { | ||
162 | newCompositeNode(grammarAccess.getVampireModelAccess().getTfformulasVLSTffFormulaParserRuleCall_4_0()); | ||
163 | } | ||
164 | lv_tfformulas_4_0=ruleVLSTffFormula | ||
165 | { | ||
166 | if ($current==null) { | ||
167 | $current = createModelElementForParent(grammarAccess.getVampireModelRule()); | ||
168 | } | ||
169 | add( | ||
170 | $current, | ||
171 | "tfformulas", | ||
172 | lv_tfformulas_4_0, | ||
173 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffFormula"); | ||
174 | afterParserOrEnumRuleCall(); | ||
175 | } | ||
176 | ) | ||
177 | ) | ||
138 | )* | 178 | )* |
139 | ; | 179 | ; |
140 | 180 | ||
@@ -356,6 +396,61 @@ ruleVLSComment returns [EObject current=null] | |||
356 | ) | 396 | ) |
357 | ; | 397 | ; |
358 | 398 | ||
399 | // Entry rule entryRuleVLSConfirmations | ||
400 | entryRuleVLSConfirmations returns [EObject current=null]: | ||
401 | { newCompositeNode(grammarAccess.getVLSConfirmationsRule()); } | ||
402 | iv_ruleVLSConfirmations=ruleVLSConfirmations | ||
403 | { $current=$iv_ruleVLSConfirmations.current; } | ||
404 | EOF; | ||
405 | |||
406 | // Rule VLSConfirmations | ||
407 | ruleVLSConfirmations returns [EObject current=null] | ||
408 | @init { | ||
409 | enterRule(); | ||
410 | } | ||
411 | @after { | ||
412 | leaveRule(); | ||
413 | }: | ||
414 | { | ||
415 | newCompositeNode(grammarAccess.getVLSConfirmationsAccess().getVLSSatisfiableParserRuleCall()); | ||
416 | } | ||
417 | this_VLSSatisfiable_0=ruleVLSSatisfiable | ||
418 | { | ||
419 | $current = $this_VLSSatisfiable_0.current; | ||
420 | afterParserOrEnumRuleCall(); | ||
421 | } | ||
422 | ; | ||
423 | |||
424 | // Entry rule entryRuleVLSSatisfiable | ||
425 | entryRuleVLSSatisfiable returns [EObject current=null]: | ||
426 | { newCompositeNode(grammarAccess.getVLSSatisfiableRule()); } | ||
427 | iv_ruleVLSSatisfiable=ruleVLSSatisfiable | ||
428 | { $current=$iv_ruleVLSSatisfiable.current; } | ||
429 | EOF; | ||
430 | |||
431 | // Rule VLSSatisfiable | ||
432 | ruleVLSSatisfiable returns [EObject current=null] | ||
433 | @init { | ||
434 | enterRule(); | ||
435 | } | ||
436 | @after { | ||
437 | leaveRule(); | ||
438 | }: | ||
439 | ( | ||
440 | ( | ||
441 | { | ||
442 | $current = forceCreateModelElement( | ||
443 | grammarAccess.getVLSSatisfiableAccess().getVLSSatisfiableAction_0(), | ||
444 | $current); | ||
445 | } | ||
446 | ) | ||
447 | otherlv_1='Satisfiable!' | ||
448 | { | ||
449 | newLeafNode(otherlv_1, grammarAccess.getVLSSatisfiableAccess().getSatisfiableKeyword_1()); | ||
450 | } | ||
451 | ) | ||
452 | ; | ||
453 | |||
359 | // Entry rule entryRuleVLSFofFormula | 454 | // Entry rule entryRuleVLSFofFormula |
360 | entryRuleVLSFofFormula returns [EObject current=null]: | 455 | entryRuleVLSFofFormula returns [EObject current=null]: |
361 | { newCompositeNode(grammarAccess.getVLSFofFormulaRule()); } | 456 | { newCompositeNode(grammarAccess.getVLSFofFormulaRule()); } |
@@ -512,15 +607,15 @@ ruleVLSFofFormula returns [EObject current=null] | |||
512 | ) | 607 | ) |
513 | ; | 608 | ; |
514 | 609 | ||
515 | // Entry rule entryRuleVLSRole | 610 | // Entry rule entryRuleVLSTffFormula |
516 | entryRuleVLSRole returns [String current=null]: | 611 | entryRuleVLSTffFormula returns [EObject current=null]: |
517 | { newCompositeNode(grammarAccess.getVLSRoleRule()); } | 612 | { newCompositeNode(grammarAccess.getVLSTffFormulaRule()); } |
518 | iv_ruleVLSRole=ruleVLSRole | 613 | iv_ruleVLSTffFormula=ruleVLSTffFormula |
519 | { $current=$iv_ruleVLSRole.current.getText(); } | 614 | { $current=$iv_ruleVLSTffFormula.current; } |
520 | EOF; | 615 | EOF; |
521 | 616 | ||
522 | // Rule VLSRole | 617 | // Rule VLSTffFormula |
523 | ruleVLSRole returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | 618 | ruleVLSTffFormula returns [EObject current=null] |
524 | @init { | 619 | @init { |
525 | enterRule(); | 620 | enterRule(); |
526 | } | 621 | } |
@@ -528,503 +623,254 @@ ruleVLSRole returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken() | |||
528 | leaveRule(); | 623 | leaveRule(); |
529 | }: | 624 | }: |
530 | ( | 625 | ( |
626 | otherlv_0='tff' | ||
531 | { | 627 | { |
532 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSAxiomParserRuleCall_0()); | 628 | newLeafNode(otherlv_0, grammarAccess.getVLSTffFormulaAccess().getTffKeyword_0()); |
533 | } | ||
534 | this_VLSAxiom_0=ruleVLSAxiom | ||
535 | { | ||
536 | $current.merge(this_VLSAxiom_0); | ||
537 | } | ||
538 | { | ||
539 | afterParserOrEnumRuleCall(); | ||
540 | } | 629 | } |
541 | | | 630 | otherlv_1='(' |
542 | { | 631 | { |
543 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSConjectureParserRuleCall_1()); | 632 | newLeafNode(otherlv_1, grammarAccess.getVLSTffFormulaAccess().getLeftParenthesisKeyword_1()); |
544 | } | 633 | } |
545 | this_VLSConjecture_1=ruleVLSConjecture | 634 | ( |
635 | ( | ||
636 | ( | ||
637 | lv_name_2_1=RULE_LOWER_WORD_ID | ||
638 | { | ||
639 | newLeafNode(lv_name_2_1, grammarAccess.getVLSTffFormulaAccess().getNameLOWER_WORD_IDTerminalRuleCall_2_0_0()); | ||
640 | } | ||
641 | { | ||
642 | if ($current==null) { | ||
643 | $current = createModelElement(grammarAccess.getVLSTffFormulaRule()); | ||
644 | } | ||
645 | setWithLastConsumed( | ||
646 | $current, | ||
647 | "name", | ||
648 | lv_name_2_1, | ||
649 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.LOWER_WORD_ID"); | ||
650 | } | ||
651 | | | ||
652 | lv_name_2_2=RULE_SIGNED_LITERAL | ||
653 | { | ||
654 | newLeafNode(lv_name_2_2, grammarAccess.getVLSTffFormulaAccess().getNameSIGNED_LITERALTerminalRuleCall_2_0_1()); | ||
655 | } | ||
656 | { | ||
657 | if ($current==null) { | ||
658 | $current = createModelElement(grammarAccess.getVLSTffFormulaRule()); | ||
659 | } | ||
660 | setWithLastConsumed( | ||
661 | $current, | ||
662 | "name", | ||
663 | lv_name_2_2, | ||
664 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.SIGNED_LITERAL"); | ||
665 | } | ||
666 | | | ||
667 | lv_name_2_3=RULE_SINGLE_QUOTE | ||
668 | { | ||
669 | newLeafNode(lv_name_2_3, grammarAccess.getVLSTffFormulaAccess().getNameSINGLE_QUOTETerminalRuleCall_2_0_2()); | ||
670 | } | ||
671 | { | ||
672 | if ($current==null) { | ||
673 | $current = createModelElement(grammarAccess.getVLSTffFormulaRule()); | ||
674 | } | ||
675 | setWithLastConsumed( | ||
676 | $current, | ||
677 | "name", | ||
678 | lv_name_2_3, | ||
679 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.SINGLE_QUOTE"); | ||
680 | } | ||
681 | ) | ||
682 | ) | ||
683 | ) | ||
684 | otherlv_3=',' | ||
546 | { | 685 | { |
547 | $current.merge(this_VLSConjecture_1); | 686 | newLeafNode(otherlv_3, grammarAccess.getVLSTffFormulaAccess().getCommaKeyword_3()); |
548 | } | 687 | } |
688 | ( | ||
689 | ( | ||
690 | { | ||
691 | newCompositeNode(grammarAccess.getVLSTffFormulaAccess().getFofRoleVLSRoleParserRuleCall_4_0()); | ||
692 | } | ||
693 | lv_fofRole_4_0=ruleVLSRole | ||
694 | { | ||
695 | if ($current==null) { | ||
696 | $current = createModelElementForParent(grammarAccess.getVLSTffFormulaRule()); | ||
697 | } | ||
698 | set( | ||
699 | $current, | ||
700 | "fofRole", | ||
701 | lv_fofRole_4_0, | ||
702 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSRole"); | ||
703 | afterParserOrEnumRuleCall(); | ||
704 | } | ||
705 | ) | ||
706 | ) | ||
707 | otherlv_5=',' | ||
549 | { | 708 | { |
550 | afterParserOrEnumRuleCall(); | 709 | newLeafNode(otherlv_5, grammarAccess.getVLSTffFormulaAccess().getCommaKeyword_5()); |
551 | } | 710 | } |
552 | | | 711 | ( |
712 | ( | ||
713 | { | ||
714 | newCompositeNode(grammarAccess.getVLSTffFormulaAccess().getFofFormulaVLSTermParserRuleCall_6_0()); | ||
715 | } | ||
716 | lv_fofFormula_6_0=ruleVLSTerm | ||
717 | { | ||
718 | if ($current==null) { | ||
719 | $current = createModelElementForParent(grammarAccess.getVLSTffFormulaRule()); | ||
720 | } | ||
721 | set( | ||
722 | $current, | ||
723 | "fofFormula", | ||
724 | lv_fofFormula_6_0, | ||
725 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTerm"); | ||
726 | afterParserOrEnumRuleCall(); | ||
727 | } | ||
728 | ) | ||
729 | ) | ||
730 | ( | ||
731 | otherlv_7=',' | ||
732 | { | ||
733 | newLeafNode(otherlv_7, grammarAccess.getVLSTffFormulaAccess().getCommaKeyword_7_0()); | ||
734 | } | ||
735 | ( | ||
736 | ( | ||
737 | { | ||
738 | newCompositeNode(grammarAccess.getVLSTffFormulaAccess().getAnnotationsVLSAnnotationParserRuleCall_7_1_0()); | ||
739 | } | ||
740 | lv_annotations_8_0=ruleVLSAnnotation | ||
741 | { | ||
742 | if ($current==null) { | ||
743 | $current = createModelElementForParent(grammarAccess.getVLSTffFormulaRule()); | ||
744 | } | ||
745 | set( | ||
746 | $current, | ||
747 | "annotations", | ||
748 | lv_annotations_8_0, | ||
749 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSAnnotation"); | ||
750 | afterParserOrEnumRuleCall(); | ||
751 | } | ||
752 | ) | ||
753 | ) | ||
754 | )? | ||
755 | otherlv_9=')' | ||
553 | { | 756 | { |
554 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSHypothesisParserRuleCall_2()); | 757 | newLeafNode(otherlv_9, grammarAccess.getVLSTffFormulaAccess().getRightParenthesisKeyword_8()); |
555 | } | 758 | } |
556 | this_VLSHypothesis_2=ruleVLSHypothesis | 759 | otherlv_10='.' |
557 | { | 760 | { |
558 | $current.merge(this_VLSHypothesis_2); | 761 | newLeafNode(otherlv_10, grammarAccess.getVLSTffFormulaAccess().getFullStopKeyword_9()); |
559 | } | 762 | } |
763 | ) | ||
764 | ; | ||
765 | |||
766 | // Entry rule entryRuleVLSRole | ||
767 | entryRuleVLSRole returns [String current=null]: | ||
768 | { newCompositeNode(grammarAccess.getVLSRoleRule()); } | ||
769 | iv_ruleVLSRole=ruleVLSRole | ||
770 | { $current=$iv_ruleVLSRole.current.getText(); } | ||
771 | EOF; | ||
772 | |||
773 | // Rule VLSRole | ||
774 | ruleVLSRole returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
775 | @init { | ||
776 | enterRule(); | ||
777 | } | ||
778 | @after { | ||
779 | leaveRule(); | ||
780 | }: | ||
781 | ( | ||
782 | kw='axiom' | ||
560 | { | 783 | { |
561 | afterParserOrEnumRuleCall(); | 784 | $current.merge(kw); |
785 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getAxiomKeyword_0()); | ||
562 | } | 786 | } |
563 | | | 787 | | |
788 | kw='conjecture' | ||
564 | { | 789 | { |
565 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSDefinitionParserRuleCall_3()); | 790 | $current.merge(kw); |
566 | } | 791 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getConjectureKeyword_1()); |
567 | this_VLSDefinition_3=ruleVLSDefinition | ||
568 | { | ||
569 | $current.merge(this_VLSDefinition_3); | ||
570 | } | ||
571 | { | ||
572 | afterParserOrEnumRuleCall(); | ||
573 | } | 792 | } |
574 | | | 793 | | |
794 | kw='hypothesis' | ||
575 | { | 795 | { |
576 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSAssumptionParserRuleCall_4()); | 796 | $current.merge(kw); |
577 | } | 797 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getHypothesisKeyword_2()); |
578 | this_VLSAssumption_4=ruleVLSAssumption | ||
579 | { | ||
580 | $current.merge(this_VLSAssumption_4); | ||
581 | } | ||
582 | { | ||
583 | afterParserOrEnumRuleCall(); | ||
584 | } | 798 | } |
585 | | | 799 | | |
800 | kw='definition' | ||
586 | { | 801 | { |
587 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSLemmaParserRuleCall_5()); | 802 | $current.merge(kw); |
588 | } | 803 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getDefinitionKeyword_3()); |
589 | this_VLSLemma_5=ruleVLSLemma | ||
590 | { | ||
591 | $current.merge(this_VLSLemma_5); | ||
592 | } | ||
593 | { | ||
594 | afterParserOrEnumRuleCall(); | ||
595 | } | 804 | } |
596 | | | 805 | | |
806 | kw='assumption' | ||
597 | { | 807 | { |
598 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSTheoremParserRuleCall_6()); | 808 | $current.merge(kw); |
599 | } | 809 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getAssumptionKeyword_4()); |
600 | this_VLSTheorem_6=ruleVLSTheorem | ||
601 | { | ||
602 | $current.merge(this_VLSTheorem_6); | ||
603 | } | ||
604 | { | ||
605 | afterParserOrEnumRuleCall(); | ||
606 | } | 810 | } |
607 | | | 811 | | |
812 | kw='lemma' | ||
608 | { | 813 | { |
609 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSCorollaryParserRuleCall_7()); | 814 | $current.merge(kw); |
610 | } | 815 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getLemmaKeyword_5()); |
611 | this_VLSCorollary_7=ruleVLSCorollary | ||
612 | { | ||
613 | $current.merge(this_VLSCorollary_7); | ||
614 | } | ||
615 | { | ||
616 | afterParserOrEnumRuleCall(); | ||
617 | } | 816 | } |
618 | | | 817 | | |
818 | kw='theorem' | ||
619 | { | 819 | { |
620 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSNegated_ConjectureParserRuleCall_8()); | 820 | $current.merge(kw); |
621 | } | 821 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getTheoremKeyword_6()); |
622 | this_VLSNegated_Conjecture_8=ruleVLSNegated_Conjecture | ||
623 | { | ||
624 | $current.merge(this_VLSNegated_Conjecture_8); | ||
625 | } | ||
626 | { | ||
627 | afterParserOrEnumRuleCall(); | ||
628 | } | 822 | } |
629 | | | 823 | | |
824 | kw='corollary' | ||
630 | { | 825 | { |
631 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSPlainParserRuleCall_9()); | 826 | $current.merge(kw); |
632 | } | 827 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getCorollaryKeyword_7()); |
633 | this_VLSPlain_9=ruleVLSPlain | ||
634 | { | ||
635 | $current.merge(this_VLSPlain_9); | ||
636 | } | ||
637 | { | ||
638 | afterParserOrEnumRuleCall(); | ||
639 | } | 828 | } |
640 | | | 829 | | |
830 | kw='negated_conjecture' | ||
641 | { | 831 | { |
642 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSTypeParserRuleCall_10()); | 832 | $current.merge(kw); |
643 | } | 833 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getNegated_conjectureKeyword_8()); |
644 | this_VLSType_10=ruleVLSType | ||
645 | { | ||
646 | $current.merge(this_VLSType_10); | ||
647 | } | ||
648 | { | ||
649 | afterParserOrEnumRuleCall(); | ||
650 | } | 834 | } |
651 | | | 835 | | |
836 | kw='plain' | ||
652 | { | 837 | { |
653 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSFi_DomainParserRuleCall_11()); | 838 | $current.merge(kw); |
654 | } | 839 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getPlainKeyword_9()); |
655 | this_VLSFi_Domain_11=ruleVLSFi_Domain | ||
656 | { | ||
657 | $current.merge(this_VLSFi_Domain_11); | ||
658 | } | ||
659 | { | ||
660 | afterParserOrEnumRuleCall(); | ||
661 | } | 840 | } |
662 | | | 841 | | |
842 | kw='type' | ||
663 | { | 843 | { |
664 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSFi_FunctorsParserRuleCall_12()); | 844 | $current.merge(kw); |
665 | } | 845 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getTypeKeyword_10()); |
666 | this_VLSFi_Functors_12=ruleVLSFi_Functors | ||
667 | { | ||
668 | $current.merge(this_VLSFi_Functors_12); | ||
669 | } | ||
670 | { | ||
671 | afterParserOrEnumRuleCall(); | ||
672 | } | 846 | } |
673 | | | 847 | | |
848 | kw='fi_domain' | ||
674 | { | 849 | { |
675 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSFi_PredicatesParserRuleCall_13()); | 850 | $current.merge(kw); |
676 | } | 851 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getFi_domainKeyword_11()); |
677 | this_VLSFi_Predicates_13=ruleVLSFi_Predicates | ||
678 | { | ||
679 | $current.merge(this_VLSFi_Predicates_13); | ||
680 | } | ||
681 | { | ||
682 | afterParserOrEnumRuleCall(); | ||
683 | } | 852 | } |
684 | | | 853 | | |
854 | kw='fi_functors' | ||
685 | { | 855 | { |
686 | newCompositeNode(grammarAccess.getVLSRoleAccess().getVLSUnknownParserRuleCall_14()); | 856 | $current.merge(kw); |
857 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getFi_functorsKeyword_12()); | ||
687 | } | 858 | } |
688 | this_VLSUnknown_14=ruleVLSUnknown | 859 | | |
860 | kw='fi_predicates' | ||
689 | { | 861 | { |
690 | $current.merge(this_VLSUnknown_14); | 862 | $current.merge(kw); |
863 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getFi_predicatesKeyword_13()); | ||
691 | } | 864 | } |
865 | | | ||
866 | kw='unknown' | ||
692 | { | 867 | { |
693 | afterParserOrEnumRuleCall(); | 868 | $current.merge(kw); |
869 | newLeafNode(kw, grammarAccess.getVLSRoleAccess().getUnknownKeyword_14()); | ||
694 | } | 870 | } |
695 | ) | 871 | ) |
696 | ; | 872 | ; |
697 | 873 | ||
698 | // Entry rule entryRuleVLSAxiom | ||
699 | entryRuleVLSAxiom returns [String current=null]: | ||
700 | { newCompositeNode(grammarAccess.getVLSAxiomRule()); } | ||
701 | iv_ruleVLSAxiom=ruleVLSAxiom | ||
702 | { $current=$iv_ruleVLSAxiom.current.getText(); } | ||
703 | EOF; | ||
704 | |||
705 | // Rule VLSAxiom | ||
706 | ruleVLSAxiom returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
707 | @init { | ||
708 | enterRule(); | ||
709 | } | ||
710 | @after { | ||
711 | leaveRule(); | ||
712 | }: | ||
713 | kw='axiom' | ||
714 | { | ||
715 | $current.merge(kw); | ||
716 | newLeafNode(kw, grammarAccess.getVLSAxiomAccess().getAxiomKeyword()); | ||
717 | } | ||
718 | ; | ||
719 | |||
720 | // Entry rule entryRuleVLSConjecture | ||
721 | entryRuleVLSConjecture returns [String current=null]: | ||
722 | { newCompositeNode(grammarAccess.getVLSConjectureRule()); } | ||
723 | iv_ruleVLSConjecture=ruleVLSConjecture | ||
724 | { $current=$iv_ruleVLSConjecture.current.getText(); } | ||
725 | EOF; | ||
726 | |||
727 | // Rule VLSConjecture | ||
728 | ruleVLSConjecture returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
729 | @init { | ||
730 | enterRule(); | ||
731 | } | ||
732 | @after { | ||
733 | leaveRule(); | ||
734 | }: | ||
735 | kw='conjecture' | ||
736 | { | ||
737 | $current.merge(kw); | ||
738 | newLeafNode(kw, grammarAccess.getVLSConjectureAccess().getConjectureKeyword()); | ||
739 | } | ||
740 | ; | ||
741 | |||
742 | // Entry rule entryRuleVLSHypothesis | ||
743 | entryRuleVLSHypothesis returns [String current=null]: | ||
744 | { newCompositeNode(grammarAccess.getVLSHypothesisRule()); } | ||
745 | iv_ruleVLSHypothesis=ruleVLSHypothesis | ||
746 | { $current=$iv_ruleVLSHypothesis.current.getText(); } | ||
747 | EOF; | ||
748 | |||
749 | // Rule VLSHypothesis | ||
750 | ruleVLSHypothesis returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
751 | @init { | ||
752 | enterRule(); | ||
753 | } | ||
754 | @after { | ||
755 | leaveRule(); | ||
756 | }: | ||
757 | kw='hypothesis' | ||
758 | { | ||
759 | $current.merge(kw); | ||
760 | newLeafNode(kw, grammarAccess.getVLSHypothesisAccess().getHypothesisKeyword()); | ||
761 | } | ||
762 | ; | ||
763 | |||
764 | // Entry rule entryRuleVLSDefinition | ||
765 | entryRuleVLSDefinition returns [String current=null]: | ||
766 | { newCompositeNode(grammarAccess.getVLSDefinitionRule()); } | ||
767 | iv_ruleVLSDefinition=ruleVLSDefinition | ||
768 | { $current=$iv_ruleVLSDefinition.current.getText(); } | ||
769 | EOF; | ||
770 | |||
771 | // Rule VLSDefinition | ||
772 | ruleVLSDefinition returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
773 | @init { | ||
774 | enterRule(); | ||
775 | } | ||
776 | @after { | ||
777 | leaveRule(); | ||
778 | }: | ||
779 | kw='definition' | ||
780 | { | ||
781 | $current.merge(kw); | ||
782 | newLeafNode(kw, grammarAccess.getVLSDefinitionAccess().getDefinitionKeyword()); | ||
783 | } | ||
784 | ; | ||
785 | |||
786 | // Entry rule entryRuleVLSAssumption | ||
787 | entryRuleVLSAssumption returns [String current=null]: | ||
788 | { newCompositeNode(grammarAccess.getVLSAssumptionRule()); } | ||
789 | iv_ruleVLSAssumption=ruleVLSAssumption | ||
790 | { $current=$iv_ruleVLSAssumption.current.getText(); } | ||
791 | EOF; | ||
792 | |||
793 | // Rule VLSAssumption | ||
794 | ruleVLSAssumption returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
795 | @init { | ||
796 | enterRule(); | ||
797 | } | ||
798 | @after { | ||
799 | leaveRule(); | ||
800 | }: | ||
801 | kw='assumption' | ||
802 | { | ||
803 | $current.merge(kw); | ||
804 | newLeafNode(kw, grammarAccess.getVLSAssumptionAccess().getAssumptionKeyword()); | ||
805 | } | ||
806 | ; | ||
807 | |||
808 | // Entry rule entryRuleVLSLemma | ||
809 | entryRuleVLSLemma returns [String current=null]: | ||
810 | { newCompositeNode(grammarAccess.getVLSLemmaRule()); } | ||
811 | iv_ruleVLSLemma=ruleVLSLemma | ||
812 | { $current=$iv_ruleVLSLemma.current.getText(); } | ||
813 | EOF; | ||
814 | |||
815 | // Rule VLSLemma | ||
816 | ruleVLSLemma returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
817 | @init { | ||
818 | enterRule(); | ||
819 | } | ||
820 | @after { | ||
821 | leaveRule(); | ||
822 | }: | ||
823 | kw='lemma' | ||
824 | { | ||
825 | $current.merge(kw); | ||
826 | newLeafNode(kw, grammarAccess.getVLSLemmaAccess().getLemmaKeyword()); | ||
827 | } | ||
828 | ; | ||
829 | |||
830 | // Entry rule entryRuleVLSTheorem | ||
831 | entryRuleVLSTheorem returns [String current=null]: | ||
832 | { newCompositeNode(grammarAccess.getVLSTheoremRule()); } | ||
833 | iv_ruleVLSTheorem=ruleVLSTheorem | ||
834 | { $current=$iv_ruleVLSTheorem.current.getText(); } | ||
835 | EOF; | ||
836 | |||
837 | // Rule VLSTheorem | ||
838 | ruleVLSTheorem returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
839 | @init { | ||
840 | enterRule(); | ||
841 | } | ||
842 | @after { | ||
843 | leaveRule(); | ||
844 | }: | ||
845 | kw='theorem' | ||
846 | { | ||
847 | $current.merge(kw); | ||
848 | newLeafNode(kw, grammarAccess.getVLSTheoremAccess().getTheoremKeyword()); | ||
849 | } | ||
850 | ; | ||
851 | |||
852 | // Entry rule entryRuleVLSCorollary | ||
853 | entryRuleVLSCorollary returns [String current=null]: | ||
854 | { newCompositeNode(grammarAccess.getVLSCorollaryRule()); } | ||
855 | iv_ruleVLSCorollary=ruleVLSCorollary | ||
856 | { $current=$iv_ruleVLSCorollary.current.getText(); } | ||
857 | EOF; | ||
858 | |||
859 | // Rule VLSCorollary | ||
860 | ruleVLSCorollary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
861 | @init { | ||
862 | enterRule(); | ||
863 | } | ||
864 | @after { | ||
865 | leaveRule(); | ||
866 | }: | ||
867 | kw='corollary' | ||
868 | { | ||
869 | $current.merge(kw); | ||
870 | newLeafNode(kw, grammarAccess.getVLSCorollaryAccess().getCorollaryKeyword()); | ||
871 | } | ||
872 | ; | ||
873 | |||
874 | // Entry rule entryRuleVLSNegated_Conjecture | ||
875 | entryRuleVLSNegated_Conjecture returns [String current=null]: | ||
876 | { newCompositeNode(grammarAccess.getVLSNegated_ConjectureRule()); } | ||
877 | iv_ruleVLSNegated_Conjecture=ruleVLSNegated_Conjecture | ||
878 | { $current=$iv_ruleVLSNegated_Conjecture.current.getText(); } | ||
879 | EOF; | ||
880 | |||
881 | // Rule VLSNegated_Conjecture | ||
882 | ruleVLSNegated_Conjecture returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
883 | @init { | ||
884 | enterRule(); | ||
885 | } | ||
886 | @after { | ||
887 | leaveRule(); | ||
888 | }: | ||
889 | kw='negated_conjecture' | ||
890 | { | ||
891 | $current.merge(kw); | ||
892 | newLeafNode(kw, grammarAccess.getVLSNegated_ConjectureAccess().getNegated_conjectureKeyword()); | ||
893 | } | ||
894 | ; | ||
895 | |||
896 | // Entry rule entryRuleVLSPlain | ||
897 | entryRuleVLSPlain returns [String current=null]: | ||
898 | { newCompositeNode(grammarAccess.getVLSPlainRule()); } | ||
899 | iv_ruleVLSPlain=ruleVLSPlain | ||
900 | { $current=$iv_ruleVLSPlain.current.getText(); } | ||
901 | EOF; | ||
902 | |||
903 | // Rule VLSPlain | ||
904 | ruleVLSPlain returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
905 | @init { | ||
906 | enterRule(); | ||
907 | } | ||
908 | @after { | ||
909 | leaveRule(); | ||
910 | }: | ||
911 | kw='plain' | ||
912 | { | ||
913 | $current.merge(kw); | ||
914 | newLeafNode(kw, grammarAccess.getVLSPlainAccess().getPlainKeyword()); | ||
915 | } | ||
916 | ; | ||
917 | |||
918 | // Entry rule entryRuleVLSType | ||
919 | entryRuleVLSType returns [String current=null]: | ||
920 | { newCompositeNode(grammarAccess.getVLSTypeRule()); } | ||
921 | iv_ruleVLSType=ruleVLSType | ||
922 | { $current=$iv_ruleVLSType.current.getText(); } | ||
923 | EOF; | ||
924 | |||
925 | // Rule VLSType | ||
926 | ruleVLSType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
927 | @init { | ||
928 | enterRule(); | ||
929 | } | ||
930 | @after { | ||
931 | leaveRule(); | ||
932 | }: | ||
933 | kw='type' | ||
934 | { | ||
935 | $current.merge(kw); | ||
936 | newLeafNode(kw, grammarAccess.getVLSTypeAccess().getTypeKeyword()); | ||
937 | } | ||
938 | ; | ||
939 | |||
940 | // Entry rule entryRuleVLSFi_Domain | ||
941 | entryRuleVLSFi_Domain returns [String current=null]: | ||
942 | { newCompositeNode(grammarAccess.getVLSFi_DomainRule()); } | ||
943 | iv_ruleVLSFi_Domain=ruleVLSFi_Domain | ||
944 | { $current=$iv_ruleVLSFi_Domain.current.getText(); } | ||
945 | EOF; | ||
946 | |||
947 | // Rule VLSFi_Domain | ||
948 | ruleVLSFi_Domain returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
949 | @init { | ||
950 | enterRule(); | ||
951 | } | ||
952 | @after { | ||
953 | leaveRule(); | ||
954 | }: | ||
955 | kw='fi_domain' | ||
956 | { | ||
957 | $current.merge(kw); | ||
958 | newLeafNode(kw, grammarAccess.getVLSFi_DomainAccess().getFi_domainKeyword()); | ||
959 | } | ||
960 | ; | ||
961 | |||
962 | // Entry rule entryRuleVLSFi_Functors | ||
963 | entryRuleVLSFi_Functors returns [String current=null]: | ||
964 | { newCompositeNode(grammarAccess.getVLSFi_FunctorsRule()); } | ||
965 | iv_ruleVLSFi_Functors=ruleVLSFi_Functors | ||
966 | { $current=$iv_ruleVLSFi_Functors.current.getText(); } | ||
967 | EOF; | ||
968 | |||
969 | // Rule VLSFi_Functors | ||
970 | ruleVLSFi_Functors returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
971 | @init { | ||
972 | enterRule(); | ||
973 | } | ||
974 | @after { | ||
975 | leaveRule(); | ||
976 | }: | ||
977 | kw='fi_functors' | ||
978 | { | ||
979 | $current.merge(kw); | ||
980 | newLeafNode(kw, grammarAccess.getVLSFi_FunctorsAccess().getFi_functorsKeyword()); | ||
981 | } | ||
982 | ; | ||
983 | |||
984 | // Entry rule entryRuleVLSFi_Predicates | ||
985 | entryRuleVLSFi_Predicates returns [String current=null]: | ||
986 | { newCompositeNode(grammarAccess.getVLSFi_PredicatesRule()); } | ||
987 | iv_ruleVLSFi_Predicates=ruleVLSFi_Predicates | ||
988 | { $current=$iv_ruleVLSFi_Predicates.current.getText(); } | ||
989 | EOF; | ||
990 | |||
991 | // Rule VLSFi_Predicates | ||
992 | ruleVLSFi_Predicates returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
993 | @init { | ||
994 | enterRule(); | ||
995 | } | ||
996 | @after { | ||
997 | leaveRule(); | ||
998 | }: | ||
999 | kw='fi_predicates' | ||
1000 | { | ||
1001 | $current.merge(kw); | ||
1002 | newLeafNode(kw, grammarAccess.getVLSFi_PredicatesAccess().getFi_predicatesKeyword()); | ||
1003 | } | ||
1004 | ; | ||
1005 | |||
1006 | // Entry rule entryRuleVLSUnknown | ||
1007 | entryRuleVLSUnknown returns [String current=null]: | ||
1008 | { newCompositeNode(grammarAccess.getVLSUnknownRule()); } | ||
1009 | iv_ruleVLSUnknown=ruleVLSUnknown | ||
1010 | { $current=$iv_ruleVLSUnknown.current.getText(); } | ||
1011 | EOF; | ||
1012 | |||
1013 | // Rule VLSUnknown | ||
1014 | ruleVLSUnknown returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] | ||
1015 | @init { | ||
1016 | enterRule(); | ||
1017 | } | ||
1018 | @after { | ||
1019 | leaveRule(); | ||
1020 | }: | ||
1021 | kw='unknown' | ||
1022 | { | ||
1023 | $current.merge(kw); | ||
1024 | newLeafNode(kw, grammarAccess.getVLSUnknownAccess().getUnknownKeyword()); | ||
1025 | } | ||
1026 | ; | ||
1027 | |||
1028 | // Entry rule entryRuleVLSAnnotation | 874 | // Entry rule entryRuleVLSAnnotation |
1029 | entryRuleVLSAnnotation returns [EObject current=null]: | 875 | entryRuleVLSAnnotation returns [EObject current=null]: |
1030 | { newCompositeNode(grammarAccess.getVLSAnnotationRule()); } | 876 | { newCompositeNode(grammarAccess.getVLSAnnotationRule()); } |