aboutsummaryrefslogtreecommitdiffstats
path: root/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java
diff options
context:
space:
mode:
authorLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2019-08-29 06:26:02 -0400
committerLibravatar ArenBabikian <aren.babikian@mail.mcgill.ca>2020-06-07 19:41:39 -0400
commit15602c7cfbfc80b8c826855b94c9f9582650dd21 (patch)
tree3f90d5812e68215838efd52372bcc26df88b9033 /Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java
parentVAMPIRE: integrate local Vampire executeable #32 (diff)
downloadVIATRA-Generator-15602c7cfbfc80b8c826855b94c9f9582650dd21.tar.gz
VIATRA-Generator-15602c7cfbfc80b8c826855b94c9f9582650dd21.tar.zst
VIATRA-Generator-15602c7cfbfc80b8c826855b94c9f9582650dd21.zip
VAMPIRE: adapt grammar to Vampire solution + get model from text
Diffstat (limited to 'Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java')
-rw-r--r--Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java972
1 files changed, 608 insertions, 364 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java
index e159834e..5538f472 100644
--- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java
+++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/services/VampireLanguageGrammarAccess.java
@@ -26,16 +26,14 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
26 public class VampireModelElements extends AbstractParserRuleElementFinder { 26 public class VampireModelElements extends AbstractParserRuleElementFinder {
27 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VampireModel"); 27 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VampireModel");
28 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 28 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
29 private final Assignment cIncludesAssignment_0 = (Assignment)cAlternatives.eContents().get(0); 29 private final Assignment cCommentsAssignment_0 = (Assignment)cAlternatives.eContents().get(0);
30 private final RuleCall cIncludesVLSIncludeParserRuleCall_0_0 = (RuleCall)cIncludesAssignment_0.eContents().get(0); 30 private final RuleCall cCommentsVLSCommentParserRuleCall_0_0 = (RuleCall)cCommentsAssignment_0.eContents().get(0);
31 private final Assignment cCommentsAssignment_1 = (Assignment)cAlternatives.eContents().get(1); 31 private final Assignment cConfirmationsAssignment_1 = (Assignment)cAlternatives.eContents().get(1);
32 private final RuleCall cCommentsVLSCommentParserRuleCall_1_0 = (RuleCall)cCommentsAssignment_1.eContents().get(0); 32 private final RuleCall cConfirmationsVLSConfirmationsParserRuleCall_1_0 = (RuleCall)cConfirmationsAssignment_1.eContents().get(0);
33 private final Assignment cConfirmationsAssignment_2 = (Assignment)cAlternatives.eContents().get(2); 33 private final Assignment cFormulasAssignment_2 = (Assignment)cAlternatives.eContents().get(2);
34 private final RuleCall cConfirmationsVLSConfirmationsParserRuleCall_2_0 = (RuleCall)cConfirmationsAssignment_2.eContents().get(0); 34 private final RuleCall cFormulasVLSFofFormulaParserRuleCall_2_0 = (RuleCall)cFormulasAssignment_2.eContents().get(0);
35 private final Assignment cFormulasAssignment_3 = (Assignment)cAlternatives.eContents().get(3); 35 private final Assignment cTfformulasAssignment_3 = (Assignment)cAlternatives.eContents().get(3);
36 private final RuleCall cFormulasVLSFofFormulaParserRuleCall_3_0 = (RuleCall)cFormulasAssignment_3.eContents().get(0); 36 private final RuleCall cTfformulasVLSTffFormulaParserRuleCall_3_0 = (RuleCall)cTfformulasAssignment_3.eContents().get(0);
37 private final Assignment cTfformulasAssignment_4 = (Assignment)cAlternatives.eContents().get(4);
38 private final RuleCall cTfformulasVLSTffFormulaParserRuleCall_4_0 = (RuleCall)cTfformulasAssignment_4.eContents().get(0);
39 37
40 ////@@@@@@@@@@@ 38 ////@@@@@@@@@@@
41 ////2 things TODO: 39 ////2 things TODO:
@@ -43,196 +41,179 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
43 ////2. can only use declared variables in formula (ln 158) 41 ////2. can only use declared variables in formula (ln 158)
44 ////@@@@@@@@@@@ 42 ////@@@@@@@@@@@
45 //VampireModel: 43 //VampireModel:
46 // (includes+=VLSInclude | comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | 44 // (comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | tfformulas+=VLSTffFormula)*;
47 // tfformulas+=VLSTffFormula)*;
48 @Override public ParserRule getRule() { return rule; } 45 @Override public ParserRule getRule() { return rule; }
49 46
50 //(includes+=VLSInclude | comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | 47 //(comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | tfformulas+=VLSTffFormula)*
51 //tfformulas+=VLSTffFormula)*
52 public Alternatives getAlternatives() { return cAlternatives; } 48 public Alternatives getAlternatives() { return cAlternatives; }
53 49
54 //includes+=VLSInclude 50 //// includes += VLSInclude |
55 public Assignment getIncludesAssignment_0() { return cIncludesAssignment_0; }
56
57 //VLSInclude
58 public RuleCall getIncludesVLSIncludeParserRuleCall_0_0() { return cIncludesVLSIncludeParserRuleCall_0_0; }
59
60 //comments+=VLSComment 51 //comments+=VLSComment
61 public Assignment getCommentsAssignment_1() { return cCommentsAssignment_1; } 52 public Assignment getCommentsAssignment_0() { return cCommentsAssignment_0; }
62 53
63 //VLSComment 54 //VLSComment
64 public RuleCall getCommentsVLSCommentParserRuleCall_1_0() { return cCommentsVLSCommentParserRuleCall_1_0; } 55 public RuleCall getCommentsVLSCommentParserRuleCall_0_0() { return cCommentsVLSCommentParserRuleCall_0_0; }
65 56
66 //confirmations+=VLSConfirmations 57 //confirmations+=VLSConfirmations
67 public Assignment getConfirmationsAssignment_2() { return cConfirmationsAssignment_2; } 58 public Assignment getConfirmationsAssignment_1() { return cConfirmationsAssignment_1; }
68 59
69 //VLSConfirmations 60 //VLSConfirmations
70 public RuleCall getConfirmationsVLSConfirmationsParserRuleCall_2_0() { return cConfirmationsVLSConfirmationsParserRuleCall_2_0; } 61 public RuleCall getConfirmationsVLSConfirmationsParserRuleCall_1_0() { return cConfirmationsVLSConfirmationsParserRuleCall_1_0; }
71 62
72 //formulas+=VLSFofFormula 63 //formulas+=VLSFofFormula
73 public Assignment getFormulasAssignment_3() { return cFormulasAssignment_3; } 64 public Assignment getFormulasAssignment_2() { return cFormulasAssignment_2; }
74 65
75 //VLSFofFormula 66 //VLSFofFormula
76 public RuleCall getFormulasVLSFofFormulaParserRuleCall_3_0() { return cFormulasVLSFofFormulaParserRuleCall_3_0; } 67 public RuleCall getFormulasVLSFofFormulaParserRuleCall_2_0() { return cFormulasVLSFofFormulaParserRuleCall_2_0; }
77 68
78 //tfformulas+=VLSTffFormula 69 //tfformulas+=VLSTffFormula
79 public Assignment getTfformulasAssignment_4() { return cTfformulasAssignment_4; } 70 public Assignment getTfformulasAssignment_3() { return cTfformulasAssignment_3; }
80 71
81 //VLSTffFormula 72 //VLSTffFormula
82 public RuleCall getTfformulasVLSTffFormulaParserRuleCall_4_0() { return cTfformulasVLSTffFormulaParserRuleCall_4_0; } 73 public RuleCall getTfformulasVLSTffFormulaParserRuleCall_3_0() { return cTfformulasVLSTffFormulaParserRuleCall_3_0; }
83 } 74 }
84 public class VLSIncludeElements extends AbstractParserRuleElementFinder { 75 public class VLSCommentElements extends AbstractParserRuleElementFinder {
85 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSInclude"); 76 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSComment");
86 private final Group cGroup = (Group)rule.eContents().get(1); 77 private final Assignment cCommentAssignment = (Assignment)rule.eContents().get(1);
87 private final Keyword cIncludeKeyword_0 = (Keyword)cGroup.eContents().get(0); 78 private final RuleCall cCommentSINGLE_COMMENTTerminalRuleCall_0 = (RuleCall)cCommentAssignment.eContents().get(0);
88 private final Assignment cFileNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
89 private final RuleCall cFileNameSINGLE_QUOTETerminalRuleCall_1_0 = (RuleCall)cFileNameAssignment_1.eContents().get(0);
90 private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
91 private final Keyword cCommaLeftSquareBracketKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
92 private final Assignment cNamesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
93 private final RuleCall cNamesVLSNameParserRuleCall_2_1_0 = (RuleCall)cNamesAssignment_2_1.eContents().get(0);
94 private final Group cGroup_2_2 = (Group)cGroup_2.eContents().get(2);
95 private final Keyword cCommaKeyword_2_2_0 = (Keyword)cGroup_2_2.eContents().get(0);
96 private final Assignment cNamesAssignment_2_2_1 = (Assignment)cGroup_2_2.eContents().get(1);
97 private final RuleCall cNamesVLSNameParserRuleCall_2_2_1_0 = (RuleCall)cNamesAssignment_2_2_1.eContents().get(0);
98 private final Keyword cRightSquareBracketKeyword_2_3 = (Keyword)cGroup_2.eContents().get(3);
99 79
100 ////terminal ID: ( !('('|')'|'\r'|'\n') )+ ; 80 ////terminal ID: ( !('('|')'|'\r'|'\n') )+ ;
101 //////////////////////////////////// 81 ////////////////////////////////////
102 //// VLS types 82 //// VLS types
103 //////////////////////////////////// 83 ////////////////////////////////////
104 //// <includes> 84 //// <includes>
105 //VLSInclude: 85 ////VLSInclude:
106 // 'include(' fileName=SINGLE_QUOTE (',[' names+=VLSName (',' names+=VLSName)* ']')?; 86 //// 'include(' fileName = SINGLE_QUOTE ( ',[' names += VLSName (',' names += VLSName)* ']' )?
87 ////;
88 ////VLSName:
89 //// name = (LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL)
90 ////;
91 //// <comments>
92 //VLSComment:
93 // comment=SINGLE_COMMENT
94 // //need to add a new line at the end of the file for the case where the last line is a comment
95 //;
107 @Override public ParserRule getRule() { return rule; } 96 @Override public ParserRule getRule() { return rule; }
108 97
109 //'include(' fileName=SINGLE_QUOTE (',[' names+=VLSName (',' names+=VLSName)* ']')? 98 //comment=SINGLE_COMMENT
110 public Group getGroup() { return cGroup; } 99 public Assignment getCommentAssignment() { return cCommentAssignment; }
111 100
112 //'include(' 101 //SINGLE_COMMENT
113 public Keyword getIncludeKeyword_0() { return cIncludeKeyword_0; } 102 public RuleCall getCommentSINGLE_COMMENTTerminalRuleCall_0() { return cCommentSINGLE_COMMENTTerminalRuleCall_0; }
103 }
104 public class VLSConfirmationsElements extends AbstractParserRuleElementFinder {
105 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSConfirmations");
106 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
107 private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
108 private final Action cVLSSatisfiableAction_0_0 = (Action)cGroup_0.eContents().get(0);
109 private final Keyword cSatisfiableKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1);
110 private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
111 private final Action cVLSWarningAction_1_0 = (Action)cGroup_1.eContents().get(0);
112 private final Keyword cWARNINGKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
113 private final Keyword cCouldKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2);
114 private final Keyword cNotKeyword_1_3 = (Keyword)cGroup_1.eContents().get(3);
115 private final Keyword cSetKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4);
116 private final Keyword cResourceKeyword_1_5 = (Keyword)cGroup_1.eContents().get(5);
117 private final Keyword cLimitKeyword_1_6 = (Keyword)cGroup_1.eContents().get(6);
118 private final Keyword cVirtualKeyword_1_7 = (Keyword)cGroup_1.eContents().get(7);
119 private final Keyword cMemoryKeyword_1_8 = (Keyword)cGroup_1.eContents().get(8);
120 private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
121 private final Action cVLSTryingAction_2_0 = (Action)cGroup_2.eContents().get(0);
122 private final Keyword cTRYINGKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1);
123 private final Keyword cLeftSquareBracketKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2);
124 private final Assignment cNameAssignment_2_3 = (Assignment)cGroup_2.eContents().get(3);
125 private final RuleCall cNameLITERALTerminalRuleCall_2_3_0 = (RuleCall)cNameAssignment_2_3.eContents().get(0);
126 private final Keyword cRightSquareBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4);
127 private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
128 private final Action cVLSFiniteModelAction_3_0 = (Action)cGroup_3.eContents().get(0);
129 private final Keyword cFiniteKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1);
130 private final Keyword cModelKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
131 private final Keyword cFoundKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
114 132
115 //fileName=SINGLE_QUOTE 133 ////VLSConstantDeclaration: name = (LOWER_WORD_ID | SINGLE_QUOTE | DOLLAR_ID | DOUBLE_DOLLAR_ID );
116 public Assignment getFileNameAssignment_1() { return cFileNameAssignment_1; } 134 //VLSConfirmations:
135 // {VLSSatisfiable} 'Satisfiable!' | {VLSWarning} "WARNING!" "Could" "not" "set" "resource" "limit:" "Virtual" "memory."
136 // | {VLSTrying} 'TRYING' '[' name=LITERAL ']' | {VLSFiniteModel} 'Finite' 'Model' 'Found!';
137 @Override public ParserRule getRule() { return rule; }
117 138
118 //SINGLE_QUOTE 139 //{VLSSatisfiable} 'Satisfiable!' | {VLSWarning} "WARNING!" "Could" "not" "set" "resource" "limit:" "Virtual" "memory." |
119 public RuleCall getFileNameSINGLE_QUOTETerminalRuleCall_1_0() { return cFileNameSINGLE_QUOTETerminalRuleCall_1_0; } 140 //{VLSTrying} 'TRYING' '[' name=LITERAL ']' | {VLSFiniteModel} 'Finite' 'Model' 'Found!'
141 public Alternatives getAlternatives() { return cAlternatives; }
120 142
121 //(',[' names+=VLSName (',' names+=VLSName)* ']')? 143 //{VLSSatisfiable} 'Satisfiable!'
122 public Group getGroup_2() { return cGroup_2; } 144 public Group getGroup_0() { return cGroup_0; }
123 145
124 //',[' 146 //{VLSSatisfiable}
125 public Keyword getCommaLeftSquareBracketKeyword_2_0() { return cCommaLeftSquareBracketKeyword_2_0; } 147 public Action getVLSSatisfiableAction_0_0() { return cVLSSatisfiableAction_0_0; }
126 148
127 //names+=VLSName 149 //'Satisfiable!'
128 public Assignment getNamesAssignment_2_1() { return cNamesAssignment_2_1; } 150 public Keyword getSatisfiableKeyword_0_1() { return cSatisfiableKeyword_0_1; }
129 151
130 //VLSName 152 //{VLSWarning} "WARNING!" "Could" "not" "set" "resource" "limit:" "Virtual" "memory."
131 public RuleCall getNamesVLSNameParserRuleCall_2_1_0() { return cNamesVLSNameParserRuleCall_2_1_0; } 153 public Group getGroup_1() { return cGroup_1; }
132 154
133 //(',' names+=VLSName)* 155 //{VLSWarning}
134 public Group getGroup_2_2() { return cGroup_2_2; } 156 public Action getVLSWarningAction_1_0() { return cVLSWarningAction_1_0; }
135 157
136 //',' 158 //"WARNING!"
137 public Keyword getCommaKeyword_2_2_0() { return cCommaKeyword_2_2_0; } 159 public Keyword getWARNINGKeyword_1_1() { return cWARNINGKeyword_1_1; }
138 160
139 //names+=VLSName 161 //"Could"
140 public Assignment getNamesAssignment_2_2_1() { return cNamesAssignment_2_2_1; } 162 public Keyword getCouldKeyword_1_2() { return cCouldKeyword_1_2; }
141 163
142 //VLSName 164 //"not"
143 public RuleCall getNamesVLSNameParserRuleCall_2_2_1_0() { return cNamesVLSNameParserRuleCall_2_2_1_0; } 165 public Keyword getNotKeyword_1_3() { return cNotKeyword_1_3; }
144 166
145 //']' 167 //"set"
146 public Keyword getRightSquareBracketKeyword_2_3() { return cRightSquareBracketKeyword_2_3; } 168 public Keyword getSetKeyword_1_4() { return cSetKeyword_1_4; }
147 }
148 public class VLSNameElements extends AbstractParserRuleElementFinder {
149 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSName");
150 private final Assignment cNameAssignment = (Assignment)rule.eContents().get(1);
151 private final Alternatives cNameAlternatives_0 = (Alternatives)cNameAssignment.eContents().get(0);
152 private final RuleCall cNameLOWER_WORD_IDTerminalRuleCall_0_0 = (RuleCall)cNameAlternatives_0.eContents().get(0);
153 private final RuleCall cNameSINGLE_QUOTETerminalRuleCall_0_1 = (RuleCall)cNameAlternatives_0.eContents().get(1);
154 private final RuleCall cNameLITERALTerminalRuleCall_0_2 = (RuleCall)cNameAlternatives_0.eContents().get(2);
155 private final RuleCall cNameSIGNED_LITERALTerminalRuleCall_0_3 = (RuleCall)cNameAlternatives_0.eContents().get(3);
156 169
157 //VLSName: 170 //"resource"
158 // name=(LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL); 171 public Keyword getResourceKeyword_1_5() { return cResourceKeyword_1_5; }
159 @Override public ParserRule getRule() { return rule; }
160 172
161 //name=(LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL) 173 //"limit:"
162 public Assignment getNameAssignment() { return cNameAssignment; } 174 public Keyword getLimitKeyword_1_6() { return cLimitKeyword_1_6; }
163 175
164 //(LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL) 176 //"Virtual"
165 public Alternatives getNameAlternatives_0() { return cNameAlternatives_0; } 177 public Keyword getVirtualKeyword_1_7() { return cVirtualKeyword_1_7; }
166 178
167 //LOWER_WORD_ID 179 //"memory."
168 public RuleCall getNameLOWER_WORD_IDTerminalRuleCall_0_0() { return cNameLOWER_WORD_IDTerminalRuleCall_0_0; } 180 public Keyword getMemoryKeyword_1_8() { return cMemoryKeyword_1_8; }
169 181
170 //SINGLE_QUOTE 182 //{VLSTrying} 'TRYING' '[' name=LITERAL ']'
171 public RuleCall getNameSINGLE_QUOTETerminalRuleCall_0_1() { return cNameSINGLE_QUOTETerminalRuleCall_0_1; } 183 public Group getGroup_2() { return cGroup_2; }
172 184
173 //LITERAL 185 //{VLSTrying}
174 public RuleCall getNameLITERALTerminalRuleCall_0_2() { return cNameLITERALTerminalRuleCall_0_2; } 186 public Action getVLSTryingAction_2_0() { return cVLSTryingAction_2_0; }
175 187
176 //SIGNED_LITERAL 188 //'TRYING'
177 public RuleCall getNameSIGNED_LITERALTerminalRuleCall_0_3() { return cNameSIGNED_LITERALTerminalRuleCall_0_3; } 189 public Keyword getTRYINGKeyword_2_1() { return cTRYINGKeyword_2_1; }
178 }
179 public class VLSCommentElements extends AbstractParserRuleElementFinder {
180 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSComment");
181 private final Group cGroup = (Group)rule.eContents().get(1);
182 private final Keyword cPercentSignKeyword_0 = (Keyword)cGroup.eContents().get(0);
183 private final Assignment cCommentAssignment_1 = (Assignment)cGroup.eContents().get(1);
184 private final RuleCall cCommentSINGLE_COMMENTTerminalRuleCall_1_0 = (RuleCall)cCommentAssignment_1.eContents().get(0);
185 190
186 //// <comments> 191 //'['
187 //VLSComment: 192 public Keyword getLeftSquareBracketKeyword_2_2() { return cLeftSquareBracketKeyword_2_2; }
188 // '%' comment=SINGLE_COMMENT
189 // //need to add a new line at the end of the file for the case where the last line is a comment
190 //;
191 @Override public ParserRule getRule() { return rule; }
192
193 //'%' comment=SINGLE_COMMENT
194 public Group getGroup() { return cGroup; }
195
196 //'%'
197 public Keyword getPercentSignKeyword_0() { return cPercentSignKeyword_0; }
198 193
199 //comment=SINGLE_COMMENT 194 //name=LITERAL
200 public Assignment getCommentAssignment_1() { return cCommentAssignment_1; } 195 public Assignment getNameAssignment_2_3() { return cNameAssignment_2_3; }
201 196
202 //SINGLE_COMMENT 197 //LITERAL
203 public RuleCall getCommentSINGLE_COMMENTTerminalRuleCall_1_0() { return cCommentSINGLE_COMMENTTerminalRuleCall_1_0; } 198 public RuleCall getNameLITERALTerminalRuleCall_2_3_0() { return cNameLITERALTerminalRuleCall_2_3_0; }
204 }
205 public class VLSConfirmationsElements extends AbstractParserRuleElementFinder {
206 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSConfirmations");
207 private final RuleCall cVLSSatisfiableParserRuleCall = (RuleCall)rule.eContents().get(1);
208 199
209 ////VLSConstantDeclaration: name = (LOWER_WORD_ID | SINGLE_QUOTE | DOLLAR_ID | DOUBLE_DOLLAR_ID ); 200 //']'
210 //VLSConfirmations: 201 public Keyword getRightSquareBracketKeyword_2_4() { return cRightSquareBracketKeyword_2_4; }
211 // VLSSatisfiable //| VLSFiniteModel// | VLSTrying
212 //;
213 @Override public ParserRule getRule() { return rule; }
214 202
215 //VLSSatisfiable 203 //{VLSFiniteModel} 'Finite' 'Model' 'Found!'
216 public RuleCall getVLSSatisfiableParserRuleCall() { return cVLSSatisfiableParserRuleCall; } 204 public Group getGroup_3() { return cGroup_3; }
217 }
218 public class VLSSatisfiableElements extends AbstractParserRuleElementFinder {
219 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSSatisfiable");
220 private final Group cGroup = (Group)rule.eContents().get(1);
221 private final Action cVLSSatisfiableAction_0 = (Action)cGroup.eContents().get(0);
222 private final Keyword cSatisfiableKeyword_1 = (Keyword)cGroup.eContents().get(1);
223 205
224 //VLSSatisfiable: 206 //{VLSFiniteModel}
225 // {VLSSatisfiable} 'Satisfiable!'; 207 public Action getVLSFiniteModelAction_3_0() { return cVLSFiniteModelAction_3_0; }
226 @Override public ParserRule getRule() { return rule; }
227 208
228 //{VLSSatisfiable} 'Satisfiable!' 209 //'Finite'
229 public Group getGroup() { return cGroup; } 210 public Keyword getFiniteKeyword_3_1() { return cFiniteKeyword_3_1; }
230 211
231 //{VLSSatisfiable} 212 //'Model'
232 public Action getVLSSatisfiableAction_0() { return cVLSSatisfiableAction_0; } 213 public Keyword getModelKeyword_3_2() { return cModelKeyword_3_2; }
233 214
234 //'Satisfiable!' 215 //'Found!'
235 public Keyword getSatisfiableKeyword_1() { return cSatisfiableKeyword_1; } 216 public Keyword getFoundKeyword_3_3() { return cFoundKeyword_3_3; }
236 } 217 }
237 public class VLSFofFormulaElements extends AbstractParserRuleElementFinder { 218 public class VLSFofFormulaElements extends AbstractParserRuleElementFinder {
238 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSFofFormula"); 219 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSFofFormula");
@@ -257,13 +238,6 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
257 private final Keyword cRightParenthesisKeyword_8 = (Keyword)cGroup.eContents().get(8); 238 private final Keyword cRightParenthesisKeyword_8 = (Keyword)cGroup.eContents().get(8);
258 private final Keyword cFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); 239 private final Keyword cFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9);
259 240
260 ////VLSTrying:
261 //// 'TRYING' '[' name = LITERAL ']'
262 ////;
263 ////
264 ////VLSFiniteModel:
265 //// {VLSFiniteModel} 'Finite' 'Model' 'Found!'
266 ////;
267 //// <FOF formulas> 241 //// <FOF formulas>
268 //VLSFofFormula: 242 //VLSFofFormula:
269 // 'fof' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (',' 243 // 'fof' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (','
@@ -337,16 +311,13 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
337 private final Keyword cTffKeyword_0 = (Keyword)cGroup.eContents().get(0); 311 private final Keyword cTffKeyword_0 = (Keyword)cGroup.eContents().get(0);
338 private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); 312 private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1);
339 private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); 313 private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2);
340 private final Alternatives cNameAlternatives_2_0 = (Alternatives)cNameAssignment_2.eContents().get(0); 314 private final RuleCall cNameVLSTffNameParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0);
341 private final RuleCall cNameLOWER_WORD_IDTerminalRuleCall_2_0_0 = (RuleCall)cNameAlternatives_2_0.eContents().get(0);
342 private final RuleCall cNameSIGNED_LITERALTerminalRuleCall_2_0_1 = (RuleCall)cNameAlternatives_2_0.eContents().get(1);
343 private final RuleCall cNameSINGLE_QUOTETerminalRuleCall_2_0_2 = (RuleCall)cNameAlternatives_2_0.eContents().get(2);
344 private final Keyword cCommaKeyword_3 = (Keyword)cGroup.eContents().get(3); 315 private final Keyword cCommaKeyword_3 = (Keyword)cGroup.eContents().get(3);
345 private final Assignment cFofRoleAssignment_4 = (Assignment)cGroup.eContents().get(4); 316 private final Assignment cTffRoleAssignment_4 = (Assignment)cGroup.eContents().get(4);
346 private final RuleCall cFofRoleVLSRoleParserRuleCall_4_0 = (RuleCall)cFofRoleAssignment_4.eContents().get(0); 317 private final RuleCall cTffRoleVLSRoleParserRuleCall_4_0 = (RuleCall)cTffRoleAssignment_4.eContents().get(0);
347 private final Keyword cCommaKeyword_5 = (Keyword)cGroup.eContents().get(5); 318 private final Keyword cCommaKeyword_5 = (Keyword)cGroup.eContents().get(5);
348 private final Assignment cFofFormulaAssignment_6 = (Assignment)cGroup.eContents().get(6); 319 private final Assignment cFofFormulaAssignment_6 = (Assignment)cGroup.eContents().get(6);
349 private final RuleCall cFofFormulaVLSTermParserRuleCall_6_0 = (RuleCall)cFofFormulaAssignment_6.eContents().get(0); 320 private final RuleCall cFofFormulaVLSTffTermParserRuleCall_6_0 = (RuleCall)cFofFormulaAssignment_6.eContents().get(0);
350 private final Group cGroup_7 = (Group)cGroup.eContents().get(7); 321 private final Group cGroup_7 = (Group)cGroup.eContents().get(7);
351 private final Keyword cCommaKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); 322 private final Keyword cCommaKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0);
352 private final Assignment cAnnotationsAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1); 323 private final Assignment cAnnotationsAssignment_7_1 = (Assignment)cGroup_7.eContents().get(1);
@@ -355,12 +326,10 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
355 private final Keyword cFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9); 326 private final Keyword cFullStopKeyword_9 = (Keyword)cGroup.eContents().get(9);
356 327
357 //VLSTffFormula: 328 //VLSTffFormula:
358 // 'tff' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (',' 329 // 'tff' '(' name=VLSTffName ',' tffRole=VLSRole ',' fofFormula=VLSTffTerm (',' annotations=VLSAnnotation)? ')' '.';
359 // annotations=VLSAnnotation)? ')' '.';
360 @Override public ParserRule getRule() { return rule; } 330 @Override public ParserRule getRule() { return rule; }
361 331
362 //'tff' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (',' 332 //'tff' '(' name=VLSTffName ',' tffRole=VLSRole ',' fofFormula=VLSTffTerm (',' annotations=VLSAnnotation)? ')' '.'
363 //annotations=VLSAnnotation)? ')' '.'
364 public Group getGroup() { return cGroup; } 333 public Group getGroup() { return cGroup; }
365 334
366 //'tff' 335 //'tff'
@@ -369,38 +338,29 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
369 //'(' 338 //'('
370 public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } 339 public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; }
371 340
372 //name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) 341 //name=VLSTffName
373 public Assignment getNameAssignment_2() { return cNameAssignment_2; } 342 public Assignment getNameAssignment_2() { return cNameAssignment_2; }
374 343
375 //(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) 344 //VLSTffName
376 public Alternatives getNameAlternatives_2_0() { return cNameAlternatives_2_0; } 345 public RuleCall getNameVLSTffNameParserRuleCall_2_0() { return cNameVLSTffNameParserRuleCall_2_0; }
377
378 //LOWER_WORD_ID
379 public RuleCall getNameLOWER_WORD_IDTerminalRuleCall_2_0_0() { return cNameLOWER_WORD_IDTerminalRuleCall_2_0_0; }
380
381 //SIGNED_LITERAL
382 public RuleCall getNameSIGNED_LITERALTerminalRuleCall_2_0_1() { return cNameSIGNED_LITERALTerminalRuleCall_2_0_1; }
383
384 //SINGLE_QUOTE
385 public RuleCall getNameSINGLE_QUOTETerminalRuleCall_2_0_2() { return cNameSINGLE_QUOTETerminalRuleCall_2_0_2; }
386 346
387 //',' 347 //','
388 public Keyword getCommaKeyword_3() { return cCommaKeyword_3; } 348 public Keyword getCommaKeyword_3() { return cCommaKeyword_3; }
389 349
390 //fofRole=VLSRole 350 //tffRole=VLSRole
391 public Assignment getFofRoleAssignment_4() { return cFofRoleAssignment_4; } 351 public Assignment getTffRoleAssignment_4() { return cTffRoleAssignment_4; }
392 352
393 //VLSRole 353 //VLSRole
394 public RuleCall getFofRoleVLSRoleParserRuleCall_4_0() { return cFofRoleVLSRoleParserRuleCall_4_0; } 354 public RuleCall getTffRoleVLSRoleParserRuleCall_4_0() { return cTffRoleVLSRoleParserRuleCall_4_0; }
395 355
396 //',' 356 //','
397 public Keyword getCommaKeyword_5() { return cCommaKeyword_5; } 357 public Keyword getCommaKeyword_5() { return cCommaKeyword_5; }
398 358
399 //fofFormula=VLSTerm 359 //fofFormula=VLSTffTerm
400 public Assignment getFofFormulaAssignment_6() { return cFofFormulaAssignment_6; } 360 public Assignment getFofFormulaAssignment_6() { return cFofFormulaAssignment_6; }
401 361
402 //VLSTerm 362 //VLSTffTerm
403 public RuleCall getFofFormulaVLSTermParserRuleCall_6_0() { return cFofFormulaVLSTermParserRuleCall_6_0; } 363 public RuleCall getFofFormulaVLSTffTermParserRuleCall_6_0() { return cFofFormulaVLSTffTermParserRuleCall_6_0; }
404 364
405 //(',' annotations=VLSAnnotation)? 365 //(',' annotations=VLSAnnotation)?
406 public Group getGroup_7() { return cGroup_7; } 366 public Group getGroup_7() { return cGroup_7; }
@@ -420,6 +380,78 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
420 //'.' 380 //'.'
421 public Keyword getFullStopKeyword_9() { return cFullStopKeyword_9; } 381 public Keyword getFullStopKeyword_9() { return cFullStopKeyword_9; }
422 } 382 }
383 public class VLSTffNameElements extends AbstractParserRuleElementFinder {
384 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffName");
385 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
386 private final RuleCall cVLSTffDeclPredParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
387 private final RuleCall cVLSTffFiniteParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
388 private final RuleCall cVLSTffDistinctParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
389
390 //VLSTffName:
391 // VLSTffDeclPred | VLSTffFinite | VLSTffDistinct;
392 @Override public ParserRule getRule() { return rule; }
393
394 //VLSTffDeclPred | VLSTffFinite | VLSTffDistinct
395 public Alternatives getAlternatives() { return cAlternatives; }
396
397 //VLSTffDeclPred
398 public RuleCall getVLSTffDeclPredParserRuleCall_0() { return cVLSTffDeclPredParserRuleCall_0; }
399
400 //VLSTffFinite
401 public RuleCall getVLSTffFiniteParserRuleCall_1() { return cVLSTffFiniteParserRuleCall_1; }
402
403 //VLSTffDistinct
404 public RuleCall getVLSTffDistinctParserRuleCall_2() { return cVLSTffDistinctParserRuleCall_2; }
405 }
406 public class VLSTffDistinctElements extends AbstractParserRuleElementFinder {
407 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffDistinct");
408 private final Keyword cDistinct_domainKeyword = (Keyword)rule.eContents().get(1);
409
410 //VLSTffDistinct:
411 // 'distinct_domain';
412 @Override public ParserRule getRule() { return rule; }
413
414 //'distinct_domain'
415 public Keyword getDistinct_domainKeyword() { return cDistinct_domainKeyword; }
416 }
417 public class VLSTffFiniteElements extends AbstractParserRuleElementFinder {
418 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffFinite");
419 private final Keyword cFinite_domainKeyword = (Keyword)rule.eContents().get(1);
420
421 //VLSTffFinite:
422 // 'finite_domain';
423 @Override public ParserRule getRule() { return rule; }
424
425 //'finite_domain'
426 public Keyword getFinite_domainKeyword() { return cFinite_domainKeyword; }
427 }
428 public class VLSTffDeclPredElements extends AbstractParserRuleElementFinder {
429 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffDeclPred");
430 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
431 private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0);
432 private final Keyword cDeclare_Keyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
433 private final RuleCall cDOLLAR_IDTerminalRuleCall_0_1 = (RuleCall)cGroup_0.eContents().get(1);
434 private final RuleCall cLOWER_WORD_IDTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
435
436 //VLSTffDeclPred:
437 // 'declare_' DOLLAR_ID | LOWER_WORD_ID;
438 @Override public ParserRule getRule() { return rule; }
439
440 //'declare_' DOLLAR_ID | LOWER_WORD_ID
441 public Alternatives getAlternatives() { return cAlternatives; }
442
443 //'declare_' DOLLAR_ID
444 public Group getGroup_0() { return cGroup_0; }
445
446 //'declare_'
447 public Keyword getDeclare_Keyword_0_0() { return cDeclare_Keyword_0_0; }
448
449 //DOLLAR_ID
450 public RuleCall getDOLLAR_IDTerminalRuleCall_0_1() { return cDOLLAR_IDTerminalRuleCall_0_1; }
451
452 //LOWER_WORD_ID
453 public RuleCall getLOWER_WORD_IDTerminalRuleCall_1() { return cLOWER_WORD_IDTerminalRuleCall_1; }
454 }
423 public class VLSRoleElements extends AbstractParserRuleElementFinder { 455 public class VLSRoleElements extends AbstractParserRuleElementFinder {
424 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSRole"); 456 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSRole");
425 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); 457 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
@@ -517,6 +549,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
517 private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2); 549 private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2);
518 private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); 550 private final Keyword cRightSquareBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
519 551
552 ///*
520 ////VLSRole: 553 ////VLSRole:
521 //// VLSAxiom | VLSConjecture | VLSHypothesis | VLSDefinition | 554 //// VLSAxiom | VLSConjecture | VLSHypothesis | VLSDefinition |
522 //// VLSAssumption | VLSLemma | VLSTheorem | VLSCorollary | VLSNegated_Conjecture | 555 //// VLSAssumption | VLSLemma | VLSTheorem | VLSCorollary | VLSNegated_Conjecture |
@@ -582,7 +615,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
582 ////VLSUnknown: 615 ////VLSUnknown:
583 //// "unknown" 616 //// "unknown"
584 ////; 617 ////;
585 //// <ANNOTATION> 618 //*/ // <ANNOTATION>
586 //// Not at all based on the website. based on what we think the output will be like 619 //// Not at all based on the website. based on what we think the output will be like
587 //VLSAnnotation: 620 //VLSAnnotation:
588 // '['? name=(LOWER_WORD_ID | SINGLE_QUOTE | VLSRole)? ('(' followup=VLSAnnotationTerms ')')? ']'?; 621 // '['? name=(LOWER_WORD_ID | SINGLE_QUOTE | VLSRole)? ('(' followup=VLSAnnotationTerms ')')? ']'?;
@@ -662,13 +695,181 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
662 //VLSAnnotation 695 //VLSAnnotation
663 public RuleCall getTermsVLSAnnotationParserRuleCall_1_1_0() { return cTermsVLSAnnotationParserRuleCall_1_1_0; } 696 public RuleCall getTermsVLSAnnotationParserRuleCall_1_1_0() { return cTermsVLSAnnotationParserRuleCall_1_1_0; }
664 } 697 }
665 public class VLSTermElements extends AbstractParserRuleElementFinder { 698 public class VLSTffTermElements extends AbstractParserRuleElementFinder {
666 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTerm"); 699 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTffTerm");
667 private final RuleCall cVLSBinaryParserRuleCall = (RuleCall)rule.eContents().get(1); 700 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
701 private final RuleCall cVLSTermParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
702 private final RuleCall cVLSDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
668 703
669 //////////////////////////////////// 704 ////////////////////////////////////
670 //// VLS Terms 705 //// VLS Terms
671 //////////////////////////////////// 706 ////////////////////////////////////
707 //VLSTffTerm:
708 // VLSTerm | VLSDeclaration;
709 @Override public ParserRule getRule() { return rule; }
710
711 //VLSTerm | VLSDeclaration
712 public Alternatives getAlternatives() { return cAlternatives; }
713
714 //VLSTerm
715 public RuleCall getVLSTermParserRuleCall_0() { return cVLSTermParserRuleCall_0; }
716
717 //VLSDeclaration
718 public RuleCall getVLSDeclarationParserRuleCall_1() { return cVLSDeclarationParserRuleCall_1; }
719 }
720 public class VLSDeclarationElements extends AbstractParserRuleElementFinder {
721 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSDeclaration");
722 private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
723 private final RuleCall cVLSVariableDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
724 private final RuleCall cVLSOtherDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
725
726 ///////////////////
727 ////TFF Specific
728 // VLSDeclaration:
729 // VLSVariableDeclaration | VLSOtherDeclaration;
730 @Override public ParserRule getRule() { return rule; }
731
732 //VLSVariableDeclaration | VLSOtherDeclaration
733 public Alternatives getAlternatives() { return cAlternatives; }
734
735 //VLSVariableDeclaration
736 public RuleCall getVLSVariableDeclarationParserRuleCall_0() { return cVLSVariableDeclarationParserRuleCall_0; }
737
738 //VLSOtherDeclaration
739 public RuleCall getVLSOtherDeclarationParserRuleCall_1() { return cVLSOtherDeclarationParserRuleCall_1; }
740 }
741 public class VLSOtherDeclarationElements extends AbstractParserRuleElementFinder {
742 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSOtherDeclaration");
743 private final Group cGroup = (Group)rule.eContents().get(1);
744 private final RuleCall cVLSAtomicConstantParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
745 private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
746 private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2);
747 private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0);
748
749 //VLSOtherDeclaration:
750 // VLSAtomicConstant ':' type=VLSTypeDef;
751 @Override public ParserRule getRule() { return rule; }
752
753 //VLSAtomicConstant ':' type=VLSTypeDef
754 public Group getGroup() { return cGroup; }
755
756 //VLSAtomicConstant
757 public RuleCall getVLSAtomicConstantParserRuleCall_0() { return cVLSAtomicConstantParserRuleCall_0; }
758
759 //':'
760 public Keyword getColonKeyword_1() { return cColonKeyword_1; }
761
762 //type=VLSTypeDef
763 public Assignment getTypeAssignment_2() { return cTypeAssignment_2; }
764
765 //VLSTypeDef
766 public RuleCall getTypeVLSTypeDefParserRuleCall_2_0() { return cTypeVLSTypeDefParserRuleCall_2_0; }
767 }
768 public class VLSVariableDeclarationElements extends AbstractParserRuleElementFinder {
769 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSVariableDeclaration");
770 private final Group cGroup = (Group)rule.eContents().get(1);
771 private final RuleCall cVLSVariableParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
772 private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1);
773 private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2);
774 private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0);
775
776 //VLSVariableDeclaration:
777 // VLSVariable ':' type=VLSTypeDef;
778 @Override public ParserRule getRule() { return rule; }
779
780 //VLSVariable ':' type=VLSTypeDef
781 public Group getGroup() { return cGroup; }
782
783 //VLSVariable
784 public RuleCall getVLSVariableParserRuleCall_0() { return cVLSVariableParserRuleCall_0; }
785
786 //':'
787 public Keyword getColonKeyword_1() { return cColonKeyword_1; }
788
789 //type=VLSTypeDef
790 public Assignment getTypeAssignment_2() { return cTypeAssignment_2; }
791
792 //VLSTypeDef
793 public RuleCall getTypeVLSTypeDefParserRuleCall_2_0() { return cTypeVLSTypeDefParserRuleCall_2_0; }
794 }
795 public class VLSTypeDefElements extends AbstractParserRuleElementFinder {
796 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTypeDef");
797 private final Group cGroup = (Group)rule.eContents().get(1);
798 private final Assignment cTypeSigAssignment_0 = (Assignment)cGroup.eContents().get(0);
799 private final RuleCall cTypeSigVLSUnitaryTermParserRuleCall_0_0 = (RuleCall)cTypeSigAssignment_0.eContents().get(0);
800 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
801 private final Keyword cGreaterThanSignKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
802 private final Assignment cMapsToAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
803 private final RuleCall cMapsToVLSAtomicConstantParserRuleCall_1_1_0 = (RuleCall)cMapsToAssignment_1_1.eContents().get(0);
804
805 //VLSTypeDef:
806 // typeSig=VLSUnitaryTerm ('>' mapsTo=VLSAtomicConstant)? //might need to make VLSAtomic to include VLSVariable
807 //;
808 @Override public ParserRule getRule() { return rule; }
809
810 //typeSig=VLSUnitaryTerm ('>' mapsTo=VLSAtomicConstant)?
811 public Group getGroup() { return cGroup; }
812
813 //typeSig=VLSUnitaryTerm
814 public Assignment getTypeSigAssignment_0() { return cTypeSigAssignment_0; }
815
816 //VLSUnitaryTerm
817 public RuleCall getTypeSigVLSUnitaryTermParserRuleCall_0_0() { return cTypeSigVLSUnitaryTermParserRuleCall_0_0; }
818
819 //('>' mapsTo=VLSAtomicConstant)?
820 public Group getGroup_1() { return cGroup_1; }
821
822 //'>'
823 public Keyword getGreaterThanSignKeyword_1_0() { return cGreaterThanSignKeyword_1_0; }
824
825 //mapsTo=VLSAtomicConstant
826 public Assignment getMapsToAssignment_1_1() { return cMapsToAssignment_1_1; }
827
828 //VLSAtomicConstant
829 public RuleCall getMapsToVLSAtomicConstantParserRuleCall_1_1_0() { return cMapsToVLSAtomicConstantParserRuleCall_1_1_0; }
830 }
831 public class VLSUnitaryTermElements extends AbstractParserRuleElementFinder {
832 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSUnitaryTerm");
833 private final Group cGroup = (Group)rule.eContents().get(1);
834 private final Assignment cInitTypeAssignment_0 = (Assignment)cGroup.eContents().get(0);
835 private final RuleCall cInitTypeVLSAtomicParserRuleCall_0_0 = (RuleCall)cInitTypeAssignment_0.eContents().get(0);
836 private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
837 private final Keyword cAsteriskKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
838 private final Assignment cNextTypeAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
839 private final RuleCall cNextTypeVLSAtomicConstantParserRuleCall_1_1_0 = (RuleCall)cNextTypeAssignment_1_1.eContents().get(0);
840
841 //VLSUnitaryTerm VLSTypeDef:
842 // initType=VLSAtomic ('*' nextType=VLSAtomicConstant)* //might need to make VLSAtomic to include VLSVariable
843 //;
844 @Override public ParserRule getRule() { return rule; }
845
846 //initType=VLSAtomic ('*' nextType=VLSAtomicConstant)*
847 public Group getGroup() { return cGroup; }
848
849 //initType=VLSAtomic
850 public Assignment getInitTypeAssignment_0() { return cInitTypeAssignment_0; }
851
852 //VLSAtomic
853 public RuleCall getInitTypeVLSAtomicParserRuleCall_0_0() { return cInitTypeVLSAtomicParserRuleCall_0_0; }
854
855 //('*' nextType=VLSAtomicConstant)*
856 public Group getGroup_1() { return cGroup_1; }
857
858 //'*'
859 public Keyword getAsteriskKeyword_1_0() { return cAsteriskKeyword_1_0; }
860
861 //nextType=VLSAtomicConstant
862 public Assignment getNextTypeAssignment_1_1() { return cNextTypeAssignment_1_1; }
863
864 //VLSAtomicConstant
865 public RuleCall getNextTypeVLSAtomicConstantParserRuleCall_1_1_0() { return cNextTypeVLSAtomicConstantParserRuleCall_1_1_0; }
866 }
867 public class VLSTermElements extends AbstractParserRuleElementFinder {
868 private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSTerm");
869 private final RuleCall cVLSBinaryParserRuleCall = (RuleCall)rule.eContents().get(1);
870
871 ////TFF Specific
872 ///////////////////
672 //VLSTerm: 873 //VLSTerm:
673 // VLSBinary; 874 // VLSBinary;
674 @Override public ParserRule getRule() { return rule; } 875 @Override public ParserRule getRule() { return rule; }
@@ -891,29 +1092,34 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
891 private final Keyword cExclamationMarkKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); 1092 private final Keyword cExclamationMarkKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
892 private final Keyword cLeftSquareBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); 1093 private final Keyword cLeftSquareBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
893 private final Assignment cVariablesAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); 1094 private final Assignment cVariablesAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
894 private final RuleCall cVariablesVLSVariableParserRuleCall_1_2_0 = (RuleCall)cVariablesAssignment_1_2.eContents().get(0); 1095 private final Alternatives cVariablesAlternatives_1_2_0 = (Alternatives)cVariablesAssignment_1_2.eContents().get(0);
1096 private final RuleCall cVariablesVLSVariableParserRuleCall_1_2_0_0 = (RuleCall)cVariablesAlternatives_1_2_0.eContents().get(0);
1097 private final RuleCall cVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1 = (RuleCall)cVariablesAlternatives_1_2_0.eContents().get(1);
895 private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3); 1098 private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3);
896 private final Keyword cCommaKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0); 1099 private final Keyword cCommaKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0);
897 private final Assignment cVariablesAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1); 1100 private final Assignment cVariablesAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1);
898 private final RuleCall cVariablesVLSVariableParserRuleCall_1_3_1_0 = (RuleCall)cVariablesAssignment_1_3_1.eContents().get(0); 1101 private final Alternatives cVariablesAlternatives_1_3_1_0 = (Alternatives)cVariablesAssignment_1_3_1.eContents().get(0);
1102 private final RuleCall cVariablesVLSVariableParserRuleCall_1_3_1_0_0 = (RuleCall)cVariablesAlternatives_1_3_1_0.eContents().get(0);
1103 private final RuleCall cVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1 = (RuleCall)cVariablesAlternatives_1_3_1_0.eContents().get(1);
899 private final Keyword cRightSquareBracketKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4); 1104 private final Keyword cRightSquareBracketKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4);
900 private final Keyword cColonKeyword_1_5 = (Keyword)cGroup_1.eContents().get(5); 1105 private final Keyword cColonKeyword_1_5 = (Keyword)cGroup_1.eContents().get(5);
901 private final Assignment cOperandAssignment_2 = (Assignment)cGroup.eContents().get(2); 1106 private final Assignment cOperandAssignment_2 = (Assignment)cGroup.eContents().get(2);
902 private final RuleCall cOperandVLSUnitaryFormulaParserRuleCall_2_0 = (RuleCall)cOperandAssignment_2.eContents().get(0); 1107 private final RuleCall cOperandVLSUnitaryFormulaParserRuleCall_2_0 = (RuleCall)cOperandAssignment_2.eContents().get(0);
903 1108
904 //VLSUniversalQuantifier VLSTerm: 1109 //VLSUniversalQuantifier VLSTerm:
905 // {VLSUniversalQuantifier} ("!" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 1110 // {VLSUniversalQuantifier} ("!" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
906 // operand=VLSUnitaryFormula; 1111 // VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula;
907 @Override public ParserRule getRule() { return rule; } 1112 @Override public ParserRule getRule() { return rule; }
908 1113
909 //{VLSUniversalQuantifier} ("!" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 1114 //{VLSUniversalQuantifier} ("!" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
910 //operand=VLSUnitaryFormula 1115 //VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula
911 public Group getGroup() { return cGroup; } 1116 public Group getGroup() { return cGroup; }
912 1117
913 //{VLSUniversalQuantifier} 1118 //{VLSUniversalQuantifier}
914 public Action getVLSUniversalQuantifierAction_0() { return cVLSUniversalQuantifierAction_0; } 1119 public Action getVLSUniversalQuantifierAction_0() { return cVLSUniversalQuantifierAction_0; }
915 1120
916 //"!" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':' 1121 //"!" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable | VLSVariableDeclaration))* ']'
1122 //':'
917 public Group getGroup_1() { return cGroup_1; } 1123 public Group getGroup_1() { return cGroup_1; }
918 1124
919 //"!" 1125 //"!"
@@ -922,23 +1128,35 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
922 //'[' 1128 //'['
923 public Keyword getLeftSquareBracketKeyword_1_1() { return cLeftSquareBracketKeyword_1_1; } 1129 public Keyword getLeftSquareBracketKeyword_1_1() { return cLeftSquareBracketKeyword_1_1; }
924 1130
925 //variables+=VLSVariable 1131 //variables+=(VLSVariable | VLSVariableDeclaration)
926 public Assignment getVariablesAssignment_1_2() { return cVariablesAssignment_1_2; } 1132 public Assignment getVariablesAssignment_1_2() { return cVariablesAssignment_1_2; }
927 1133
1134 //(VLSVariable | VLSVariableDeclaration)
1135 public Alternatives getVariablesAlternatives_1_2_0() { return cVariablesAlternatives_1_2_0; }
1136
928 //VLSVariable 1137 //VLSVariable
929 public RuleCall getVariablesVLSVariableParserRuleCall_1_2_0() { return cVariablesVLSVariableParserRuleCall_1_2_0; } 1138 public RuleCall getVariablesVLSVariableParserRuleCall_1_2_0_0() { return cVariablesVLSVariableParserRuleCall_1_2_0_0; }
1139
1140 //VLSVariableDeclaration
1141 public RuleCall getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1() { return cVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1; }
930 1142
931 //(',' variables+=VLSVariable)* 1143 //(',' variables+=(VLSVariable | VLSVariableDeclaration))*
932 public Group getGroup_1_3() { return cGroup_1_3; } 1144 public Group getGroup_1_3() { return cGroup_1_3; }
933 1145
934 //',' 1146 //','
935 public Keyword getCommaKeyword_1_3_0() { return cCommaKeyword_1_3_0; } 1147 public Keyword getCommaKeyword_1_3_0() { return cCommaKeyword_1_3_0; }
936 1148
937 //variables+=VLSVariable 1149 //variables+=(VLSVariable | VLSVariableDeclaration)
938 public Assignment getVariablesAssignment_1_3_1() { return cVariablesAssignment_1_3_1; } 1150 public Assignment getVariablesAssignment_1_3_1() { return cVariablesAssignment_1_3_1; }
939 1151
1152 //(VLSVariable | VLSVariableDeclaration)
1153 public Alternatives getVariablesAlternatives_1_3_1_0() { return cVariablesAlternatives_1_3_1_0; }
1154
940 //VLSVariable 1155 //VLSVariable
941 public RuleCall getVariablesVLSVariableParserRuleCall_1_3_1_0() { return cVariablesVLSVariableParserRuleCall_1_3_1_0; } 1156 public RuleCall getVariablesVLSVariableParserRuleCall_1_3_1_0_0() { return cVariablesVLSVariableParserRuleCall_1_3_1_0_0; }
1157
1158 //VLSVariableDeclaration
1159 public RuleCall getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1() { return cVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1; }
942 1160
943 //']' 1161 //']'
944 public Keyword getRightSquareBracketKeyword_1_4() { return cRightSquareBracketKeyword_1_4; } 1162 public Keyword getRightSquareBracketKeyword_1_4() { return cRightSquareBracketKeyword_1_4; }
@@ -960,29 +1178,34 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
960 private final Keyword cQuestionMarkKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); 1178 private final Keyword cQuestionMarkKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
961 private final Keyword cLeftSquareBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); 1179 private final Keyword cLeftSquareBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
962 private final Assignment cVariablesAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2); 1180 private final Assignment cVariablesAssignment_1_2 = (Assignment)cGroup_1.eContents().get(2);
963 private final RuleCall cVariablesVLSVariableParserRuleCall_1_2_0 = (RuleCall)cVariablesAssignment_1_2.eContents().get(0); 1181 private final Alternatives cVariablesAlternatives_1_2_0 = (Alternatives)cVariablesAssignment_1_2.eContents().get(0);
1182 private final RuleCall cVariablesVLSVariableParserRuleCall_1_2_0_0 = (RuleCall)cVariablesAlternatives_1_2_0.eContents().get(0);
1183 private final RuleCall cVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1 = (RuleCall)cVariablesAlternatives_1_2_0.eContents().get(1);
964 private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3); 1184 private final Group cGroup_1_3 = (Group)cGroup_1.eContents().get(3);
965 private final Keyword cCommaKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0); 1185 private final Keyword cCommaKeyword_1_3_0 = (Keyword)cGroup_1_3.eContents().get(0);
966 private final Assignment cVariablesAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1); 1186 private final Assignment cVariablesAssignment_1_3_1 = (Assignment)cGroup_1_3.eContents().get(1);
967 private final RuleCall cVariablesVLSVariableParserRuleCall_1_3_1_0 = (RuleCall)cVariablesAssignment_1_3_1.eContents().get(0); 1187 private final Alternatives cVariablesAlternatives_1_3_1_0 = (Alternatives)cVariablesAssignment_1_3_1.eContents().get(0);
1188 private final RuleCall cVariablesVLSVariableParserRuleCall_1_3_1_0_0 = (RuleCall)cVariablesAlternatives_1_3_1_0.eContents().get(0);
1189 private final RuleCall cVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1 = (RuleCall)cVariablesAlternatives_1_3_1_0.eContents().get(1);
968 private final Keyword cRightSquareBracketKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4); 1190 private final Keyword cRightSquareBracketKeyword_1_4 = (Keyword)cGroup_1.eContents().get(4);
969 private final Keyword cColonKeyword_1_5 = (Keyword)cGroup_1.eContents().get(5); 1191 private final Keyword cColonKeyword_1_5 = (Keyword)cGroup_1.eContents().get(5);
970 private final Assignment cOperandAssignment_2 = (Assignment)cGroup.eContents().get(2); 1192 private final Assignment cOperandAssignment_2 = (Assignment)cGroup.eContents().get(2);
971 private final RuleCall cOperandVLSUnitaryFormulaParserRuleCall_2_0 = (RuleCall)cOperandAssignment_2.eContents().get(0); 1193 private final RuleCall cOperandVLSUnitaryFormulaParserRuleCall_2_0 = (RuleCall)cOperandAssignment_2.eContents().get(0);
972 1194
973 //VLSExistentialQuantifier VLSTerm: 1195 //VLSExistentialQuantifier VLSTerm:
974 // {VLSExistentialQuantifier} ("?" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 1196 // {VLSExistentialQuantifier} ("?" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
975 // operand=VLSUnitaryFormula; 1197 // VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula;
976 @Override public ParserRule getRule() { return rule; } 1198 @Override public ParserRule getRule() { return rule; }
977 1199
978 //{VLSExistentialQuantifier} ("?" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 1200 //{VLSExistentialQuantifier} ("?" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
979 //operand=VLSUnitaryFormula 1201 //VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula
980 public Group getGroup() { return cGroup; } 1202 public Group getGroup() { return cGroup; }
981 1203
982 //{VLSExistentialQuantifier} 1204 //{VLSExistentialQuantifier}
983 public Action getVLSExistentialQuantifierAction_0() { return cVLSExistentialQuantifierAction_0; } 1205 public Action getVLSExistentialQuantifierAction_0() { return cVLSExistentialQuantifierAction_0; }
984 1206
985 //"?" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':' 1207 //"?" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable | VLSVariableDeclaration))* ']'
1208 //':'
986 public Group getGroup_1() { return cGroup_1; } 1209 public Group getGroup_1() { return cGroup_1; }
987 1210
988 //"?" 1211 //"?"
@@ -991,23 +1214,35 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
991 //'[' 1214 //'['
992 public Keyword getLeftSquareBracketKeyword_1_1() { return cLeftSquareBracketKeyword_1_1; } 1215 public Keyword getLeftSquareBracketKeyword_1_1() { return cLeftSquareBracketKeyword_1_1; }
993 1216
994 //variables+=VLSVariable 1217 //variables+=(VLSVariable | VLSVariableDeclaration)
995 public Assignment getVariablesAssignment_1_2() { return cVariablesAssignment_1_2; } 1218 public Assignment getVariablesAssignment_1_2() { return cVariablesAssignment_1_2; }
996 1219
1220 //(VLSVariable | VLSVariableDeclaration)
1221 public Alternatives getVariablesAlternatives_1_2_0() { return cVariablesAlternatives_1_2_0; }
1222
997 //VLSVariable 1223 //VLSVariable
998 public RuleCall getVariablesVLSVariableParserRuleCall_1_2_0() { return cVariablesVLSVariableParserRuleCall_1_2_0; } 1224 public RuleCall getVariablesVLSVariableParserRuleCall_1_2_0_0() { return cVariablesVLSVariableParserRuleCall_1_2_0_0; }
1225
1226 //VLSVariableDeclaration
1227 public RuleCall getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1() { return cVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1; }
999 1228
1000 //(',' variables+=VLSVariable)* 1229 //(',' variables+=(VLSVariable | VLSVariableDeclaration))*
1001 public Group getGroup_1_3() { return cGroup_1_3; } 1230 public Group getGroup_1_3() { return cGroup_1_3; }
1002 1231
1003 //',' 1232 //','
1004 public Keyword getCommaKeyword_1_3_0() { return cCommaKeyword_1_3_0; } 1233 public Keyword getCommaKeyword_1_3_0() { return cCommaKeyword_1_3_0; }
1005 1234
1006 //variables+=VLSVariable 1235 //variables+=(VLSVariable | VLSVariableDeclaration)
1007 public Assignment getVariablesAssignment_1_3_1() { return cVariablesAssignment_1_3_1; } 1236 public Assignment getVariablesAssignment_1_3_1() { return cVariablesAssignment_1_3_1; }
1008 1237
1238 //(VLSVariable | VLSVariableDeclaration)
1239 public Alternatives getVariablesAlternatives_1_3_1_0() { return cVariablesAlternatives_1_3_1_0; }
1240
1009 //VLSVariable 1241 //VLSVariable
1010 public RuleCall getVariablesVLSVariableParserRuleCall_1_3_1_0() { return cVariablesVLSVariableParserRuleCall_1_3_1_0; } 1242 public RuleCall getVariablesVLSVariableParserRuleCall_1_3_1_0_0() { return cVariablesVLSVariableParserRuleCall_1_3_1_0_0; }
1243
1244 //VLSVariableDeclaration
1245 public RuleCall getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1() { return cVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1; }
1011 1246
1012 //']' 1247 //']'
1013 public Keyword getRightSquareBracketKeyword_1_4() { return cRightSquareBracketKeyword_1_4; } 1248 public Keyword getRightSquareBracketKeyword_1_4() { return cRightSquareBracketKeyword_1_4; }
@@ -1487,25 +1722,15 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1487 private final Assignment cValueAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1); 1722 private final Assignment cValueAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
1488 private final RuleCall cValueSIGNED_LITERALTerminalRuleCall_0_1_0 = (RuleCall)cValueAssignment_0_1.eContents().get(0); 1723 private final RuleCall cValueSIGNED_LITERALTerminalRuleCall_0_1_0 = (RuleCall)cValueAssignment_0_1.eContents().get(0);
1489 private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); 1724 private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1);
1490 private final Action cVLSRealAction_1_0 = (Action)cGroup_1.eContents().get(0); 1725 private final Action cVLSDoubleQuoteAction_1_0 = (Action)cGroup_1.eContents().get(0);
1491 private final Assignment cValueAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); 1726 private final Assignment cValueAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
1492 private final RuleCall cValueSIGNED_REAL_IDTerminalRuleCall_1_1_0 = (RuleCall)cValueAssignment_1_1.eContents().get(0); 1727 private final RuleCall cValueDOUBLE_QUOTETerminalRuleCall_1_1_0 = (RuleCall)cValueAssignment_1_1.eContents().get(0);
1493 private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2);
1494 private final Action cVLSRationalAction_2_0 = (Action)cGroup_2.eContents().get(0);
1495 private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
1496 private final RuleCall cValueSIGNED_RAT_IDTerminalRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
1497 private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3);
1498 private final Action cVLSDoubleQuoteAction_3_0 = (Action)cGroup_3.eContents().get(0);
1499 private final Assignment cValueAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1);
1500 private final RuleCall cValueDOUBLE_QUOTETerminalRuleCall_3_1_0 = (RuleCall)cValueAssignment_3_1.eContents().get(0);
1501 1728
1502 //VLSDefinedTerm: 1729 //VLSDefinedTerm:
1503 // {VLSInt} value=SIGNED_LITERAL | {VLSReal} value=SIGNED_REAL_ID | {VLSRational} value=SIGNED_RAT_ID | {VLSDoubleQuote} 1730 // {VLSInt} value=SIGNED_LITERAL | {VLSDoubleQuote} value=DOUBLE_QUOTE;
1504 // value=DOUBLE_QUOTE;
1505 @Override public ParserRule getRule() { return rule; } 1731 @Override public ParserRule getRule() { return rule; }
1506 1732
1507 //{VLSInt} value=SIGNED_LITERAL | {VLSReal} value=SIGNED_REAL_ID | {VLSRational} value=SIGNED_RAT_ID | {VLSDoubleQuote} 1733 //{VLSInt} value=SIGNED_LITERAL | {VLSDoubleQuote} value=DOUBLE_QUOTE
1508 //value=DOUBLE_QUOTE
1509 public Alternatives getAlternatives() { return cAlternatives; } 1734 public Alternatives getAlternatives() { return cAlternatives; }
1510 1735
1511 //{VLSInt} value=SIGNED_LITERAL 1736 //{VLSInt} value=SIGNED_LITERAL
@@ -1520,41 +1745,17 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1520 //SIGNED_LITERAL 1745 //SIGNED_LITERAL
1521 public RuleCall getValueSIGNED_LITERALTerminalRuleCall_0_1_0() { return cValueSIGNED_LITERALTerminalRuleCall_0_1_0; } 1746 public RuleCall getValueSIGNED_LITERALTerminalRuleCall_0_1_0() { return cValueSIGNED_LITERALTerminalRuleCall_0_1_0; }
1522 1747
1523 //{VLSReal} value=SIGNED_REAL_ID
1524 public Group getGroup_1() { return cGroup_1; }
1525
1526 //{VLSReal}
1527 public Action getVLSRealAction_1_0() { return cVLSRealAction_1_0; }
1528
1529 //value=SIGNED_REAL_ID
1530 public Assignment getValueAssignment_1_1() { return cValueAssignment_1_1; }
1531
1532 //SIGNED_REAL_ID
1533 public RuleCall getValueSIGNED_REAL_IDTerminalRuleCall_1_1_0() { return cValueSIGNED_REAL_IDTerminalRuleCall_1_1_0; }
1534
1535 //{VLSRational} value=SIGNED_RAT_ID
1536 public Group getGroup_2() { return cGroup_2; }
1537
1538 //{VLSRational}
1539 public Action getVLSRationalAction_2_0() { return cVLSRationalAction_2_0; }
1540
1541 //value=SIGNED_RAT_ID
1542 public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
1543
1544 //SIGNED_RAT_ID
1545 public RuleCall getValueSIGNED_RAT_IDTerminalRuleCall_2_1_0() { return cValueSIGNED_RAT_IDTerminalRuleCall_2_1_0; }
1546
1547 //{VLSDoubleQuote} value=DOUBLE_QUOTE 1748 //{VLSDoubleQuote} value=DOUBLE_QUOTE
1548 public Group getGroup_3() { return cGroup_3; } 1749 public Group getGroup_1() { return cGroup_1; }
1549 1750
1550 //{VLSDoubleQuote} 1751 //{VLSDoubleQuote}
1551 public Action getVLSDoubleQuoteAction_3_0() { return cVLSDoubleQuoteAction_3_0; } 1752 public Action getVLSDoubleQuoteAction_1_0() { return cVLSDoubleQuoteAction_1_0; }
1552 1753
1553 //value=DOUBLE_QUOTE 1754 //value=DOUBLE_QUOTE
1554 public Assignment getValueAssignment_3_1() { return cValueAssignment_3_1; } 1755 public Assignment getValueAssignment_1_1() { return cValueAssignment_1_1; }
1555 1756
1556 //DOUBLE_QUOTE 1757 //DOUBLE_QUOTE
1557 public RuleCall getValueDOUBLE_QUOTETerminalRuleCall_3_1_0() { return cValueDOUBLE_QUOTETerminalRuleCall_3_1_0; } 1758 public RuleCall getValueDOUBLE_QUOTETerminalRuleCall_1_1_0() { return cValueDOUBLE_QUOTETerminalRuleCall_1_1_0; }
1558 } 1759 }
1559 1760
1560 1761
@@ -1569,24 +1770,24 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1569 private final TerminalRule tDOUBLE_DOLLAR_ID; 1770 private final TerminalRule tDOUBLE_DOLLAR_ID;
1570 private final TerminalRule tLITERAL; 1771 private final TerminalRule tLITERAL;
1571 private final TerminalRule tSIGNED_LITERAL; 1772 private final TerminalRule tSIGNED_LITERAL;
1572 private final TerminalRule tUNSIGNED_REAL_FRAC_ID;
1573 private final TerminalRule tUNSIGNED_REAL_EXP_ID;
1574 private final TerminalRule tSIGNED_REAL_ID;
1575 private final TerminalRule tUNSIGNED_RAT_ID;
1576 private final TerminalRule tSIGNED_RAT_ID;
1577 private final TerminalRule tID;
1578 private final TerminalRule tANY_OTHER;
1579 private final TerminalRule tSINGLE_COMMENT; 1773 private final TerminalRule tSINGLE_COMMENT;
1580 private final VLSIncludeElements pVLSInclude;
1581 private final VLSNameElements pVLSName;
1582 private final VLSCommentElements pVLSComment; 1774 private final VLSCommentElements pVLSComment;
1583 private final VLSConfirmationsElements pVLSConfirmations; 1775 private final VLSConfirmationsElements pVLSConfirmations;
1584 private final VLSSatisfiableElements pVLSSatisfiable;
1585 private final VLSFofFormulaElements pVLSFofFormula; 1776 private final VLSFofFormulaElements pVLSFofFormula;
1586 private final VLSTffFormulaElements pVLSTffFormula; 1777 private final VLSTffFormulaElements pVLSTffFormula;
1778 private final VLSTffNameElements pVLSTffName;
1779 private final VLSTffDistinctElements pVLSTffDistinct;
1780 private final VLSTffFiniteElements pVLSTffFinite;
1781 private final VLSTffDeclPredElements pVLSTffDeclPred;
1587 private final VLSRoleElements pVLSRole; 1782 private final VLSRoleElements pVLSRole;
1588 private final VLSAnnotationElements pVLSAnnotation; 1783 private final VLSAnnotationElements pVLSAnnotation;
1589 private final VLSAnnotationTermsElements pVLSAnnotationTerms; 1784 private final VLSAnnotationTermsElements pVLSAnnotationTerms;
1785 private final VLSTffTermElements pVLSTffTerm;
1786 private final VLSDeclarationElements pVLSDeclaration;
1787 private final VLSOtherDeclarationElements pVLSOtherDeclaration;
1788 private final VLSVariableDeclarationElements pVLSVariableDeclaration;
1789 private final VLSTypeDefElements pVLSTypeDef;
1790 private final VLSUnitaryTermElements pVLSUnitaryTerm;
1590 private final VLSTermElements pVLSTerm; 1791 private final VLSTermElements pVLSTerm;
1591 private final VLSBinaryElements pVLSBinary; 1792 private final VLSBinaryElements pVLSBinary;
1592 private final VLSUnitaryFormulaElements pVLSUnitaryFormula; 1793 private final VLSUnitaryFormulaElements pVLSUnitaryFormula;
@@ -1622,24 +1823,24 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1622 this.tDOUBLE_DOLLAR_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.DOUBLE_DOLLAR_ID"); 1823 this.tDOUBLE_DOLLAR_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.DOUBLE_DOLLAR_ID");
1623 this.tLITERAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.LITERAL"); 1824 this.tLITERAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.LITERAL");
1624 this.tSIGNED_LITERAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SIGNED_LITERAL"); 1825 this.tSIGNED_LITERAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SIGNED_LITERAL");
1625 this.tUNSIGNED_REAL_FRAC_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.UNSIGNED_REAL_FRAC_ID");
1626 this.tUNSIGNED_REAL_EXP_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.UNSIGNED_REAL_EXP_ID");
1627 this.tSIGNED_REAL_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SIGNED_REAL_ID");
1628 this.tUNSIGNED_RAT_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.UNSIGNED_RAT_ID");
1629 this.tSIGNED_RAT_ID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SIGNED_RAT_ID");
1630 this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.ID");
1631 this.tANY_OTHER = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.ANY_OTHER");
1632 this.tSINGLE_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SINGLE_COMMENT"); 1826 this.tSINGLE_COMMENT = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.SINGLE_COMMENT");
1633 this.pVLSInclude = new VLSIncludeElements();
1634 this.pVLSName = new VLSNameElements();
1635 this.pVLSComment = new VLSCommentElements(); 1827 this.pVLSComment = new VLSCommentElements();
1636 this.pVLSConfirmations = new VLSConfirmationsElements(); 1828 this.pVLSConfirmations = new VLSConfirmationsElements();
1637 this.pVLSSatisfiable = new VLSSatisfiableElements();
1638 this.pVLSFofFormula = new VLSFofFormulaElements(); 1829 this.pVLSFofFormula = new VLSFofFormulaElements();
1639 this.pVLSTffFormula = new VLSTffFormulaElements(); 1830 this.pVLSTffFormula = new VLSTffFormulaElements();
1831 this.pVLSTffName = new VLSTffNameElements();
1832 this.pVLSTffDistinct = new VLSTffDistinctElements();
1833 this.pVLSTffFinite = new VLSTffFiniteElements();
1834 this.pVLSTffDeclPred = new VLSTffDeclPredElements();
1640 this.pVLSRole = new VLSRoleElements(); 1835 this.pVLSRole = new VLSRoleElements();
1641 this.pVLSAnnotation = new VLSAnnotationElements(); 1836 this.pVLSAnnotation = new VLSAnnotationElements();
1642 this.pVLSAnnotationTerms = new VLSAnnotationTermsElements(); 1837 this.pVLSAnnotationTerms = new VLSAnnotationTermsElements();
1838 this.pVLSTffTerm = new VLSTffTermElements();
1839 this.pVLSDeclaration = new VLSDeclarationElements();
1840 this.pVLSOtherDeclaration = new VLSOtherDeclarationElements();
1841 this.pVLSVariableDeclaration = new VLSVariableDeclarationElements();
1842 this.pVLSTypeDef = new VLSTypeDefElements();
1843 this.pVLSUnitaryTerm = new VLSUnitaryTermElements();
1643 this.pVLSTerm = new VLSTermElements(); 1844 this.pVLSTerm = new VLSTermElements();
1644 this.pVLSBinary = new VLSBinaryElements(); 1845 this.pVLSBinary = new VLSBinaryElements();
1645 this.pVLSUnitaryFormula = new VLSUnitaryFormulaElements(); 1846 this.pVLSUnitaryFormula = new VLSUnitaryFormulaElements();
@@ -1689,8 +1890,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1689 ////2. can only use declared variables in formula (ln 158) 1890 ////2. can only use declared variables in formula (ln 158)
1690 ////@@@@@@@@@@@ 1891 ////@@@@@@@@@@@
1691 //VampireModel: 1892 //VampireModel:
1692 // (includes+=VLSInclude | comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | 1893 // (comments+=VLSComment | confirmations+=VLSConfirmations | formulas+=VLSFofFormula | tfformulas+=VLSTffFormula)*;
1693 // tfformulas+=VLSTffFormula)*;
1694 public VampireModelElements getVampireModelAccess() { 1894 public VampireModelElements getVampireModelAccess() {
1695 return pVampireModel; 1895 return pVampireModel;
1696 } 1896 }
@@ -1759,50 +1959,8 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1759 return tSIGNED_LITERAL; 1959 return tSIGNED_LITERAL;
1760 } 1960 }
1761 1961
1762 //terminal UNSIGNED_REAL_FRAC_ID:
1763 // LITERAL '.' INT;
1764 public TerminalRule getUNSIGNED_REAL_FRAC_IDRule() {
1765 return tUNSIGNED_REAL_FRAC_ID;
1766 }
1767
1768 //terminal UNSIGNED_REAL_EXP_ID:
1769 // (LITERAL | UNSIGNED_REAL_FRAC_ID) 'Ee' SIGN* INT;
1770 public TerminalRule getUNSIGNED_REAL_EXP_IDRule() {
1771 return tUNSIGNED_REAL_EXP_ID;
1772 }
1773
1774 //terminal SIGNED_REAL_ID:
1775 // SIGN* (UNSIGNED_REAL_FRAC_ID | UNSIGNED_REAL_EXP_ID);
1776 public TerminalRule getSIGNED_REAL_IDRule() {
1777 return tSIGNED_REAL_ID;
1778 }
1779
1780 //terminal UNSIGNED_RAT_ID:
1781 // LITERAL '/' '1'..'9' INT?;
1782 public TerminalRule getUNSIGNED_RAT_IDRule() {
1783 return tUNSIGNED_RAT_ID;
1784 }
1785
1786 //terminal SIGNED_RAT_ID:
1787 // SIGN* UNSIGNED_RAT_ID;
1788 public TerminalRule getSIGNED_RAT_IDRule() {
1789 return tSIGNED_RAT_ID;
1790 }
1791
1792 //terminal ID:
1793 // !('\n' | '\r')*;
1794 public TerminalRule getIDRule() {
1795 return tID;
1796 }
1797
1798 //terminal ANY_OTHER:
1799 // ID;
1800 public TerminalRule getANY_OTHERRule() {
1801 return tANY_OTHER;
1802 }
1803
1804 //terminal SINGLE_COMMENT: 1962 //terminal SINGLE_COMMENT:
1805 // ANY_OTHER; 1963 // '%' !('\n' | '\r')* ('\r'? '\n')?;
1806 public TerminalRule getSINGLE_COMMENTRule() { 1964 public TerminalRule getSINGLE_COMMENTRule() {
1807 return tSINGLE_COMMENT; 1965 return tSINGLE_COMMENT;
1808 } 1966 }
@@ -1812,29 +1970,15 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1812 //// VLS types 1970 //// VLS types
1813 //////////////////////////////////// 1971 ////////////////////////////////////
1814 //// <includes> 1972 //// <includes>
1815 //VLSInclude: 1973 ////VLSInclude:
1816 // 'include(' fileName=SINGLE_QUOTE (',[' names+=VLSName (',' names+=VLSName)* ']')?; 1974 //// 'include(' fileName = SINGLE_QUOTE ( ',[' names += VLSName (',' names += VLSName)* ']' )?
1817 public VLSIncludeElements getVLSIncludeAccess() { 1975 ////;
1818 return pVLSInclude; 1976 ////VLSName:
1819 } 1977 //// name = (LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL)
1820 1978 ////;
1821 public ParserRule getVLSIncludeRule() {
1822 return getVLSIncludeAccess().getRule();
1823 }
1824
1825 //VLSName:
1826 // name=(LOWER_WORD_ID | SINGLE_QUOTE | LITERAL | SIGNED_LITERAL);
1827 public VLSNameElements getVLSNameAccess() {
1828 return pVLSName;
1829 }
1830
1831 public ParserRule getVLSNameRule() {
1832 return getVLSNameAccess().getRule();
1833 }
1834
1835 //// <comments> 1979 //// <comments>
1836 //VLSComment: 1980 //VLSComment:
1837 // '%' comment=SINGLE_COMMENT 1981 // comment=SINGLE_COMMENT
1838 // //need to add a new line at the end of the file for the case where the last line is a comment 1982 // //need to add a new line at the end of the file for the case where the last line is a comment
1839 //; 1983 //;
1840 public VLSCommentElements getVLSCommentAccess() { 1984 public VLSCommentElements getVLSCommentAccess() {
@@ -1847,8 +1991,8 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1847 1991
1848 ////VLSConstantDeclaration: name = (LOWER_WORD_ID | SINGLE_QUOTE | DOLLAR_ID | DOUBLE_DOLLAR_ID ); 1992 ////VLSConstantDeclaration: name = (LOWER_WORD_ID | SINGLE_QUOTE | DOLLAR_ID | DOUBLE_DOLLAR_ID );
1849 //VLSConfirmations: 1993 //VLSConfirmations:
1850 // VLSSatisfiable //| VLSFiniteModel// | VLSTrying 1994 // {VLSSatisfiable} 'Satisfiable!' | {VLSWarning} "WARNING!" "Could" "not" "set" "resource" "limit:" "Virtual" "memory."
1851 //; 1995 // | {VLSTrying} 'TRYING' '[' name=LITERAL ']' | {VLSFiniteModel} 'Finite' 'Model' 'Found!';
1852 public VLSConfirmationsElements getVLSConfirmationsAccess() { 1996 public VLSConfirmationsElements getVLSConfirmationsAccess() {
1853 return pVLSConfirmations; 1997 return pVLSConfirmations;
1854 } 1998 }
@@ -1857,23 +2001,6 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1857 return getVLSConfirmationsAccess().getRule(); 2001 return getVLSConfirmationsAccess().getRule();
1858 } 2002 }
1859 2003
1860 //VLSSatisfiable:
1861 // {VLSSatisfiable} 'Satisfiable!';
1862 public VLSSatisfiableElements getVLSSatisfiableAccess() {
1863 return pVLSSatisfiable;
1864 }
1865
1866 public ParserRule getVLSSatisfiableRule() {
1867 return getVLSSatisfiableAccess().getRule();
1868 }
1869
1870 ////VLSTrying:
1871 //// 'TRYING' '[' name = LITERAL ']'
1872 ////;
1873 ////
1874 ////VLSFiniteModel:
1875 //// {VLSFiniteModel} 'Finite' 'Model' 'Found!'
1876 ////;
1877 //// <FOF formulas> 2004 //// <FOF formulas>
1878 //VLSFofFormula: 2005 //VLSFofFormula:
1879 // 'fof' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (',' 2006 // 'fof' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (','
@@ -1887,8 +2014,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1887 } 2014 }
1888 2015
1889 //VLSTffFormula: 2016 //VLSTffFormula:
1890 // 'tff' '(' name=(LOWER_WORD_ID | SIGNED_LITERAL | SINGLE_QUOTE) ',' fofRole=VLSRole ',' fofFormula=VLSTerm (',' 2017 // 'tff' '(' name=VLSTffName ',' tffRole=VLSRole ',' fofFormula=VLSTffTerm (',' annotations=VLSAnnotation)? ')' '.';
1891 // annotations=VLSAnnotation)? ')' '.';
1892 public VLSTffFormulaElements getVLSTffFormulaAccess() { 2018 public VLSTffFormulaElements getVLSTffFormulaAccess() {
1893 return pVLSTffFormula; 2019 return pVLSTffFormula;
1894 } 2020 }
@@ -1897,6 +2023,46 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1897 return getVLSTffFormulaAccess().getRule(); 2023 return getVLSTffFormulaAccess().getRule();
1898 } 2024 }
1899 2025
2026 //VLSTffName:
2027 // VLSTffDeclPred | VLSTffFinite | VLSTffDistinct;
2028 public VLSTffNameElements getVLSTffNameAccess() {
2029 return pVLSTffName;
2030 }
2031
2032 public ParserRule getVLSTffNameRule() {
2033 return getVLSTffNameAccess().getRule();
2034 }
2035
2036 //VLSTffDistinct:
2037 // 'distinct_domain';
2038 public VLSTffDistinctElements getVLSTffDistinctAccess() {
2039 return pVLSTffDistinct;
2040 }
2041
2042 public ParserRule getVLSTffDistinctRule() {
2043 return getVLSTffDistinctAccess().getRule();
2044 }
2045
2046 //VLSTffFinite:
2047 // 'finite_domain';
2048 public VLSTffFiniteElements getVLSTffFiniteAccess() {
2049 return pVLSTffFinite;
2050 }
2051
2052 public ParserRule getVLSTffFiniteRule() {
2053 return getVLSTffFiniteAccess().getRule();
2054 }
2055
2056 //VLSTffDeclPred:
2057 // 'declare_' DOLLAR_ID | LOWER_WORD_ID;
2058 public VLSTffDeclPredElements getVLSTffDeclPredAccess() {
2059 return pVLSTffDeclPred;
2060 }
2061
2062 public ParserRule getVLSTffDeclPredRule() {
2063 return getVLSTffDeclPredAccess().getRule();
2064 }
2065
1900 ///* 2066 ///*
1901 ////NAME 2067 ////NAME
1902 //VLSName: 2068 //VLSName:
@@ -1916,6 +2082,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1916 return getVLSRoleAccess().getRule(); 2082 return getVLSRoleAccess().getRule();
1917 } 2083 }
1918 2084
2085 ///*
1919 ////VLSRole: 2086 ////VLSRole:
1920 //// VLSAxiom | VLSConjecture | VLSHypothesis | VLSDefinition | 2087 //// VLSAxiom | VLSConjecture | VLSHypothesis | VLSDefinition |
1921 //// VLSAssumption | VLSLemma | VLSTheorem | VLSCorollary | VLSNegated_Conjecture | 2088 //// VLSAssumption | VLSLemma | VLSTheorem | VLSCorollary | VLSNegated_Conjecture |
@@ -1981,7 +2148,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
1981 ////VLSUnknown: 2148 ////VLSUnknown:
1982 //// "unknown" 2149 //// "unknown"
1983 ////; 2150 ////;
1984 //// <ANNOTATION> 2151 //*/ // <ANNOTATION>
1985 //// Not at all based on the website. based on what we think the output will be like 2152 //// Not at all based on the website. based on what we think the output will be like
1986 //VLSAnnotation: 2153 //VLSAnnotation:
1987 // '['? name=(LOWER_WORD_ID | SINGLE_QUOTE | VLSRole)? ('(' followup=VLSAnnotationTerms ')')? ']'?; 2154 // '['? name=(LOWER_WORD_ID | SINGLE_QUOTE | VLSRole)? ('(' followup=VLSAnnotationTerms ')')? ']'?;
@@ -2006,6 +2173,72 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2006 //////////////////////////////////// 2173 ////////////////////////////////////
2007 //// VLS Terms 2174 //// VLS Terms
2008 //////////////////////////////////// 2175 ////////////////////////////////////
2176 //VLSTffTerm:
2177 // VLSTerm | VLSDeclaration;
2178 public VLSTffTermElements getVLSTffTermAccess() {
2179 return pVLSTffTerm;
2180 }
2181
2182 public ParserRule getVLSTffTermRule() {
2183 return getVLSTffTermAccess().getRule();
2184 }
2185
2186 ///////////////////
2187 ////TFF Specific
2188 // VLSDeclaration:
2189 // VLSVariableDeclaration | VLSOtherDeclaration;
2190 public VLSDeclarationElements getVLSDeclarationAccess() {
2191 return pVLSDeclaration;
2192 }
2193
2194 public ParserRule getVLSDeclarationRule() {
2195 return getVLSDeclarationAccess().getRule();
2196 }
2197
2198 //VLSOtherDeclaration:
2199 // VLSAtomicConstant ':' type=VLSTypeDef;
2200 public VLSOtherDeclarationElements getVLSOtherDeclarationAccess() {
2201 return pVLSOtherDeclaration;
2202 }
2203
2204 public ParserRule getVLSOtherDeclarationRule() {
2205 return getVLSOtherDeclarationAccess().getRule();
2206 }
2207
2208 //VLSVariableDeclaration:
2209 // VLSVariable ':' type=VLSTypeDef;
2210 public VLSVariableDeclarationElements getVLSVariableDeclarationAccess() {
2211 return pVLSVariableDeclaration;
2212 }
2213
2214 public ParserRule getVLSVariableDeclarationRule() {
2215 return getVLSVariableDeclarationAccess().getRule();
2216 }
2217
2218 //VLSTypeDef:
2219 // typeSig=VLSUnitaryTerm ('>' mapsTo=VLSAtomicConstant)? //might need to make VLSAtomic to include VLSVariable
2220 //;
2221 public VLSTypeDefElements getVLSTypeDefAccess() {
2222 return pVLSTypeDef;
2223 }
2224
2225 public ParserRule getVLSTypeDefRule() {
2226 return getVLSTypeDefAccess().getRule();
2227 }
2228
2229 //VLSUnitaryTerm VLSTypeDef:
2230 // initType=VLSAtomic ('*' nextType=VLSAtomicConstant)* //might need to make VLSAtomic to include VLSVariable
2231 //;
2232 public VLSUnitaryTermElements getVLSUnitaryTermAccess() {
2233 return pVLSUnitaryTerm;
2234 }
2235
2236 public ParserRule getVLSUnitaryTermRule() {
2237 return getVLSUnitaryTermAccess().getRule();
2238 }
2239
2240 ////TFF Specific
2241 ///////////////////
2009 //VLSTerm: 2242 //VLSTerm:
2010 // VLSBinary; 2243 // VLSBinary;
2011 public VLSTermElements getVLSTermAccess() { 2244 public VLSTermElements getVLSTermAccess() {
@@ -2045,8 +2278,8 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2045 } 2278 }
2046 2279
2047 //VLSUniversalQuantifier VLSTerm: 2280 //VLSUniversalQuantifier VLSTerm:
2048 // {VLSUniversalQuantifier} ("!" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 2281 // {VLSUniversalQuantifier} ("!" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
2049 // operand=VLSUnitaryFormula; 2282 // VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula;
2050 public VLSUniversalQuantifierElements getVLSUniversalQuantifierAccess() { 2283 public VLSUniversalQuantifierElements getVLSUniversalQuantifierAccess() {
2051 return pVLSUniversalQuantifier; 2284 return pVLSUniversalQuantifier;
2052 } 2285 }
@@ -2056,8 +2289,8 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2056 } 2289 }
2057 2290
2058 //VLSExistentialQuantifier VLSTerm: 2291 //VLSExistentialQuantifier VLSTerm:
2059 // {VLSExistentialQuantifier} ("?" '[' variables+=VLSVariable (',' variables+=VLSVariable)* ']' ':') 2292 // {VLSExistentialQuantifier} ("?" '[' variables+=(VLSVariable | VLSVariableDeclaration) (',' variables+=(VLSVariable |
2060 // operand=VLSUnitaryFormula; 2293 // VLSVariableDeclaration))* ']' ':') operand=VLSUnitaryFormula;
2061 public VLSExistentialQuantifierElements getVLSExistentialQuantifierAccess() { 2294 public VLSExistentialQuantifierElements getVLSExistentialQuantifierAccess() {
2062 return pVLSExistentialQuantifier; 2295 return pVLSExistentialQuantifier;
2063 } 2296 }
@@ -2166,8 +2399,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2166 } 2399 }
2167 2400
2168 //VLSDefinedTerm: 2401 //VLSDefinedTerm:
2169 // {VLSInt} value=SIGNED_LITERAL | {VLSReal} value=SIGNED_REAL_ID | {VLSRational} value=SIGNED_RAT_ID | {VLSDoubleQuote} 2402 // {VLSInt} value=SIGNED_LITERAL | {VLSDoubleQuote} value=DOUBLE_QUOTE;
2170 // value=DOUBLE_QUOTE;
2171 public VLSDefinedTermElements getVLSDefinedTermAccess() { 2403 public VLSDefinedTermElements getVLSDefinedTermAccess() {
2172 return pVLSDefinedTerm; 2404 return pVLSDefinedTerm;
2173 } 2405 }
@@ -2176,6 +2408,12 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2176 return getVLSDefinedTermAccess().getRule(); 2408 return getVLSDefinedTermAccess().getRule();
2177 } 2409 }
2178 2410
2411 //terminal ID:
2412 // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
2413 public TerminalRule getIDRule() {
2414 return gaTerminals.getIDRule();
2415 }
2416
2179 //terminal INT returns ecore::EInt: 2417 //terminal INT returns ecore::EInt:
2180 // '0'..'9'+; 2418 // '0'..'9'+;
2181 public TerminalRule getINTRule() { 2419 public TerminalRule getINTRule() {
@@ -2205,4 +2443,10 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder {
2205 public TerminalRule getWSRule() { 2443 public TerminalRule getWSRule() {
2206 return gaTerminals.getWSRule(); 2444 return gaTerminals.getWSRule();
2207 } 2445 }
2446
2447 //terminal ANY_OTHER:
2448 // .;
2449 public TerminalRule getANY_OTHERRule() {
2450 return gaTerminals.getANY_OTHERRule();
2451 }
2208} 2452}