diff options
author | ArenBabikian <aren.babikian@mail.mcgill.ca> | 2019-09-02 03:47:21 -0400 |
---|---|---|
committer | ArenBabikian <aren.babikian@mail.mcgill.ca> | 2020-06-07 19:41:44 -0400 |
commit | 35ac37963fc3e3f3fb142aaf1fdffd26e05e473a (patch) | |
tree | 5e2449306e2fd7169b05ac72fe78e167934d7f8c | |
parent | VAMPIRE: setup structure of model interpretation (diff) | |
download | VIATRA-Generator-35ac37963fc3e3f3fb142aaf1fdffd26e05e473a.tar.gz VIATRA-Generator-35ac37963fc3e3f3fb142aaf1fdffd26e05e473a.tar.zst VIATRA-Generator-35ac37963fc3e3f3fb142aaf1fdffd26e05e473a.zip |
VAMPIRE: implement Vampire Model Interpreter, 2/3 done
55 files changed, 2022 insertions, 1763 deletions
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/VampireLanguageParser.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/VampireLanguageParser.java index 48510a2d..e3b7a679 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/VampireLanguageParser.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/VampireLanguageParser.java | |||
@@ -128,7 +128,9 @@ public class VampireLanguageParser extends AbstractContentAssistParser { | |||
128 | builder.put(grammarAccess.getVLSAnnotationAccess().getFollowupAssignment_2_1(), "rule__VLSAnnotation__FollowupAssignment_2_1"); | 128 | builder.put(grammarAccess.getVLSAnnotationAccess().getFollowupAssignment_2_1(), "rule__VLSAnnotation__FollowupAssignment_2_1"); |
129 | builder.put(grammarAccess.getVLSAnnotationTermsAccess().getTermsAssignment_0(), "rule__VLSAnnotationTerms__TermsAssignment_0"); | 129 | builder.put(grammarAccess.getVLSAnnotationTermsAccess().getTermsAssignment_0(), "rule__VLSAnnotationTerms__TermsAssignment_0"); |
130 | builder.put(grammarAccess.getVLSAnnotationTermsAccess().getTermsAssignment_1_1(), "rule__VLSAnnotationTerms__TermsAssignment_1_1"); | 130 | builder.put(grammarAccess.getVLSAnnotationTermsAccess().getTermsAssignment_1_1(), "rule__VLSAnnotationTerms__TermsAssignment_1_1"); |
131 | builder.put(grammarAccess.getVLSOtherDeclarationAccess().getNameAssignment_0(), "rule__VLSOtherDeclaration__NameAssignment_0"); | ||
131 | builder.put(grammarAccess.getVLSOtherDeclarationAccess().getTypeAssignment_2(), "rule__VLSOtherDeclaration__TypeAssignment_2"); | 132 | builder.put(grammarAccess.getVLSOtherDeclarationAccess().getTypeAssignment_2(), "rule__VLSOtherDeclaration__TypeAssignment_2"); |
133 | builder.put(grammarAccess.getVLSVariableDeclarationAccess().getNameAssignment_0(), "rule__VLSVariableDeclaration__NameAssignment_0"); | ||
132 | builder.put(grammarAccess.getVLSVariableDeclarationAccess().getTypeAssignment_2(), "rule__VLSVariableDeclaration__TypeAssignment_2"); | 134 | builder.put(grammarAccess.getVLSVariableDeclarationAccess().getTypeAssignment_2(), "rule__VLSVariableDeclaration__TypeAssignment_2"); |
133 | builder.put(grammarAccess.getVLSTypeDefAccess().getTypeSigAssignment_0(), "rule__VLSTypeDef__TypeSigAssignment_0"); | 135 | builder.put(grammarAccess.getVLSTypeDefAccess().getTypeSigAssignment_0(), "rule__VLSTypeDef__TypeSigAssignment_0"); |
134 | builder.put(grammarAccess.getVLSTypeDefAccess().getMapsToAssignment_1_1(), "rule__VLSTypeDef__MapsToAssignment_1_1"); | 136 | builder.put(grammarAccess.getVLSTypeDefAccess().getMapsToAssignment_1_1(), "rule__VLSTypeDef__MapsToAssignment_1_1"); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguage.g b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguage.g index 8bab57ae..7b766803 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguage.g +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguage.g | |||
@@ -3191,9 +3191,9 @@ rule__VLSOtherDeclaration__Group__0__Impl | |||
3191 | } | 3191 | } |
3192 | : | 3192 | : |
3193 | ( | 3193 | ( |
3194 | { before(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); } | 3194 | { before(grammarAccess.getVLSOtherDeclarationAccess().getNameAssignment_0()); } |
3195 | ruleVLSAtomicConstant | 3195 | (rule__VLSOtherDeclaration__NameAssignment_0) |
3196 | { after(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); } | 3196 | { after(grammarAccess.getVLSOtherDeclarationAccess().getNameAssignment_0()); } |
3197 | ) | 3197 | ) |
3198 | ; | 3198 | ; |
3199 | finally { | 3199 | finally { |
@@ -3272,9 +3272,9 @@ rule__VLSVariableDeclaration__Group__0__Impl | |||
3272 | } | 3272 | } |
3273 | : | 3273 | : |
3274 | ( | 3274 | ( |
3275 | { before(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); } | 3275 | { before(grammarAccess.getVLSVariableDeclarationAccess().getNameAssignment_0()); } |
3276 | ruleVLSVariable | 3276 | (rule__VLSVariableDeclaration__NameAssignment_0) |
3277 | { after(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); } | 3277 | { after(grammarAccess.getVLSVariableDeclarationAccess().getNameAssignment_0()); } |
3278 | ) | 3278 | ) |
3279 | ; | 3279 | ; |
3280 | finally { | 3280 | finally { |
@@ -6359,6 +6359,21 @@ finally { | |||
6359 | restoreStackSize(stackSize); | 6359 | restoreStackSize(stackSize); |
6360 | } | 6360 | } |
6361 | 6361 | ||
6362 | rule__VLSOtherDeclaration__NameAssignment_0 | ||
6363 | @init { | ||
6364 | int stackSize = keepStackSize(); | ||
6365 | } | ||
6366 | : | ||
6367 | ( | ||
6368 | { before(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); } | ||
6369 | ruleVLSAtomicConstant | ||
6370 | { after(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); } | ||
6371 | ) | ||
6372 | ; | ||
6373 | finally { | ||
6374 | restoreStackSize(stackSize); | ||
6375 | } | ||
6376 | |||
6362 | rule__VLSOtherDeclaration__TypeAssignment_2 | 6377 | rule__VLSOtherDeclaration__TypeAssignment_2 |
6363 | @init { | 6378 | @init { |
6364 | int stackSize = keepStackSize(); | 6379 | int stackSize = keepStackSize(); |
@@ -6374,6 +6389,21 @@ finally { | |||
6374 | restoreStackSize(stackSize); | 6389 | restoreStackSize(stackSize); |
6375 | } | 6390 | } |
6376 | 6391 | ||
6392 | rule__VLSVariableDeclaration__NameAssignment_0 | ||
6393 | @init { | ||
6394 | int stackSize = keepStackSize(); | ||
6395 | } | ||
6396 | : | ||
6397 | ( | ||
6398 | { before(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); } | ||
6399 | ruleVLSVariable | ||
6400 | { after(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); } | ||
6401 | ) | ||
6402 | ; | ||
6403 | finally { | ||
6404 | restoreStackSize(stackSize); | ||
6405 | } | ||
6406 | |||
6377 | rule__VLSVariableDeclaration__TypeAssignment_2 | 6407 | rule__VLSVariableDeclaration__TypeAssignment_2 |
6378 | @init { | 6408 | @init { |
6379 | int stackSize = keepStackSize(); | 6409 | int stackSize = keepStackSize(); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageLexer.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageLexer.java index 4efcb64c..82eb18b1 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageLexer.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageLexer.java | |||
@@ -1331,8 +1331,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1331 | // $ANTLR start "RULE_ALPHA_NUMERIC" | 1331 | // $ANTLR start "RULE_ALPHA_NUMERIC" |
1332 | public final void mRULE_ALPHA_NUMERIC() throws RecognitionException { | 1332 | public final void mRULE_ALPHA_NUMERIC() throws RecognitionException { |
1333 | try { | 1333 | try { |
1334 | // InternalVampireLanguage.g:6816:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) ) | 1334 | // InternalVampireLanguage.g:6846:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) ) |
1335 | // InternalVampireLanguage.g:6816:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) | 1335 | // InternalVampireLanguage.g:6846:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) |
1336 | { | 1336 | { |
1337 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | 1337 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
1338 | input.consume(); | 1338 | input.consume(); |
@@ -1357,11 +1357,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1357 | try { | 1357 | try { |
1358 | int _type = RULE_UPPER_WORD_ID; | 1358 | int _type = RULE_UPPER_WORD_ID; |
1359 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1359 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1360 | // InternalVampireLanguage.g:6818:20: ( 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* ) | 1360 | // InternalVampireLanguage.g:6848:20: ( 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* ) |
1361 | // InternalVampireLanguage.g:6818:22: 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* | 1361 | // InternalVampireLanguage.g:6848:22: 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* |
1362 | { | 1362 | { |
1363 | matchRange('A','Z'); | 1363 | matchRange('A','Z'); |
1364 | // InternalVampireLanguage.g:6818:31: ( RULE_ALPHA_NUMERIC )* | 1364 | // InternalVampireLanguage.g:6848:31: ( RULE_ALPHA_NUMERIC )* |
1365 | loop1: | 1365 | loop1: |
1366 | do { | 1366 | do { |
1367 | int alt1=2; | 1367 | int alt1=2; |
@@ -1374,7 +1374,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1374 | 1374 | ||
1375 | switch (alt1) { | 1375 | switch (alt1) { |
1376 | case 1 : | 1376 | case 1 : |
1377 | // InternalVampireLanguage.g:6818:31: RULE_ALPHA_NUMERIC | 1377 | // InternalVampireLanguage.g:6848:31: RULE_ALPHA_NUMERIC |
1378 | { | 1378 | { |
1379 | mRULE_ALPHA_NUMERIC(); | 1379 | mRULE_ALPHA_NUMERIC(); |
1380 | 1380 | ||
@@ -1402,11 +1402,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1402 | try { | 1402 | try { |
1403 | int _type = RULE_LOWER_WORD_ID; | 1403 | int _type = RULE_LOWER_WORD_ID; |
1404 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1404 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1405 | // InternalVampireLanguage.g:6820:20: ( 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* ) | 1405 | // InternalVampireLanguage.g:6850:20: ( 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* ) |
1406 | // InternalVampireLanguage.g:6820:22: 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* | 1406 | // InternalVampireLanguage.g:6850:22: 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* |
1407 | { | 1407 | { |
1408 | matchRange('a','z'); | 1408 | matchRange('a','z'); |
1409 | // InternalVampireLanguage.g:6820:31: ( RULE_ALPHA_NUMERIC )* | 1409 | // InternalVampireLanguage.g:6850:31: ( RULE_ALPHA_NUMERIC )* |
1410 | loop2: | 1410 | loop2: |
1411 | do { | 1411 | do { |
1412 | int alt2=2; | 1412 | int alt2=2; |
@@ -1419,7 +1419,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1419 | 1419 | ||
1420 | switch (alt2) { | 1420 | switch (alt2) { |
1421 | case 1 : | 1421 | case 1 : |
1422 | // InternalVampireLanguage.g:6820:31: RULE_ALPHA_NUMERIC | 1422 | // InternalVampireLanguage.g:6850:31: RULE_ALPHA_NUMERIC |
1423 | { | 1423 | { |
1424 | mRULE_ALPHA_NUMERIC(); | 1424 | mRULE_ALPHA_NUMERIC(); |
1425 | 1425 | ||
@@ -1447,11 +1447,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1447 | try { | 1447 | try { |
1448 | int _type = RULE_DOUBLE_QUOTE; | 1448 | int _type = RULE_DOUBLE_QUOTE; |
1449 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1449 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1450 | // InternalVampireLanguage.g:6822:19: ( '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) | 1450 | // InternalVampireLanguage.g:6852:19: ( '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) |
1451 | // InternalVampireLanguage.g:6822:21: '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1451 | // InternalVampireLanguage.g:6852:21: '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
1452 | { | 1452 | { |
1453 | match('\"'); | 1453 | match('\"'); |
1454 | // InternalVampireLanguage.g:6822:25: ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* | 1454 | // InternalVampireLanguage.g:6852:25: ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* |
1455 | loop3: | 1455 | loop3: |
1456 | do { | 1456 | do { |
1457 | int alt3=3; | 1457 | int alt3=3; |
@@ -1467,7 +1467,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1467 | 1467 | ||
1468 | switch (alt3) { | 1468 | switch (alt3) { |
1469 | case 1 : | 1469 | case 1 : |
1470 | // InternalVampireLanguage.g:6822:26: '\\\\' ( '\"' | '\\\\' ) | 1470 | // InternalVampireLanguage.g:6852:26: '\\\\' ( '\"' | '\\\\' ) |
1471 | { | 1471 | { |
1472 | match('\\'); | 1472 | match('\\'); |
1473 | if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) { | 1473 | if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) { |
@@ -1483,7 +1483,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1483 | } | 1483 | } |
1484 | break; | 1484 | break; |
1485 | case 2 : | 1485 | case 2 : |
1486 | // InternalVampireLanguage.g:6822:42: ~ ( ( '\\\\' | '\"' ) ) | 1486 | // InternalVampireLanguage.g:6852:42: ~ ( ( '\\\\' | '\"' ) ) |
1487 | { | 1487 | { |
1488 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1488 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1489 | input.consume(); | 1489 | input.consume(); |
@@ -1520,11 +1520,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1520 | try { | 1520 | try { |
1521 | int _type = RULE_SINGLE_QUOTE; | 1521 | int _type = RULE_SINGLE_QUOTE; |
1522 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1522 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1523 | // InternalVampireLanguage.g:6824:19: ( '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' ) | 1523 | // InternalVampireLanguage.g:6854:19: ( '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' ) |
1524 | // InternalVampireLanguage.g:6824:21: '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' | 1524 | // InternalVampireLanguage.g:6854:21: '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' |
1525 | { | 1525 | { |
1526 | match('\''); | 1526 | match('\''); |
1527 | // InternalVampireLanguage.g:6824:26: ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ | 1527 | // InternalVampireLanguage.g:6854:26: ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ |
1528 | int cnt4=0; | 1528 | int cnt4=0; |
1529 | loop4: | 1529 | loop4: |
1530 | do { | 1530 | do { |
@@ -1541,7 +1541,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1541 | 1541 | ||
1542 | switch (alt4) { | 1542 | switch (alt4) { |
1543 | case 1 : | 1543 | case 1 : |
1544 | // InternalVampireLanguage.g:6824:27: '\\\\' ( '\\'' | '\\\\' ) | 1544 | // InternalVampireLanguage.g:6854:27: '\\\\' ( '\\'' | '\\\\' ) |
1545 | { | 1545 | { |
1546 | match('\\'); | 1546 | match('\\'); |
1547 | if ( input.LA(1)=='\''||input.LA(1)=='\\' ) { | 1547 | if ( input.LA(1)=='\''||input.LA(1)=='\\' ) { |
@@ -1557,7 +1557,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1557 | } | 1557 | } |
1558 | break; | 1558 | break; |
1559 | case 2 : | 1559 | case 2 : |
1560 | // InternalVampireLanguage.g:6824:44: ~ ( ( '\\\\' | '\\'' ) ) | 1560 | // InternalVampireLanguage.g:6854:44: ~ ( ( '\\\\' | '\\'' ) ) |
1561 | { | 1561 | { |
1562 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1562 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1563 | input.consume(); | 1563 | input.consume(); |
@@ -1596,8 +1596,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1596 | // $ANTLR start "RULE_SIGN" | 1596 | // $ANTLR start "RULE_SIGN" |
1597 | public final void mRULE_SIGN() throws RecognitionException { | 1597 | public final void mRULE_SIGN() throws RecognitionException { |
1598 | try { | 1598 | try { |
1599 | // InternalVampireLanguage.g:6826:20: ( ( '+' | '-' ) ) | 1599 | // InternalVampireLanguage.g:6856:20: ( ( '+' | '-' ) ) |
1600 | // InternalVampireLanguage.g:6826:22: ( '+' | '-' ) | 1600 | // InternalVampireLanguage.g:6856:22: ( '+' | '-' ) |
1601 | { | 1601 | { |
1602 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { | 1602 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
1603 | input.consume(); | 1603 | input.consume(); |
@@ -1622,8 +1622,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1622 | try { | 1622 | try { |
1623 | int _type = RULE_DOLLAR_ID; | 1623 | int _type = RULE_DOLLAR_ID; |
1624 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1624 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1625 | // InternalVampireLanguage.g:6828:16: ( '$' RULE_LOWER_WORD_ID ) | 1625 | // InternalVampireLanguage.g:6858:16: ( '$' RULE_LOWER_WORD_ID ) |
1626 | // InternalVampireLanguage.g:6828:18: '$' RULE_LOWER_WORD_ID | 1626 | // InternalVampireLanguage.g:6858:18: '$' RULE_LOWER_WORD_ID |
1627 | { | 1627 | { |
1628 | match('$'); | 1628 | match('$'); |
1629 | mRULE_LOWER_WORD_ID(); | 1629 | mRULE_LOWER_WORD_ID(); |
@@ -1643,8 +1643,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1643 | try { | 1643 | try { |
1644 | int _type = RULE_DOUBLE_DOLLAR_ID; | 1644 | int _type = RULE_DOUBLE_DOLLAR_ID; |
1645 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1645 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1646 | // InternalVampireLanguage.g:6830:23: ( '$$' RULE_LOWER_WORD_ID ) | 1646 | // InternalVampireLanguage.g:6860:23: ( '$$' RULE_LOWER_WORD_ID ) |
1647 | // InternalVampireLanguage.g:6830:25: '$$' RULE_LOWER_WORD_ID | 1647 | // InternalVampireLanguage.g:6860:25: '$$' RULE_LOWER_WORD_ID |
1648 | { | 1648 | { |
1649 | match("$$"); | 1649 | match("$$"); |
1650 | 1650 | ||
@@ -1665,10 +1665,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1665 | try { | 1665 | try { |
1666 | int _type = RULE_LITERAL; | 1666 | int _type = RULE_LITERAL; |
1667 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1667 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1668 | // InternalVampireLanguage.g:6832:14: ( ( '0' | '1' .. '9' ( RULE_INT )? ) ) | 1668 | // InternalVampireLanguage.g:6862:14: ( ( '0' | '1' .. '9' ( RULE_INT )? ) ) |
1669 | // InternalVampireLanguage.g:6832:16: ( '0' | '1' .. '9' ( RULE_INT )? ) | 1669 | // InternalVampireLanguage.g:6862:16: ( '0' | '1' .. '9' ( RULE_INT )? ) |
1670 | { | 1670 | { |
1671 | // InternalVampireLanguage.g:6832:16: ( '0' | '1' .. '9' ( RULE_INT )? ) | 1671 | // InternalVampireLanguage.g:6862:16: ( '0' | '1' .. '9' ( RULE_INT )? ) |
1672 | int alt6=2; | 1672 | int alt6=2; |
1673 | int LA6_0 = input.LA(1); | 1673 | int LA6_0 = input.LA(1); |
1674 | 1674 | ||
@@ -1686,17 +1686,17 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1686 | } | 1686 | } |
1687 | switch (alt6) { | 1687 | switch (alt6) { |
1688 | case 1 : | 1688 | case 1 : |
1689 | // InternalVampireLanguage.g:6832:17: '0' | 1689 | // InternalVampireLanguage.g:6862:17: '0' |
1690 | { | 1690 | { |
1691 | match('0'); | 1691 | match('0'); |
1692 | 1692 | ||
1693 | } | 1693 | } |
1694 | break; | 1694 | break; |
1695 | case 2 : | 1695 | case 2 : |
1696 | // InternalVampireLanguage.g:6832:21: '1' .. '9' ( RULE_INT )? | 1696 | // InternalVampireLanguage.g:6862:21: '1' .. '9' ( RULE_INT )? |
1697 | { | 1697 | { |
1698 | matchRange('1','9'); | 1698 | matchRange('1','9'); |
1699 | // InternalVampireLanguage.g:6832:30: ( RULE_INT )? | 1699 | // InternalVampireLanguage.g:6862:30: ( RULE_INT )? |
1700 | int alt5=2; | 1700 | int alt5=2; |
1701 | int LA5_0 = input.LA(1); | 1701 | int LA5_0 = input.LA(1); |
1702 | 1702 | ||
@@ -1705,7 +1705,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1705 | } | 1705 | } |
1706 | switch (alt5) { | 1706 | switch (alt5) { |
1707 | case 1 : | 1707 | case 1 : |
1708 | // InternalVampireLanguage.g:6832:30: RULE_INT | 1708 | // InternalVampireLanguage.g:6862:30: RULE_INT |
1709 | { | 1709 | { |
1710 | mRULE_INT(); | 1710 | mRULE_INT(); |
1711 | 1711 | ||
@@ -1736,10 +1736,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1736 | try { | 1736 | try { |
1737 | int _type = RULE_SIGNED_LITERAL; | 1737 | int _type = RULE_SIGNED_LITERAL; |
1738 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1738 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1739 | // InternalVampireLanguage.g:6834:21: ( ( RULE_SIGN )* RULE_LITERAL ) | 1739 | // InternalVampireLanguage.g:6864:21: ( ( RULE_SIGN )* RULE_LITERAL ) |
1740 | // InternalVampireLanguage.g:6834:23: ( RULE_SIGN )* RULE_LITERAL | 1740 | // InternalVampireLanguage.g:6864:23: ( RULE_SIGN )* RULE_LITERAL |
1741 | { | 1741 | { |
1742 | // InternalVampireLanguage.g:6834:23: ( RULE_SIGN )* | 1742 | // InternalVampireLanguage.g:6864:23: ( RULE_SIGN )* |
1743 | loop7: | 1743 | loop7: |
1744 | do { | 1744 | do { |
1745 | int alt7=2; | 1745 | int alt7=2; |
@@ -1752,7 +1752,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1752 | 1752 | ||
1753 | switch (alt7) { | 1753 | switch (alt7) { |
1754 | case 1 : | 1754 | case 1 : |
1755 | // InternalVampireLanguage.g:6834:23: RULE_SIGN | 1755 | // InternalVampireLanguage.g:6864:23: RULE_SIGN |
1756 | { | 1756 | { |
1757 | mRULE_SIGN(); | 1757 | mRULE_SIGN(); |
1758 | 1758 | ||
@@ -1781,11 +1781,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1781 | try { | 1781 | try { |
1782 | int _type = RULE_SINGLE_COMMENT; | 1782 | int _type = RULE_SINGLE_COMMENT; |
1783 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1783 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1784 | // InternalVampireLanguage.g:6836:21: ( '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1784 | // InternalVampireLanguage.g:6866:21: ( '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1785 | // InternalVampireLanguage.g:6836:23: '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1785 | // InternalVampireLanguage.g:6866:23: '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1786 | { | 1786 | { |
1787 | match('%'); | 1787 | match('%'); |
1788 | // InternalVampireLanguage.g:6836:27: (~ ( ( '\\n' | '\\r' ) ) )* | 1788 | // InternalVampireLanguage.g:6866:27: (~ ( ( '\\n' | '\\r' ) ) )* |
1789 | loop8: | 1789 | loop8: |
1790 | do { | 1790 | do { |
1791 | int alt8=2; | 1791 | int alt8=2; |
@@ -1798,7 +1798,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1798 | 1798 | ||
1799 | switch (alt8) { | 1799 | switch (alt8) { |
1800 | case 1 : | 1800 | case 1 : |
1801 | // InternalVampireLanguage.g:6836:27: ~ ( ( '\\n' | '\\r' ) ) | 1801 | // InternalVampireLanguage.g:6866:27: ~ ( ( '\\n' | '\\r' ) ) |
1802 | { | 1802 | { |
1803 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1803 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1804 | input.consume(); | 1804 | input.consume(); |
@@ -1818,7 +1818,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1818 | } | 1818 | } |
1819 | } while (true); | 1819 | } while (true); |
1820 | 1820 | ||
1821 | // InternalVampireLanguage.g:6836:43: ( ( '\\r' )? '\\n' )? | 1821 | // InternalVampireLanguage.g:6866:43: ( ( '\\r' )? '\\n' )? |
1822 | int alt10=2; | 1822 | int alt10=2; |
1823 | int LA10_0 = input.LA(1); | 1823 | int LA10_0 = input.LA(1); |
1824 | 1824 | ||
@@ -1827,9 +1827,9 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1827 | } | 1827 | } |
1828 | switch (alt10) { | 1828 | switch (alt10) { |
1829 | case 1 : | 1829 | case 1 : |
1830 | // InternalVampireLanguage.g:6836:44: ( '\\r' )? '\\n' | 1830 | // InternalVampireLanguage.g:6866:44: ( '\\r' )? '\\n' |
1831 | { | 1831 | { |
1832 | // InternalVampireLanguage.g:6836:44: ( '\\r' )? | 1832 | // InternalVampireLanguage.g:6866:44: ( '\\r' )? |
1833 | int alt9=2; | 1833 | int alt9=2; |
1834 | int LA9_0 = input.LA(1); | 1834 | int LA9_0 = input.LA(1); |
1835 | 1835 | ||
@@ -1838,7 +1838,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1838 | } | 1838 | } |
1839 | switch (alt9) { | 1839 | switch (alt9) { |
1840 | case 1 : | 1840 | case 1 : |
1841 | // InternalVampireLanguage.g:6836:44: '\\r' | 1841 | // InternalVampireLanguage.g:6866:44: '\\r' |
1842 | { | 1842 | { |
1843 | match('\r'); | 1843 | match('\r'); |
1844 | 1844 | ||
@@ -1870,10 +1870,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1870 | try { | 1870 | try { |
1871 | int _type = RULE_ID; | 1871 | int _type = RULE_ID; |
1872 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1872 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1873 | // InternalVampireLanguage.g:6838:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 1873 | // InternalVampireLanguage.g:6868:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
1874 | // InternalVampireLanguage.g:6838:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 1874 | // InternalVampireLanguage.g:6868:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
1875 | { | 1875 | { |
1876 | // InternalVampireLanguage.g:6838:11: ( '^' )? | 1876 | // InternalVampireLanguage.g:6868:11: ( '^' )? |
1877 | int alt11=2; | 1877 | int alt11=2; |
1878 | int LA11_0 = input.LA(1); | 1878 | int LA11_0 = input.LA(1); |
1879 | 1879 | ||
@@ -1882,7 +1882,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1882 | } | 1882 | } |
1883 | switch (alt11) { | 1883 | switch (alt11) { |
1884 | case 1 : | 1884 | case 1 : |
1885 | // InternalVampireLanguage.g:6838:11: '^' | 1885 | // InternalVampireLanguage.g:6868:11: '^' |
1886 | { | 1886 | { |
1887 | match('^'); | 1887 | match('^'); |
1888 | 1888 | ||
@@ -1900,7 +1900,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1900 | recover(mse); | 1900 | recover(mse); |
1901 | throw mse;} | 1901 | throw mse;} |
1902 | 1902 | ||
1903 | // InternalVampireLanguage.g:6838:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 1903 | // InternalVampireLanguage.g:6868:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
1904 | loop12: | 1904 | loop12: |
1905 | do { | 1905 | do { |
1906 | int alt12=2; | 1906 | int alt12=2; |
@@ -1947,10 +1947,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1947 | // $ANTLR start "RULE_INT" | 1947 | // $ANTLR start "RULE_INT" |
1948 | public final void mRULE_INT() throws RecognitionException { | 1948 | public final void mRULE_INT() throws RecognitionException { |
1949 | try { | 1949 | try { |
1950 | // InternalVampireLanguage.g:6840:19: ( ( '0' .. '9' )+ ) | 1950 | // InternalVampireLanguage.g:6870:19: ( ( '0' .. '9' )+ ) |
1951 | // InternalVampireLanguage.g:6840:21: ( '0' .. '9' )+ | 1951 | // InternalVampireLanguage.g:6870:21: ( '0' .. '9' )+ |
1952 | { | 1952 | { |
1953 | // InternalVampireLanguage.g:6840:21: ( '0' .. '9' )+ | 1953 | // InternalVampireLanguage.g:6870:21: ( '0' .. '9' )+ |
1954 | int cnt13=0; | 1954 | int cnt13=0; |
1955 | loop13: | 1955 | loop13: |
1956 | do { | 1956 | do { |
@@ -1964,7 +1964,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1964 | 1964 | ||
1965 | switch (alt13) { | 1965 | switch (alt13) { |
1966 | case 1 : | 1966 | case 1 : |
1967 | // InternalVampireLanguage.g:6840:22: '0' .. '9' | 1967 | // InternalVampireLanguage.g:6870:22: '0' .. '9' |
1968 | { | 1968 | { |
1969 | matchRange('0','9'); | 1969 | matchRange('0','9'); |
1970 | 1970 | ||
@@ -1994,10 +1994,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1994 | try { | 1994 | try { |
1995 | int _type = RULE_STRING; | 1995 | int _type = RULE_STRING; |
1996 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1996 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1997 | // InternalVampireLanguage.g:6842:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1997 | // InternalVampireLanguage.g:6872:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
1998 | // InternalVampireLanguage.g:6842:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1998 | // InternalVampireLanguage.g:6872:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1999 | { | 1999 | { |
2000 | // InternalVampireLanguage.g:6842:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 2000 | // InternalVampireLanguage.g:6872:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
2001 | int alt16=2; | 2001 | int alt16=2; |
2002 | int LA16_0 = input.LA(1); | 2002 | int LA16_0 = input.LA(1); |
2003 | 2003 | ||
@@ -2015,10 +2015,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2015 | } | 2015 | } |
2016 | switch (alt16) { | 2016 | switch (alt16) { |
2017 | case 1 : | 2017 | case 1 : |
2018 | // InternalVampireLanguage.g:6842:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 2018 | // InternalVampireLanguage.g:6872:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
2019 | { | 2019 | { |
2020 | match('\"'); | 2020 | match('\"'); |
2021 | // InternalVampireLanguage.g:6842:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 2021 | // InternalVampireLanguage.g:6872:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
2022 | loop14: | 2022 | loop14: |
2023 | do { | 2023 | do { |
2024 | int alt14=3; | 2024 | int alt14=3; |
@@ -2034,7 +2034,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2034 | 2034 | ||
2035 | switch (alt14) { | 2035 | switch (alt14) { |
2036 | case 1 : | 2036 | case 1 : |
2037 | // InternalVampireLanguage.g:6842:21: '\\\\' . | 2037 | // InternalVampireLanguage.g:6872:21: '\\\\' . |
2038 | { | 2038 | { |
2039 | match('\\'); | 2039 | match('\\'); |
2040 | matchAny(); | 2040 | matchAny(); |
@@ -2042,7 +2042,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2042 | } | 2042 | } |
2043 | break; | 2043 | break; |
2044 | case 2 : | 2044 | case 2 : |
2045 | // InternalVampireLanguage.g:6842:28: ~ ( ( '\\\\' | '\"' ) ) | 2045 | // InternalVampireLanguage.g:6872:28: ~ ( ( '\\\\' | '\"' ) ) |
2046 | { | 2046 | { |
2047 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 2047 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
2048 | input.consume(); | 2048 | input.consume(); |
@@ -2067,10 +2067,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2067 | } | 2067 | } |
2068 | break; | 2068 | break; |
2069 | case 2 : | 2069 | case 2 : |
2070 | // InternalVampireLanguage.g:6842:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 2070 | // InternalVampireLanguage.g:6872:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
2071 | { | 2071 | { |
2072 | match('\''); | 2072 | match('\''); |
2073 | // InternalVampireLanguage.g:6842:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 2073 | // InternalVampireLanguage.g:6872:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
2074 | loop15: | 2074 | loop15: |
2075 | do { | 2075 | do { |
2076 | int alt15=3; | 2076 | int alt15=3; |
@@ -2086,7 +2086,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2086 | 2086 | ||
2087 | switch (alt15) { | 2087 | switch (alt15) { |
2088 | case 1 : | 2088 | case 1 : |
2089 | // InternalVampireLanguage.g:6842:54: '\\\\' . | 2089 | // InternalVampireLanguage.g:6872:54: '\\\\' . |
2090 | { | 2090 | { |
2091 | match('\\'); | 2091 | match('\\'); |
2092 | matchAny(); | 2092 | matchAny(); |
@@ -2094,7 +2094,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2094 | } | 2094 | } |
2095 | break; | 2095 | break; |
2096 | case 2 : | 2096 | case 2 : |
2097 | // InternalVampireLanguage.g:6842:61: ~ ( ( '\\\\' | '\\'' ) ) | 2097 | // InternalVampireLanguage.g:6872:61: ~ ( ( '\\\\' | '\\'' ) ) |
2098 | { | 2098 | { |
2099 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 2099 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
2100 | input.consume(); | 2100 | input.consume(); |
@@ -2137,12 +2137,12 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2137 | try { | 2137 | try { |
2138 | int _type = RULE_ML_COMMENT; | 2138 | int _type = RULE_ML_COMMENT; |
2139 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2139 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2140 | // InternalVampireLanguage.g:6844:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 2140 | // InternalVampireLanguage.g:6874:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
2141 | // InternalVampireLanguage.g:6844:19: '/*' ( options {greedy=false; } : . )* '*/' | 2141 | // InternalVampireLanguage.g:6874:19: '/*' ( options {greedy=false; } : . )* '*/' |
2142 | { | 2142 | { |
2143 | match("/*"); | 2143 | match("/*"); |
2144 | 2144 | ||
2145 | // InternalVampireLanguage.g:6844:24: ( options {greedy=false; } : . )* | 2145 | // InternalVampireLanguage.g:6874:24: ( options {greedy=false; } : . )* |
2146 | loop17: | 2146 | loop17: |
2147 | do { | 2147 | do { |
2148 | int alt17=2; | 2148 | int alt17=2; |
@@ -2167,7 +2167,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2167 | 2167 | ||
2168 | switch (alt17) { | 2168 | switch (alt17) { |
2169 | case 1 : | 2169 | case 1 : |
2170 | // InternalVampireLanguage.g:6844:52: . | 2170 | // InternalVampireLanguage.g:6874:52: . |
2171 | { | 2171 | { |
2172 | matchAny(); | 2172 | matchAny(); |
2173 | 2173 | ||
@@ -2197,12 +2197,12 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2197 | try { | 2197 | try { |
2198 | int _type = RULE_SL_COMMENT; | 2198 | int _type = RULE_SL_COMMENT; |
2199 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2199 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2200 | // InternalVampireLanguage.g:6846:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 2200 | // InternalVampireLanguage.g:6876:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
2201 | // InternalVampireLanguage.g:6846:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 2201 | // InternalVampireLanguage.g:6876:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
2202 | { | 2202 | { |
2203 | match("//"); | 2203 | match("//"); |
2204 | 2204 | ||
2205 | // InternalVampireLanguage.g:6846:24: (~ ( ( '\\n' | '\\r' ) ) )* | 2205 | // InternalVampireLanguage.g:6876:24: (~ ( ( '\\n' | '\\r' ) ) )* |
2206 | loop18: | 2206 | loop18: |
2207 | do { | 2207 | do { |
2208 | int alt18=2; | 2208 | int alt18=2; |
@@ -2215,7 +2215,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2215 | 2215 | ||
2216 | switch (alt18) { | 2216 | switch (alt18) { |
2217 | case 1 : | 2217 | case 1 : |
2218 | // InternalVampireLanguage.g:6846:24: ~ ( ( '\\n' | '\\r' ) ) | 2218 | // InternalVampireLanguage.g:6876:24: ~ ( ( '\\n' | '\\r' ) ) |
2219 | { | 2219 | { |
2220 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 2220 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
2221 | input.consume(); | 2221 | input.consume(); |
@@ -2235,7 +2235,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2235 | } | 2235 | } |
2236 | } while (true); | 2236 | } while (true); |
2237 | 2237 | ||
2238 | // InternalVampireLanguage.g:6846:40: ( ( '\\r' )? '\\n' )? | 2238 | // InternalVampireLanguage.g:6876:40: ( ( '\\r' )? '\\n' )? |
2239 | int alt20=2; | 2239 | int alt20=2; |
2240 | int LA20_0 = input.LA(1); | 2240 | int LA20_0 = input.LA(1); |
2241 | 2241 | ||
@@ -2244,9 +2244,9 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2244 | } | 2244 | } |
2245 | switch (alt20) { | 2245 | switch (alt20) { |
2246 | case 1 : | 2246 | case 1 : |
2247 | // InternalVampireLanguage.g:6846:41: ( '\\r' )? '\\n' | 2247 | // InternalVampireLanguage.g:6876:41: ( '\\r' )? '\\n' |
2248 | { | 2248 | { |
2249 | // InternalVampireLanguage.g:6846:41: ( '\\r' )? | 2249 | // InternalVampireLanguage.g:6876:41: ( '\\r' )? |
2250 | int alt19=2; | 2250 | int alt19=2; |
2251 | int LA19_0 = input.LA(1); | 2251 | int LA19_0 = input.LA(1); |
2252 | 2252 | ||
@@ -2255,7 +2255,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2255 | } | 2255 | } |
2256 | switch (alt19) { | 2256 | switch (alt19) { |
2257 | case 1 : | 2257 | case 1 : |
2258 | // InternalVampireLanguage.g:6846:41: '\\r' | 2258 | // InternalVampireLanguage.g:6876:41: '\\r' |
2259 | { | 2259 | { |
2260 | match('\r'); | 2260 | match('\r'); |
2261 | 2261 | ||
@@ -2287,10 +2287,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2287 | try { | 2287 | try { |
2288 | int _type = RULE_WS; | 2288 | int _type = RULE_WS; |
2289 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2289 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2290 | // InternalVampireLanguage.g:6848:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 2290 | // InternalVampireLanguage.g:6878:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
2291 | // InternalVampireLanguage.g:6848:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 2291 | // InternalVampireLanguage.g:6878:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
2292 | { | 2292 | { |
2293 | // InternalVampireLanguage.g:6848:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 2293 | // InternalVampireLanguage.g:6878:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
2294 | int cnt21=0; | 2294 | int cnt21=0; |
2295 | loop21: | 2295 | loop21: |
2296 | do { | 2296 | do { |
@@ -2344,8 +2344,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2344 | try { | 2344 | try { |
2345 | int _type = RULE_ANY_OTHER; | 2345 | int _type = RULE_ANY_OTHER; |
2346 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2346 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2347 | // InternalVampireLanguage.g:6850:16: ( . ) | 2347 | // InternalVampireLanguage.g:6880:16: ( . ) |
2348 | // InternalVampireLanguage.g:6850:18: . | 2348 | // InternalVampireLanguage.g:6880:18: . |
2349 | { | 2349 | { |
2350 | matchAny(); | 2350 | matchAny(); |
2351 | 2351 | ||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageParser.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageParser.java index fefa9ff7..38a7d70f 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageParser.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ide/src-gen/ca/mcgill/ecse/dslreasoner/ide/contentassist/antlr/internal/InternalVampireLanguageParser.java | |||
@@ -4414,12 +4414,12 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
4414 | if ( (LA16_0==RULE_UPPER_WORD_ID) ) { | 4414 | if ( (LA16_0==RULE_UPPER_WORD_ID) ) { |
4415 | int LA16_1 = input.LA(2); | 4415 | int LA16_1 = input.LA(2); |
4416 | 4416 | ||
4417 | if ( (LA16_1==50||LA16_1==56) ) { | 4417 | if ( (LA16_1==61) ) { |
4418 | alt16=1; | ||
4419 | } | ||
4420 | else if ( (LA16_1==61) ) { | ||
4421 | alt16=2; | 4418 | alt16=2; |
4422 | } | 4419 | } |
4420 | else if ( (LA16_1==50||LA16_1==56) ) { | ||
4421 | alt16=1; | ||
4422 | } | ||
4423 | else { | 4423 | else { |
4424 | NoViableAltException nvae = | 4424 | NoViableAltException nvae = |
4425 | new NoViableAltException("", 16, 1, input); | 4425 | new NoViableAltException("", 16, 1, input); |
@@ -10357,25 +10357,31 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
10357 | 10357 | ||
10358 | 10358 | ||
10359 | // $ANTLR start "rule__VLSOtherDeclaration__Group__0__Impl" | 10359 | // $ANTLR start "rule__VLSOtherDeclaration__Group__0__Impl" |
10360 | // InternalVampireLanguage.g:3188:1: rule__VLSOtherDeclaration__Group__0__Impl : ( ruleVLSAtomicConstant ) ; | 10360 | // InternalVampireLanguage.g:3188:1: rule__VLSOtherDeclaration__Group__0__Impl : ( ( rule__VLSOtherDeclaration__NameAssignment_0 ) ) ; |
10361 | public final void rule__VLSOtherDeclaration__Group__0__Impl() throws RecognitionException { | 10361 | public final void rule__VLSOtherDeclaration__Group__0__Impl() throws RecognitionException { |
10362 | 10362 | ||
10363 | int stackSize = keepStackSize(); | 10363 | int stackSize = keepStackSize(); |
10364 | 10364 | ||
10365 | try { | 10365 | try { |
10366 | // InternalVampireLanguage.g:3192:1: ( ( ruleVLSAtomicConstant ) ) | 10366 | // InternalVampireLanguage.g:3192:1: ( ( ( rule__VLSOtherDeclaration__NameAssignment_0 ) ) ) |
10367 | // InternalVampireLanguage.g:3193:1: ( ruleVLSAtomicConstant ) | 10367 | // InternalVampireLanguage.g:3193:1: ( ( rule__VLSOtherDeclaration__NameAssignment_0 ) ) |
10368 | { | 10368 | { |
10369 | // InternalVampireLanguage.g:3193:1: ( ruleVLSAtomicConstant ) | 10369 | // InternalVampireLanguage.g:3193:1: ( ( rule__VLSOtherDeclaration__NameAssignment_0 ) ) |
10370 | // InternalVampireLanguage.g:3194:2: ruleVLSAtomicConstant | 10370 | // InternalVampireLanguage.g:3194:2: ( rule__VLSOtherDeclaration__NameAssignment_0 ) |
10371 | { | ||
10372 | before(grammarAccess.getVLSOtherDeclarationAccess().getNameAssignment_0()); | ||
10373 | // InternalVampireLanguage.g:3195:2: ( rule__VLSOtherDeclaration__NameAssignment_0 ) | ||
10374 | // InternalVampireLanguage.g:3195:3: rule__VLSOtherDeclaration__NameAssignment_0 | ||
10371 | { | 10375 | { |
10372 | before(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); | ||
10373 | pushFollow(FOLLOW_2); | 10376 | pushFollow(FOLLOW_2); |
10374 | ruleVLSAtomicConstant(); | 10377 | rule__VLSOtherDeclaration__NameAssignment_0(); |
10375 | 10378 | ||
10376 | state._fsp--; | 10379 | state._fsp--; |
10377 | 10380 | ||
10378 | after(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); | 10381 | |
10382 | } | ||
10383 | |||
10384 | after(grammarAccess.getVLSOtherDeclarationAccess().getNameAssignment_0()); | ||
10379 | 10385 | ||
10380 | } | 10386 | } |
10381 | 10387 | ||
@@ -10591,25 +10597,31 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
10591 | 10597 | ||
10592 | 10598 | ||
10593 | // $ANTLR start "rule__VLSVariableDeclaration__Group__0__Impl" | 10599 | // $ANTLR start "rule__VLSVariableDeclaration__Group__0__Impl" |
10594 | // InternalVampireLanguage.g:3269:1: rule__VLSVariableDeclaration__Group__0__Impl : ( ruleVLSVariable ) ; | 10600 | // InternalVampireLanguage.g:3269:1: rule__VLSVariableDeclaration__Group__0__Impl : ( ( rule__VLSVariableDeclaration__NameAssignment_0 ) ) ; |
10595 | public final void rule__VLSVariableDeclaration__Group__0__Impl() throws RecognitionException { | 10601 | public final void rule__VLSVariableDeclaration__Group__0__Impl() throws RecognitionException { |
10596 | 10602 | ||
10597 | int stackSize = keepStackSize(); | 10603 | int stackSize = keepStackSize(); |
10598 | 10604 | ||
10599 | try { | 10605 | try { |
10600 | // InternalVampireLanguage.g:3273:1: ( ( ruleVLSVariable ) ) | 10606 | // InternalVampireLanguage.g:3273:1: ( ( ( rule__VLSVariableDeclaration__NameAssignment_0 ) ) ) |
10601 | // InternalVampireLanguage.g:3274:1: ( ruleVLSVariable ) | 10607 | // InternalVampireLanguage.g:3274:1: ( ( rule__VLSVariableDeclaration__NameAssignment_0 ) ) |
10608 | { | ||
10609 | // InternalVampireLanguage.g:3274:1: ( ( rule__VLSVariableDeclaration__NameAssignment_0 ) ) | ||
10610 | // InternalVampireLanguage.g:3275:2: ( rule__VLSVariableDeclaration__NameAssignment_0 ) | ||
10602 | { | 10611 | { |
10603 | // InternalVampireLanguage.g:3274:1: ( ruleVLSVariable ) | 10612 | before(grammarAccess.getVLSVariableDeclarationAccess().getNameAssignment_0()); |
10604 | // InternalVampireLanguage.g:3275:2: ruleVLSVariable | 10613 | // InternalVampireLanguage.g:3276:2: ( rule__VLSVariableDeclaration__NameAssignment_0 ) |
10614 | // InternalVampireLanguage.g:3276:3: rule__VLSVariableDeclaration__NameAssignment_0 | ||
10605 | { | 10615 | { |
10606 | before(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); | ||
10607 | pushFollow(FOLLOW_2); | 10616 | pushFollow(FOLLOW_2); |
10608 | ruleVLSVariable(); | 10617 | rule__VLSVariableDeclaration__NameAssignment_0(); |
10609 | 10618 | ||
10610 | state._fsp--; | 10619 | state._fsp--; |
10611 | 10620 | ||
10612 | after(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); | 10621 | |
10622 | } | ||
10623 | |||
10624 | after(grammarAccess.getVLSVariableDeclarationAccess().getNameAssignment_0()); | ||
10613 | 10625 | ||
10614 | } | 10626 | } |
10615 | 10627 | ||
@@ -19539,18 +19551,59 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19539 | // $ANTLR end "rule__VLSAnnotationTerms__TermsAssignment_1_1" | 19551 | // $ANTLR end "rule__VLSAnnotationTerms__TermsAssignment_1_1" |
19540 | 19552 | ||
19541 | 19553 | ||
19554 | // $ANTLR start "rule__VLSOtherDeclaration__NameAssignment_0" | ||
19555 | // InternalVampireLanguage.g:6362:1: rule__VLSOtherDeclaration__NameAssignment_0 : ( ruleVLSAtomicConstant ) ; | ||
19556 | public final void rule__VLSOtherDeclaration__NameAssignment_0() throws RecognitionException { | ||
19557 | |||
19558 | int stackSize = keepStackSize(); | ||
19559 | |||
19560 | try { | ||
19561 | // InternalVampireLanguage.g:6366:1: ( ( ruleVLSAtomicConstant ) ) | ||
19562 | // InternalVampireLanguage.g:6367:2: ( ruleVLSAtomicConstant ) | ||
19563 | { | ||
19564 | // InternalVampireLanguage.g:6367:2: ( ruleVLSAtomicConstant ) | ||
19565 | // InternalVampireLanguage.g:6368:3: ruleVLSAtomicConstant | ||
19566 | { | ||
19567 | before(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); | ||
19568 | pushFollow(FOLLOW_2); | ||
19569 | ruleVLSAtomicConstant(); | ||
19570 | |||
19571 | state._fsp--; | ||
19572 | |||
19573 | after(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); | ||
19574 | |||
19575 | } | ||
19576 | |||
19577 | |||
19578 | } | ||
19579 | |||
19580 | } | ||
19581 | catch (RecognitionException re) { | ||
19582 | reportError(re); | ||
19583 | recover(input,re); | ||
19584 | } | ||
19585 | finally { | ||
19586 | |||
19587 | restoreStackSize(stackSize); | ||
19588 | |||
19589 | } | ||
19590 | return ; | ||
19591 | } | ||
19592 | // $ANTLR end "rule__VLSOtherDeclaration__NameAssignment_0" | ||
19593 | |||
19594 | |||
19542 | // $ANTLR start "rule__VLSOtherDeclaration__TypeAssignment_2" | 19595 | // $ANTLR start "rule__VLSOtherDeclaration__TypeAssignment_2" |
19543 | // InternalVampireLanguage.g:6362:1: rule__VLSOtherDeclaration__TypeAssignment_2 : ( ruleVLSTypeDef ) ; | 19596 | // InternalVampireLanguage.g:6377:1: rule__VLSOtherDeclaration__TypeAssignment_2 : ( ruleVLSTypeDef ) ; |
19544 | public final void rule__VLSOtherDeclaration__TypeAssignment_2() throws RecognitionException { | 19597 | public final void rule__VLSOtherDeclaration__TypeAssignment_2() throws RecognitionException { |
19545 | 19598 | ||
19546 | int stackSize = keepStackSize(); | 19599 | int stackSize = keepStackSize(); |
19547 | 19600 | ||
19548 | try { | 19601 | try { |
19549 | // InternalVampireLanguage.g:6366:1: ( ( ruleVLSTypeDef ) ) | 19602 | // InternalVampireLanguage.g:6381:1: ( ( ruleVLSTypeDef ) ) |
19550 | // InternalVampireLanguage.g:6367:2: ( ruleVLSTypeDef ) | 19603 | // InternalVampireLanguage.g:6382:2: ( ruleVLSTypeDef ) |
19551 | { | 19604 | { |
19552 | // InternalVampireLanguage.g:6367:2: ( ruleVLSTypeDef ) | 19605 | // InternalVampireLanguage.g:6382:2: ( ruleVLSTypeDef ) |
19553 | // InternalVampireLanguage.g:6368:3: ruleVLSTypeDef | 19606 | // InternalVampireLanguage.g:6383:3: ruleVLSTypeDef |
19554 | { | 19607 | { |
19555 | before(grammarAccess.getVLSOtherDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); | 19608 | before(grammarAccess.getVLSOtherDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); |
19556 | pushFollow(FOLLOW_2); | 19609 | pushFollow(FOLLOW_2); |
@@ -19580,18 +19633,59 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19580 | // $ANTLR end "rule__VLSOtherDeclaration__TypeAssignment_2" | 19633 | // $ANTLR end "rule__VLSOtherDeclaration__TypeAssignment_2" |
19581 | 19634 | ||
19582 | 19635 | ||
19636 | // $ANTLR start "rule__VLSVariableDeclaration__NameAssignment_0" | ||
19637 | // InternalVampireLanguage.g:6392:1: rule__VLSVariableDeclaration__NameAssignment_0 : ( ruleVLSVariable ) ; | ||
19638 | public final void rule__VLSVariableDeclaration__NameAssignment_0() throws RecognitionException { | ||
19639 | |||
19640 | int stackSize = keepStackSize(); | ||
19641 | |||
19642 | try { | ||
19643 | // InternalVampireLanguage.g:6396:1: ( ( ruleVLSVariable ) ) | ||
19644 | // InternalVampireLanguage.g:6397:2: ( ruleVLSVariable ) | ||
19645 | { | ||
19646 | // InternalVampireLanguage.g:6397:2: ( ruleVLSVariable ) | ||
19647 | // InternalVampireLanguage.g:6398:3: ruleVLSVariable | ||
19648 | { | ||
19649 | before(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); | ||
19650 | pushFollow(FOLLOW_2); | ||
19651 | ruleVLSVariable(); | ||
19652 | |||
19653 | state._fsp--; | ||
19654 | |||
19655 | after(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); | ||
19656 | |||
19657 | } | ||
19658 | |||
19659 | |||
19660 | } | ||
19661 | |||
19662 | } | ||
19663 | catch (RecognitionException re) { | ||
19664 | reportError(re); | ||
19665 | recover(input,re); | ||
19666 | } | ||
19667 | finally { | ||
19668 | |||
19669 | restoreStackSize(stackSize); | ||
19670 | |||
19671 | } | ||
19672 | return ; | ||
19673 | } | ||
19674 | // $ANTLR end "rule__VLSVariableDeclaration__NameAssignment_0" | ||
19675 | |||
19676 | |||
19583 | // $ANTLR start "rule__VLSVariableDeclaration__TypeAssignment_2" | 19677 | // $ANTLR start "rule__VLSVariableDeclaration__TypeAssignment_2" |
19584 | // InternalVampireLanguage.g:6377:1: rule__VLSVariableDeclaration__TypeAssignment_2 : ( ruleVLSTypeDef ) ; | 19678 | // InternalVampireLanguage.g:6407:1: rule__VLSVariableDeclaration__TypeAssignment_2 : ( ruleVLSTypeDef ) ; |
19585 | public final void rule__VLSVariableDeclaration__TypeAssignment_2() throws RecognitionException { | 19679 | public final void rule__VLSVariableDeclaration__TypeAssignment_2() throws RecognitionException { |
19586 | 19680 | ||
19587 | int stackSize = keepStackSize(); | 19681 | int stackSize = keepStackSize(); |
19588 | 19682 | ||
19589 | try { | 19683 | try { |
19590 | // InternalVampireLanguage.g:6381:1: ( ( ruleVLSTypeDef ) ) | 19684 | // InternalVampireLanguage.g:6411:1: ( ( ruleVLSTypeDef ) ) |
19591 | // InternalVampireLanguage.g:6382:2: ( ruleVLSTypeDef ) | 19685 | // InternalVampireLanguage.g:6412:2: ( ruleVLSTypeDef ) |
19592 | { | 19686 | { |
19593 | // InternalVampireLanguage.g:6382:2: ( ruleVLSTypeDef ) | 19687 | // InternalVampireLanguage.g:6412:2: ( ruleVLSTypeDef ) |
19594 | // InternalVampireLanguage.g:6383:3: ruleVLSTypeDef | 19688 | // InternalVampireLanguage.g:6413:3: ruleVLSTypeDef |
19595 | { | 19689 | { |
19596 | before(grammarAccess.getVLSVariableDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); | 19690 | before(grammarAccess.getVLSVariableDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); |
19597 | pushFollow(FOLLOW_2); | 19691 | pushFollow(FOLLOW_2); |
@@ -19622,17 +19716,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19622 | 19716 | ||
19623 | 19717 | ||
19624 | // $ANTLR start "rule__VLSTypeDef__TypeSigAssignment_0" | 19718 | // $ANTLR start "rule__VLSTypeDef__TypeSigAssignment_0" |
19625 | // InternalVampireLanguage.g:6392:1: rule__VLSTypeDef__TypeSigAssignment_0 : ( ruleVLSUnitaryTerm ) ; | 19719 | // InternalVampireLanguage.g:6422:1: rule__VLSTypeDef__TypeSigAssignment_0 : ( ruleVLSUnitaryTerm ) ; |
19626 | public final void rule__VLSTypeDef__TypeSigAssignment_0() throws RecognitionException { | 19720 | public final void rule__VLSTypeDef__TypeSigAssignment_0() throws RecognitionException { |
19627 | 19721 | ||
19628 | int stackSize = keepStackSize(); | 19722 | int stackSize = keepStackSize(); |
19629 | 19723 | ||
19630 | try { | 19724 | try { |
19631 | // InternalVampireLanguage.g:6396:1: ( ( ruleVLSUnitaryTerm ) ) | 19725 | // InternalVampireLanguage.g:6426:1: ( ( ruleVLSUnitaryTerm ) ) |
19632 | // InternalVampireLanguage.g:6397:2: ( ruleVLSUnitaryTerm ) | 19726 | // InternalVampireLanguage.g:6427:2: ( ruleVLSUnitaryTerm ) |
19633 | { | 19727 | { |
19634 | // InternalVampireLanguage.g:6397:2: ( ruleVLSUnitaryTerm ) | 19728 | // InternalVampireLanguage.g:6427:2: ( ruleVLSUnitaryTerm ) |
19635 | // InternalVampireLanguage.g:6398:3: ruleVLSUnitaryTerm | 19729 | // InternalVampireLanguage.g:6428:3: ruleVLSUnitaryTerm |
19636 | { | 19730 | { |
19637 | before(grammarAccess.getVLSTypeDefAccess().getTypeSigVLSUnitaryTermParserRuleCall_0_0()); | 19731 | before(grammarAccess.getVLSTypeDefAccess().getTypeSigVLSUnitaryTermParserRuleCall_0_0()); |
19638 | pushFollow(FOLLOW_2); | 19732 | pushFollow(FOLLOW_2); |
@@ -19663,17 +19757,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19663 | 19757 | ||
19664 | 19758 | ||
19665 | // $ANTLR start "rule__VLSTypeDef__MapsToAssignment_1_1" | 19759 | // $ANTLR start "rule__VLSTypeDef__MapsToAssignment_1_1" |
19666 | // InternalVampireLanguage.g:6407:1: rule__VLSTypeDef__MapsToAssignment_1_1 : ( ruleVLSAtomicConstant ) ; | 19760 | // InternalVampireLanguage.g:6437:1: rule__VLSTypeDef__MapsToAssignment_1_1 : ( ruleVLSAtomicConstant ) ; |
19667 | public final void rule__VLSTypeDef__MapsToAssignment_1_1() throws RecognitionException { | 19761 | public final void rule__VLSTypeDef__MapsToAssignment_1_1() throws RecognitionException { |
19668 | 19762 | ||
19669 | int stackSize = keepStackSize(); | 19763 | int stackSize = keepStackSize(); |
19670 | 19764 | ||
19671 | try { | 19765 | try { |
19672 | // InternalVampireLanguage.g:6411:1: ( ( ruleVLSAtomicConstant ) ) | 19766 | // InternalVampireLanguage.g:6441:1: ( ( ruleVLSAtomicConstant ) ) |
19673 | // InternalVampireLanguage.g:6412:2: ( ruleVLSAtomicConstant ) | 19767 | // InternalVampireLanguage.g:6442:2: ( ruleVLSAtomicConstant ) |
19674 | { | 19768 | { |
19675 | // InternalVampireLanguage.g:6412:2: ( ruleVLSAtomicConstant ) | 19769 | // InternalVampireLanguage.g:6442:2: ( ruleVLSAtomicConstant ) |
19676 | // InternalVampireLanguage.g:6413:3: ruleVLSAtomicConstant | 19770 | // InternalVampireLanguage.g:6443:3: ruleVLSAtomicConstant |
19677 | { | 19771 | { |
19678 | before(grammarAccess.getVLSTypeDefAccess().getMapsToVLSAtomicConstantParserRuleCall_1_1_0()); | 19772 | before(grammarAccess.getVLSTypeDefAccess().getMapsToVLSAtomicConstantParserRuleCall_1_1_0()); |
19679 | pushFollow(FOLLOW_2); | 19773 | pushFollow(FOLLOW_2); |
@@ -19704,17 +19798,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19704 | 19798 | ||
19705 | 19799 | ||
19706 | // $ANTLR start "rule__VLSUnitaryTerm__InitTypeAssignment_0" | 19800 | // $ANTLR start "rule__VLSUnitaryTerm__InitTypeAssignment_0" |
19707 | // InternalVampireLanguage.g:6422:1: rule__VLSUnitaryTerm__InitTypeAssignment_0 : ( ruleVLSAtomic ) ; | 19801 | // InternalVampireLanguage.g:6452:1: rule__VLSUnitaryTerm__InitTypeAssignment_0 : ( ruleVLSAtomic ) ; |
19708 | public final void rule__VLSUnitaryTerm__InitTypeAssignment_0() throws RecognitionException { | 19802 | public final void rule__VLSUnitaryTerm__InitTypeAssignment_0() throws RecognitionException { |
19709 | 19803 | ||
19710 | int stackSize = keepStackSize(); | 19804 | int stackSize = keepStackSize(); |
19711 | 19805 | ||
19712 | try { | 19806 | try { |
19713 | // InternalVampireLanguage.g:6426:1: ( ( ruleVLSAtomic ) ) | 19807 | // InternalVampireLanguage.g:6456:1: ( ( ruleVLSAtomic ) ) |
19714 | // InternalVampireLanguage.g:6427:2: ( ruleVLSAtomic ) | 19808 | // InternalVampireLanguage.g:6457:2: ( ruleVLSAtomic ) |
19715 | { | 19809 | { |
19716 | // InternalVampireLanguage.g:6427:2: ( ruleVLSAtomic ) | 19810 | // InternalVampireLanguage.g:6457:2: ( ruleVLSAtomic ) |
19717 | // InternalVampireLanguage.g:6428:3: ruleVLSAtomic | 19811 | // InternalVampireLanguage.g:6458:3: ruleVLSAtomic |
19718 | { | 19812 | { |
19719 | before(grammarAccess.getVLSUnitaryTermAccess().getInitTypeVLSAtomicParserRuleCall_0_0()); | 19813 | before(grammarAccess.getVLSUnitaryTermAccess().getInitTypeVLSAtomicParserRuleCall_0_0()); |
19720 | pushFollow(FOLLOW_2); | 19814 | pushFollow(FOLLOW_2); |
@@ -19745,17 +19839,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19745 | 19839 | ||
19746 | 19840 | ||
19747 | // $ANTLR start "rule__VLSUnitaryTerm__NextTypeAssignment_1_1" | 19841 | // $ANTLR start "rule__VLSUnitaryTerm__NextTypeAssignment_1_1" |
19748 | // InternalVampireLanguage.g:6437:1: rule__VLSUnitaryTerm__NextTypeAssignment_1_1 : ( ruleVLSAtomicConstant ) ; | 19842 | // InternalVampireLanguage.g:6467:1: rule__VLSUnitaryTerm__NextTypeAssignment_1_1 : ( ruleVLSAtomicConstant ) ; |
19749 | public final void rule__VLSUnitaryTerm__NextTypeAssignment_1_1() throws RecognitionException { | 19843 | public final void rule__VLSUnitaryTerm__NextTypeAssignment_1_1() throws RecognitionException { |
19750 | 19844 | ||
19751 | int stackSize = keepStackSize(); | 19845 | int stackSize = keepStackSize(); |
19752 | 19846 | ||
19753 | try { | 19847 | try { |
19754 | // InternalVampireLanguage.g:6441:1: ( ( ruleVLSAtomicConstant ) ) | 19848 | // InternalVampireLanguage.g:6471:1: ( ( ruleVLSAtomicConstant ) ) |
19755 | // InternalVampireLanguage.g:6442:2: ( ruleVLSAtomicConstant ) | 19849 | // InternalVampireLanguage.g:6472:2: ( ruleVLSAtomicConstant ) |
19756 | { | 19850 | { |
19757 | // InternalVampireLanguage.g:6442:2: ( ruleVLSAtomicConstant ) | 19851 | // InternalVampireLanguage.g:6472:2: ( ruleVLSAtomicConstant ) |
19758 | // InternalVampireLanguage.g:6443:3: ruleVLSAtomicConstant | 19852 | // InternalVampireLanguage.g:6473:3: ruleVLSAtomicConstant |
19759 | { | 19853 | { |
19760 | before(grammarAccess.getVLSUnitaryTermAccess().getNextTypeVLSAtomicConstantParserRuleCall_1_1_0()); | 19854 | before(grammarAccess.getVLSUnitaryTermAccess().getNextTypeVLSAtomicConstantParserRuleCall_1_1_0()); |
19761 | pushFollow(FOLLOW_2); | 19855 | pushFollow(FOLLOW_2); |
@@ -19786,17 +19880,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19786 | 19880 | ||
19787 | 19881 | ||
19788 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_0_1" | 19882 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_0_1" |
19789 | // InternalVampireLanguage.g:6452:1: rule__VLSBinary__RightAssignment_1_0_1 : ( ruleVLSUnitaryFormula ) ; | 19883 | // InternalVampireLanguage.g:6482:1: rule__VLSBinary__RightAssignment_1_0_1 : ( ruleVLSUnitaryFormula ) ; |
19790 | public final void rule__VLSBinary__RightAssignment_1_0_1() throws RecognitionException { | 19884 | public final void rule__VLSBinary__RightAssignment_1_0_1() throws RecognitionException { |
19791 | 19885 | ||
19792 | int stackSize = keepStackSize(); | 19886 | int stackSize = keepStackSize(); |
19793 | 19887 | ||
19794 | try { | 19888 | try { |
19795 | // InternalVampireLanguage.g:6456:1: ( ( ruleVLSUnitaryFormula ) ) | 19889 | // InternalVampireLanguage.g:6486:1: ( ( ruleVLSUnitaryFormula ) ) |
19796 | // InternalVampireLanguage.g:6457:2: ( ruleVLSUnitaryFormula ) | 19890 | // InternalVampireLanguage.g:6487:2: ( ruleVLSUnitaryFormula ) |
19797 | { | 19891 | { |
19798 | // InternalVampireLanguage.g:6457:2: ( ruleVLSUnitaryFormula ) | 19892 | // InternalVampireLanguage.g:6487:2: ( ruleVLSUnitaryFormula ) |
19799 | // InternalVampireLanguage.g:6458:3: ruleVLSUnitaryFormula | 19893 | // InternalVampireLanguage.g:6488:3: ruleVLSUnitaryFormula |
19800 | { | 19894 | { |
19801 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_0_1_0()); | 19895 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_0_1_0()); |
19802 | pushFollow(FOLLOW_2); | 19896 | pushFollow(FOLLOW_2); |
@@ -19827,17 +19921,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19827 | 19921 | ||
19828 | 19922 | ||
19829 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_1_2" | 19923 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_1_2" |
19830 | // InternalVampireLanguage.g:6467:1: rule__VLSBinary__RightAssignment_1_1_2 : ( ruleVLSUnitaryFormula ) ; | 19924 | // InternalVampireLanguage.g:6497:1: rule__VLSBinary__RightAssignment_1_1_2 : ( ruleVLSUnitaryFormula ) ; |
19831 | public final void rule__VLSBinary__RightAssignment_1_1_2() throws RecognitionException { | 19925 | public final void rule__VLSBinary__RightAssignment_1_1_2() throws RecognitionException { |
19832 | 19926 | ||
19833 | int stackSize = keepStackSize(); | 19927 | int stackSize = keepStackSize(); |
19834 | 19928 | ||
19835 | try { | 19929 | try { |
19836 | // InternalVampireLanguage.g:6471:1: ( ( ruleVLSUnitaryFormula ) ) | 19930 | // InternalVampireLanguage.g:6501:1: ( ( ruleVLSUnitaryFormula ) ) |
19837 | // InternalVampireLanguage.g:6472:2: ( ruleVLSUnitaryFormula ) | 19931 | // InternalVampireLanguage.g:6502:2: ( ruleVLSUnitaryFormula ) |
19838 | { | 19932 | { |
19839 | // InternalVampireLanguage.g:6472:2: ( ruleVLSUnitaryFormula ) | 19933 | // InternalVampireLanguage.g:6502:2: ( ruleVLSUnitaryFormula ) |
19840 | // InternalVampireLanguage.g:6473:3: ruleVLSUnitaryFormula | 19934 | // InternalVampireLanguage.g:6503:3: ruleVLSUnitaryFormula |
19841 | { | 19935 | { |
19842 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_1_2_0()); | 19936 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_1_2_0()); |
19843 | pushFollow(FOLLOW_2); | 19937 | pushFollow(FOLLOW_2); |
@@ -19868,17 +19962,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19868 | 19962 | ||
19869 | 19963 | ||
19870 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_2_2" | 19964 | // $ANTLR start "rule__VLSBinary__RightAssignment_1_2_2" |
19871 | // InternalVampireLanguage.g:6482:1: rule__VLSBinary__RightAssignment_1_2_2 : ( ruleVLSUnitaryFormula ) ; | 19965 | // InternalVampireLanguage.g:6512:1: rule__VLSBinary__RightAssignment_1_2_2 : ( ruleVLSUnitaryFormula ) ; |
19872 | public final void rule__VLSBinary__RightAssignment_1_2_2() throws RecognitionException { | 19966 | public final void rule__VLSBinary__RightAssignment_1_2_2() throws RecognitionException { |
19873 | 19967 | ||
19874 | int stackSize = keepStackSize(); | 19968 | int stackSize = keepStackSize(); |
19875 | 19969 | ||
19876 | try { | 19970 | try { |
19877 | // InternalVampireLanguage.g:6486:1: ( ( ruleVLSUnitaryFormula ) ) | 19971 | // InternalVampireLanguage.g:6516:1: ( ( ruleVLSUnitaryFormula ) ) |
19878 | // InternalVampireLanguage.g:6487:2: ( ruleVLSUnitaryFormula ) | 19972 | // InternalVampireLanguage.g:6517:2: ( ruleVLSUnitaryFormula ) |
19879 | { | 19973 | { |
19880 | // InternalVampireLanguage.g:6487:2: ( ruleVLSUnitaryFormula ) | 19974 | // InternalVampireLanguage.g:6517:2: ( ruleVLSUnitaryFormula ) |
19881 | // InternalVampireLanguage.g:6488:3: ruleVLSUnitaryFormula | 19975 | // InternalVampireLanguage.g:6518:3: ruleVLSUnitaryFormula |
19882 | { | 19976 | { |
19883 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_2_2_0()); | 19977 | before(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_2_2_0()); |
19884 | pushFollow(FOLLOW_2); | 19978 | pushFollow(FOLLOW_2); |
@@ -19909,21 +20003,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19909 | 20003 | ||
19910 | 20004 | ||
19911 | // $ANTLR start "rule__VLSUniversalQuantifier__VariablesAssignment_1_2" | 20005 | // $ANTLR start "rule__VLSUniversalQuantifier__VariablesAssignment_1_2" |
19912 | // InternalVampireLanguage.g:6497:1: rule__VLSUniversalQuantifier__VariablesAssignment_1_2 : ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) ; | 20006 | // InternalVampireLanguage.g:6527:1: rule__VLSUniversalQuantifier__VariablesAssignment_1_2 : ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) ; |
19913 | public final void rule__VLSUniversalQuantifier__VariablesAssignment_1_2() throws RecognitionException { | 20007 | public final void rule__VLSUniversalQuantifier__VariablesAssignment_1_2() throws RecognitionException { |
19914 | 20008 | ||
19915 | int stackSize = keepStackSize(); | 20009 | int stackSize = keepStackSize(); |
19916 | 20010 | ||
19917 | try { | 20011 | try { |
19918 | // InternalVampireLanguage.g:6501:1: ( ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) ) | 20012 | // InternalVampireLanguage.g:6531:1: ( ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) ) |
19919 | // InternalVampireLanguage.g:6502:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) | 20013 | // InternalVampireLanguage.g:6532:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) |
19920 | { | 20014 | { |
19921 | // InternalVampireLanguage.g:6502:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) | 20015 | // InternalVampireLanguage.g:6532:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) ) |
19922 | // InternalVampireLanguage.g:6503:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) | 20016 | // InternalVampireLanguage.g:6533:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) |
19923 | { | 20017 | { |
19924 | before(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesAlternatives_1_2_0()); | 20018 | before(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesAlternatives_1_2_0()); |
19925 | // InternalVampireLanguage.g:6504:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) | 20019 | // InternalVampireLanguage.g:6534:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 ) |
19926 | // InternalVampireLanguage.g:6504:4: rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 | 20020 | // InternalVampireLanguage.g:6534:4: rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0 |
19927 | { | 20021 | { |
19928 | pushFollow(FOLLOW_2); | 20022 | pushFollow(FOLLOW_2); |
19929 | rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0(); | 20023 | rule__VLSUniversalQuantifier__VariablesAlternatives_1_2_0(); |
@@ -19956,21 +20050,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
19956 | 20050 | ||
19957 | 20051 | ||
19958 | // $ANTLR start "rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1" | 20052 | // $ANTLR start "rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1" |
19959 | // InternalVampireLanguage.g:6512:1: rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1 : ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) ; | 20053 | // InternalVampireLanguage.g:6542:1: rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1 : ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) ; |
19960 | public final void rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1() throws RecognitionException { | 20054 | public final void rule__VLSUniversalQuantifier__VariablesAssignment_1_3_1() throws RecognitionException { |
19961 | 20055 | ||
19962 | int stackSize = keepStackSize(); | 20056 | int stackSize = keepStackSize(); |
19963 | 20057 | ||
19964 | try { | 20058 | try { |
19965 | // InternalVampireLanguage.g:6516:1: ( ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) ) | 20059 | // InternalVampireLanguage.g:6546:1: ( ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) ) |
19966 | // InternalVampireLanguage.g:6517:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) | 20060 | // InternalVampireLanguage.g:6547:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) |
19967 | { | 20061 | { |
19968 | // InternalVampireLanguage.g:6517:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) | 20062 | // InternalVampireLanguage.g:6547:2: ( ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) ) |
19969 | // InternalVampireLanguage.g:6518:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) | 20063 | // InternalVampireLanguage.g:6548:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) |
19970 | { | 20064 | { |
19971 | before(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesAlternatives_1_3_1_0()); | 20065 | before(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesAlternatives_1_3_1_0()); |
19972 | // InternalVampireLanguage.g:6519:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) | 20066 | // InternalVampireLanguage.g:6549:3: ( rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 ) |
19973 | // InternalVampireLanguage.g:6519:4: rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 | 20067 | // InternalVampireLanguage.g:6549:4: rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0 |
19974 | { | 20068 | { |
19975 | pushFollow(FOLLOW_2); | 20069 | pushFollow(FOLLOW_2); |
19976 | rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0(); | 20070 | rule__VLSUniversalQuantifier__VariablesAlternatives_1_3_1_0(); |
@@ -20003,17 +20097,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20003 | 20097 | ||
20004 | 20098 | ||
20005 | // $ANTLR start "rule__VLSUniversalQuantifier__OperandAssignment_2" | 20099 | // $ANTLR start "rule__VLSUniversalQuantifier__OperandAssignment_2" |
20006 | // InternalVampireLanguage.g:6527:1: rule__VLSUniversalQuantifier__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; | 20100 | // InternalVampireLanguage.g:6557:1: rule__VLSUniversalQuantifier__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; |
20007 | public final void rule__VLSUniversalQuantifier__OperandAssignment_2() throws RecognitionException { | 20101 | public final void rule__VLSUniversalQuantifier__OperandAssignment_2() throws RecognitionException { |
20008 | 20102 | ||
20009 | int stackSize = keepStackSize(); | 20103 | int stackSize = keepStackSize(); |
20010 | 20104 | ||
20011 | try { | 20105 | try { |
20012 | // InternalVampireLanguage.g:6531:1: ( ( ruleVLSUnitaryFormula ) ) | 20106 | // InternalVampireLanguage.g:6561:1: ( ( ruleVLSUnitaryFormula ) ) |
20013 | // InternalVampireLanguage.g:6532:2: ( ruleVLSUnitaryFormula ) | 20107 | // InternalVampireLanguage.g:6562:2: ( ruleVLSUnitaryFormula ) |
20014 | { | 20108 | { |
20015 | // InternalVampireLanguage.g:6532:2: ( ruleVLSUnitaryFormula ) | 20109 | // InternalVampireLanguage.g:6562:2: ( ruleVLSUnitaryFormula ) |
20016 | // InternalVampireLanguage.g:6533:3: ruleVLSUnitaryFormula | 20110 | // InternalVampireLanguage.g:6563:3: ruleVLSUnitaryFormula |
20017 | { | 20111 | { |
20018 | before(grammarAccess.getVLSUniversalQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 20112 | before(grammarAccess.getVLSUniversalQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
20019 | pushFollow(FOLLOW_2); | 20113 | pushFollow(FOLLOW_2); |
@@ -20044,21 +20138,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20044 | 20138 | ||
20045 | 20139 | ||
20046 | // $ANTLR start "rule__VLSExistentialQuantifier__VariablesAssignment_1_2" | 20140 | // $ANTLR start "rule__VLSExistentialQuantifier__VariablesAssignment_1_2" |
20047 | // InternalVampireLanguage.g:6542:1: rule__VLSExistentialQuantifier__VariablesAssignment_1_2 : ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) ; | 20141 | // InternalVampireLanguage.g:6572:1: rule__VLSExistentialQuantifier__VariablesAssignment_1_2 : ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) ; |
20048 | public final void rule__VLSExistentialQuantifier__VariablesAssignment_1_2() throws RecognitionException { | 20142 | public final void rule__VLSExistentialQuantifier__VariablesAssignment_1_2() throws RecognitionException { |
20049 | 20143 | ||
20050 | int stackSize = keepStackSize(); | 20144 | int stackSize = keepStackSize(); |
20051 | 20145 | ||
20052 | try { | 20146 | try { |
20053 | // InternalVampireLanguage.g:6546:1: ( ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) ) | 20147 | // InternalVampireLanguage.g:6576:1: ( ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) ) |
20054 | // InternalVampireLanguage.g:6547:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) | 20148 | // InternalVampireLanguage.g:6577:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) |
20055 | { | 20149 | { |
20056 | // InternalVampireLanguage.g:6547:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) | 20150 | // InternalVampireLanguage.g:6577:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) ) |
20057 | // InternalVampireLanguage.g:6548:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) | 20151 | // InternalVampireLanguage.g:6578:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) |
20058 | { | 20152 | { |
20059 | before(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesAlternatives_1_2_0()); | 20153 | before(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesAlternatives_1_2_0()); |
20060 | // InternalVampireLanguage.g:6549:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) | 20154 | // InternalVampireLanguage.g:6579:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 ) |
20061 | // InternalVampireLanguage.g:6549:4: rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 | 20155 | // InternalVampireLanguage.g:6579:4: rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0 |
20062 | { | 20156 | { |
20063 | pushFollow(FOLLOW_2); | 20157 | pushFollow(FOLLOW_2); |
20064 | rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0(); | 20158 | rule__VLSExistentialQuantifier__VariablesAlternatives_1_2_0(); |
@@ -20091,21 +20185,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20091 | 20185 | ||
20092 | 20186 | ||
20093 | // $ANTLR start "rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1" | 20187 | // $ANTLR start "rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1" |
20094 | // InternalVampireLanguage.g:6557:1: rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1 : ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) ; | 20188 | // InternalVampireLanguage.g:6587:1: rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1 : ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) ; |
20095 | public final void rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1() throws RecognitionException { | 20189 | public final void rule__VLSExistentialQuantifier__VariablesAssignment_1_3_1() throws RecognitionException { |
20096 | 20190 | ||
20097 | int stackSize = keepStackSize(); | 20191 | int stackSize = keepStackSize(); |
20098 | 20192 | ||
20099 | try { | 20193 | try { |
20100 | // InternalVampireLanguage.g:6561:1: ( ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) ) | 20194 | // InternalVampireLanguage.g:6591:1: ( ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) ) |
20101 | // InternalVampireLanguage.g:6562:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) | 20195 | // InternalVampireLanguage.g:6592:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) |
20102 | { | 20196 | { |
20103 | // InternalVampireLanguage.g:6562:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) | 20197 | // InternalVampireLanguage.g:6592:2: ( ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) ) |
20104 | // InternalVampireLanguage.g:6563:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) | 20198 | // InternalVampireLanguage.g:6593:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) |
20105 | { | 20199 | { |
20106 | before(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesAlternatives_1_3_1_0()); | 20200 | before(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesAlternatives_1_3_1_0()); |
20107 | // InternalVampireLanguage.g:6564:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) | 20201 | // InternalVampireLanguage.g:6594:3: ( rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 ) |
20108 | // InternalVampireLanguage.g:6564:4: rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 | 20202 | // InternalVampireLanguage.g:6594:4: rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0 |
20109 | { | 20203 | { |
20110 | pushFollow(FOLLOW_2); | 20204 | pushFollow(FOLLOW_2); |
20111 | rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0(); | 20205 | rule__VLSExistentialQuantifier__VariablesAlternatives_1_3_1_0(); |
@@ -20138,17 +20232,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20138 | 20232 | ||
20139 | 20233 | ||
20140 | // $ANTLR start "rule__VLSExistentialQuantifier__OperandAssignment_2" | 20234 | // $ANTLR start "rule__VLSExistentialQuantifier__OperandAssignment_2" |
20141 | // InternalVampireLanguage.g:6572:1: rule__VLSExistentialQuantifier__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; | 20235 | // InternalVampireLanguage.g:6602:1: rule__VLSExistentialQuantifier__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; |
20142 | public final void rule__VLSExistentialQuantifier__OperandAssignment_2() throws RecognitionException { | 20236 | public final void rule__VLSExistentialQuantifier__OperandAssignment_2() throws RecognitionException { |
20143 | 20237 | ||
20144 | int stackSize = keepStackSize(); | 20238 | int stackSize = keepStackSize(); |
20145 | 20239 | ||
20146 | try { | 20240 | try { |
20147 | // InternalVampireLanguage.g:6576:1: ( ( ruleVLSUnitaryFormula ) ) | 20241 | // InternalVampireLanguage.g:6606:1: ( ( ruleVLSUnitaryFormula ) ) |
20148 | // InternalVampireLanguage.g:6577:2: ( ruleVLSUnitaryFormula ) | 20242 | // InternalVampireLanguage.g:6607:2: ( ruleVLSUnitaryFormula ) |
20149 | { | 20243 | { |
20150 | // InternalVampireLanguage.g:6577:2: ( ruleVLSUnitaryFormula ) | 20244 | // InternalVampireLanguage.g:6607:2: ( ruleVLSUnitaryFormula ) |
20151 | // InternalVampireLanguage.g:6578:3: ruleVLSUnitaryFormula | 20245 | // InternalVampireLanguage.g:6608:3: ruleVLSUnitaryFormula |
20152 | { | 20246 | { |
20153 | before(grammarAccess.getVLSExistentialQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 20247 | before(grammarAccess.getVLSExistentialQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
20154 | pushFollow(FOLLOW_2); | 20248 | pushFollow(FOLLOW_2); |
@@ -20179,17 +20273,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20179 | 20273 | ||
20180 | 20274 | ||
20181 | // $ANTLR start "rule__VLSUnaryNegation__OperandAssignment_2" | 20275 | // $ANTLR start "rule__VLSUnaryNegation__OperandAssignment_2" |
20182 | // InternalVampireLanguage.g:6587:1: rule__VLSUnaryNegation__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; | 20276 | // InternalVampireLanguage.g:6617:1: rule__VLSUnaryNegation__OperandAssignment_2 : ( ruleVLSUnitaryFormula ) ; |
20183 | public final void rule__VLSUnaryNegation__OperandAssignment_2() throws RecognitionException { | 20277 | public final void rule__VLSUnaryNegation__OperandAssignment_2() throws RecognitionException { |
20184 | 20278 | ||
20185 | int stackSize = keepStackSize(); | 20279 | int stackSize = keepStackSize(); |
20186 | 20280 | ||
20187 | try { | 20281 | try { |
20188 | // InternalVampireLanguage.g:6591:1: ( ( ruleVLSUnitaryFormula ) ) | 20282 | // InternalVampireLanguage.g:6621:1: ( ( ruleVLSUnitaryFormula ) ) |
20189 | // InternalVampireLanguage.g:6592:2: ( ruleVLSUnitaryFormula ) | 20283 | // InternalVampireLanguage.g:6622:2: ( ruleVLSUnitaryFormula ) |
20190 | { | 20284 | { |
20191 | // InternalVampireLanguage.g:6592:2: ( ruleVLSUnitaryFormula ) | 20285 | // InternalVampireLanguage.g:6622:2: ( ruleVLSUnitaryFormula ) |
20192 | // InternalVampireLanguage.g:6593:3: ruleVLSUnitaryFormula | 20286 | // InternalVampireLanguage.g:6623:3: ruleVLSUnitaryFormula |
20193 | { | 20287 | { |
20194 | before(grammarAccess.getVLSUnaryNegationAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 20288 | before(grammarAccess.getVLSUnaryNegationAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
20195 | pushFollow(FOLLOW_2); | 20289 | pushFollow(FOLLOW_2); |
@@ -20220,17 +20314,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20220 | 20314 | ||
20221 | 20315 | ||
20222 | // $ANTLR start "rule__VLSUnaryInfix__RightAssignment_1_1" | 20316 | // $ANTLR start "rule__VLSUnaryInfix__RightAssignment_1_1" |
20223 | // InternalVampireLanguage.g:6602:1: rule__VLSUnaryInfix__RightAssignment_1_1 : ( ruleVLSAtomic ) ; | 20317 | // InternalVampireLanguage.g:6632:1: rule__VLSUnaryInfix__RightAssignment_1_1 : ( ruleVLSAtomic ) ; |
20224 | public final void rule__VLSUnaryInfix__RightAssignment_1_1() throws RecognitionException { | 20318 | public final void rule__VLSUnaryInfix__RightAssignment_1_1() throws RecognitionException { |
20225 | 20319 | ||
20226 | int stackSize = keepStackSize(); | 20320 | int stackSize = keepStackSize(); |
20227 | 20321 | ||
20228 | try { | 20322 | try { |
20229 | // InternalVampireLanguage.g:6606:1: ( ( ruleVLSAtomic ) ) | 20323 | // InternalVampireLanguage.g:6636:1: ( ( ruleVLSAtomic ) ) |
20230 | // InternalVampireLanguage.g:6607:2: ( ruleVLSAtomic ) | 20324 | // InternalVampireLanguage.g:6637:2: ( ruleVLSAtomic ) |
20231 | { | 20325 | { |
20232 | // InternalVampireLanguage.g:6607:2: ( ruleVLSAtomic ) | 20326 | // InternalVampireLanguage.g:6637:2: ( ruleVLSAtomic ) |
20233 | // InternalVampireLanguage.g:6608:3: ruleVLSAtomic | 20327 | // InternalVampireLanguage.g:6638:3: ruleVLSAtomic |
20234 | { | 20328 | { |
20235 | before(grammarAccess.getVLSUnaryInfixAccess().getRightVLSAtomicParserRuleCall_1_1_0()); | 20329 | before(grammarAccess.getVLSUnaryInfixAccess().getRightVLSAtomicParserRuleCall_1_1_0()); |
20236 | pushFollow(FOLLOW_2); | 20330 | pushFollow(FOLLOW_2); |
@@ -20261,21 +20355,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20261 | 20355 | ||
20262 | 20356 | ||
20263 | // $ANTLR start "rule__VLSAtomicConstant__NameAssignment_0_1" | 20357 | // $ANTLR start "rule__VLSAtomicConstant__NameAssignment_0_1" |
20264 | // InternalVampireLanguage.g:6617:1: rule__VLSAtomicConstant__NameAssignment_0_1 : ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) ; | 20358 | // InternalVampireLanguage.g:6647:1: rule__VLSAtomicConstant__NameAssignment_0_1 : ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) ; |
20265 | public final void rule__VLSAtomicConstant__NameAssignment_0_1() throws RecognitionException { | 20359 | public final void rule__VLSAtomicConstant__NameAssignment_0_1() throws RecognitionException { |
20266 | 20360 | ||
20267 | int stackSize = keepStackSize(); | 20361 | int stackSize = keepStackSize(); |
20268 | 20362 | ||
20269 | try { | 20363 | try { |
20270 | // InternalVampireLanguage.g:6621:1: ( ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) ) | 20364 | // InternalVampireLanguage.g:6651:1: ( ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) ) |
20271 | // InternalVampireLanguage.g:6622:2: ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) | 20365 | // InternalVampireLanguage.g:6652:2: ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) |
20272 | { | 20366 | { |
20273 | // InternalVampireLanguage.g:6622:2: ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) | 20367 | // InternalVampireLanguage.g:6652:2: ( ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) ) |
20274 | // InternalVampireLanguage.g:6623:3: ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) | 20368 | // InternalVampireLanguage.g:6653:3: ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) |
20275 | { | 20369 | { |
20276 | before(grammarAccess.getVLSAtomicConstantAccess().getNameAlternatives_0_1_0()); | 20370 | before(grammarAccess.getVLSAtomicConstantAccess().getNameAlternatives_0_1_0()); |
20277 | // InternalVampireLanguage.g:6624:3: ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) | 20371 | // InternalVampireLanguage.g:6654:3: ( rule__VLSAtomicConstant__NameAlternatives_0_1_0 ) |
20278 | // InternalVampireLanguage.g:6624:4: rule__VLSAtomicConstant__NameAlternatives_0_1_0 | 20372 | // InternalVampireLanguage.g:6654:4: rule__VLSAtomicConstant__NameAlternatives_0_1_0 |
20279 | { | 20373 | { |
20280 | pushFollow(FOLLOW_2); | 20374 | pushFollow(FOLLOW_2); |
20281 | rule__VLSAtomicConstant__NameAlternatives_0_1_0(); | 20375 | rule__VLSAtomicConstant__NameAlternatives_0_1_0(); |
@@ -20308,21 +20402,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20308 | 20402 | ||
20309 | 20403 | ||
20310 | // $ANTLR start "rule__VLSAtomicFunction__ConstantAssignment_0_1" | 20404 | // $ANTLR start "rule__VLSAtomicFunction__ConstantAssignment_0_1" |
20311 | // InternalVampireLanguage.g:6632:1: rule__VLSAtomicFunction__ConstantAssignment_0_1 : ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) ; | 20405 | // InternalVampireLanguage.g:6662:1: rule__VLSAtomicFunction__ConstantAssignment_0_1 : ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) ; |
20312 | public final void rule__VLSAtomicFunction__ConstantAssignment_0_1() throws RecognitionException { | 20406 | public final void rule__VLSAtomicFunction__ConstantAssignment_0_1() throws RecognitionException { |
20313 | 20407 | ||
20314 | int stackSize = keepStackSize(); | 20408 | int stackSize = keepStackSize(); |
20315 | 20409 | ||
20316 | try { | 20410 | try { |
20317 | // InternalVampireLanguage.g:6636:1: ( ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) ) | 20411 | // InternalVampireLanguage.g:6666:1: ( ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) ) |
20318 | // InternalVampireLanguage.g:6637:2: ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) | 20412 | // InternalVampireLanguage.g:6667:2: ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) |
20319 | { | 20413 | { |
20320 | // InternalVampireLanguage.g:6637:2: ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) | 20414 | // InternalVampireLanguage.g:6667:2: ( ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) ) |
20321 | // InternalVampireLanguage.g:6638:3: ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) | 20415 | // InternalVampireLanguage.g:6668:3: ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) |
20322 | { | 20416 | { |
20323 | before(grammarAccess.getVLSAtomicFunctionAccess().getConstantAlternatives_0_1_0()); | 20417 | before(grammarAccess.getVLSAtomicFunctionAccess().getConstantAlternatives_0_1_0()); |
20324 | // InternalVampireLanguage.g:6639:3: ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) | 20418 | // InternalVampireLanguage.g:6669:3: ( rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 ) |
20325 | // InternalVampireLanguage.g:6639:4: rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 | 20419 | // InternalVampireLanguage.g:6669:4: rule__VLSAtomicFunction__ConstantAlternatives_0_1_0 |
20326 | { | 20420 | { |
20327 | pushFollow(FOLLOW_2); | 20421 | pushFollow(FOLLOW_2); |
20328 | rule__VLSAtomicFunction__ConstantAlternatives_0_1_0(); | 20422 | rule__VLSAtomicFunction__ConstantAlternatives_0_1_0(); |
@@ -20355,17 +20449,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20355 | 20449 | ||
20356 | 20450 | ||
20357 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_0_2_1" | 20451 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_0_2_1" |
20358 | // InternalVampireLanguage.g:6647:1: rule__VLSAtomicFunction__TermsAssignment_0_2_1 : ( ruleVLSFofTerm ) ; | 20452 | // InternalVampireLanguage.g:6677:1: rule__VLSAtomicFunction__TermsAssignment_0_2_1 : ( ruleVLSFofTerm ) ; |
20359 | public final void rule__VLSAtomicFunction__TermsAssignment_0_2_1() throws RecognitionException { | 20453 | public final void rule__VLSAtomicFunction__TermsAssignment_0_2_1() throws RecognitionException { |
20360 | 20454 | ||
20361 | int stackSize = keepStackSize(); | 20455 | int stackSize = keepStackSize(); |
20362 | 20456 | ||
20363 | try { | 20457 | try { |
20364 | // InternalVampireLanguage.g:6651:1: ( ( ruleVLSFofTerm ) ) | 20458 | // InternalVampireLanguage.g:6681:1: ( ( ruleVLSFofTerm ) ) |
20365 | // InternalVampireLanguage.g:6652:2: ( ruleVLSFofTerm ) | 20459 | // InternalVampireLanguage.g:6682:2: ( ruleVLSFofTerm ) |
20366 | { | 20460 | { |
20367 | // InternalVampireLanguage.g:6652:2: ( ruleVLSFofTerm ) | 20461 | // InternalVampireLanguage.g:6682:2: ( ruleVLSFofTerm ) |
20368 | // InternalVampireLanguage.g:6653:3: ruleVLSFofTerm | 20462 | // InternalVampireLanguage.g:6683:3: ruleVLSFofTerm |
20369 | { | 20463 | { |
20370 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_1_0()); | 20464 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_1_0()); |
20371 | pushFollow(FOLLOW_2); | 20465 | pushFollow(FOLLOW_2); |
@@ -20396,17 +20490,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20396 | 20490 | ||
20397 | 20491 | ||
20398 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_0_2_2_1" | 20492 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_0_2_2_1" |
20399 | // InternalVampireLanguage.g:6662:1: rule__VLSAtomicFunction__TermsAssignment_0_2_2_1 : ( ruleVLSFofTerm ) ; | 20493 | // InternalVampireLanguage.g:6692:1: rule__VLSAtomicFunction__TermsAssignment_0_2_2_1 : ( ruleVLSFofTerm ) ; |
20400 | public final void rule__VLSAtomicFunction__TermsAssignment_0_2_2_1() throws RecognitionException { | 20494 | public final void rule__VLSAtomicFunction__TermsAssignment_0_2_2_1() throws RecognitionException { |
20401 | 20495 | ||
20402 | int stackSize = keepStackSize(); | 20496 | int stackSize = keepStackSize(); |
20403 | 20497 | ||
20404 | try { | 20498 | try { |
20405 | // InternalVampireLanguage.g:6666:1: ( ( ruleVLSFofTerm ) ) | 20499 | // InternalVampireLanguage.g:6696:1: ( ( ruleVLSFofTerm ) ) |
20406 | // InternalVampireLanguage.g:6667:2: ( ruleVLSFofTerm ) | 20500 | // InternalVampireLanguage.g:6697:2: ( ruleVLSFofTerm ) |
20407 | { | 20501 | { |
20408 | // InternalVampireLanguage.g:6667:2: ( ruleVLSFofTerm ) | 20502 | // InternalVampireLanguage.g:6697:2: ( ruleVLSFofTerm ) |
20409 | // InternalVampireLanguage.g:6668:3: ruleVLSFofTerm | 20503 | // InternalVampireLanguage.g:6698:3: ruleVLSFofTerm |
20410 | { | 20504 | { |
20411 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_2_1_0()); | 20505 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_2_1_0()); |
20412 | pushFollow(FOLLOW_2); | 20506 | pushFollow(FOLLOW_2); |
@@ -20437,21 +20531,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20437 | 20531 | ||
20438 | 20532 | ||
20439 | // $ANTLR start "rule__VLSAtomicFunction__NameAssignment_1_1" | 20533 | // $ANTLR start "rule__VLSAtomicFunction__NameAssignment_1_1" |
20440 | // InternalVampireLanguage.g:6677:1: rule__VLSAtomicFunction__NameAssignment_1_1 : ( ( '$less' ) ) ; | 20534 | // InternalVampireLanguage.g:6707:1: rule__VLSAtomicFunction__NameAssignment_1_1 : ( ( '$less' ) ) ; |
20441 | public final void rule__VLSAtomicFunction__NameAssignment_1_1() throws RecognitionException { | 20535 | public final void rule__VLSAtomicFunction__NameAssignment_1_1() throws RecognitionException { |
20442 | 20536 | ||
20443 | int stackSize = keepStackSize(); | 20537 | int stackSize = keepStackSize(); |
20444 | 20538 | ||
20445 | try { | 20539 | try { |
20446 | // InternalVampireLanguage.g:6681:1: ( ( ( '$less' ) ) ) | 20540 | // InternalVampireLanguage.g:6711:1: ( ( ( '$less' ) ) ) |
20447 | // InternalVampireLanguage.g:6682:2: ( ( '$less' ) ) | 20541 | // InternalVampireLanguage.g:6712:2: ( ( '$less' ) ) |
20448 | { | 20542 | { |
20449 | // InternalVampireLanguage.g:6682:2: ( ( '$less' ) ) | 20543 | // InternalVampireLanguage.g:6712:2: ( ( '$less' ) ) |
20450 | // InternalVampireLanguage.g:6683:3: ( '$less' ) | 20544 | // InternalVampireLanguage.g:6713:3: ( '$less' ) |
20451 | { | 20545 | { |
20452 | before(grammarAccess.getVLSAtomicFunctionAccess().getNameLessKeyword_1_1_0()); | 20546 | before(grammarAccess.getVLSAtomicFunctionAccess().getNameLessKeyword_1_1_0()); |
20453 | // InternalVampireLanguage.g:6684:3: ( '$less' ) | 20547 | // InternalVampireLanguage.g:6714:3: ( '$less' ) |
20454 | // InternalVampireLanguage.g:6685:4: '$less' | 20548 | // InternalVampireLanguage.g:6715:4: '$less' |
20455 | { | 20549 | { |
20456 | before(grammarAccess.getVLSAtomicFunctionAccess().getNameLessKeyword_1_1_0()); | 20550 | before(grammarAccess.getVLSAtomicFunctionAccess().getNameLessKeyword_1_1_0()); |
20457 | match(input,80,FOLLOW_2); | 20551 | match(input,80,FOLLOW_2); |
@@ -20482,17 +20576,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20482 | 20576 | ||
20483 | 20577 | ||
20484 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_1_3" | 20578 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_1_3" |
20485 | // InternalVampireLanguage.g:6696:1: rule__VLSAtomicFunction__TermsAssignment_1_3 : ( ruleVLSFofTerm ) ; | 20579 | // InternalVampireLanguage.g:6726:1: rule__VLSAtomicFunction__TermsAssignment_1_3 : ( ruleVLSFofTerm ) ; |
20486 | public final void rule__VLSAtomicFunction__TermsAssignment_1_3() throws RecognitionException { | 20580 | public final void rule__VLSAtomicFunction__TermsAssignment_1_3() throws RecognitionException { |
20487 | 20581 | ||
20488 | int stackSize = keepStackSize(); | 20582 | int stackSize = keepStackSize(); |
20489 | 20583 | ||
20490 | try { | 20584 | try { |
20491 | // InternalVampireLanguage.g:6700:1: ( ( ruleVLSFofTerm ) ) | 20585 | // InternalVampireLanguage.g:6730:1: ( ( ruleVLSFofTerm ) ) |
20492 | // InternalVampireLanguage.g:6701:2: ( ruleVLSFofTerm ) | 20586 | // InternalVampireLanguage.g:6731:2: ( ruleVLSFofTerm ) |
20493 | { | 20587 | { |
20494 | // InternalVampireLanguage.g:6701:2: ( ruleVLSFofTerm ) | 20588 | // InternalVampireLanguage.g:6731:2: ( ruleVLSFofTerm ) |
20495 | // InternalVampireLanguage.g:6702:3: ruleVLSFofTerm | 20589 | // InternalVampireLanguage.g:6732:3: ruleVLSFofTerm |
20496 | { | 20590 | { |
20497 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_3_0()); | 20591 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_3_0()); |
20498 | pushFollow(FOLLOW_2); | 20592 | pushFollow(FOLLOW_2); |
@@ -20523,17 +20617,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20523 | 20617 | ||
20524 | 20618 | ||
20525 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_1_5" | 20619 | // $ANTLR start "rule__VLSAtomicFunction__TermsAssignment_1_5" |
20526 | // InternalVampireLanguage.g:6711:1: rule__VLSAtomicFunction__TermsAssignment_1_5 : ( ruleVLSFofTerm ) ; | 20620 | // InternalVampireLanguage.g:6741:1: rule__VLSAtomicFunction__TermsAssignment_1_5 : ( ruleVLSFofTerm ) ; |
20527 | public final void rule__VLSAtomicFunction__TermsAssignment_1_5() throws RecognitionException { | 20621 | public final void rule__VLSAtomicFunction__TermsAssignment_1_5() throws RecognitionException { |
20528 | 20622 | ||
20529 | int stackSize = keepStackSize(); | 20623 | int stackSize = keepStackSize(); |
20530 | 20624 | ||
20531 | try { | 20625 | try { |
20532 | // InternalVampireLanguage.g:6715:1: ( ( ruleVLSFofTerm ) ) | 20626 | // InternalVampireLanguage.g:6745:1: ( ( ruleVLSFofTerm ) ) |
20533 | // InternalVampireLanguage.g:6716:2: ( ruleVLSFofTerm ) | 20627 | // InternalVampireLanguage.g:6746:2: ( ruleVLSFofTerm ) |
20534 | { | 20628 | { |
20535 | // InternalVampireLanguage.g:6716:2: ( ruleVLSFofTerm ) | 20629 | // InternalVampireLanguage.g:6746:2: ( ruleVLSFofTerm ) |
20536 | // InternalVampireLanguage.g:6717:3: ruleVLSFofTerm | 20630 | // InternalVampireLanguage.g:6747:3: ruleVLSFofTerm |
20537 | { | 20631 | { |
20538 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_5_0()); | 20632 | before(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_5_0()); |
20539 | pushFollow(FOLLOW_2); | 20633 | pushFollow(FOLLOW_2); |
@@ -20564,17 +20658,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20564 | 20658 | ||
20565 | 20659 | ||
20566 | // $ANTLR start "rule__VLSVariable__NameAssignment" | 20660 | // $ANTLR start "rule__VLSVariable__NameAssignment" |
20567 | // InternalVampireLanguage.g:6726:1: rule__VLSVariable__NameAssignment : ( RULE_UPPER_WORD_ID ) ; | 20661 | // InternalVampireLanguage.g:6756:1: rule__VLSVariable__NameAssignment : ( RULE_UPPER_WORD_ID ) ; |
20568 | public final void rule__VLSVariable__NameAssignment() throws RecognitionException { | 20662 | public final void rule__VLSVariable__NameAssignment() throws RecognitionException { |
20569 | 20663 | ||
20570 | int stackSize = keepStackSize(); | 20664 | int stackSize = keepStackSize(); |
20571 | 20665 | ||
20572 | try { | 20666 | try { |
20573 | // InternalVampireLanguage.g:6730:1: ( ( RULE_UPPER_WORD_ID ) ) | 20667 | // InternalVampireLanguage.g:6760:1: ( ( RULE_UPPER_WORD_ID ) ) |
20574 | // InternalVampireLanguage.g:6731:2: ( RULE_UPPER_WORD_ID ) | 20668 | // InternalVampireLanguage.g:6761:2: ( RULE_UPPER_WORD_ID ) |
20575 | { | 20669 | { |
20576 | // InternalVampireLanguage.g:6731:2: ( RULE_UPPER_WORD_ID ) | 20670 | // InternalVampireLanguage.g:6761:2: ( RULE_UPPER_WORD_ID ) |
20577 | // InternalVampireLanguage.g:6732:3: RULE_UPPER_WORD_ID | 20671 | // InternalVampireLanguage.g:6762:3: RULE_UPPER_WORD_ID |
20578 | { | 20672 | { |
20579 | before(grammarAccess.getVLSVariableAccess().getNameUPPER_WORD_IDTerminalRuleCall_0()); | 20673 | before(grammarAccess.getVLSVariableAccess().getNameUPPER_WORD_IDTerminalRuleCall_0()); |
20580 | match(input,RULE_UPPER_WORD_ID,FOLLOW_2); | 20674 | match(input,RULE_UPPER_WORD_ID,FOLLOW_2); |
@@ -20601,21 +20695,21 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20601 | 20695 | ||
20602 | 20696 | ||
20603 | // $ANTLR start "rule__VLSFunctionAsTerm__FunctorAssignment_0" | 20697 | // $ANTLR start "rule__VLSFunctionAsTerm__FunctorAssignment_0" |
20604 | // InternalVampireLanguage.g:6741:1: rule__VLSFunctionAsTerm__FunctorAssignment_0 : ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) ; | 20698 | // InternalVampireLanguage.g:6771:1: rule__VLSFunctionAsTerm__FunctorAssignment_0 : ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) ; |
20605 | public final void rule__VLSFunctionAsTerm__FunctorAssignment_0() throws RecognitionException { | 20699 | public final void rule__VLSFunctionAsTerm__FunctorAssignment_0() throws RecognitionException { |
20606 | 20700 | ||
20607 | int stackSize = keepStackSize(); | 20701 | int stackSize = keepStackSize(); |
20608 | 20702 | ||
20609 | try { | 20703 | try { |
20610 | // InternalVampireLanguage.g:6745:1: ( ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) ) | 20704 | // InternalVampireLanguage.g:6775:1: ( ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) ) |
20611 | // InternalVampireLanguage.g:6746:2: ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) | 20705 | // InternalVampireLanguage.g:6776:2: ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) |
20612 | { | 20706 | { |
20613 | // InternalVampireLanguage.g:6746:2: ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) | 20707 | // InternalVampireLanguage.g:6776:2: ( ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) ) |
20614 | // InternalVampireLanguage.g:6747:3: ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) | 20708 | // InternalVampireLanguage.g:6777:3: ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) |
20615 | { | 20709 | { |
20616 | before(grammarAccess.getVLSFunctionAsTermAccess().getFunctorAlternatives_0_0()); | 20710 | before(grammarAccess.getVLSFunctionAsTermAccess().getFunctorAlternatives_0_0()); |
20617 | // InternalVampireLanguage.g:6748:3: ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) | 20711 | // InternalVampireLanguage.g:6778:3: ( rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 ) |
20618 | // InternalVampireLanguage.g:6748:4: rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 | 20712 | // InternalVampireLanguage.g:6778:4: rule__VLSFunctionAsTerm__FunctorAlternatives_0_0 |
20619 | { | 20713 | { |
20620 | pushFollow(FOLLOW_2); | 20714 | pushFollow(FOLLOW_2); |
20621 | rule__VLSFunctionAsTerm__FunctorAlternatives_0_0(); | 20715 | rule__VLSFunctionAsTerm__FunctorAlternatives_0_0(); |
@@ -20648,17 +20742,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20648 | 20742 | ||
20649 | 20743 | ||
20650 | // $ANTLR start "rule__VLSFunctionAsTerm__TermsAssignment_1_1" | 20744 | // $ANTLR start "rule__VLSFunctionAsTerm__TermsAssignment_1_1" |
20651 | // InternalVampireLanguage.g:6756:1: rule__VLSFunctionAsTerm__TermsAssignment_1_1 : ( ruleVLSFofTerm ) ; | 20745 | // InternalVampireLanguage.g:6786:1: rule__VLSFunctionAsTerm__TermsAssignment_1_1 : ( ruleVLSFofTerm ) ; |
20652 | public final void rule__VLSFunctionAsTerm__TermsAssignment_1_1() throws RecognitionException { | 20746 | public final void rule__VLSFunctionAsTerm__TermsAssignment_1_1() throws RecognitionException { |
20653 | 20747 | ||
20654 | int stackSize = keepStackSize(); | 20748 | int stackSize = keepStackSize(); |
20655 | 20749 | ||
20656 | try { | 20750 | try { |
20657 | // InternalVampireLanguage.g:6760:1: ( ( ruleVLSFofTerm ) ) | 20751 | // InternalVampireLanguage.g:6790:1: ( ( ruleVLSFofTerm ) ) |
20658 | // InternalVampireLanguage.g:6761:2: ( ruleVLSFofTerm ) | 20752 | // InternalVampireLanguage.g:6791:2: ( ruleVLSFofTerm ) |
20659 | { | 20753 | { |
20660 | // InternalVampireLanguage.g:6761:2: ( ruleVLSFofTerm ) | 20754 | // InternalVampireLanguage.g:6791:2: ( ruleVLSFofTerm ) |
20661 | // InternalVampireLanguage.g:6762:3: ruleVLSFofTerm | 20755 | // InternalVampireLanguage.g:6792:3: ruleVLSFofTerm |
20662 | { | 20756 | { |
20663 | before(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_1_0()); | 20757 | before(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_1_0()); |
20664 | pushFollow(FOLLOW_2); | 20758 | pushFollow(FOLLOW_2); |
@@ -20689,17 +20783,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20689 | 20783 | ||
20690 | 20784 | ||
20691 | // $ANTLR start "rule__VLSFunctionAsTerm__TermsAssignment_1_2_1" | 20785 | // $ANTLR start "rule__VLSFunctionAsTerm__TermsAssignment_1_2_1" |
20692 | // InternalVampireLanguage.g:6771:1: rule__VLSFunctionAsTerm__TermsAssignment_1_2_1 : ( ruleVLSFofTerm ) ; | 20786 | // InternalVampireLanguage.g:6801:1: rule__VLSFunctionAsTerm__TermsAssignment_1_2_1 : ( ruleVLSFofTerm ) ; |
20693 | public final void rule__VLSFunctionAsTerm__TermsAssignment_1_2_1() throws RecognitionException { | 20787 | public final void rule__VLSFunctionAsTerm__TermsAssignment_1_2_1() throws RecognitionException { |
20694 | 20788 | ||
20695 | int stackSize = keepStackSize(); | 20789 | int stackSize = keepStackSize(); |
20696 | 20790 | ||
20697 | try { | 20791 | try { |
20698 | // InternalVampireLanguage.g:6775:1: ( ( ruleVLSFofTerm ) ) | 20792 | // InternalVampireLanguage.g:6805:1: ( ( ruleVLSFofTerm ) ) |
20699 | // InternalVampireLanguage.g:6776:2: ( ruleVLSFofTerm ) | 20793 | // InternalVampireLanguage.g:6806:2: ( ruleVLSFofTerm ) |
20700 | { | 20794 | { |
20701 | // InternalVampireLanguage.g:6776:2: ( ruleVLSFofTerm ) | 20795 | // InternalVampireLanguage.g:6806:2: ( ruleVLSFofTerm ) |
20702 | // InternalVampireLanguage.g:6777:3: ruleVLSFofTerm | 20796 | // InternalVampireLanguage.g:6807:3: ruleVLSFofTerm |
20703 | { | 20797 | { |
20704 | before(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_2_1_0()); | 20798 | before(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_2_1_0()); |
20705 | pushFollow(FOLLOW_2); | 20799 | pushFollow(FOLLOW_2); |
@@ -20730,17 +20824,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20730 | 20824 | ||
20731 | 20825 | ||
20732 | // $ANTLR start "rule__VLSDefinedTerm__ValueAssignment_0_1" | 20826 | // $ANTLR start "rule__VLSDefinedTerm__ValueAssignment_0_1" |
20733 | // InternalVampireLanguage.g:6786:1: rule__VLSDefinedTerm__ValueAssignment_0_1 : ( RULE_SIGNED_LITERAL ) ; | 20827 | // InternalVampireLanguage.g:6816:1: rule__VLSDefinedTerm__ValueAssignment_0_1 : ( RULE_SIGNED_LITERAL ) ; |
20734 | public final void rule__VLSDefinedTerm__ValueAssignment_0_1() throws RecognitionException { | 20828 | public final void rule__VLSDefinedTerm__ValueAssignment_0_1() throws RecognitionException { |
20735 | 20829 | ||
20736 | int stackSize = keepStackSize(); | 20830 | int stackSize = keepStackSize(); |
20737 | 20831 | ||
20738 | try { | 20832 | try { |
20739 | // InternalVampireLanguage.g:6790:1: ( ( RULE_SIGNED_LITERAL ) ) | 20833 | // InternalVampireLanguage.g:6820:1: ( ( RULE_SIGNED_LITERAL ) ) |
20740 | // InternalVampireLanguage.g:6791:2: ( RULE_SIGNED_LITERAL ) | 20834 | // InternalVampireLanguage.g:6821:2: ( RULE_SIGNED_LITERAL ) |
20741 | { | 20835 | { |
20742 | // InternalVampireLanguage.g:6791:2: ( RULE_SIGNED_LITERAL ) | 20836 | // InternalVampireLanguage.g:6821:2: ( RULE_SIGNED_LITERAL ) |
20743 | // InternalVampireLanguage.g:6792:3: RULE_SIGNED_LITERAL | 20837 | // InternalVampireLanguage.g:6822:3: RULE_SIGNED_LITERAL |
20744 | { | 20838 | { |
20745 | before(grammarAccess.getVLSDefinedTermAccess().getValueSIGNED_LITERALTerminalRuleCall_0_1_0()); | 20839 | before(grammarAccess.getVLSDefinedTermAccess().getValueSIGNED_LITERALTerminalRuleCall_0_1_0()); |
20746 | match(input,RULE_SIGNED_LITERAL,FOLLOW_2); | 20840 | match(input,RULE_SIGNED_LITERAL,FOLLOW_2); |
@@ -20767,17 +20861,17 @@ public class InternalVampireLanguageParser extends AbstractInternalContentAssist | |||
20767 | 20861 | ||
20768 | 20862 | ||
20769 | // $ANTLR start "rule__VLSDefinedTerm__ValueAssignment_1_1" | 20863 | // $ANTLR start "rule__VLSDefinedTerm__ValueAssignment_1_1" |
20770 | // InternalVampireLanguage.g:6801:1: rule__VLSDefinedTerm__ValueAssignment_1_1 : ( RULE_DOUBLE_QUOTE ) ; | 20864 | // InternalVampireLanguage.g:6831:1: rule__VLSDefinedTerm__ValueAssignment_1_1 : ( RULE_DOUBLE_QUOTE ) ; |
20771 | public final void rule__VLSDefinedTerm__ValueAssignment_1_1() throws RecognitionException { | 20865 | public final void rule__VLSDefinedTerm__ValueAssignment_1_1() throws RecognitionException { |
20772 | 20866 | ||
20773 | int stackSize = keepStackSize(); | 20867 | int stackSize = keepStackSize(); |
20774 | 20868 | ||
20775 | try { | 20869 | try { |
20776 | // InternalVampireLanguage.g:6805:1: ( ( RULE_DOUBLE_QUOTE ) ) | 20870 | // InternalVampireLanguage.g:6835:1: ( ( RULE_DOUBLE_QUOTE ) ) |
20777 | // InternalVampireLanguage.g:6806:2: ( RULE_DOUBLE_QUOTE ) | 20871 | // InternalVampireLanguage.g:6836:2: ( RULE_DOUBLE_QUOTE ) |
20778 | { | 20872 | { |
20779 | // InternalVampireLanguage.g:6806:2: ( RULE_DOUBLE_QUOTE ) | 20873 | // InternalVampireLanguage.g:6836:2: ( RULE_DOUBLE_QUOTE ) |
20780 | // InternalVampireLanguage.g:6807:3: RULE_DOUBLE_QUOTE | 20874 | // InternalVampireLanguage.g:6837:3: RULE_DOUBLE_QUOTE |
20781 | { | 20875 | { |
20782 | before(grammarAccess.getVLSDefinedTermAccess().getValueDOUBLE_QUOTETerminalRuleCall_1_1_0()); | 20876 | before(grammarAccess.getVLSDefinedTermAccess().getValueDOUBLE_QUOTETerminalRuleCall_1_1_0()); |
20783 | match(input,RULE_DOUBLE_QUOTE,FOLLOW_2); | 20877 | match(input,RULE_DOUBLE_QUOTE,FOLLOW_2); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/AbstractVampireLanguageProposalProvider.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/AbstractVampireLanguageProposalProvider.java index d22b57df..a76460ba 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/AbstractVampireLanguageProposalProvider.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/src-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/AbstractVampireLanguageProposalProvider.java | |||
@@ -73,9 +73,15 @@ public abstract class AbstractVampireLanguageProposalProvider extends TerminalsP | |||
73 | public void completeVLSAnnotationTerms_Terms(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 73 | public void completeVLSAnnotationTerms_Terms(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
74 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 74 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
75 | } | 75 | } |
76 | public void completeVLSOtherDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
77 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
78 | } | ||
76 | public void completeVLSOtherDeclaration_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 79 | public void completeVLSOtherDeclaration_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
77 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 80 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
78 | } | 81 | } |
82 | public void completeVLSVariableDeclaration_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | ||
83 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | ||
84 | } | ||
79 | public void completeVLSVariableDeclaration_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { | 85 | public void completeVLSVariableDeclaration_Type(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { |
80 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); | 86 | completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); |
81 | } | 87 | } |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin index c07947c9..32c4c595 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language.ui/xtend-gen/ca/mcgill/ecse/dslreasoner/ui/contentassist/.VampireLanguageProposalProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.ecore b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.ecore index 0018661e..1ba1bbf7 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.ecore +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.ecore | |||
@@ -40,9 +40,18 @@ | |||
40 | eType="#//VLSAnnotation" containment="true"/> | 40 | eType="#//VLSAnnotation" containment="true"/> |
41 | </eClassifiers> | 41 | </eClassifiers> |
42 | <eClassifiers xsi:type="ecore:EClass" name="VLSTffTerm"/> | 42 | <eClassifiers xsi:type="ecore:EClass" name="VLSTffTerm"/> |
43 | <eClassifiers xsi:type="ecore:EClass" name="VLSDeclaration" eSuperTypes="#//VLSTffTerm"/> | 43 | <eClassifiers xsi:type="ecore:EClass" name="VLSDeclaration" eSuperTypes="#//VLSTffTerm"> |
44 | <eClassifiers xsi:type="ecore:EClass" name="VLSOtherDeclaration" eSuperTypes="#//VLSDeclaration"/> | 44 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//VLSTypeDef" |
45 | <eClassifiers xsi:type="ecore:EClass" name="VLSVariableDeclaration" eSuperTypes="#//VLSDeclaration"/> | 45 | containment="true"/> |
46 | </eClassifiers> | ||
47 | <eClassifiers xsi:type="ecore:EClass" name="VLSOtherDeclaration" eSuperTypes="#//VLSDeclaration"> | ||
48 | <eStructuralFeatures xsi:type="ecore:EReference" name="name" eType="#//VLSTerm" | ||
49 | containment="true"/> | ||
50 | </eClassifiers> | ||
51 | <eClassifiers xsi:type="ecore:EClass" name="VLSVariableDeclaration" eSuperTypes="#//VLSDeclaration"> | ||
52 | <eStructuralFeatures xsi:type="ecore:EReference" name="name" eType="#//VLSVariable" | ||
53 | containment="true"/> | ||
54 | </eClassifiers> | ||
46 | <eClassifiers xsi:type="ecore:EClass" name="VLSTypeDef"> | 55 | <eClassifiers xsi:type="ecore:EClass" name="VLSTypeDef"> |
47 | <eStructuralFeatures xsi:type="ecore:EReference" name="typeSig" eType="#//VLSTypeDef" | 56 | <eStructuralFeatures xsi:type="ecore:EReference" name="typeSig" eType="#//VLSTypeDef" |
48 | containment="true"/> | 57 | containment="true"/> |
@@ -53,11 +62,8 @@ | |||
53 | <eStructuralFeatures xsi:type="ecore:EReference" name="nextType" eType="#//VLSTerm" | 62 | <eStructuralFeatures xsi:type="ecore:EReference" name="nextType" eType="#//VLSTerm" |
54 | containment="true"/> | 63 | containment="true"/> |
55 | </eClassifiers> | 64 | </eClassifiers> |
56 | <eClassifiers xsi:type="ecore:EClass" name="VLSTerm" eSuperTypes="#//VLSTffTerm #//VLSOtherDeclaration"> | 65 | <eClassifiers xsi:type="ecore:EClass" name="VLSTerm" eSuperTypes="#//VLSTffTerm"/> |
57 | <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//VLSTypeDef" | 66 | <eClassifiers xsi:type="ecore:EClass" name="VLSVariable" eSuperTypes="#//VLSTerm"> |
58 | containment="true"/> | ||
59 | </eClassifiers> | ||
60 | <eClassifiers xsi:type="ecore:EClass" name="VLSVariable" eSuperTypes="#//VLSVariableDeclaration #//VLSTerm"> | ||
61 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | 67 | <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
62 | </eClassifiers> | 68 | </eClassifiers> |
63 | <eClassifiers xsi:type="ecore:EClass" name="VLSFunctionAsTerm" eSuperTypes="#//VLSTerm"> | 69 | <eClassifiers xsi:type="ecore:EClass" name="VLSFunctionAsTerm" eSuperTypes="#//VLSTerm"> |
@@ -124,13 +130,13 @@ | |||
124 | </eClassifiers> | 130 | </eClassifiers> |
125 | <eClassifiers xsi:type="ecore:EClass" name="VLSUniversalQuantifier" eSuperTypes="#//VLSTerm"> | 131 | <eClassifiers xsi:type="ecore:EClass" name="VLSUniversalQuantifier" eSuperTypes="#//VLSTerm"> |
126 | <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1" | 132 | <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1" |
127 | eType="#//VLSVariableDeclaration" containment="true"/> | 133 | eType="#//VLSTffTerm" containment="true"/> |
128 | <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//VLSTerm" | 134 | <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//VLSTerm" |
129 | containment="true"/> | 135 | containment="true"/> |
130 | </eClassifiers> | 136 | </eClassifiers> |
131 | <eClassifiers xsi:type="ecore:EClass" name="VLSExistentialQuantifier" eSuperTypes="#//VLSTerm"> | 137 | <eClassifiers xsi:type="ecore:EClass" name="VLSExistentialQuantifier" eSuperTypes="#//VLSTerm"> |
132 | <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1" | 138 | <eStructuralFeatures xsi:type="ecore:EReference" name="variables" upperBound="-1" |
133 | eType="#//VLSVariableDeclaration" containment="true"/> | 139 | eType="#//VLSTffTerm" containment="true"/> |
134 | <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//VLSTerm" | 140 | <eStructuralFeatures xsi:type="ecore:EReference" name="operand" eType="#//VLSTerm" |
135 | containment="true"/> | 141 | containment="true"/> |
136 | </eClassifiers> | 142 | </eClassifiers> |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.genmodel b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.genmodel index e69b5c11..7800e85e 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.genmodel +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/model/generated/VampireLanguage.genmodel | |||
@@ -34,18 +34,22 @@ | |||
34 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSAnnotation/terms"/> | 34 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSAnnotation/terms"/> |
35 | </genClasses> | 35 | </genClasses> |
36 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTffTerm"/> | 36 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTffTerm"/> |
37 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSDeclaration"/> | 37 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSDeclaration"> |
38 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSOtherDeclaration"/> | 38 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSDeclaration/type"/> |
39 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSVariableDeclaration"/> | 39 | </genClasses> |
40 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSOtherDeclaration"> | ||
41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSOtherDeclaration/name"/> | ||
42 | </genClasses> | ||
43 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSVariableDeclaration"> | ||
44 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSVariableDeclaration/name"/> | ||
45 | </genClasses> | ||
40 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTypeDef"> | 46 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTypeDef"> |
41 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/typeSig"/> | 47 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/typeSig"/> |
42 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/mapsTo"/> | 48 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/mapsTo"/> |
43 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/initType"/> | 49 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/initType"/> |
44 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/nextType"/> | 50 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTypeDef/nextType"/> |
45 | </genClasses> | 51 | </genClasses> |
46 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTerm"> | 52 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSTerm"/> |
47 | <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VampireLanguage.ecore#//VLSTerm/type"/> | ||
48 | </genClasses> | ||
49 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSVariable"> | 53 | <genClasses ecoreClass="VampireLanguage.ecore#//VLSVariable"> |
50 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VampireLanguage.ecore#//VLSVariable/name"/> | 54 | <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VampireLanguage.ecore#//VLSVariable/name"/> |
51 | </genClasses> | 55 | </genClasses> |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtextbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtextbin index cecbbe31..0b7b2a35 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtextbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtextbin | |||
Binary files differ | |||
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 96bf62b2..6edaf50e 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 | |||
@@ -1116,14 +1116,25 @@ ruleVLSOtherDeclaration returns [EObject current=null] | |||
1116 | leaveRule(); | 1116 | leaveRule(); |
1117 | }: | 1117 | }: |
1118 | ( | 1118 | ( |
1119 | { | 1119 | ( |
1120 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); | 1120 | ( |
1121 | } | 1121 | { |
1122 | this_VLSAtomicConstant_0=ruleVLSAtomicConstant | 1122 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); |
1123 | { | 1123 | } |
1124 | $current = $this_VLSAtomicConstant_0.current; | 1124 | lv_name_0_0=ruleVLSAtomicConstant |
1125 | afterParserOrEnumRuleCall(); | 1125 | { |
1126 | } | 1126 | if ($current==null) { |
1127 | $current = createModelElementForParent(grammarAccess.getVLSOtherDeclarationRule()); | ||
1128 | } | ||
1129 | set( | ||
1130 | $current, | ||
1131 | "name", | ||
1132 | lv_name_0_0, | ||
1133 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSAtomicConstant"); | ||
1134 | afterParserOrEnumRuleCall(); | ||
1135 | } | ||
1136 | ) | ||
1137 | ) | ||
1127 | otherlv_1=':' | 1138 | otherlv_1=':' |
1128 | { | 1139 | { |
1129 | newLeafNode(otherlv_1, grammarAccess.getVLSOtherDeclarationAccess().getColonKeyword_1()); | 1140 | newLeafNode(otherlv_1, grammarAccess.getVLSOtherDeclarationAccess().getColonKeyword_1()); |
@@ -1166,14 +1177,25 @@ ruleVLSVariableDeclaration returns [EObject current=null] | |||
1166 | leaveRule(); | 1177 | leaveRule(); |
1167 | }: | 1178 | }: |
1168 | ( | 1179 | ( |
1169 | { | 1180 | ( |
1170 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); | 1181 | ( |
1171 | } | 1182 | { |
1172 | this_VLSVariable_0=ruleVLSVariable | 1183 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); |
1173 | { | 1184 | } |
1174 | $current = $this_VLSVariable_0.current; | 1185 | lv_name_0_0=ruleVLSVariable |
1175 | afterParserOrEnumRuleCall(); | 1186 | { |
1176 | } | 1187 | if ($current==null) { |
1188 | $current = createModelElementForParent(grammarAccess.getVLSVariableDeclarationRule()); | ||
1189 | } | ||
1190 | set( | ||
1191 | $current, | ||
1192 | "name", | ||
1193 | lv_name_0_0, | ||
1194 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSVariable"); | ||
1195 | afterParserOrEnumRuleCall(); | ||
1196 | } | ||
1197 | ) | ||
1198 | ) | ||
1177 | otherlv_1=':' | 1199 | otherlv_1=':' |
1178 | { | 1200 | { |
1179 | newLeafNode(otherlv_1, grammarAccess.getVLSVariableDeclarationAccess().getColonKeyword_1()); | 1201 | newLeafNode(otherlv_1, grammarAccess.getVLSVariableDeclarationAccess().getColonKeyword_1()); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageLexer.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageLexer.java index 158c056c..a35c88e6 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageLexer.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageLexer.java | |||
@@ -1331,8 +1331,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1331 | // $ANTLR start "RULE_ALPHA_NUMERIC" | 1331 | // $ANTLR start "RULE_ALPHA_NUMERIC" |
1332 | public final void mRULE_ALPHA_NUMERIC() throws RecognitionException { | 1332 | public final void mRULE_ALPHA_NUMERIC() throws RecognitionException { |
1333 | try { | 1333 | try { |
1334 | // InternalVampireLanguage.g:2774:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) ) | 1334 | // InternalVampireLanguage.g:2796:29: ( ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) ) |
1335 | // InternalVampireLanguage.g:2774:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) | 1335 | // InternalVampireLanguage.g:2796:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' ) |
1336 | { | 1336 | { |
1337 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | 1337 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
1338 | input.consume(); | 1338 | input.consume(); |
@@ -1357,11 +1357,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1357 | try { | 1357 | try { |
1358 | int _type = RULE_UPPER_WORD_ID; | 1358 | int _type = RULE_UPPER_WORD_ID; |
1359 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1359 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1360 | // InternalVampireLanguage.g:2776:20: ( 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* ) | 1360 | // InternalVampireLanguage.g:2798:20: ( 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* ) |
1361 | // InternalVampireLanguage.g:2776:22: 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* | 1361 | // InternalVampireLanguage.g:2798:22: 'A' .. 'Z' ( RULE_ALPHA_NUMERIC )* |
1362 | { | 1362 | { |
1363 | matchRange('A','Z'); | 1363 | matchRange('A','Z'); |
1364 | // InternalVampireLanguage.g:2776:31: ( RULE_ALPHA_NUMERIC )* | 1364 | // InternalVampireLanguage.g:2798:31: ( RULE_ALPHA_NUMERIC )* |
1365 | loop1: | 1365 | loop1: |
1366 | do { | 1366 | do { |
1367 | int alt1=2; | 1367 | int alt1=2; |
@@ -1374,7 +1374,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1374 | 1374 | ||
1375 | switch (alt1) { | 1375 | switch (alt1) { |
1376 | case 1 : | 1376 | case 1 : |
1377 | // InternalVampireLanguage.g:2776:31: RULE_ALPHA_NUMERIC | 1377 | // InternalVampireLanguage.g:2798:31: RULE_ALPHA_NUMERIC |
1378 | { | 1378 | { |
1379 | mRULE_ALPHA_NUMERIC(); | 1379 | mRULE_ALPHA_NUMERIC(); |
1380 | 1380 | ||
@@ -1402,11 +1402,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1402 | try { | 1402 | try { |
1403 | int _type = RULE_LOWER_WORD_ID; | 1403 | int _type = RULE_LOWER_WORD_ID; |
1404 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1404 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1405 | // InternalVampireLanguage.g:2778:20: ( 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* ) | 1405 | // InternalVampireLanguage.g:2800:20: ( 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* ) |
1406 | // InternalVampireLanguage.g:2778:22: 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* | 1406 | // InternalVampireLanguage.g:2800:22: 'a' .. 'z' ( RULE_ALPHA_NUMERIC )* |
1407 | { | 1407 | { |
1408 | matchRange('a','z'); | 1408 | matchRange('a','z'); |
1409 | // InternalVampireLanguage.g:2778:31: ( RULE_ALPHA_NUMERIC )* | 1409 | // InternalVampireLanguage.g:2800:31: ( RULE_ALPHA_NUMERIC )* |
1410 | loop2: | 1410 | loop2: |
1411 | do { | 1411 | do { |
1412 | int alt2=2; | 1412 | int alt2=2; |
@@ -1419,7 +1419,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1419 | 1419 | ||
1420 | switch (alt2) { | 1420 | switch (alt2) { |
1421 | case 1 : | 1421 | case 1 : |
1422 | // InternalVampireLanguage.g:2778:31: RULE_ALPHA_NUMERIC | 1422 | // InternalVampireLanguage.g:2800:31: RULE_ALPHA_NUMERIC |
1423 | { | 1423 | { |
1424 | mRULE_ALPHA_NUMERIC(); | 1424 | mRULE_ALPHA_NUMERIC(); |
1425 | 1425 | ||
@@ -1447,11 +1447,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1447 | try { | 1447 | try { |
1448 | int _type = RULE_DOUBLE_QUOTE; | 1448 | int _type = RULE_DOUBLE_QUOTE; |
1449 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1449 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1450 | // InternalVampireLanguage.g:2780:19: ( '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) | 1450 | // InternalVampireLanguage.g:2802:19: ( '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) |
1451 | // InternalVampireLanguage.g:2780:21: '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1451 | // InternalVampireLanguage.g:2802:21: '\"' ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
1452 | { | 1452 | { |
1453 | match('\"'); | 1453 | match('\"'); |
1454 | // InternalVampireLanguage.g:2780:25: ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* | 1454 | // InternalVampireLanguage.g:2802:25: ( '\\\\' ( '\"' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* |
1455 | loop3: | 1455 | loop3: |
1456 | do { | 1456 | do { |
1457 | int alt3=3; | 1457 | int alt3=3; |
@@ -1467,7 +1467,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1467 | 1467 | ||
1468 | switch (alt3) { | 1468 | switch (alt3) { |
1469 | case 1 : | 1469 | case 1 : |
1470 | // InternalVampireLanguage.g:2780:26: '\\\\' ( '\"' | '\\\\' ) | 1470 | // InternalVampireLanguage.g:2802:26: '\\\\' ( '\"' | '\\\\' ) |
1471 | { | 1471 | { |
1472 | match('\\'); | 1472 | match('\\'); |
1473 | if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) { | 1473 | if ( input.LA(1)=='\"'||input.LA(1)=='\\' ) { |
@@ -1483,7 +1483,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1483 | } | 1483 | } |
1484 | break; | 1484 | break; |
1485 | case 2 : | 1485 | case 2 : |
1486 | // InternalVampireLanguage.g:2780:42: ~ ( ( '\\\\' | '\"' ) ) | 1486 | // InternalVampireLanguage.g:2802:42: ~ ( ( '\\\\' | '\"' ) ) |
1487 | { | 1487 | { |
1488 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1488 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1489 | input.consume(); | 1489 | input.consume(); |
@@ -1520,11 +1520,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1520 | try { | 1520 | try { |
1521 | int _type = RULE_SINGLE_QUOTE; | 1521 | int _type = RULE_SINGLE_QUOTE; |
1522 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1522 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1523 | // InternalVampireLanguage.g:2782:19: ( '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' ) | 1523 | // InternalVampireLanguage.g:2804:19: ( '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' ) |
1524 | // InternalVampireLanguage.g:2782:21: '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' | 1524 | // InternalVampireLanguage.g:2804:21: '\\'' ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ '\\'' |
1525 | { | 1525 | { |
1526 | match('\''); | 1526 | match('\''); |
1527 | // InternalVampireLanguage.g:2782:26: ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ | 1527 | // InternalVampireLanguage.g:2804:26: ( '\\\\' ( '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )+ |
1528 | int cnt4=0; | 1528 | int cnt4=0; |
1529 | loop4: | 1529 | loop4: |
1530 | do { | 1530 | do { |
@@ -1541,7 +1541,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1541 | 1541 | ||
1542 | switch (alt4) { | 1542 | switch (alt4) { |
1543 | case 1 : | 1543 | case 1 : |
1544 | // InternalVampireLanguage.g:2782:27: '\\\\' ( '\\'' | '\\\\' ) | 1544 | // InternalVampireLanguage.g:2804:27: '\\\\' ( '\\'' | '\\\\' ) |
1545 | { | 1545 | { |
1546 | match('\\'); | 1546 | match('\\'); |
1547 | if ( input.LA(1)=='\''||input.LA(1)=='\\' ) { | 1547 | if ( input.LA(1)=='\''||input.LA(1)=='\\' ) { |
@@ -1557,7 +1557,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1557 | } | 1557 | } |
1558 | break; | 1558 | break; |
1559 | case 2 : | 1559 | case 2 : |
1560 | // InternalVampireLanguage.g:2782:44: ~ ( ( '\\\\' | '\\'' ) ) | 1560 | // InternalVampireLanguage.g:2804:44: ~ ( ( '\\\\' | '\\'' ) ) |
1561 | { | 1561 | { |
1562 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1562 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1563 | input.consume(); | 1563 | input.consume(); |
@@ -1596,8 +1596,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1596 | // $ANTLR start "RULE_SIGN" | 1596 | // $ANTLR start "RULE_SIGN" |
1597 | public final void mRULE_SIGN() throws RecognitionException { | 1597 | public final void mRULE_SIGN() throws RecognitionException { |
1598 | try { | 1598 | try { |
1599 | // InternalVampireLanguage.g:2784:20: ( ( '+' | '-' ) ) | 1599 | // InternalVampireLanguage.g:2806:20: ( ( '+' | '-' ) ) |
1600 | // InternalVampireLanguage.g:2784:22: ( '+' | '-' ) | 1600 | // InternalVampireLanguage.g:2806:22: ( '+' | '-' ) |
1601 | { | 1601 | { |
1602 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { | 1602 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
1603 | input.consume(); | 1603 | input.consume(); |
@@ -1622,8 +1622,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1622 | try { | 1622 | try { |
1623 | int _type = RULE_DOLLAR_ID; | 1623 | int _type = RULE_DOLLAR_ID; |
1624 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1624 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1625 | // InternalVampireLanguage.g:2786:16: ( '$' RULE_LOWER_WORD_ID ) | 1625 | // InternalVampireLanguage.g:2808:16: ( '$' RULE_LOWER_WORD_ID ) |
1626 | // InternalVampireLanguage.g:2786:18: '$' RULE_LOWER_WORD_ID | 1626 | // InternalVampireLanguage.g:2808:18: '$' RULE_LOWER_WORD_ID |
1627 | { | 1627 | { |
1628 | match('$'); | 1628 | match('$'); |
1629 | mRULE_LOWER_WORD_ID(); | 1629 | mRULE_LOWER_WORD_ID(); |
@@ -1643,8 +1643,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1643 | try { | 1643 | try { |
1644 | int _type = RULE_DOUBLE_DOLLAR_ID; | 1644 | int _type = RULE_DOUBLE_DOLLAR_ID; |
1645 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1645 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1646 | // InternalVampireLanguage.g:2788:23: ( '$$' RULE_LOWER_WORD_ID ) | 1646 | // InternalVampireLanguage.g:2810:23: ( '$$' RULE_LOWER_WORD_ID ) |
1647 | // InternalVampireLanguage.g:2788:25: '$$' RULE_LOWER_WORD_ID | 1647 | // InternalVampireLanguage.g:2810:25: '$$' RULE_LOWER_WORD_ID |
1648 | { | 1648 | { |
1649 | match("$$"); | 1649 | match("$$"); |
1650 | 1650 | ||
@@ -1665,10 +1665,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1665 | try { | 1665 | try { |
1666 | int _type = RULE_LITERAL; | 1666 | int _type = RULE_LITERAL; |
1667 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1667 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1668 | // InternalVampireLanguage.g:2790:14: ( ( '0' | '1' .. '9' ( RULE_INT )? ) ) | 1668 | // InternalVampireLanguage.g:2812:14: ( ( '0' | '1' .. '9' ( RULE_INT )? ) ) |
1669 | // InternalVampireLanguage.g:2790:16: ( '0' | '1' .. '9' ( RULE_INT )? ) | 1669 | // InternalVampireLanguage.g:2812:16: ( '0' | '1' .. '9' ( RULE_INT )? ) |
1670 | { | 1670 | { |
1671 | // InternalVampireLanguage.g:2790:16: ( '0' | '1' .. '9' ( RULE_INT )? ) | 1671 | // InternalVampireLanguage.g:2812:16: ( '0' | '1' .. '9' ( RULE_INT )? ) |
1672 | int alt6=2; | 1672 | int alt6=2; |
1673 | int LA6_0 = input.LA(1); | 1673 | int LA6_0 = input.LA(1); |
1674 | 1674 | ||
@@ -1686,17 +1686,17 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1686 | } | 1686 | } |
1687 | switch (alt6) { | 1687 | switch (alt6) { |
1688 | case 1 : | 1688 | case 1 : |
1689 | // InternalVampireLanguage.g:2790:17: '0' | 1689 | // InternalVampireLanguage.g:2812:17: '0' |
1690 | { | 1690 | { |
1691 | match('0'); | 1691 | match('0'); |
1692 | 1692 | ||
1693 | } | 1693 | } |
1694 | break; | 1694 | break; |
1695 | case 2 : | 1695 | case 2 : |
1696 | // InternalVampireLanguage.g:2790:21: '1' .. '9' ( RULE_INT )? | 1696 | // InternalVampireLanguage.g:2812:21: '1' .. '9' ( RULE_INT )? |
1697 | { | 1697 | { |
1698 | matchRange('1','9'); | 1698 | matchRange('1','9'); |
1699 | // InternalVampireLanguage.g:2790:30: ( RULE_INT )? | 1699 | // InternalVampireLanguage.g:2812:30: ( RULE_INT )? |
1700 | int alt5=2; | 1700 | int alt5=2; |
1701 | int LA5_0 = input.LA(1); | 1701 | int LA5_0 = input.LA(1); |
1702 | 1702 | ||
@@ -1705,7 +1705,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1705 | } | 1705 | } |
1706 | switch (alt5) { | 1706 | switch (alt5) { |
1707 | case 1 : | 1707 | case 1 : |
1708 | // InternalVampireLanguage.g:2790:30: RULE_INT | 1708 | // InternalVampireLanguage.g:2812:30: RULE_INT |
1709 | { | 1709 | { |
1710 | mRULE_INT(); | 1710 | mRULE_INT(); |
1711 | 1711 | ||
@@ -1736,10 +1736,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1736 | try { | 1736 | try { |
1737 | int _type = RULE_SIGNED_LITERAL; | 1737 | int _type = RULE_SIGNED_LITERAL; |
1738 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1738 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1739 | // InternalVampireLanguage.g:2792:21: ( ( RULE_SIGN )* RULE_LITERAL ) | 1739 | // InternalVampireLanguage.g:2814:21: ( ( RULE_SIGN )* RULE_LITERAL ) |
1740 | // InternalVampireLanguage.g:2792:23: ( RULE_SIGN )* RULE_LITERAL | 1740 | // InternalVampireLanguage.g:2814:23: ( RULE_SIGN )* RULE_LITERAL |
1741 | { | 1741 | { |
1742 | // InternalVampireLanguage.g:2792:23: ( RULE_SIGN )* | 1742 | // InternalVampireLanguage.g:2814:23: ( RULE_SIGN )* |
1743 | loop7: | 1743 | loop7: |
1744 | do { | 1744 | do { |
1745 | int alt7=2; | 1745 | int alt7=2; |
@@ -1752,7 +1752,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1752 | 1752 | ||
1753 | switch (alt7) { | 1753 | switch (alt7) { |
1754 | case 1 : | 1754 | case 1 : |
1755 | // InternalVampireLanguage.g:2792:23: RULE_SIGN | 1755 | // InternalVampireLanguage.g:2814:23: RULE_SIGN |
1756 | { | 1756 | { |
1757 | mRULE_SIGN(); | 1757 | mRULE_SIGN(); |
1758 | 1758 | ||
@@ -1781,11 +1781,11 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1781 | try { | 1781 | try { |
1782 | int _type = RULE_SINGLE_COMMENT; | 1782 | int _type = RULE_SINGLE_COMMENT; |
1783 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1783 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1784 | // InternalVampireLanguage.g:2794:21: ( '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1784 | // InternalVampireLanguage.g:2816:21: ( '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1785 | // InternalVampireLanguage.g:2794:23: '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1785 | // InternalVampireLanguage.g:2816:23: '%' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1786 | { | 1786 | { |
1787 | match('%'); | 1787 | match('%'); |
1788 | // InternalVampireLanguage.g:2794:27: (~ ( ( '\\n' | '\\r' ) ) )* | 1788 | // InternalVampireLanguage.g:2816:27: (~ ( ( '\\n' | '\\r' ) ) )* |
1789 | loop8: | 1789 | loop8: |
1790 | do { | 1790 | do { |
1791 | int alt8=2; | 1791 | int alt8=2; |
@@ -1798,7 +1798,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1798 | 1798 | ||
1799 | switch (alt8) { | 1799 | switch (alt8) { |
1800 | case 1 : | 1800 | case 1 : |
1801 | // InternalVampireLanguage.g:2794:27: ~ ( ( '\\n' | '\\r' ) ) | 1801 | // InternalVampireLanguage.g:2816:27: ~ ( ( '\\n' | '\\r' ) ) |
1802 | { | 1802 | { |
1803 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1803 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1804 | input.consume(); | 1804 | input.consume(); |
@@ -1818,7 +1818,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1818 | } | 1818 | } |
1819 | } while (true); | 1819 | } while (true); |
1820 | 1820 | ||
1821 | // InternalVampireLanguage.g:2794:43: ( ( '\\r' )? '\\n' )? | 1821 | // InternalVampireLanguage.g:2816:43: ( ( '\\r' )? '\\n' )? |
1822 | int alt10=2; | 1822 | int alt10=2; |
1823 | int LA10_0 = input.LA(1); | 1823 | int LA10_0 = input.LA(1); |
1824 | 1824 | ||
@@ -1827,9 +1827,9 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1827 | } | 1827 | } |
1828 | switch (alt10) { | 1828 | switch (alt10) { |
1829 | case 1 : | 1829 | case 1 : |
1830 | // InternalVampireLanguage.g:2794:44: ( '\\r' )? '\\n' | 1830 | // InternalVampireLanguage.g:2816:44: ( '\\r' )? '\\n' |
1831 | { | 1831 | { |
1832 | // InternalVampireLanguage.g:2794:44: ( '\\r' )? | 1832 | // InternalVampireLanguage.g:2816:44: ( '\\r' )? |
1833 | int alt9=2; | 1833 | int alt9=2; |
1834 | int LA9_0 = input.LA(1); | 1834 | int LA9_0 = input.LA(1); |
1835 | 1835 | ||
@@ -1838,7 +1838,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1838 | } | 1838 | } |
1839 | switch (alt9) { | 1839 | switch (alt9) { |
1840 | case 1 : | 1840 | case 1 : |
1841 | // InternalVampireLanguage.g:2794:44: '\\r' | 1841 | // InternalVampireLanguage.g:2816:44: '\\r' |
1842 | { | 1842 | { |
1843 | match('\r'); | 1843 | match('\r'); |
1844 | 1844 | ||
@@ -1870,10 +1870,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1870 | try { | 1870 | try { |
1871 | int _type = RULE_ID; | 1871 | int _type = RULE_ID; |
1872 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1872 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1873 | // InternalVampireLanguage.g:2796:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 1873 | // InternalVampireLanguage.g:2818:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
1874 | // InternalVampireLanguage.g:2796:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 1874 | // InternalVampireLanguage.g:2818:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
1875 | { | 1875 | { |
1876 | // InternalVampireLanguage.g:2796:11: ( '^' )? | 1876 | // InternalVampireLanguage.g:2818:11: ( '^' )? |
1877 | int alt11=2; | 1877 | int alt11=2; |
1878 | int LA11_0 = input.LA(1); | 1878 | int LA11_0 = input.LA(1); |
1879 | 1879 | ||
@@ -1882,7 +1882,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1882 | } | 1882 | } |
1883 | switch (alt11) { | 1883 | switch (alt11) { |
1884 | case 1 : | 1884 | case 1 : |
1885 | // InternalVampireLanguage.g:2796:11: '^' | 1885 | // InternalVampireLanguage.g:2818:11: '^' |
1886 | { | 1886 | { |
1887 | match('^'); | 1887 | match('^'); |
1888 | 1888 | ||
@@ -1900,7 +1900,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1900 | recover(mse); | 1900 | recover(mse); |
1901 | throw mse;} | 1901 | throw mse;} |
1902 | 1902 | ||
1903 | // InternalVampireLanguage.g:2796:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 1903 | // InternalVampireLanguage.g:2818:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
1904 | loop12: | 1904 | loop12: |
1905 | do { | 1905 | do { |
1906 | int alt12=2; | 1906 | int alt12=2; |
@@ -1947,10 +1947,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1947 | // $ANTLR start "RULE_INT" | 1947 | // $ANTLR start "RULE_INT" |
1948 | public final void mRULE_INT() throws RecognitionException { | 1948 | public final void mRULE_INT() throws RecognitionException { |
1949 | try { | 1949 | try { |
1950 | // InternalVampireLanguage.g:2798:19: ( ( '0' .. '9' )+ ) | 1950 | // InternalVampireLanguage.g:2820:19: ( ( '0' .. '9' )+ ) |
1951 | // InternalVampireLanguage.g:2798:21: ( '0' .. '9' )+ | 1951 | // InternalVampireLanguage.g:2820:21: ( '0' .. '9' )+ |
1952 | { | 1952 | { |
1953 | // InternalVampireLanguage.g:2798:21: ( '0' .. '9' )+ | 1953 | // InternalVampireLanguage.g:2820:21: ( '0' .. '9' )+ |
1954 | int cnt13=0; | 1954 | int cnt13=0; |
1955 | loop13: | 1955 | loop13: |
1956 | do { | 1956 | do { |
@@ -1964,7 +1964,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1964 | 1964 | ||
1965 | switch (alt13) { | 1965 | switch (alt13) { |
1966 | case 1 : | 1966 | case 1 : |
1967 | // InternalVampireLanguage.g:2798:22: '0' .. '9' | 1967 | // InternalVampireLanguage.g:2820:22: '0' .. '9' |
1968 | { | 1968 | { |
1969 | matchRange('0','9'); | 1969 | matchRange('0','9'); |
1970 | 1970 | ||
@@ -1994,10 +1994,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
1994 | try { | 1994 | try { |
1995 | int _type = RULE_STRING; | 1995 | int _type = RULE_STRING; |
1996 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1996 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1997 | // InternalVampireLanguage.g:2800:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1997 | // InternalVampireLanguage.g:2822:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
1998 | // InternalVampireLanguage.g:2800:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1998 | // InternalVampireLanguage.g:2822:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1999 | { | 1999 | { |
2000 | // InternalVampireLanguage.g:2800:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 2000 | // InternalVampireLanguage.g:2822:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
2001 | int alt16=2; | 2001 | int alt16=2; |
2002 | int LA16_0 = input.LA(1); | 2002 | int LA16_0 = input.LA(1); |
2003 | 2003 | ||
@@ -2015,10 +2015,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2015 | } | 2015 | } |
2016 | switch (alt16) { | 2016 | switch (alt16) { |
2017 | case 1 : | 2017 | case 1 : |
2018 | // InternalVampireLanguage.g:2800:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 2018 | // InternalVampireLanguage.g:2822:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
2019 | { | 2019 | { |
2020 | match('\"'); | 2020 | match('\"'); |
2021 | // InternalVampireLanguage.g:2800:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 2021 | // InternalVampireLanguage.g:2822:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
2022 | loop14: | 2022 | loop14: |
2023 | do { | 2023 | do { |
2024 | int alt14=3; | 2024 | int alt14=3; |
@@ -2034,7 +2034,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2034 | 2034 | ||
2035 | switch (alt14) { | 2035 | switch (alt14) { |
2036 | case 1 : | 2036 | case 1 : |
2037 | // InternalVampireLanguage.g:2800:21: '\\\\' . | 2037 | // InternalVampireLanguage.g:2822:21: '\\\\' . |
2038 | { | 2038 | { |
2039 | match('\\'); | 2039 | match('\\'); |
2040 | matchAny(); | 2040 | matchAny(); |
@@ -2042,7 +2042,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2042 | } | 2042 | } |
2043 | break; | 2043 | break; |
2044 | case 2 : | 2044 | case 2 : |
2045 | // InternalVampireLanguage.g:2800:28: ~ ( ( '\\\\' | '\"' ) ) | 2045 | // InternalVampireLanguage.g:2822:28: ~ ( ( '\\\\' | '\"' ) ) |
2046 | { | 2046 | { |
2047 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 2047 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
2048 | input.consume(); | 2048 | input.consume(); |
@@ -2067,10 +2067,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2067 | } | 2067 | } |
2068 | break; | 2068 | break; |
2069 | case 2 : | 2069 | case 2 : |
2070 | // InternalVampireLanguage.g:2800:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 2070 | // InternalVampireLanguage.g:2822:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
2071 | { | 2071 | { |
2072 | match('\''); | 2072 | match('\''); |
2073 | // InternalVampireLanguage.g:2800:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 2073 | // InternalVampireLanguage.g:2822:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
2074 | loop15: | 2074 | loop15: |
2075 | do { | 2075 | do { |
2076 | int alt15=3; | 2076 | int alt15=3; |
@@ -2086,7 +2086,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2086 | 2086 | ||
2087 | switch (alt15) { | 2087 | switch (alt15) { |
2088 | case 1 : | 2088 | case 1 : |
2089 | // InternalVampireLanguage.g:2800:54: '\\\\' . | 2089 | // InternalVampireLanguage.g:2822:54: '\\\\' . |
2090 | { | 2090 | { |
2091 | match('\\'); | 2091 | match('\\'); |
2092 | matchAny(); | 2092 | matchAny(); |
@@ -2094,7 +2094,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2094 | } | 2094 | } |
2095 | break; | 2095 | break; |
2096 | case 2 : | 2096 | case 2 : |
2097 | // InternalVampireLanguage.g:2800:61: ~ ( ( '\\\\' | '\\'' ) ) | 2097 | // InternalVampireLanguage.g:2822:61: ~ ( ( '\\\\' | '\\'' ) ) |
2098 | { | 2098 | { |
2099 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 2099 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
2100 | input.consume(); | 2100 | input.consume(); |
@@ -2137,12 +2137,12 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2137 | try { | 2137 | try { |
2138 | int _type = RULE_ML_COMMENT; | 2138 | int _type = RULE_ML_COMMENT; |
2139 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2139 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2140 | // InternalVampireLanguage.g:2802:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 2140 | // InternalVampireLanguage.g:2824:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
2141 | // InternalVampireLanguage.g:2802:19: '/*' ( options {greedy=false; } : . )* '*/' | 2141 | // InternalVampireLanguage.g:2824:19: '/*' ( options {greedy=false; } : . )* '*/' |
2142 | { | 2142 | { |
2143 | match("/*"); | 2143 | match("/*"); |
2144 | 2144 | ||
2145 | // InternalVampireLanguage.g:2802:24: ( options {greedy=false; } : . )* | 2145 | // InternalVampireLanguage.g:2824:24: ( options {greedy=false; } : . )* |
2146 | loop17: | 2146 | loop17: |
2147 | do { | 2147 | do { |
2148 | int alt17=2; | 2148 | int alt17=2; |
@@ -2167,7 +2167,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2167 | 2167 | ||
2168 | switch (alt17) { | 2168 | switch (alt17) { |
2169 | case 1 : | 2169 | case 1 : |
2170 | // InternalVampireLanguage.g:2802:52: . | 2170 | // InternalVampireLanguage.g:2824:52: . |
2171 | { | 2171 | { |
2172 | matchAny(); | 2172 | matchAny(); |
2173 | 2173 | ||
@@ -2197,12 +2197,12 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2197 | try { | 2197 | try { |
2198 | int _type = RULE_SL_COMMENT; | 2198 | int _type = RULE_SL_COMMENT; |
2199 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2199 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2200 | // InternalVampireLanguage.g:2804:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 2200 | // InternalVampireLanguage.g:2826:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
2201 | // InternalVampireLanguage.g:2804:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 2201 | // InternalVampireLanguage.g:2826:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
2202 | { | 2202 | { |
2203 | match("//"); | 2203 | match("//"); |
2204 | 2204 | ||
2205 | // InternalVampireLanguage.g:2804:24: (~ ( ( '\\n' | '\\r' ) ) )* | 2205 | // InternalVampireLanguage.g:2826:24: (~ ( ( '\\n' | '\\r' ) ) )* |
2206 | loop18: | 2206 | loop18: |
2207 | do { | 2207 | do { |
2208 | int alt18=2; | 2208 | int alt18=2; |
@@ -2215,7 +2215,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2215 | 2215 | ||
2216 | switch (alt18) { | 2216 | switch (alt18) { |
2217 | case 1 : | 2217 | case 1 : |
2218 | // InternalVampireLanguage.g:2804:24: ~ ( ( '\\n' | '\\r' ) ) | 2218 | // InternalVampireLanguage.g:2826:24: ~ ( ( '\\n' | '\\r' ) ) |
2219 | { | 2219 | { |
2220 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 2220 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
2221 | input.consume(); | 2221 | input.consume(); |
@@ -2235,7 +2235,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2235 | } | 2235 | } |
2236 | } while (true); | 2236 | } while (true); |
2237 | 2237 | ||
2238 | // InternalVampireLanguage.g:2804:40: ( ( '\\r' )? '\\n' )? | 2238 | // InternalVampireLanguage.g:2826:40: ( ( '\\r' )? '\\n' )? |
2239 | int alt20=2; | 2239 | int alt20=2; |
2240 | int LA20_0 = input.LA(1); | 2240 | int LA20_0 = input.LA(1); |
2241 | 2241 | ||
@@ -2244,9 +2244,9 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2244 | } | 2244 | } |
2245 | switch (alt20) { | 2245 | switch (alt20) { |
2246 | case 1 : | 2246 | case 1 : |
2247 | // InternalVampireLanguage.g:2804:41: ( '\\r' )? '\\n' | 2247 | // InternalVampireLanguage.g:2826:41: ( '\\r' )? '\\n' |
2248 | { | 2248 | { |
2249 | // InternalVampireLanguage.g:2804:41: ( '\\r' )? | 2249 | // InternalVampireLanguage.g:2826:41: ( '\\r' )? |
2250 | int alt19=2; | 2250 | int alt19=2; |
2251 | int LA19_0 = input.LA(1); | 2251 | int LA19_0 = input.LA(1); |
2252 | 2252 | ||
@@ -2255,7 +2255,7 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2255 | } | 2255 | } |
2256 | switch (alt19) { | 2256 | switch (alt19) { |
2257 | case 1 : | 2257 | case 1 : |
2258 | // InternalVampireLanguage.g:2804:41: '\\r' | 2258 | // InternalVampireLanguage.g:2826:41: '\\r' |
2259 | { | 2259 | { |
2260 | match('\r'); | 2260 | match('\r'); |
2261 | 2261 | ||
@@ -2287,10 +2287,10 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2287 | try { | 2287 | try { |
2288 | int _type = RULE_WS; | 2288 | int _type = RULE_WS; |
2289 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2289 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2290 | // InternalVampireLanguage.g:2806:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 2290 | // InternalVampireLanguage.g:2828:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
2291 | // InternalVampireLanguage.g:2806:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 2291 | // InternalVampireLanguage.g:2828:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
2292 | { | 2292 | { |
2293 | // InternalVampireLanguage.g:2806:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 2293 | // InternalVampireLanguage.g:2828:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
2294 | int cnt21=0; | 2294 | int cnt21=0; |
2295 | loop21: | 2295 | loop21: |
2296 | do { | 2296 | do { |
@@ -2344,8 +2344,8 @@ public class InternalVampireLanguageLexer extends Lexer { | |||
2344 | try { | 2344 | try { |
2345 | int _type = RULE_ANY_OTHER; | 2345 | int _type = RULE_ANY_OTHER; |
2346 | int _channel = DEFAULT_TOKEN_CHANNEL; | 2346 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2347 | // InternalVampireLanguage.g:2808:16: ( . ) | 2347 | // InternalVampireLanguage.g:2830:16: ( . ) |
2348 | // InternalVampireLanguage.g:2808:18: . | 2348 | // InternalVampireLanguage.g:2830:18: . |
2349 | { | 2349 | { |
2350 | matchAny(); | 2350 | matchAny(); |
2351 | 2351 | ||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageParser.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageParser.java index a644dcef..bf37606b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageParser.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/parser/antlr/internal/InternalVampireLanguageParser.java | |||
@@ -2906,12 +2906,12 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
2906 | 2906 | ||
2907 | 2907 | ||
2908 | // $ANTLR start "ruleVLSOtherDeclaration" | 2908 | // $ANTLR start "ruleVLSOtherDeclaration" |
2909 | // InternalVampireLanguage.g:1111:1: ruleVLSOtherDeclaration returns [EObject current=null] : (this_VLSAtomicConstant_0= ruleVLSAtomicConstant otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ; | 2909 | // InternalVampireLanguage.g:1111:1: ruleVLSOtherDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleVLSAtomicConstant ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ; |
2910 | public final EObject ruleVLSOtherDeclaration() throws RecognitionException { | 2910 | public final EObject ruleVLSOtherDeclaration() throws RecognitionException { |
2911 | EObject current = null; | 2911 | EObject current = null; |
2912 | 2912 | ||
2913 | Token otherlv_1=null; | 2913 | Token otherlv_1=null; |
2914 | EObject this_VLSAtomicConstant_0 = null; | 2914 | EObject lv_name_0_0 = null; |
2915 | 2915 | ||
2916 | EObject lv_type_2_0 = null; | 2916 | EObject lv_type_2_0 = null; |
2917 | 2917 | ||
@@ -2920,33 +2920,52 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
2920 | enterRule(); | 2920 | enterRule(); |
2921 | 2921 | ||
2922 | try { | 2922 | try { |
2923 | // InternalVampireLanguage.g:1117:2: ( (this_VLSAtomicConstant_0= ruleVLSAtomicConstant otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ) | 2923 | // InternalVampireLanguage.g:1117:2: ( ( ( (lv_name_0_0= ruleVLSAtomicConstant ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ) |
2924 | // InternalVampireLanguage.g:1118:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | 2924 | // InternalVampireLanguage.g:1118:2: ( ( (lv_name_0_0= ruleVLSAtomicConstant ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) |
2925 | { | ||
2926 | // InternalVampireLanguage.g:1118:2: ( ( (lv_name_0_0= ruleVLSAtomicConstant ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | ||
2927 | // InternalVampireLanguage.g:1119:3: ( (lv_name_0_0= ruleVLSAtomicConstant ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) | ||
2928 | { | ||
2929 | // InternalVampireLanguage.g:1119:3: ( (lv_name_0_0= ruleVLSAtomicConstant ) ) | ||
2930 | // InternalVampireLanguage.g:1120:4: (lv_name_0_0= ruleVLSAtomicConstant ) | ||
2925 | { | 2931 | { |
2926 | // InternalVampireLanguage.g:1118:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | 2932 | // InternalVampireLanguage.g:1120:4: (lv_name_0_0= ruleVLSAtomicConstant ) |
2927 | // InternalVampireLanguage.g:1119:3: this_VLSAtomicConstant_0= ruleVLSAtomicConstant otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) | 2933 | // InternalVampireLanguage.g:1121:5: lv_name_0_0= ruleVLSAtomicConstant |
2928 | { | 2934 | { |
2929 | 2935 | ||
2930 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getVLSAtomicConstantParserRuleCall_0()); | 2936 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0()); |
2931 | 2937 | ||
2932 | pushFollow(FOLLOW_32); | 2938 | pushFollow(FOLLOW_32); |
2933 | this_VLSAtomicConstant_0=ruleVLSAtomicConstant(); | 2939 | lv_name_0_0=ruleVLSAtomicConstant(); |
2934 | 2940 | ||
2935 | state._fsp--; | 2941 | state._fsp--; |
2936 | 2942 | ||
2937 | 2943 | ||
2938 | current = this_VLSAtomicConstant_0; | 2944 | if (current==null) { |
2939 | afterParserOrEnumRuleCall(); | 2945 | current = createModelElementForParent(grammarAccess.getVLSOtherDeclarationRule()); |
2940 | 2946 | } | |
2947 | set( | ||
2948 | current, | ||
2949 | "name", | ||
2950 | lv_name_0_0, | ||
2951 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSAtomicConstant"); | ||
2952 | afterParserOrEnumRuleCall(); | ||
2953 | |||
2954 | |||
2955 | } | ||
2956 | |||
2957 | |||
2958 | } | ||
2959 | |||
2941 | otherlv_1=(Token)match(input,61,FOLLOW_33); | 2960 | otherlv_1=(Token)match(input,61,FOLLOW_33); |
2942 | 2961 | ||
2943 | newLeafNode(otherlv_1, grammarAccess.getVLSOtherDeclarationAccess().getColonKeyword_1()); | 2962 | newLeafNode(otherlv_1, grammarAccess.getVLSOtherDeclarationAccess().getColonKeyword_1()); |
2944 | 2963 | ||
2945 | // InternalVampireLanguage.g:1131:3: ( (lv_type_2_0= ruleVLSTypeDef ) ) | 2964 | // InternalVampireLanguage.g:1142:3: ( (lv_type_2_0= ruleVLSTypeDef ) ) |
2946 | // InternalVampireLanguage.g:1132:4: (lv_type_2_0= ruleVLSTypeDef ) | 2965 | // InternalVampireLanguage.g:1143:4: (lv_type_2_0= ruleVLSTypeDef ) |
2947 | { | 2966 | { |
2948 | // InternalVampireLanguage.g:1132:4: (lv_type_2_0= ruleVLSTypeDef ) | 2967 | // InternalVampireLanguage.g:1143:4: (lv_type_2_0= ruleVLSTypeDef ) |
2949 | // InternalVampireLanguage.g:1133:5: lv_type_2_0= ruleVLSTypeDef | 2968 | // InternalVampireLanguage.g:1144:5: lv_type_2_0= ruleVLSTypeDef |
2950 | { | 2969 | { |
2951 | 2970 | ||
2952 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); | 2971 | newCompositeNode(grammarAccess.getVLSOtherDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); |
@@ -2996,7 +3015,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
2996 | 3015 | ||
2997 | 3016 | ||
2998 | // $ANTLR start "entryRuleVLSVariableDeclaration" | 3017 | // $ANTLR start "entryRuleVLSVariableDeclaration" |
2999 | // InternalVampireLanguage.g:1154:1: entryRuleVLSVariableDeclaration returns [EObject current=null] : iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF ; | 3018 | // InternalVampireLanguage.g:1165:1: entryRuleVLSVariableDeclaration returns [EObject current=null] : iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF ; |
3000 | public final EObject entryRuleVLSVariableDeclaration() throws RecognitionException { | 3019 | public final EObject entryRuleVLSVariableDeclaration() throws RecognitionException { |
3001 | EObject current = null; | 3020 | EObject current = null; |
3002 | 3021 | ||
@@ -3004,8 +3023,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3004 | 3023 | ||
3005 | 3024 | ||
3006 | try { | 3025 | try { |
3007 | // InternalVampireLanguage.g:1154:63: (iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF ) | 3026 | // InternalVampireLanguage.g:1165:63: (iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF ) |
3008 | // InternalVampireLanguage.g:1155:2: iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF | 3027 | // InternalVampireLanguage.g:1166:2: iv_ruleVLSVariableDeclaration= ruleVLSVariableDeclaration EOF |
3009 | { | 3028 | { |
3010 | newCompositeNode(grammarAccess.getVLSVariableDeclarationRule()); | 3029 | newCompositeNode(grammarAccess.getVLSVariableDeclarationRule()); |
3011 | pushFollow(FOLLOW_1); | 3030 | pushFollow(FOLLOW_1); |
@@ -3032,12 +3051,12 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3032 | 3051 | ||
3033 | 3052 | ||
3034 | // $ANTLR start "ruleVLSVariableDeclaration" | 3053 | // $ANTLR start "ruleVLSVariableDeclaration" |
3035 | // InternalVampireLanguage.g:1161:1: ruleVLSVariableDeclaration returns [EObject current=null] : (this_VLSVariable_0= ruleVLSVariable otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ; | 3054 | // InternalVampireLanguage.g:1172:1: ruleVLSVariableDeclaration returns [EObject current=null] : ( ( (lv_name_0_0= ruleVLSVariable ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ; |
3036 | public final EObject ruleVLSVariableDeclaration() throws RecognitionException { | 3055 | public final EObject ruleVLSVariableDeclaration() throws RecognitionException { |
3037 | EObject current = null; | 3056 | EObject current = null; |
3038 | 3057 | ||
3039 | Token otherlv_1=null; | 3058 | Token otherlv_1=null; |
3040 | EObject this_VLSVariable_0 = null; | 3059 | EObject lv_name_0_0 = null; |
3041 | 3060 | ||
3042 | EObject lv_type_2_0 = null; | 3061 | EObject lv_type_2_0 = null; |
3043 | 3062 | ||
@@ -3046,33 +3065,52 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3046 | enterRule(); | 3065 | enterRule(); |
3047 | 3066 | ||
3048 | try { | 3067 | try { |
3049 | // InternalVampireLanguage.g:1167:2: ( (this_VLSVariable_0= ruleVLSVariable otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ) | 3068 | // InternalVampireLanguage.g:1178:2: ( ( ( (lv_name_0_0= ruleVLSVariable ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) ) |
3050 | // InternalVampireLanguage.g:1168:2: (this_VLSVariable_0= ruleVLSVariable otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | 3069 | // InternalVampireLanguage.g:1179:2: ( ( (lv_name_0_0= ruleVLSVariable ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) |
3070 | { | ||
3071 | // InternalVampireLanguage.g:1179:2: ( ( (lv_name_0_0= ruleVLSVariable ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | ||
3072 | // InternalVampireLanguage.g:1180:3: ( (lv_name_0_0= ruleVLSVariable ) ) otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) | ||
3073 | { | ||
3074 | // InternalVampireLanguage.g:1180:3: ( (lv_name_0_0= ruleVLSVariable ) ) | ||
3075 | // InternalVampireLanguage.g:1181:4: (lv_name_0_0= ruleVLSVariable ) | ||
3051 | { | 3076 | { |
3052 | // InternalVampireLanguage.g:1168:2: (this_VLSVariable_0= ruleVLSVariable otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) ) | 3077 | // InternalVampireLanguage.g:1181:4: (lv_name_0_0= ruleVLSVariable ) |
3053 | // InternalVampireLanguage.g:1169:3: this_VLSVariable_0= ruleVLSVariable otherlv_1= ':' ( (lv_type_2_0= ruleVLSTypeDef ) ) | 3078 | // InternalVampireLanguage.g:1182:5: lv_name_0_0= ruleVLSVariable |
3054 | { | 3079 | { |
3055 | 3080 | ||
3056 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getVLSVariableParserRuleCall_0()); | 3081 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0()); |
3057 | 3082 | ||
3058 | pushFollow(FOLLOW_32); | 3083 | pushFollow(FOLLOW_32); |
3059 | this_VLSVariable_0=ruleVLSVariable(); | 3084 | lv_name_0_0=ruleVLSVariable(); |
3060 | 3085 | ||
3061 | state._fsp--; | 3086 | state._fsp--; |
3062 | 3087 | ||
3063 | 3088 | ||
3064 | current = this_VLSVariable_0; | 3089 | if (current==null) { |
3065 | afterParserOrEnumRuleCall(); | 3090 | current = createModelElementForParent(grammarAccess.getVLSVariableDeclarationRule()); |
3066 | 3091 | } | |
3092 | set( | ||
3093 | current, | ||
3094 | "name", | ||
3095 | lv_name_0_0, | ||
3096 | "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSVariable"); | ||
3097 | afterParserOrEnumRuleCall(); | ||
3098 | |||
3099 | |||
3100 | } | ||
3101 | |||
3102 | |||
3103 | } | ||
3104 | |||
3067 | otherlv_1=(Token)match(input,61,FOLLOW_33); | 3105 | otherlv_1=(Token)match(input,61,FOLLOW_33); |
3068 | 3106 | ||
3069 | newLeafNode(otherlv_1, grammarAccess.getVLSVariableDeclarationAccess().getColonKeyword_1()); | 3107 | newLeafNode(otherlv_1, grammarAccess.getVLSVariableDeclarationAccess().getColonKeyword_1()); |
3070 | 3108 | ||
3071 | // InternalVampireLanguage.g:1181:3: ( (lv_type_2_0= ruleVLSTypeDef ) ) | 3109 | // InternalVampireLanguage.g:1203:3: ( (lv_type_2_0= ruleVLSTypeDef ) ) |
3072 | // InternalVampireLanguage.g:1182:4: (lv_type_2_0= ruleVLSTypeDef ) | 3110 | // InternalVampireLanguage.g:1204:4: (lv_type_2_0= ruleVLSTypeDef ) |
3073 | { | 3111 | { |
3074 | // InternalVampireLanguage.g:1182:4: (lv_type_2_0= ruleVLSTypeDef ) | 3112 | // InternalVampireLanguage.g:1204:4: (lv_type_2_0= ruleVLSTypeDef ) |
3075 | // InternalVampireLanguage.g:1183:5: lv_type_2_0= ruleVLSTypeDef | 3113 | // InternalVampireLanguage.g:1205:5: lv_type_2_0= ruleVLSTypeDef |
3076 | { | 3114 | { |
3077 | 3115 | ||
3078 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); | 3116 | newCompositeNode(grammarAccess.getVLSVariableDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0()); |
@@ -3122,7 +3160,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3122 | 3160 | ||
3123 | 3161 | ||
3124 | // $ANTLR start "entryRuleVLSTypeDef" | 3162 | // $ANTLR start "entryRuleVLSTypeDef" |
3125 | // InternalVampireLanguage.g:1204:1: entryRuleVLSTypeDef returns [EObject current=null] : iv_ruleVLSTypeDef= ruleVLSTypeDef EOF ; | 3163 | // InternalVampireLanguage.g:1226:1: entryRuleVLSTypeDef returns [EObject current=null] : iv_ruleVLSTypeDef= ruleVLSTypeDef EOF ; |
3126 | public final EObject entryRuleVLSTypeDef() throws RecognitionException { | 3164 | public final EObject entryRuleVLSTypeDef() throws RecognitionException { |
3127 | EObject current = null; | 3165 | EObject current = null; |
3128 | 3166 | ||
@@ -3130,8 +3168,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3130 | 3168 | ||
3131 | 3169 | ||
3132 | try { | 3170 | try { |
3133 | // InternalVampireLanguage.g:1204:51: (iv_ruleVLSTypeDef= ruleVLSTypeDef EOF ) | 3171 | // InternalVampireLanguage.g:1226:51: (iv_ruleVLSTypeDef= ruleVLSTypeDef EOF ) |
3134 | // InternalVampireLanguage.g:1205:2: iv_ruleVLSTypeDef= ruleVLSTypeDef EOF | 3172 | // InternalVampireLanguage.g:1227:2: iv_ruleVLSTypeDef= ruleVLSTypeDef EOF |
3135 | { | 3173 | { |
3136 | newCompositeNode(grammarAccess.getVLSTypeDefRule()); | 3174 | newCompositeNode(grammarAccess.getVLSTypeDefRule()); |
3137 | pushFollow(FOLLOW_1); | 3175 | pushFollow(FOLLOW_1); |
@@ -3158,7 +3196,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3158 | 3196 | ||
3159 | 3197 | ||
3160 | // $ANTLR start "ruleVLSTypeDef" | 3198 | // $ANTLR start "ruleVLSTypeDef" |
3161 | // InternalVampireLanguage.g:1211:1: ruleVLSTypeDef returns [EObject current=null] : ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) ; | 3199 | // InternalVampireLanguage.g:1233:1: ruleVLSTypeDef returns [EObject current=null] : ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) ; |
3162 | public final EObject ruleVLSTypeDef() throws RecognitionException { | 3200 | public final EObject ruleVLSTypeDef() throws RecognitionException { |
3163 | EObject current = null; | 3201 | EObject current = null; |
3164 | 3202 | ||
@@ -3172,17 +3210,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3172 | enterRule(); | 3210 | enterRule(); |
3173 | 3211 | ||
3174 | try { | 3212 | try { |
3175 | // InternalVampireLanguage.g:1217:2: ( ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) ) | 3213 | // InternalVampireLanguage.g:1239:2: ( ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) ) |
3176 | // InternalVampireLanguage.g:1218:2: ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) | 3214 | // InternalVampireLanguage.g:1240:2: ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) |
3177 | { | 3215 | { |
3178 | // InternalVampireLanguage.g:1218:2: ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) | 3216 | // InternalVampireLanguage.g:1240:2: ( ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? ) |
3179 | // InternalVampireLanguage.g:1219:3: ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? | 3217 | // InternalVampireLanguage.g:1241:3: ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? |
3180 | { | 3218 | { |
3181 | // InternalVampireLanguage.g:1219:3: ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) | 3219 | // InternalVampireLanguage.g:1241:3: ( (lv_typeSig_0_0= ruleVLSUnitaryTerm ) ) |
3182 | // InternalVampireLanguage.g:1220:4: (lv_typeSig_0_0= ruleVLSUnitaryTerm ) | 3220 | // InternalVampireLanguage.g:1242:4: (lv_typeSig_0_0= ruleVLSUnitaryTerm ) |
3183 | { | 3221 | { |
3184 | // InternalVampireLanguage.g:1220:4: (lv_typeSig_0_0= ruleVLSUnitaryTerm ) | 3222 | // InternalVampireLanguage.g:1242:4: (lv_typeSig_0_0= ruleVLSUnitaryTerm ) |
3185 | // InternalVampireLanguage.g:1221:5: lv_typeSig_0_0= ruleVLSUnitaryTerm | 3223 | // InternalVampireLanguage.g:1243:5: lv_typeSig_0_0= ruleVLSUnitaryTerm |
3186 | { | 3224 | { |
3187 | 3225 | ||
3188 | newCompositeNode(grammarAccess.getVLSTypeDefAccess().getTypeSigVLSUnitaryTermParserRuleCall_0_0()); | 3226 | newCompositeNode(grammarAccess.getVLSTypeDefAccess().getTypeSigVLSUnitaryTermParserRuleCall_0_0()); |
@@ -3209,7 +3247,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3209 | 3247 | ||
3210 | } | 3248 | } |
3211 | 3249 | ||
3212 | // InternalVampireLanguage.g:1238:3: (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? | 3250 | // InternalVampireLanguage.g:1260:3: (otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) )? |
3213 | int alt17=2; | 3251 | int alt17=2; |
3214 | int LA17_0 = input.LA(1); | 3252 | int LA17_0 = input.LA(1); |
3215 | 3253 | ||
@@ -3218,17 +3256,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3218 | } | 3256 | } |
3219 | switch (alt17) { | 3257 | switch (alt17) { |
3220 | case 1 : | 3258 | case 1 : |
3221 | // InternalVampireLanguage.g:1239:4: otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) | 3259 | // InternalVampireLanguage.g:1261:4: otherlv_1= '>' ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) |
3222 | { | 3260 | { |
3223 | otherlv_1=(Token)match(input,62,FOLLOW_35); | 3261 | otherlv_1=(Token)match(input,62,FOLLOW_35); |
3224 | 3262 | ||
3225 | newLeafNode(otherlv_1, grammarAccess.getVLSTypeDefAccess().getGreaterThanSignKeyword_1_0()); | 3263 | newLeafNode(otherlv_1, grammarAccess.getVLSTypeDefAccess().getGreaterThanSignKeyword_1_0()); |
3226 | 3264 | ||
3227 | // InternalVampireLanguage.g:1243:4: ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) | 3265 | // InternalVampireLanguage.g:1265:4: ( (lv_mapsTo_2_0= ruleVLSAtomicConstant ) ) |
3228 | // InternalVampireLanguage.g:1244:5: (lv_mapsTo_2_0= ruleVLSAtomicConstant ) | 3266 | // InternalVampireLanguage.g:1266:5: (lv_mapsTo_2_0= ruleVLSAtomicConstant ) |
3229 | { | 3267 | { |
3230 | // InternalVampireLanguage.g:1244:5: (lv_mapsTo_2_0= ruleVLSAtomicConstant ) | 3268 | // InternalVampireLanguage.g:1266:5: (lv_mapsTo_2_0= ruleVLSAtomicConstant ) |
3231 | // InternalVampireLanguage.g:1245:6: lv_mapsTo_2_0= ruleVLSAtomicConstant | 3269 | // InternalVampireLanguage.g:1267:6: lv_mapsTo_2_0= ruleVLSAtomicConstant |
3232 | { | 3270 | { |
3233 | 3271 | ||
3234 | newCompositeNode(grammarAccess.getVLSTypeDefAccess().getMapsToVLSAtomicConstantParserRuleCall_1_1_0()); | 3272 | newCompositeNode(grammarAccess.getVLSTypeDefAccess().getMapsToVLSAtomicConstantParserRuleCall_1_1_0()); |
@@ -3284,7 +3322,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3284 | 3322 | ||
3285 | 3323 | ||
3286 | // $ANTLR start "entryRuleVLSUnitaryTerm" | 3324 | // $ANTLR start "entryRuleVLSUnitaryTerm" |
3287 | // InternalVampireLanguage.g:1267:1: entryRuleVLSUnitaryTerm returns [EObject current=null] : iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF ; | 3325 | // InternalVampireLanguage.g:1289:1: entryRuleVLSUnitaryTerm returns [EObject current=null] : iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF ; |
3288 | public final EObject entryRuleVLSUnitaryTerm() throws RecognitionException { | 3326 | public final EObject entryRuleVLSUnitaryTerm() throws RecognitionException { |
3289 | EObject current = null; | 3327 | EObject current = null; |
3290 | 3328 | ||
@@ -3292,8 +3330,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3292 | 3330 | ||
3293 | 3331 | ||
3294 | try { | 3332 | try { |
3295 | // InternalVampireLanguage.g:1267:55: (iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF ) | 3333 | // InternalVampireLanguage.g:1289:55: (iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF ) |
3296 | // InternalVampireLanguage.g:1268:2: iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF | 3334 | // InternalVampireLanguage.g:1290:2: iv_ruleVLSUnitaryTerm= ruleVLSUnitaryTerm EOF |
3297 | { | 3335 | { |
3298 | newCompositeNode(grammarAccess.getVLSUnitaryTermRule()); | 3336 | newCompositeNode(grammarAccess.getVLSUnitaryTermRule()); |
3299 | pushFollow(FOLLOW_1); | 3337 | pushFollow(FOLLOW_1); |
@@ -3320,7 +3358,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3320 | 3358 | ||
3321 | 3359 | ||
3322 | // $ANTLR start "ruleVLSUnitaryTerm" | 3360 | // $ANTLR start "ruleVLSUnitaryTerm" |
3323 | // InternalVampireLanguage.g:1274:1: ruleVLSUnitaryTerm returns [EObject current=null] : ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) ; | 3361 | // InternalVampireLanguage.g:1296:1: ruleVLSUnitaryTerm returns [EObject current=null] : ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) ; |
3324 | public final EObject ruleVLSUnitaryTerm() throws RecognitionException { | 3362 | public final EObject ruleVLSUnitaryTerm() throws RecognitionException { |
3325 | EObject current = null; | 3363 | EObject current = null; |
3326 | 3364 | ||
@@ -3334,17 +3372,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3334 | enterRule(); | 3372 | enterRule(); |
3335 | 3373 | ||
3336 | try { | 3374 | try { |
3337 | // InternalVampireLanguage.g:1280:2: ( ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) ) | 3375 | // InternalVampireLanguage.g:1302:2: ( ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) ) |
3338 | // InternalVampireLanguage.g:1281:2: ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) | 3376 | // InternalVampireLanguage.g:1303:2: ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) |
3339 | { | 3377 | { |
3340 | // InternalVampireLanguage.g:1281:2: ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) | 3378 | // InternalVampireLanguage.g:1303:2: ( ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* ) |
3341 | // InternalVampireLanguage.g:1282:3: ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* | 3379 | // InternalVampireLanguage.g:1304:3: ( (lv_initType_0_0= ruleVLSAtomic ) ) (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* |
3342 | { | 3380 | { |
3343 | // InternalVampireLanguage.g:1282:3: ( (lv_initType_0_0= ruleVLSAtomic ) ) | 3381 | // InternalVampireLanguage.g:1304:3: ( (lv_initType_0_0= ruleVLSAtomic ) ) |
3344 | // InternalVampireLanguage.g:1283:4: (lv_initType_0_0= ruleVLSAtomic ) | 3382 | // InternalVampireLanguage.g:1305:4: (lv_initType_0_0= ruleVLSAtomic ) |
3345 | { | 3383 | { |
3346 | // InternalVampireLanguage.g:1283:4: (lv_initType_0_0= ruleVLSAtomic ) | 3384 | // InternalVampireLanguage.g:1305:4: (lv_initType_0_0= ruleVLSAtomic ) |
3347 | // InternalVampireLanguage.g:1284:5: lv_initType_0_0= ruleVLSAtomic | 3385 | // InternalVampireLanguage.g:1306:5: lv_initType_0_0= ruleVLSAtomic |
3348 | { | 3386 | { |
3349 | 3387 | ||
3350 | newCompositeNode(grammarAccess.getVLSUnitaryTermAccess().getInitTypeVLSAtomicParserRuleCall_0_0()); | 3388 | newCompositeNode(grammarAccess.getVLSUnitaryTermAccess().getInitTypeVLSAtomicParserRuleCall_0_0()); |
@@ -3371,7 +3409,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3371 | 3409 | ||
3372 | } | 3410 | } |
3373 | 3411 | ||
3374 | // InternalVampireLanguage.g:1301:3: (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* | 3412 | // InternalVampireLanguage.g:1323:3: (otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) )* |
3375 | loop18: | 3413 | loop18: |
3376 | do { | 3414 | do { |
3377 | int alt18=2; | 3415 | int alt18=2; |
@@ -3384,17 +3422,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3384 | 3422 | ||
3385 | switch (alt18) { | 3423 | switch (alt18) { |
3386 | case 1 : | 3424 | case 1 : |
3387 | // InternalVampireLanguage.g:1302:4: otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) | 3425 | // InternalVampireLanguage.g:1324:4: otherlv_1= '*' ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) |
3388 | { | 3426 | { |
3389 | otherlv_1=(Token)match(input,63,FOLLOW_35); | 3427 | otherlv_1=(Token)match(input,63,FOLLOW_35); |
3390 | 3428 | ||
3391 | newLeafNode(otherlv_1, grammarAccess.getVLSUnitaryTermAccess().getAsteriskKeyword_1_0()); | 3429 | newLeafNode(otherlv_1, grammarAccess.getVLSUnitaryTermAccess().getAsteriskKeyword_1_0()); |
3392 | 3430 | ||
3393 | // InternalVampireLanguage.g:1306:4: ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) | 3431 | // InternalVampireLanguage.g:1328:4: ( (lv_nextType_2_0= ruleVLSAtomicConstant ) ) |
3394 | // InternalVampireLanguage.g:1307:5: (lv_nextType_2_0= ruleVLSAtomicConstant ) | 3432 | // InternalVampireLanguage.g:1329:5: (lv_nextType_2_0= ruleVLSAtomicConstant ) |
3395 | { | 3433 | { |
3396 | // InternalVampireLanguage.g:1307:5: (lv_nextType_2_0= ruleVLSAtomicConstant ) | 3434 | // InternalVampireLanguage.g:1329:5: (lv_nextType_2_0= ruleVLSAtomicConstant ) |
3397 | // InternalVampireLanguage.g:1308:6: lv_nextType_2_0= ruleVLSAtomicConstant | 3435 | // InternalVampireLanguage.g:1330:6: lv_nextType_2_0= ruleVLSAtomicConstant |
3398 | { | 3436 | { |
3399 | 3437 | ||
3400 | newCompositeNode(grammarAccess.getVLSUnitaryTermAccess().getNextTypeVLSAtomicConstantParserRuleCall_1_1_0()); | 3438 | newCompositeNode(grammarAccess.getVLSUnitaryTermAccess().getNextTypeVLSAtomicConstantParserRuleCall_1_1_0()); |
@@ -3453,7 +3491,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3453 | 3491 | ||
3454 | 3492 | ||
3455 | // $ANTLR start "entryRuleVLSTerm" | 3493 | // $ANTLR start "entryRuleVLSTerm" |
3456 | // InternalVampireLanguage.g:1330:1: entryRuleVLSTerm returns [EObject current=null] : iv_ruleVLSTerm= ruleVLSTerm EOF ; | 3494 | // InternalVampireLanguage.g:1352:1: entryRuleVLSTerm returns [EObject current=null] : iv_ruleVLSTerm= ruleVLSTerm EOF ; |
3457 | public final EObject entryRuleVLSTerm() throws RecognitionException { | 3495 | public final EObject entryRuleVLSTerm() throws RecognitionException { |
3458 | EObject current = null; | 3496 | EObject current = null; |
3459 | 3497 | ||
@@ -3461,8 +3499,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3461 | 3499 | ||
3462 | 3500 | ||
3463 | try { | 3501 | try { |
3464 | // InternalVampireLanguage.g:1330:48: (iv_ruleVLSTerm= ruleVLSTerm EOF ) | 3502 | // InternalVampireLanguage.g:1352:48: (iv_ruleVLSTerm= ruleVLSTerm EOF ) |
3465 | // InternalVampireLanguage.g:1331:2: iv_ruleVLSTerm= ruleVLSTerm EOF | 3503 | // InternalVampireLanguage.g:1353:2: iv_ruleVLSTerm= ruleVLSTerm EOF |
3466 | { | 3504 | { |
3467 | newCompositeNode(grammarAccess.getVLSTermRule()); | 3505 | newCompositeNode(grammarAccess.getVLSTermRule()); |
3468 | pushFollow(FOLLOW_1); | 3506 | pushFollow(FOLLOW_1); |
@@ -3489,7 +3527,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3489 | 3527 | ||
3490 | 3528 | ||
3491 | // $ANTLR start "ruleVLSTerm" | 3529 | // $ANTLR start "ruleVLSTerm" |
3492 | // InternalVampireLanguage.g:1337:1: ruleVLSTerm returns [EObject current=null] : this_VLSBinary_0= ruleVLSBinary ; | 3530 | // InternalVampireLanguage.g:1359:1: ruleVLSTerm returns [EObject current=null] : this_VLSBinary_0= ruleVLSBinary ; |
3493 | public final EObject ruleVLSTerm() throws RecognitionException { | 3531 | public final EObject ruleVLSTerm() throws RecognitionException { |
3494 | EObject current = null; | 3532 | EObject current = null; |
3495 | 3533 | ||
@@ -3500,8 +3538,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3500 | enterRule(); | 3538 | enterRule(); |
3501 | 3539 | ||
3502 | try { | 3540 | try { |
3503 | // InternalVampireLanguage.g:1343:2: (this_VLSBinary_0= ruleVLSBinary ) | 3541 | // InternalVampireLanguage.g:1365:2: (this_VLSBinary_0= ruleVLSBinary ) |
3504 | // InternalVampireLanguage.g:1344:2: this_VLSBinary_0= ruleVLSBinary | 3542 | // InternalVampireLanguage.g:1366:2: this_VLSBinary_0= ruleVLSBinary |
3505 | { | 3543 | { |
3506 | 3544 | ||
3507 | newCompositeNode(grammarAccess.getVLSTermAccess().getVLSBinaryParserRuleCall()); | 3545 | newCompositeNode(grammarAccess.getVLSTermAccess().getVLSBinaryParserRuleCall()); |
@@ -3535,7 +3573,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3535 | 3573 | ||
3536 | 3574 | ||
3537 | // $ANTLR start "entryRuleVLSBinary" | 3575 | // $ANTLR start "entryRuleVLSBinary" |
3538 | // InternalVampireLanguage.g:1355:1: entryRuleVLSBinary returns [EObject current=null] : iv_ruleVLSBinary= ruleVLSBinary EOF ; | 3576 | // InternalVampireLanguage.g:1377:1: entryRuleVLSBinary returns [EObject current=null] : iv_ruleVLSBinary= ruleVLSBinary EOF ; |
3539 | public final EObject entryRuleVLSBinary() throws RecognitionException { | 3577 | public final EObject entryRuleVLSBinary() throws RecognitionException { |
3540 | EObject current = null; | 3578 | EObject current = null; |
3541 | 3579 | ||
@@ -3543,8 +3581,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3543 | 3581 | ||
3544 | 3582 | ||
3545 | try { | 3583 | try { |
3546 | // InternalVampireLanguage.g:1355:50: (iv_ruleVLSBinary= ruleVLSBinary EOF ) | 3584 | // InternalVampireLanguage.g:1377:50: (iv_ruleVLSBinary= ruleVLSBinary EOF ) |
3547 | // InternalVampireLanguage.g:1356:2: iv_ruleVLSBinary= ruleVLSBinary EOF | 3585 | // InternalVampireLanguage.g:1378:2: iv_ruleVLSBinary= ruleVLSBinary EOF |
3548 | { | 3586 | { |
3549 | newCompositeNode(grammarAccess.getVLSBinaryRule()); | 3587 | newCompositeNode(grammarAccess.getVLSBinaryRule()); |
3550 | pushFollow(FOLLOW_1); | 3588 | pushFollow(FOLLOW_1); |
@@ -3571,7 +3609,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3571 | 3609 | ||
3572 | 3610 | ||
3573 | // $ANTLR start "ruleVLSBinary" | 3611 | // $ANTLR start "ruleVLSBinary" |
3574 | // InternalVampireLanguage.g:1362:1: ruleVLSBinary returns [EObject current=null] : (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) ; | 3612 | // InternalVampireLanguage.g:1384:1: ruleVLSBinary returns [EObject current=null] : (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) ; |
3575 | public final EObject ruleVLSBinary() throws RecognitionException { | 3613 | public final EObject ruleVLSBinary() throws RecognitionException { |
3576 | EObject current = null; | 3614 | EObject current = null; |
3577 | 3615 | ||
@@ -3596,11 +3634,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3596 | enterRule(); | 3634 | enterRule(); |
3597 | 3635 | ||
3598 | try { | 3636 | try { |
3599 | // InternalVampireLanguage.g:1368:2: ( (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) ) | 3637 | // InternalVampireLanguage.g:1390:2: ( (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) ) |
3600 | // InternalVampireLanguage.g:1369:2: (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) | 3638 | // InternalVampireLanguage.g:1391:2: (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) |
3601 | { | 3639 | { |
3602 | // InternalVampireLanguage.g:1369:2: (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) | 3640 | // InternalVampireLanguage.g:1391:2: (this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? ) |
3603 | // InternalVampireLanguage.g:1370:3: this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? | 3641 | // InternalVampireLanguage.g:1392:3: this_VLSUnitaryFormula_0= ruleVLSUnitaryFormula ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? |
3604 | { | 3642 | { |
3605 | 3643 | ||
3606 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getVLSUnitaryFormulaParserRuleCall_0()); | 3644 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getVLSUnitaryFormulaParserRuleCall_0()); |
@@ -3614,7 +3652,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3614 | current = this_VLSUnitaryFormula_0; | 3652 | current = this_VLSUnitaryFormula_0; |
3615 | afterParserOrEnumRuleCall(); | 3653 | afterParserOrEnumRuleCall(); |
3616 | 3654 | ||
3617 | // InternalVampireLanguage.g:1378:3: ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? | 3655 | // InternalVampireLanguage.g:1400:3: ( ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ )? |
3618 | int alt22=4; | 3656 | int alt22=4; |
3619 | switch ( input.LA(1) ) { | 3657 | switch ( input.LA(1) ) { |
3620 | case 64: | 3658 | case 64: |
@@ -3641,12 +3679,12 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3641 | 3679 | ||
3642 | switch (alt22) { | 3680 | switch (alt22) { |
3643 | case 1 : | 3681 | case 1 : |
3644 | // InternalVampireLanguage.g:1379:4: ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | 3682 | // InternalVampireLanguage.g:1401:4: ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) |
3645 | { | 3683 | { |
3646 | // InternalVampireLanguage.g:1379:4: ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) | 3684 | // InternalVampireLanguage.g:1401:4: ( ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) ) |
3647 | // InternalVampireLanguage.g:1380:5: ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) | 3685 | // InternalVampireLanguage.g:1402:5: ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) |
3648 | { | 3686 | { |
3649 | // InternalVampireLanguage.g:1380:5: ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) | 3687 | // InternalVampireLanguage.g:1402:5: ( ( () otherlv_2= '<=>' ) | ( () otherlv_4= '=>' ) | ( () otherlv_6= '<=' ) | ( () otherlv_8= '<~>' ) | ( () otherlv_10= '~|' ) | ( () otherlv_12= '~&' ) ) |
3650 | int alt19=6; | 3688 | int alt19=6; |
3651 | switch ( input.LA(1) ) { | 3689 | switch ( input.LA(1) ) { |
3652 | case 64: | 3690 | case 64: |
@@ -3688,13 +3726,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3688 | 3726 | ||
3689 | switch (alt19) { | 3727 | switch (alt19) { |
3690 | case 1 : | 3728 | case 1 : |
3691 | // InternalVampireLanguage.g:1381:6: ( () otherlv_2= '<=>' ) | 3729 | // InternalVampireLanguage.g:1403:6: ( () otherlv_2= '<=>' ) |
3692 | { | 3730 | { |
3693 | // InternalVampireLanguage.g:1381:6: ( () otherlv_2= '<=>' ) | 3731 | // InternalVampireLanguage.g:1403:6: ( () otherlv_2= '<=>' ) |
3694 | // InternalVampireLanguage.g:1382:7: () otherlv_2= '<=>' | 3732 | // InternalVampireLanguage.g:1404:7: () otherlv_2= '<=>' |
3695 | { | 3733 | { |
3696 | // InternalVampireLanguage.g:1382:7: () | 3734 | // InternalVampireLanguage.g:1404:7: () |
3697 | // InternalVampireLanguage.g:1383:8: | 3735 | // InternalVampireLanguage.g:1405:8: |
3698 | { | 3736 | { |
3699 | 3737 | ||
3700 | current = forceCreateModelElementAndSet( | 3738 | current = forceCreateModelElementAndSet( |
@@ -3715,13 +3753,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3715 | } | 3753 | } |
3716 | break; | 3754 | break; |
3717 | case 2 : | 3755 | case 2 : |
3718 | // InternalVampireLanguage.g:1395:6: ( () otherlv_4= '=>' ) | 3756 | // InternalVampireLanguage.g:1417:6: ( () otherlv_4= '=>' ) |
3719 | { | 3757 | { |
3720 | // InternalVampireLanguage.g:1395:6: ( () otherlv_4= '=>' ) | 3758 | // InternalVampireLanguage.g:1417:6: ( () otherlv_4= '=>' ) |
3721 | // InternalVampireLanguage.g:1396:7: () otherlv_4= '=>' | 3759 | // InternalVampireLanguage.g:1418:7: () otherlv_4= '=>' |
3722 | { | 3760 | { |
3723 | // InternalVampireLanguage.g:1396:7: () | 3761 | // InternalVampireLanguage.g:1418:7: () |
3724 | // InternalVampireLanguage.g:1397:8: | 3762 | // InternalVampireLanguage.g:1419:8: |
3725 | { | 3763 | { |
3726 | 3764 | ||
3727 | current = forceCreateModelElementAndSet( | 3765 | current = forceCreateModelElementAndSet( |
@@ -3742,13 +3780,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3742 | } | 3780 | } |
3743 | break; | 3781 | break; |
3744 | case 3 : | 3782 | case 3 : |
3745 | // InternalVampireLanguage.g:1409:6: ( () otherlv_6= '<=' ) | 3783 | // InternalVampireLanguage.g:1431:6: ( () otherlv_6= '<=' ) |
3746 | { | 3784 | { |
3747 | // InternalVampireLanguage.g:1409:6: ( () otherlv_6= '<=' ) | 3785 | // InternalVampireLanguage.g:1431:6: ( () otherlv_6= '<=' ) |
3748 | // InternalVampireLanguage.g:1410:7: () otherlv_6= '<=' | 3786 | // InternalVampireLanguage.g:1432:7: () otherlv_6= '<=' |
3749 | { | 3787 | { |
3750 | // InternalVampireLanguage.g:1410:7: () | 3788 | // InternalVampireLanguage.g:1432:7: () |
3751 | // InternalVampireLanguage.g:1411:8: | 3789 | // InternalVampireLanguage.g:1433:8: |
3752 | { | 3790 | { |
3753 | 3791 | ||
3754 | current = forceCreateModelElementAndSet( | 3792 | current = forceCreateModelElementAndSet( |
@@ -3769,13 +3807,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3769 | } | 3807 | } |
3770 | break; | 3808 | break; |
3771 | case 4 : | 3809 | case 4 : |
3772 | // InternalVampireLanguage.g:1423:6: ( () otherlv_8= '<~>' ) | 3810 | // InternalVampireLanguage.g:1445:6: ( () otherlv_8= '<~>' ) |
3773 | { | 3811 | { |
3774 | // InternalVampireLanguage.g:1423:6: ( () otherlv_8= '<~>' ) | 3812 | // InternalVampireLanguage.g:1445:6: ( () otherlv_8= '<~>' ) |
3775 | // InternalVampireLanguage.g:1424:7: () otherlv_8= '<~>' | 3813 | // InternalVampireLanguage.g:1446:7: () otherlv_8= '<~>' |
3776 | { | 3814 | { |
3777 | // InternalVampireLanguage.g:1424:7: () | 3815 | // InternalVampireLanguage.g:1446:7: () |
3778 | // InternalVampireLanguage.g:1425:8: | 3816 | // InternalVampireLanguage.g:1447:8: |
3779 | { | 3817 | { |
3780 | 3818 | ||
3781 | current = forceCreateModelElementAndSet( | 3819 | current = forceCreateModelElementAndSet( |
@@ -3796,13 +3834,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3796 | } | 3834 | } |
3797 | break; | 3835 | break; |
3798 | case 5 : | 3836 | case 5 : |
3799 | // InternalVampireLanguage.g:1437:6: ( () otherlv_10= '~|' ) | 3837 | // InternalVampireLanguage.g:1459:6: ( () otherlv_10= '~|' ) |
3800 | { | 3838 | { |
3801 | // InternalVampireLanguage.g:1437:6: ( () otherlv_10= '~|' ) | 3839 | // InternalVampireLanguage.g:1459:6: ( () otherlv_10= '~|' ) |
3802 | // InternalVampireLanguage.g:1438:7: () otherlv_10= '~|' | 3840 | // InternalVampireLanguage.g:1460:7: () otherlv_10= '~|' |
3803 | { | 3841 | { |
3804 | // InternalVampireLanguage.g:1438:7: () | 3842 | // InternalVampireLanguage.g:1460:7: () |
3805 | // InternalVampireLanguage.g:1439:8: | 3843 | // InternalVampireLanguage.g:1461:8: |
3806 | { | 3844 | { |
3807 | 3845 | ||
3808 | current = forceCreateModelElementAndSet( | 3846 | current = forceCreateModelElementAndSet( |
@@ -3823,13 +3861,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3823 | } | 3861 | } |
3824 | break; | 3862 | break; |
3825 | case 6 : | 3863 | case 6 : |
3826 | // InternalVampireLanguage.g:1451:6: ( () otherlv_12= '~&' ) | 3864 | // InternalVampireLanguage.g:1473:6: ( () otherlv_12= '~&' ) |
3827 | { | 3865 | { |
3828 | // InternalVampireLanguage.g:1451:6: ( () otherlv_12= '~&' ) | 3866 | // InternalVampireLanguage.g:1473:6: ( () otherlv_12= '~&' ) |
3829 | // InternalVampireLanguage.g:1452:7: () otherlv_12= '~&' | 3867 | // InternalVampireLanguage.g:1474:7: () otherlv_12= '~&' |
3830 | { | 3868 | { |
3831 | // InternalVampireLanguage.g:1452:7: () | 3869 | // InternalVampireLanguage.g:1474:7: () |
3832 | // InternalVampireLanguage.g:1453:8: | 3870 | // InternalVampireLanguage.g:1475:8: |
3833 | { | 3871 | { |
3834 | 3872 | ||
3835 | current = forceCreateModelElementAndSet( | 3873 | current = forceCreateModelElementAndSet( |
@@ -3852,11 +3890,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3852 | 3890 | ||
3853 | } | 3891 | } |
3854 | 3892 | ||
3855 | // InternalVampireLanguage.g:1465:5: ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) | 3893 | // InternalVampireLanguage.g:1487:5: ( (lv_right_13_0= ruleVLSUnitaryFormula ) ) |
3856 | // InternalVampireLanguage.g:1466:6: (lv_right_13_0= ruleVLSUnitaryFormula ) | 3894 | // InternalVampireLanguage.g:1488:6: (lv_right_13_0= ruleVLSUnitaryFormula ) |
3857 | { | 3895 | { |
3858 | // InternalVampireLanguage.g:1466:6: (lv_right_13_0= ruleVLSUnitaryFormula ) | 3896 | // InternalVampireLanguage.g:1488:6: (lv_right_13_0= ruleVLSUnitaryFormula ) |
3859 | // InternalVampireLanguage.g:1467:7: lv_right_13_0= ruleVLSUnitaryFormula | 3897 | // InternalVampireLanguage.g:1489:7: lv_right_13_0= ruleVLSUnitaryFormula |
3860 | { | 3898 | { |
3861 | 3899 | ||
3862 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_0_1_0()); | 3900 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_0_1_0()); |
@@ -3890,9 +3928,9 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3890 | } | 3928 | } |
3891 | break; | 3929 | break; |
3892 | case 2 : | 3930 | case 2 : |
3893 | // InternalVampireLanguage.g:1486:4: ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | 3931 | // InternalVampireLanguage.g:1508:4: ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ |
3894 | { | 3932 | { |
3895 | // InternalVampireLanguage.g:1486:4: ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ | 3933 | // InternalVampireLanguage.g:1508:4: ( () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) )+ |
3896 | int cnt20=0; | 3934 | int cnt20=0; |
3897 | loop20: | 3935 | loop20: |
3898 | do { | 3936 | do { |
@@ -3906,10 +3944,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3906 | 3944 | ||
3907 | switch (alt20) { | 3945 | switch (alt20) { |
3908 | case 1 : | 3946 | case 1 : |
3909 | // InternalVampireLanguage.g:1487:5: () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) | 3947 | // InternalVampireLanguage.g:1509:5: () otherlv_15= '&' ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) |
3910 | { | 3948 | { |
3911 | // InternalVampireLanguage.g:1487:5: () | 3949 | // InternalVampireLanguage.g:1509:5: () |
3912 | // InternalVampireLanguage.g:1488:6: | 3950 | // InternalVampireLanguage.g:1510:6: |
3913 | { | 3951 | { |
3914 | 3952 | ||
3915 | current = forceCreateModelElementAndSet( | 3953 | current = forceCreateModelElementAndSet( |
@@ -3923,11 +3961,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3923 | 3961 | ||
3924 | newLeafNode(otherlv_15, grammarAccess.getVLSBinaryAccess().getAmpersandKeyword_1_1_1()); | 3962 | newLeafNode(otherlv_15, grammarAccess.getVLSBinaryAccess().getAmpersandKeyword_1_1_1()); |
3925 | 3963 | ||
3926 | // InternalVampireLanguage.g:1498:5: ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) | 3964 | // InternalVampireLanguage.g:1520:5: ( (lv_right_16_0= ruleVLSUnitaryFormula ) ) |
3927 | // InternalVampireLanguage.g:1499:6: (lv_right_16_0= ruleVLSUnitaryFormula ) | 3965 | // InternalVampireLanguage.g:1521:6: (lv_right_16_0= ruleVLSUnitaryFormula ) |
3928 | { | 3966 | { |
3929 | // InternalVampireLanguage.g:1499:6: (lv_right_16_0= ruleVLSUnitaryFormula ) | 3967 | // InternalVampireLanguage.g:1521:6: (lv_right_16_0= ruleVLSUnitaryFormula ) |
3930 | // InternalVampireLanguage.g:1500:7: lv_right_16_0= ruleVLSUnitaryFormula | 3968 | // InternalVampireLanguage.g:1522:7: lv_right_16_0= ruleVLSUnitaryFormula |
3931 | { | 3969 | { |
3932 | 3970 | ||
3933 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_1_2_0()); | 3971 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_1_2_0()); |
@@ -3971,9 +4009,9 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3971 | } | 4009 | } |
3972 | break; | 4010 | break; |
3973 | case 3 : | 4011 | case 3 : |
3974 | // InternalVampireLanguage.g:1519:4: ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ | 4012 | // InternalVampireLanguage.g:1541:4: ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ |
3975 | { | 4013 | { |
3976 | // InternalVampireLanguage.g:1519:4: ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ | 4014 | // InternalVampireLanguage.g:1541:4: ( () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) )+ |
3977 | int cnt21=0; | 4015 | int cnt21=0; |
3978 | loop21: | 4016 | loop21: |
3979 | do { | 4017 | do { |
@@ -3987,10 +4025,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
3987 | 4025 | ||
3988 | switch (alt21) { | 4026 | switch (alt21) { |
3989 | case 1 : | 4027 | case 1 : |
3990 | // InternalVampireLanguage.g:1520:5: () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) | 4028 | // InternalVampireLanguage.g:1542:5: () otherlv_18= '|' ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) |
3991 | { | 4029 | { |
3992 | // InternalVampireLanguage.g:1520:5: () | 4030 | // InternalVampireLanguage.g:1542:5: () |
3993 | // InternalVampireLanguage.g:1521:6: | 4031 | // InternalVampireLanguage.g:1543:6: |
3994 | { | 4032 | { |
3995 | 4033 | ||
3996 | current = forceCreateModelElementAndSet( | 4034 | current = forceCreateModelElementAndSet( |
@@ -4004,11 +4042,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4004 | 4042 | ||
4005 | newLeafNode(otherlv_18, grammarAccess.getVLSBinaryAccess().getVerticalLineKeyword_1_2_1()); | 4043 | newLeafNode(otherlv_18, grammarAccess.getVLSBinaryAccess().getVerticalLineKeyword_1_2_1()); |
4006 | 4044 | ||
4007 | // InternalVampireLanguage.g:1531:5: ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) | 4045 | // InternalVampireLanguage.g:1553:5: ( (lv_right_19_0= ruleVLSUnitaryFormula ) ) |
4008 | // InternalVampireLanguage.g:1532:6: (lv_right_19_0= ruleVLSUnitaryFormula ) | 4046 | // InternalVampireLanguage.g:1554:6: (lv_right_19_0= ruleVLSUnitaryFormula ) |
4009 | { | 4047 | { |
4010 | // InternalVampireLanguage.g:1532:6: (lv_right_19_0= ruleVLSUnitaryFormula ) | 4048 | // InternalVampireLanguage.g:1554:6: (lv_right_19_0= ruleVLSUnitaryFormula ) |
4011 | // InternalVampireLanguage.g:1533:7: lv_right_19_0= ruleVLSUnitaryFormula | 4049 | // InternalVampireLanguage.g:1555:7: lv_right_19_0= ruleVLSUnitaryFormula |
4012 | { | 4050 | { |
4013 | 4051 | ||
4014 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_2_2_0()); | 4052 | newCompositeNode(grammarAccess.getVLSBinaryAccess().getRightVLSUnitaryFormulaParserRuleCall_1_2_2_0()); |
@@ -4077,7 +4115,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4077 | 4115 | ||
4078 | 4116 | ||
4079 | // $ANTLR start "entryRuleVLSUnitaryFormula" | 4117 | // $ANTLR start "entryRuleVLSUnitaryFormula" |
4080 | // InternalVampireLanguage.g:1556:1: entryRuleVLSUnitaryFormula returns [EObject current=null] : iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF ; | 4118 | // InternalVampireLanguage.g:1578:1: entryRuleVLSUnitaryFormula returns [EObject current=null] : iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF ; |
4081 | public final EObject entryRuleVLSUnitaryFormula() throws RecognitionException { | 4119 | public final EObject entryRuleVLSUnitaryFormula() throws RecognitionException { |
4082 | EObject current = null; | 4120 | EObject current = null; |
4083 | 4121 | ||
@@ -4085,8 +4123,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4085 | 4123 | ||
4086 | 4124 | ||
4087 | try { | 4125 | try { |
4088 | // InternalVampireLanguage.g:1556:58: (iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF ) | 4126 | // InternalVampireLanguage.g:1578:58: (iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF ) |
4089 | // InternalVampireLanguage.g:1557:2: iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF | 4127 | // InternalVampireLanguage.g:1579:2: iv_ruleVLSUnitaryFormula= ruleVLSUnitaryFormula EOF |
4090 | { | 4128 | { |
4091 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaRule()); | 4129 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaRule()); |
4092 | pushFollow(FOLLOW_1); | 4130 | pushFollow(FOLLOW_1); |
@@ -4113,7 +4151,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4113 | 4151 | ||
4114 | 4152 | ||
4115 | // $ANTLR start "ruleVLSUnitaryFormula" | 4153 | // $ANTLR start "ruleVLSUnitaryFormula" |
4116 | // InternalVampireLanguage.g:1563:1: ruleVLSUnitaryFormula returns [EObject current=null] : (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) ; | 4154 | // InternalVampireLanguage.g:1585:1: ruleVLSUnitaryFormula returns [EObject current=null] : (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) ; |
4117 | public final EObject ruleVLSUnitaryFormula() throws RecognitionException { | 4155 | public final EObject ruleVLSUnitaryFormula() throws RecognitionException { |
4118 | EObject current = null; | 4156 | EObject current = null; |
4119 | 4157 | ||
@@ -4134,10 +4172,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4134 | enterRule(); | 4172 | enterRule(); |
4135 | 4173 | ||
4136 | try { | 4174 | try { |
4137 | // InternalVampireLanguage.g:1569:2: ( (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) ) | 4175 | // InternalVampireLanguage.g:1591:2: ( (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) ) |
4138 | // InternalVampireLanguage.g:1570:2: (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) | 4176 | // InternalVampireLanguage.g:1592:2: (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) |
4139 | { | 4177 | { |
4140 | // InternalVampireLanguage.g:1570:2: (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) | 4178 | // InternalVampireLanguage.g:1592:2: (this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | this_VLSUnaryNegation_2= ruleVLSUnaryNegation | this_VLSUnaryInfix_3= ruleVLSUnaryInfix | (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) ) |
4141 | int alt23=5; | 4179 | int alt23=5; |
4142 | switch ( input.LA(1) ) { | 4180 | switch ( input.LA(1) ) { |
4143 | case 72: | 4181 | case 72: |
@@ -4198,7 +4236,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4198 | 4236 | ||
4199 | switch (alt23) { | 4237 | switch (alt23) { |
4200 | case 1 : | 4238 | case 1 : |
4201 | // InternalVampireLanguage.g:1571:3: this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier | 4239 | // InternalVampireLanguage.g:1593:3: this_VLSUniversalQuantifier_0= ruleVLSUniversalQuantifier |
4202 | { | 4240 | { |
4203 | 4241 | ||
4204 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUniversalQuantifierParserRuleCall_0()); | 4242 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUniversalQuantifierParserRuleCall_0()); |
@@ -4216,7 +4254,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4216 | } | 4254 | } |
4217 | break; | 4255 | break; |
4218 | case 2 : | 4256 | case 2 : |
4219 | // InternalVampireLanguage.g:1580:3: this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier | 4257 | // InternalVampireLanguage.g:1602:3: this_VLSExistentialQuantifier_1= ruleVLSExistentialQuantifier |
4220 | { | 4258 | { |
4221 | 4259 | ||
4222 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSExistentialQuantifierParserRuleCall_1()); | 4260 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSExistentialQuantifierParserRuleCall_1()); |
@@ -4234,7 +4272,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4234 | } | 4272 | } |
4235 | break; | 4273 | break; |
4236 | case 3 : | 4274 | case 3 : |
4237 | // InternalVampireLanguage.g:1589:3: this_VLSUnaryNegation_2= ruleVLSUnaryNegation | 4275 | // InternalVampireLanguage.g:1611:3: this_VLSUnaryNegation_2= ruleVLSUnaryNegation |
4238 | { | 4276 | { |
4239 | 4277 | ||
4240 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUnaryNegationParserRuleCall_2()); | 4278 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUnaryNegationParserRuleCall_2()); |
@@ -4252,7 +4290,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4252 | } | 4290 | } |
4253 | break; | 4291 | break; |
4254 | case 4 : | 4292 | case 4 : |
4255 | // InternalVampireLanguage.g:1598:3: this_VLSUnaryInfix_3= ruleVLSUnaryInfix | 4293 | // InternalVampireLanguage.g:1620:3: this_VLSUnaryInfix_3= ruleVLSUnaryInfix |
4256 | { | 4294 | { |
4257 | 4295 | ||
4258 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUnaryInfixParserRuleCall_3()); | 4296 | newCompositeNode(grammarAccess.getVLSUnitaryFormulaAccess().getVLSUnaryInfixParserRuleCall_3()); |
@@ -4270,10 +4308,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4270 | } | 4308 | } |
4271 | break; | 4309 | break; |
4272 | case 5 : | 4310 | case 5 : |
4273 | // InternalVampireLanguage.g:1607:3: (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) | 4311 | // InternalVampireLanguage.g:1629:3: (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) |
4274 | { | 4312 | { |
4275 | // InternalVampireLanguage.g:1607:3: (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) | 4313 | // InternalVampireLanguage.g:1629:3: (otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' ) |
4276 | // InternalVampireLanguage.g:1608:4: otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' | 4314 | // InternalVampireLanguage.g:1630:4: otherlv_4= '(' this_VLSTerm_5= ruleVLSTerm otherlv_6= ')' |
4277 | { | 4315 | { |
4278 | otherlv_4=(Token)match(input,38,FOLLOW_20); | 4316 | otherlv_4=(Token)match(input,38,FOLLOW_20); |
4279 | 4317 | ||
@@ -4324,7 +4362,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4324 | 4362 | ||
4325 | 4363 | ||
4326 | // $ANTLR start "entryRuleVLSUniversalQuantifier" | 4364 | // $ANTLR start "entryRuleVLSUniversalQuantifier" |
4327 | // InternalVampireLanguage.g:1629:1: entryRuleVLSUniversalQuantifier returns [EObject current=null] : iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF ; | 4365 | // InternalVampireLanguage.g:1651:1: entryRuleVLSUniversalQuantifier returns [EObject current=null] : iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF ; |
4328 | public final EObject entryRuleVLSUniversalQuantifier() throws RecognitionException { | 4366 | public final EObject entryRuleVLSUniversalQuantifier() throws RecognitionException { |
4329 | EObject current = null; | 4367 | EObject current = null; |
4330 | 4368 | ||
@@ -4332,8 +4370,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4332 | 4370 | ||
4333 | 4371 | ||
4334 | try { | 4372 | try { |
4335 | // InternalVampireLanguage.g:1629:63: (iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF ) | 4373 | // InternalVampireLanguage.g:1651:63: (iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF ) |
4336 | // InternalVampireLanguage.g:1630:2: iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF | 4374 | // InternalVampireLanguage.g:1652:2: iv_ruleVLSUniversalQuantifier= ruleVLSUniversalQuantifier EOF |
4337 | { | 4375 | { |
4338 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierRule()); | 4376 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierRule()); |
4339 | pushFollow(FOLLOW_1); | 4377 | pushFollow(FOLLOW_1); |
@@ -4360,7 +4398,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4360 | 4398 | ||
4361 | 4399 | ||
4362 | // $ANTLR start "ruleVLSUniversalQuantifier" | 4400 | // $ANTLR start "ruleVLSUniversalQuantifier" |
4363 | // InternalVampireLanguage.g:1636:1: ruleVLSUniversalQuantifier returns [EObject current=null] : ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ; | 4401 | // InternalVampireLanguage.g:1658:1: ruleVLSUniversalQuantifier returns [EObject current=null] : ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ; |
4364 | public final EObject ruleVLSUniversalQuantifier() throws RecognitionException { | 4402 | public final EObject ruleVLSUniversalQuantifier() throws RecognitionException { |
4365 | EObject current = null; | 4403 | EObject current = null; |
4366 | 4404 | ||
@@ -4384,14 +4422,14 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4384 | enterRule(); | 4422 | enterRule(); |
4385 | 4423 | ||
4386 | try { | 4424 | try { |
4387 | // InternalVampireLanguage.g:1642:2: ( ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ) | 4425 | // InternalVampireLanguage.g:1664:2: ( ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ) |
4388 | // InternalVampireLanguage.g:1643:2: ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) | 4426 | // InternalVampireLanguage.g:1665:2: ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) |
4389 | { | 4427 | { |
4390 | // InternalVampireLanguage.g:1643:2: ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) | 4428 | // InternalVampireLanguage.g:1665:2: ( () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) |
4391 | // InternalVampireLanguage.g:1644:3: () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) | 4429 | // InternalVampireLanguage.g:1666:3: () (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) |
4392 | { | 4430 | { |
4393 | // InternalVampireLanguage.g:1644:3: () | 4431 | // InternalVampireLanguage.g:1666:3: () |
4394 | // InternalVampireLanguage.g:1645:4: | 4432 | // InternalVampireLanguage.g:1667:4: |
4395 | { | 4433 | { |
4396 | 4434 | ||
4397 | current = forceCreateModelElement( | 4435 | current = forceCreateModelElement( |
@@ -4401,8 +4439,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4401 | 4439 | ||
4402 | } | 4440 | } |
4403 | 4441 | ||
4404 | // InternalVampireLanguage.g:1651:3: (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) | 4442 | // InternalVampireLanguage.g:1673:3: (otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) |
4405 | // InternalVampireLanguage.g:1652:4: otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' | 4443 | // InternalVampireLanguage.g:1674:4: otherlv_1= '!' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' |
4406 | { | 4444 | { |
4407 | otherlv_1=(Token)match(input,72,FOLLOW_11); | 4445 | otherlv_1=(Token)match(input,72,FOLLOW_11); |
4408 | 4446 | ||
@@ -4412,13 +4450,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4412 | 4450 | ||
4413 | newLeafNode(otherlv_2, grammarAccess.getVLSUniversalQuantifierAccess().getLeftSquareBracketKeyword_1_1()); | 4451 | newLeafNode(otherlv_2, grammarAccess.getVLSUniversalQuantifierAccess().getLeftSquareBracketKeyword_1_1()); |
4414 | 4452 | ||
4415 | // InternalVampireLanguage.g:1660:4: ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) | 4453 | // InternalVampireLanguage.g:1682:4: ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) |
4416 | // InternalVampireLanguage.g:1661:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) | 4454 | // InternalVampireLanguage.g:1683:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) |
4417 | { | 4455 | { |
4418 | // InternalVampireLanguage.g:1661:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) | 4456 | // InternalVampireLanguage.g:1683:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) |
4419 | // InternalVampireLanguage.g:1662:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) | 4457 | // InternalVampireLanguage.g:1684:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) |
4420 | { | 4458 | { |
4421 | // InternalVampireLanguage.g:1662:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) | 4459 | // InternalVampireLanguage.g:1684:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) |
4422 | int alt24=2; | 4460 | int alt24=2; |
4423 | int LA24_0 = input.LA(1); | 4461 | int LA24_0 = input.LA(1); |
4424 | 4462 | ||
@@ -4446,7 +4484,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4446 | } | 4484 | } |
4447 | switch (alt24) { | 4485 | switch (alt24) { |
4448 | case 1 : | 4486 | case 1 : |
4449 | // InternalVampireLanguage.g:1663:7: lv_variables_3_1= ruleVLSVariable | 4487 | // InternalVampireLanguage.g:1685:7: lv_variables_3_1= ruleVLSVariable |
4450 | { | 4488 | { |
4451 | 4489 | ||
4452 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_2_0_0()); | 4490 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_2_0_0()); |
@@ -4471,7 +4509,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4471 | } | 4509 | } |
4472 | break; | 4510 | break; |
4473 | case 2 : | 4511 | case 2 : |
4474 | // InternalVampireLanguage.g:1679:7: lv_variables_3_2= ruleVLSVariableDeclaration | 4512 | // InternalVampireLanguage.g:1701:7: lv_variables_3_2= ruleVLSVariableDeclaration |
4475 | { | 4513 | { |
4476 | 4514 | ||
4477 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1()); | 4515 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1()); |
@@ -4504,7 +4542,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4504 | 4542 | ||
4505 | } | 4543 | } |
4506 | 4544 | ||
4507 | // InternalVampireLanguage.g:1697:4: (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* | 4545 | // InternalVampireLanguage.g:1719:4: (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* |
4508 | loop26: | 4546 | loop26: |
4509 | do { | 4547 | do { |
4510 | int alt26=2; | 4548 | int alt26=2; |
@@ -4517,19 +4555,19 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4517 | 4555 | ||
4518 | switch (alt26) { | 4556 | switch (alt26) { |
4519 | case 1 : | 4557 | case 1 : |
4520 | // InternalVampireLanguage.g:1698:5: otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) | 4558 | // InternalVampireLanguage.g:1720:5: otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) |
4521 | { | 4559 | { |
4522 | otherlv_4=(Token)match(input,39,FOLLOW_40); | 4560 | otherlv_4=(Token)match(input,39,FOLLOW_40); |
4523 | 4561 | ||
4524 | newLeafNode(otherlv_4, grammarAccess.getVLSUniversalQuantifierAccess().getCommaKeyword_1_3_0()); | 4562 | newLeafNode(otherlv_4, grammarAccess.getVLSUniversalQuantifierAccess().getCommaKeyword_1_3_0()); |
4525 | 4563 | ||
4526 | // InternalVampireLanguage.g:1702:5: ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) | 4564 | // InternalVampireLanguage.g:1724:5: ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) |
4527 | // InternalVampireLanguage.g:1703:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) | 4565 | // InternalVampireLanguage.g:1725:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) |
4528 | { | 4566 | { |
4529 | // InternalVampireLanguage.g:1703:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) | 4567 | // InternalVampireLanguage.g:1725:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) |
4530 | // InternalVampireLanguage.g:1704:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) | 4568 | // InternalVampireLanguage.g:1726:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) |
4531 | { | 4569 | { |
4532 | // InternalVampireLanguage.g:1704:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) | 4570 | // InternalVampireLanguage.g:1726:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) |
4533 | int alt25=2; | 4571 | int alt25=2; |
4534 | int LA25_0 = input.LA(1); | 4572 | int LA25_0 = input.LA(1); |
4535 | 4573 | ||
@@ -4557,7 +4595,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4557 | } | 4595 | } |
4558 | switch (alt25) { | 4596 | switch (alt25) { |
4559 | case 1 : | 4597 | case 1 : |
4560 | // InternalVampireLanguage.g:1705:8: lv_variables_5_1= ruleVLSVariable | 4598 | // InternalVampireLanguage.g:1727:8: lv_variables_5_1= ruleVLSVariable |
4561 | { | 4599 | { |
4562 | 4600 | ||
4563 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_3_1_0_0()); | 4601 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_3_1_0_0()); |
@@ -4582,7 +4620,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4582 | } | 4620 | } |
4583 | break; | 4621 | break; |
4584 | case 2 : | 4622 | case 2 : |
4585 | // InternalVampireLanguage.g:1721:8: lv_variables_5_2= ruleVLSVariableDeclaration | 4623 | // InternalVampireLanguage.g:1743:8: lv_variables_5_2= ruleVLSVariableDeclaration |
4586 | { | 4624 | { |
4587 | 4625 | ||
4588 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1()); | 4626 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1()); |
@@ -4635,11 +4673,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4635 | 4673 | ||
4636 | } | 4674 | } |
4637 | 4675 | ||
4638 | // InternalVampireLanguage.g:1749:3: ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) | 4676 | // InternalVampireLanguage.g:1771:3: ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) |
4639 | // InternalVampireLanguage.g:1750:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) | 4677 | // InternalVampireLanguage.g:1772:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) |
4640 | { | 4678 | { |
4641 | // InternalVampireLanguage.g:1750:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) | 4679 | // InternalVampireLanguage.g:1772:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) |
4642 | // InternalVampireLanguage.g:1751:5: lv_operand_8_0= ruleVLSUnitaryFormula | 4680 | // InternalVampireLanguage.g:1773:5: lv_operand_8_0= ruleVLSUnitaryFormula |
4643 | { | 4681 | { |
4644 | 4682 | ||
4645 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 4683 | newCompositeNode(grammarAccess.getVLSUniversalQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
@@ -4689,7 +4727,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4689 | 4727 | ||
4690 | 4728 | ||
4691 | // $ANTLR start "entryRuleVLSExistentialQuantifier" | 4729 | // $ANTLR start "entryRuleVLSExistentialQuantifier" |
4692 | // InternalVampireLanguage.g:1772:1: entryRuleVLSExistentialQuantifier returns [EObject current=null] : iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF ; | 4730 | // InternalVampireLanguage.g:1794:1: entryRuleVLSExistentialQuantifier returns [EObject current=null] : iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF ; |
4693 | public final EObject entryRuleVLSExistentialQuantifier() throws RecognitionException { | 4731 | public final EObject entryRuleVLSExistentialQuantifier() throws RecognitionException { |
4694 | EObject current = null; | 4732 | EObject current = null; |
4695 | 4733 | ||
@@ -4697,8 +4735,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4697 | 4735 | ||
4698 | 4736 | ||
4699 | try { | 4737 | try { |
4700 | // InternalVampireLanguage.g:1772:65: (iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF ) | 4738 | // InternalVampireLanguage.g:1794:65: (iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF ) |
4701 | // InternalVampireLanguage.g:1773:2: iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF | 4739 | // InternalVampireLanguage.g:1795:2: iv_ruleVLSExistentialQuantifier= ruleVLSExistentialQuantifier EOF |
4702 | { | 4740 | { |
4703 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierRule()); | 4741 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierRule()); |
4704 | pushFollow(FOLLOW_1); | 4742 | pushFollow(FOLLOW_1); |
@@ -4725,7 +4763,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4725 | 4763 | ||
4726 | 4764 | ||
4727 | // $ANTLR start "ruleVLSExistentialQuantifier" | 4765 | // $ANTLR start "ruleVLSExistentialQuantifier" |
4728 | // InternalVampireLanguage.g:1779:1: ruleVLSExistentialQuantifier returns [EObject current=null] : ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ; | 4766 | // InternalVampireLanguage.g:1801:1: ruleVLSExistentialQuantifier returns [EObject current=null] : ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ; |
4729 | public final EObject ruleVLSExistentialQuantifier() throws RecognitionException { | 4767 | public final EObject ruleVLSExistentialQuantifier() throws RecognitionException { |
4730 | EObject current = null; | 4768 | EObject current = null; |
4731 | 4769 | ||
@@ -4749,14 +4787,14 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4749 | enterRule(); | 4787 | enterRule(); |
4750 | 4788 | ||
4751 | try { | 4789 | try { |
4752 | // InternalVampireLanguage.g:1785:2: ( ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ) | 4790 | // InternalVampireLanguage.g:1807:2: ( ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) ) |
4753 | // InternalVampireLanguage.g:1786:2: ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) | 4791 | // InternalVampireLanguage.g:1808:2: ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) |
4754 | { | 4792 | { |
4755 | // InternalVampireLanguage.g:1786:2: ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) | 4793 | // InternalVampireLanguage.g:1808:2: ( () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) ) |
4756 | // InternalVampireLanguage.g:1787:3: () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) | 4794 | // InternalVampireLanguage.g:1809:3: () (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) |
4757 | { | 4795 | { |
4758 | // InternalVampireLanguage.g:1787:3: () | 4796 | // InternalVampireLanguage.g:1809:3: () |
4759 | // InternalVampireLanguage.g:1788:4: | 4797 | // InternalVampireLanguage.g:1810:4: |
4760 | { | 4798 | { |
4761 | 4799 | ||
4762 | current = forceCreateModelElement( | 4800 | current = forceCreateModelElement( |
@@ -4766,8 +4804,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4766 | 4804 | ||
4767 | } | 4805 | } |
4768 | 4806 | ||
4769 | // InternalVampireLanguage.g:1794:3: (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) | 4807 | // InternalVampireLanguage.g:1816:3: (otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' ) |
4770 | // InternalVampireLanguage.g:1795:4: otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' | 4808 | // InternalVampireLanguage.g:1817:4: otherlv_1= '?' otherlv_2= '[' ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* otherlv_6= ']' otherlv_7= ':' |
4771 | { | 4809 | { |
4772 | otherlv_1=(Token)match(input,73,FOLLOW_11); | 4810 | otherlv_1=(Token)match(input,73,FOLLOW_11); |
4773 | 4811 | ||
@@ -4777,13 +4815,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4777 | 4815 | ||
4778 | newLeafNode(otherlv_2, grammarAccess.getVLSExistentialQuantifierAccess().getLeftSquareBracketKeyword_1_1()); | 4816 | newLeafNode(otherlv_2, grammarAccess.getVLSExistentialQuantifierAccess().getLeftSquareBracketKeyword_1_1()); |
4779 | 4817 | ||
4780 | // InternalVampireLanguage.g:1803:4: ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) | 4818 | // InternalVampireLanguage.g:1825:4: ( ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) ) |
4781 | // InternalVampireLanguage.g:1804:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) | 4819 | // InternalVampireLanguage.g:1826:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) |
4782 | { | 4820 | { |
4783 | // InternalVampireLanguage.g:1804:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) | 4821 | // InternalVampireLanguage.g:1826:5: ( (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) ) |
4784 | // InternalVampireLanguage.g:1805:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) | 4822 | // InternalVampireLanguage.g:1827:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) |
4785 | { | 4823 | { |
4786 | // InternalVampireLanguage.g:1805:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) | 4824 | // InternalVampireLanguage.g:1827:6: (lv_variables_3_1= ruleVLSVariable | lv_variables_3_2= ruleVLSVariableDeclaration ) |
4787 | int alt27=2; | 4825 | int alt27=2; |
4788 | int LA27_0 = input.LA(1); | 4826 | int LA27_0 = input.LA(1); |
4789 | 4827 | ||
@@ -4811,7 +4849,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4811 | } | 4849 | } |
4812 | switch (alt27) { | 4850 | switch (alt27) { |
4813 | case 1 : | 4851 | case 1 : |
4814 | // InternalVampireLanguage.g:1806:7: lv_variables_3_1= ruleVLSVariable | 4852 | // InternalVampireLanguage.g:1828:7: lv_variables_3_1= ruleVLSVariable |
4815 | { | 4853 | { |
4816 | 4854 | ||
4817 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_2_0_0()); | 4855 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_2_0_0()); |
@@ -4836,7 +4874,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4836 | } | 4874 | } |
4837 | break; | 4875 | break; |
4838 | case 2 : | 4876 | case 2 : |
4839 | // InternalVampireLanguage.g:1822:7: lv_variables_3_2= ruleVLSVariableDeclaration | 4877 | // InternalVampireLanguage.g:1844:7: lv_variables_3_2= ruleVLSVariableDeclaration |
4840 | { | 4878 | { |
4841 | 4879 | ||
4842 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1()); | 4880 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_2_0_1()); |
@@ -4869,7 +4907,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4869 | 4907 | ||
4870 | } | 4908 | } |
4871 | 4909 | ||
4872 | // InternalVampireLanguage.g:1840:4: (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* | 4910 | // InternalVampireLanguage.g:1862:4: (otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) )* |
4873 | loop29: | 4911 | loop29: |
4874 | do { | 4912 | do { |
4875 | int alt29=2; | 4913 | int alt29=2; |
@@ -4882,19 +4920,19 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4882 | 4920 | ||
4883 | switch (alt29) { | 4921 | switch (alt29) { |
4884 | case 1 : | 4922 | case 1 : |
4885 | // InternalVampireLanguage.g:1841:5: otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) | 4923 | // InternalVampireLanguage.g:1863:5: otherlv_4= ',' ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) |
4886 | { | 4924 | { |
4887 | otherlv_4=(Token)match(input,39,FOLLOW_40); | 4925 | otherlv_4=(Token)match(input,39,FOLLOW_40); |
4888 | 4926 | ||
4889 | newLeafNode(otherlv_4, grammarAccess.getVLSExistentialQuantifierAccess().getCommaKeyword_1_3_0()); | 4927 | newLeafNode(otherlv_4, grammarAccess.getVLSExistentialQuantifierAccess().getCommaKeyword_1_3_0()); |
4890 | 4928 | ||
4891 | // InternalVampireLanguage.g:1845:5: ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) | 4929 | // InternalVampireLanguage.g:1867:5: ( ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) ) |
4892 | // InternalVampireLanguage.g:1846:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) | 4930 | // InternalVampireLanguage.g:1868:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) |
4893 | { | 4931 | { |
4894 | // InternalVampireLanguage.g:1846:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) | 4932 | // InternalVampireLanguage.g:1868:6: ( (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) ) |
4895 | // InternalVampireLanguage.g:1847:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) | 4933 | // InternalVampireLanguage.g:1869:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) |
4896 | { | 4934 | { |
4897 | // InternalVampireLanguage.g:1847:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) | 4935 | // InternalVampireLanguage.g:1869:7: (lv_variables_5_1= ruleVLSVariable | lv_variables_5_2= ruleVLSVariableDeclaration ) |
4898 | int alt28=2; | 4936 | int alt28=2; |
4899 | int LA28_0 = input.LA(1); | 4937 | int LA28_0 = input.LA(1); |
4900 | 4938 | ||
@@ -4922,7 +4960,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4922 | } | 4960 | } |
4923 | switch (alt28) { | 4961 | switch (alt28) { |
4924 | case 1 : | 4962 | case 1 : |
4925 | // InternalVampireLanguage.g:1848:8: lv_variables_5_1= ruleVLSVariable | 4963 | // InternalVampireLanguage.g:1870:8: lv_variables_5_1= ruleVLSVariable |
4926 | { | 4964 | { |
4927 | 4965 | ||
4928 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_3_1_0_0()); | 4966 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableParserRuleCall_1_3_1_0_0()); |
@@ -4947,7 +4985,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
4947 | } | 4985 | } |
4948 | break; | 4986 | break; |
4949 | case 2 : | 4987 | case 2 : |
4950 | // InternalVampireLanguage.g:1864:8: lv_variables_5_2= ruleVLSVariableDeclaration | 4988 | // InternalVampireLanguage.g:1886:8: lv_variables_5_2= ruleVLSVariableDeclaration |
4951 | { | 4989 | { |
4952 | 4990 | ||
4953 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1()); | 4991 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getVariablesVLSVariableDeclarationParserRuleCall_1_3_1_0_1()); |
@@ -5000,11 +5038,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5000 | 5038 | ||
5001 | } | 5039 | } |
5002 | 5040 | ||
5003 | // InternalVampireLanguage.g:1892:3: ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) | 5041 | // InternalVampireLanguage.g:1914:3: ( (lv_operand_8_0= ruleVLSUnitaryFormula ) ) |
5004 | // InternalVampireLanguage.g:1893:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) | 5042 | // InternalVampireLanguage.g:1915:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) |
5005 | { | 5043 | { |
5006 | // InternalVampireLanguage.g:1893:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) | 5044 | // InternalVampireLanguage.g:1915:4: (lv_operand_8_0= ruleVLSUnitaryFormula ) |
5007 | // InternalVampireLanguage.g:1894:5: lv_operand_8_0= ruleVLSUnitaryFormula | 5045 | // InternalVampireLanguage.g:1916:5: lv_operand_8_0= ruleVLSUnitaryFormula |
5008 | { | 5046 | { |
5009 | 5047 | ||
5010 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 5048 | newCompositeNode(grammarAccess.getVLSExistentialQuantifierAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
@@ -5054,7 +5092,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5054 | 5092 | ||
5055 | 5093 | ||
5056 | // $ANTLR start "entryRuleVLSUnaryNegation" | 5094 | // $ANTLR start "entryRuleVLSUnaryNegation" |
5057 | // InternalVampireLanguage.g:1915:1: entryRuleVLSUnaryNegation returns [EObject current=null] : iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF ; | 5095 | // InternalVampireLanguage.g:1937:1: entryRuleVLSUnaryNegation returns [EObject current=null] : iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF ; |
5058 | public final EObject entryRuleVLSUnaryNegation() throws RecognitionException { | 5096 | public final EObject entryRuleVLSUnaryNegation() throws RecognitionException { |
5059 | EObject current = null; | 5097 | EObject current = null; |
5060 | 5098 | ||
@@ -5062,8 +5100,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5062 | 5100 | ||
5063 | 5101 | ||
5064 | try { | 5102 | try { |
5065 | // InternalVampireLanguage.g:1915:57: (iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF ) | 5103 | // InternalVampireLanguage.g:1937:57: (iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF ) |
5066 | // InternalVampireLanguage.g:1916:2: iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF | 5104 | // InternalVampireLanguage.g:1938:2: iv_ruleVLSUnaryNegation= ruleVLSUnaryNegation EOF |
5067 | { | 5105 | { |
5068 | newCompositeNode(grammarAccess.getVLSUnaryNegationRule()); | 5106 | newCompositeNode(grammarAccess.getVLSUnaryNegationRule()); |
5069 | pushFollow(FOLLOW_1); | 5107 | pushFollow(FOLLOW_1); |
@@ -5090,7 +5128,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5090 | 5128 | ||
5091 | 5129 | ||
5092 | // $ANTLR start "ruleVLSUnaryNegation" | 5130 | // $ANTLR start "ruleVLSUnaryNegation" |
5093 | // InternalVampireLanguage.g:1922:1: ruleVLSUnaryNegation returns [EObject current=null] : ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) ; | 5131 | // InternalVampireLanguage.g:1944:1: ruleVLSUnaryNegation returns [EObject current=null] : ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) ; |
5094 | public final EObject ruleVLSUnaryNegation() throws RecognitionException { | 5132 | public final EObject ruleVLSUnaryNegation() throws RecognitionException { |
5095 | EObject current = null; | 5133 | EObject current = null; |
5096 | 5134 | ||
@@ -5102,14 +5140,14 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5102 | enterRule(); | 5140 | enterRule(); |
5103 | 5141 | ||
5104 | try { | 5142 | try { |
5105 | // InternalVampireLanguage.g:1928:2: ( ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) ) | 5143 | // InternalVampireLanguage.g:1950:2: ( ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) ) |
5106 | // InternalVampireLanguage.g:1929:2: ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) | 5144 | // InternalVampireLanguage.g:1951:2: ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) |
5107 | { | 5145 | { |
5108 | // InternalVampireLanguage.g:1929:2: ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) | 5146 | // InternalVampireLanguage.g:1951:2: ( () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) ) |
5109 | // InternalVampireLanguage.g:1930:3: () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) | 5147 | // InternalVampireLanguage.g:1952:3: () otherlv_1= '~' ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) |
5110 | { | 5148 | { |
5111 | // InternalVampireLanguage.g:1930:3: () | 5149 | // InternalVampireLanguage.g:1952:3: () |
5112 | // InternalVampireLanguage.g:1931:4: | 5150 | // InternalVampireLanguage.g:1953:4: |
5113 | { | 5151 | { |
5114 | 5152 | ||
5115 | current = forceCreateModelElement( | 5153 | current = forceCreateModelElement( |
@@ -5123,11 +5161,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5123 | 5161 | ||
5124 | newLeafNode(otherlv_1, grammarAccess.getVLSUnaryNegationAccess().getTildeKeyword_1()); | 5162 | newLeafNode(otherlv_1, grammarAccess.getVLSUnaryNegationAccess().getTildeKeyword_1()); |
5125 | 5163 | ||
5126 | // InternalVampireLanguage.g:1941:3: ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) | 5164 | // InternalVampireLanguage.g:1963:3: ( (lv_operand_2_0= ruleVLSUnitaryFormula ) ) |
5127 | // InternalVampireLanguage.g:1942:4: (lv_operand_2_0= ruleVLSUnitaryFormula ) | 5165 | // InternalVampireLanguage.g:1964:4: (lv_operand_2_0= ruleVLSUnitaryFormula ) |
5128 | { | 5166 | { |
5129 | // InternalVampireLanguage.g:1942:4: (lv_operand_2_0= ruleVLSUnitaryFormula ) | 5167 | // InternalVampireLanguage.g:1964:4: (lv_operand_2_0= ruleVLSUnitaryFormula ) |
5130 | // InternalVampireLanguage.g:1943:5: lv_operand_2_0= ruleVLSUnitaryFormula | 5168 | // InternalVampireLanguage.g:1965:5: lv_operand_2_0= ruleVLSUnitaryFormula |
5131 | { | 5169 | { |
5132 | 5170 | ||
5133 | newCompositeNode(grammarAccess.getVLSUnaryNegationAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); | 5171 | newCompositeNode(grammarAccess.getVLSUnaryNegationAccess().getOperandVLSUnitaryFormulaParserRuleCall_2_0()); |
@@ -5177,7 +5215,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5177 | 5215 | ||
5178 | 5216 | ||
5179 | // $ANTLR start "entryRuleVLSUnaryInfix" | 5217 | // $ANTLR start "entryRuleVLSUnaryInfix" |
5180 | // InternalVampireLanguage.g:1964:1: entryRuleVLSUnaryInfix returns [EObject current=null] : iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF ; | 5218 | // InternalVampireLanguage.g:1986:1: entryRuleVLSUnaryInfix returns [EObject current=null] : iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF ; |
5181 | public final EObject entryRuleVLSUnaryInfix() throws RecognitionException { | 5219 | public final EObject entryRuleVLSUnaryInfix() throws RecognitionException { |
5182 | EObject current = null; | 5220 | EObject current = null; |
5183 | 5221 | ||
@@ -5185,8 +5223,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5185 | 5223 | ||
5186 | 5224 | ||
5187 | try { | 5225 | try { |
5188 | // InternalVampireLanguage.g:1964:54: (iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF ) | 5226 | // InternalVampireLanguage.g:1986:54: (iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF ) |
5189 | // InternalVampireLanguage.g:1965:2: iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF | 5227 | // InternalVampireLanguage.g:1987:2: iv_ruleVLSUnaryInfix= ruleVLSUnaryInfix EOF |
5190 | { | 5228 | { |
5191 | newCompositeNode(grammarAccess.getVLSUnaryInfixRule()); | 5229 | newCompositeNode(grammarAccess.getVLSUnaryInfixRule()); |
5192 | pushFollow(FOLLOW_1); | 5230 | pushFollow(FOLLOW_1); |
@@ -5213,7 +5251,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5213 | 5251 | ||
5214 | 5252 | ||
5215 | // $ANTLR start "ruleVLSUnaryInfix" | 5253 | // $ANTLR start "ruleVLSUnaryInfix" |
5216 | // InternalVampireLanguage.g:1971:1: ruleVLSUnaryInfix returns [EObject current=null] : (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) ; | 5254 | // InternalVampireLanguage.g:1993:1: ruleVLSUnaryInfix returns [EObject current=null] : (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) ; |
5217 | public final EObject ruleVLSUnaryInfix() throws RecognitionException { | 5255 | public final EObject ruleVLSUnaryInfix() throws RecognitionException { |
5218 | EObject current = null; | 5256 | EObject current = null; |
5219 | 5257 | ||
@@ -5229,11 +5267,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5229 | enterRule(); | 5267 | enterRule(); |
5230 | 5268 | ||
5231 | try { | 5269 | try { |
5232 | // InternalVampireLanguage.g:1977:2: ( (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) ) | 5270 | // InternalVampireLanguage.g:1999:2: ( (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) ) |
5233 | // InternalVampireLanguage.g:1978:2: (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) | 5271 | // InternalVampireLanguage.g:2000:2: (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) |
5234 | { | 5272 | { |
5235 | // InternalVampireLanguage.g:1978:2: (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) | 5273 | // InternalVampireLanguage.g:2000:2: (this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? ) |
5236 | // InternalVampireLanguage.g:1979:3: this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? | 5274 | // InternalVampireLanguage.g:2001:3: this_VLSAtomic_0= ruleVLSAtomic ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? |
5237 | { | 5275 | { |
5238 | 5276 | ||
5239 | newCompositeNode(grammarAccess.getVLSUnaryInfixAccess().getVLSAtomicParserRuleCall_0()); | 5277 | newCompositeNode(grammarAccess.getVLSUnaryInfixAccess().getVLSAtomicParserRuleCall_0()); |
@@ -5247,7 +5285,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5247 | current = this_VLSAtomic_0; | 5285 | current = this_VLSAtomic_0; |
5248 | afterParserOrEnumRuleCall(); | 5286 | afterParserOrEnumRuleCall(); |
5249 | 5287 | ||
5250 | // InternalVampireLanguage.g:1987:3: ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? | 5288 | // InternalVampireLanguage.g:2009:3: ( ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) )? |
5251 | int alt31=2; | 5289 | int alt31=2; |
5252 | int LA31_0 = input.LA(1); | 5290 | int LA31_0 = input.LA(1); |
5253 | 5291 | ||
@@ -5256,9 +5294,9 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5256 | } | 5294 | } |
5257 | switch (alt31) { | 5295 | switch (alt31) { |
5258 | case 1 : | 5296 | case 1 : |
5259 | // InternalVampireLanguage.g:1988:4: ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) | 5297 | // InternalVampireLanguage.g:2010:4: ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) ( (lv_right_7_0= ruleVLSAtomic ) ) |
5260 | { | 5298 | { |
5261 | // InternalVampireLanguage.g:1988:4: ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) | 5299 | // InternalVampireLanguage.g:2010:4: ( ( () otherlv_2= '!=' ) | ( () otherlv_4= '=' ) | ( () otherlv_6= ':=' ) ) |
5262 | int alt30=3; | 5300 | int alt30=3; |
5263 | switch ( input.LA(1) ) { | 5301 | switch ( input.LA(1) ) { |
5264 | case 75: | 5302 | case 75: |
@@ -5285,13 +5323,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5285 | 5323 | ||
5286 | switch (alt30) { | 5324 | switch (alt30) { |
5287 | case 1 : | 5325 | case 1 : |
5288 | // InternalVampireLanguage.g:1989:5: ( () otherlv_2= '!=' ) | 5326 | // InternalVampireLanguage.g:2011:5: ( () otherlv_2= '!=' ) |
5289 | { | 5327 | { |
5290 | // InternalVampireLanguage.g:1989:5: ( () otherlv_2= '!=' ) | 5328 | // InternalVampireLanguage.g:2011:5: ( () otherlv_2= '!=' ) |
5291 | // InternalVampireLanguage.g:1990:6: () otherlv_2= '!=' | 5329 | // InternalVampireLanguage.g:2012:6: () otherlv_2= '!=' |
5292 | { | 5330 | { |
5293 | // InternalVampireLanguage.g:1990:6: () | 5331 | // InternalVampireLanguage.g:2012:6: () |
5294 | // InternalVampireLanguage.g:1991:7: | 5332 | // InternalVampireLanguage.g:2013:7: |
5295 | { | 5333 | { |
5296 | 5334 | ||
5297 | current = forceCreateModelElementAndSet( | 5335 | current = forceCreateModelElementAndSet( |
@@ -5312,13 +5350,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5312 | } | 5350 | } |
5313 | break; | 5351 | break; |
5314 | case 2 : | 5352 | case 2 : |
5315 | // InternalVampireLanguage.g:2003:5: ( () otherlv_4= '=' ) | 5353 | // InternalVampireLanguage.g:2025:5: ( () otherlv_4= '=' ) |
5316 | { | 5354 | { |
5317 | // InternalVampireLanguage.g:2003:5: ( () otherlv_4= '=' ) | 5355 | // InternalVampireLanguage.g:2025:5: ( () otherlv_4= '=' ) |
5318 | // InternalVampireLanguage.g:2004:6: () otherlv_4= '=' | 5356 | // InternalVampireLanguage.g:2026:6: () otherlv_4= '=' |
5319 | { | 5357 | { |
5320 | // InternalVampireLanguage.g:2004:6: () | 5358 | // InternalVampireLanguage.g:2026:6: () |
5321 | // InternalVampireLanguage.g:2005:7: | 5359 | // InternalVampireLanguage.g:2027:7: |
5322 | { | 5360 | { |
5323 | 5361 | ||
5324 | current = forceCreateModelElementAndSet( | 5362 | current = forceCreateModelElementAndSet( |
@@ -5339,13 +5377,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5339 | } | 5377 | } |
5340 | break; | 5378 | break; |
5341 | case 3 : | 5379 | case 3 : |
5342 | // InternalVampireLanguage.g:2017:5: ( () otherlv_6= ':=' ) | 5380 | // InternalVampireLanguage.g:2039:5: ( () otherlv_6= ':=' ) |
5343 | { | 5381 | { |
5344 | // InternalVampireLanguage.g:2017:5: ( () otherlv_6= ':=' ) | 5382 | // InternalVampireLanguage.g:2039:5: ( () otherlv_6= ':=' ) |
5345 | // InternalVampireLanguage.g:2018:6: () otherlv_6= ':=' | 5383 | // InternalVampireLanguage.g:2040:6: () otherlv_6= ':=' |
5346 | { | 5384 | { |
5347 | // InternalVampireLanguage.g:2018:6: () | 5385 | // InternalVampireLanguage.g:2040:6: () |
5348 | // InternalVampireLanguage.g:2019:7: | 5386 | // InternalVampireLanguage.g:2041:7: |
5349 | { | 5387 | { |
5350 | 5388 | ||
5351 | current = forceCreateModelElementAndSet( | 5389 | current = forceCreateModelElementAndSet( |
@@ -5368,11 +5406,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5368 | 5406 | ||
5369 | } | 5407 | } |
5370 | 5408 | ||
5371 | // InternalVampireLanguage.g:2031:4: ( (lv_right_7_0= ruleVLSAtomic ) ) | 5409 | // InternalVampireLanguage.g:2053:4: ( (lv_right_7_0= ruleVLSAtomic ) ) |
5372 | // InternalVampireLanguage.g:2032:5: (lv_right_7_0= ruleVLSAtomic ) | 5410 | // InternalVampireLanguage.g:2054:5: (lv_right_7_0= ruleVLSAtomic ) |
5373 | { | 5411 | { |
5374 | // InternalVampireLanguage.g:2032:5: (lv_right_7_0= ruleVLSAtomic ) | 5412 | // InternalVampireLanguage.g:2054:5: (lv_right_7_0= ruleVLSAtomic ) |
5375 | // InternalVampireLanguage.g:2033:6: lv_right_7_0= ruleVLSAtomic | 5413 | // InternalVampireLanguage.g:2055:6: lv_right_7_0= ruleVLSAtomic |
5376 | { | 5414 | { |
5377 | 5415 | ||
5378 | newCompositeNode(grammarAccess.getVLSUnaryInfixAccess().getRightVLSAtomicParserRuleCall_1_1_0()); | 5416 | newCompositeNode(grammarAccess.getVLSUnaryInfixAccess().getRightVLSAtomicParserRuleCall_1_1_0()); |
@@ -5428,7 +5466,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5428 | 5466 | ||
5429 | 5467 | ||
5430 | // $ANTLR start "entryRuleVLSAtomic" | 5468 | // $ANTLR start "entryRuleVLSAtomic" |
5431 | // InternalVampireLanguage.g:2055:1: entryRuleVLSAtomic returns [EObject current=null] : iv_ruleVLSAtomic= ruleVLSAtomic EOF ; | 5469 | // InternalVampireLanguage.g:2077:1: entryRuleVLSAtomic returns [EObject current=null] : iv_ruleVLSAtomic= ruleVLSAtomic EOF ; |
5432 | public final EObject entryRuleVLSAtomic() throws RecognitionException { | 5470 | public final EObject entryRuleVLSAtomic() throws RecognitionException { |
5433 | EObject current = null; | 5471 | EObject current = null; |
5434 | 5472 | ||
@@ -5436,8 +5474,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5436 | 5474 | ||
5437 | 5475 | ||
5438 | try { | 5476 | try { |
5439 | // InternalVampireLanguage.g:2055:50: (iv_ruleVLSAtomic= ruleVLSAtomic EOF ) | 5477 | // InternalVampireLanguage.g:2077:50: (iv_ruleVLSAtomic= ruleVLSAtomic EOF ) |
5440 | // InternalVampireLanguage.g:2056:2: iv_ruleVLSAtomic= ruleVLSAtomic EOF | 5478 | // InternalVampireLanguage.g:2078:2: iv_ruleVLSAtomic= ruleVLSAtomic EOF |
5441 | { | 5479 | { |
5442 | newCompositeNode(grammarAccess.getVLSAtomicRule()); | 5480 | newCompositeNode(grammarAccess.getVLSAtomicRule()); |
5443 | pushFollow(FOLLOW_1); | 5481 | pushFollow(FOLLOW_1); |
@@ -5464,7 +5502,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5464 | 5502 | ||
5465 | 5503 | ||
5466 | // $ANTLR start "ruleVLSAtomic" | 5504 | // $ANTLR start "ruleVLSAtomic" |
5467 | // InternalVampireLanguage.g:2062:1: ruleVLSAtomic returns [EObject current=null] : (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) ; | 5505 | // InternalVampireLanguage.g:2084:1: ruleVLSAtomic returns [EObject current=null] : (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) ; |
5468 | public final EObject ruleVLSAtomic() throws RecognitionException { | 5506 | public final EObject ruleVLSAtomic() throws RecognitionException { |
5469 | EObject current = null; | 5507 | EObject current = null; |
5470 | 5508 | ||
@@ -5481,15 +5519,15 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5481 | enterRule(); | 5519 | enterRule(); |
5482 | 5520 | ||
5483 | try { | 5521 | try { |
5484 | // InternalVampireLanguage.g:2068:2: ( (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) ) | 5522 | // InternalVampireLanguage.g:2090:2: ( (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) ) |
5485 | // InternalVampireLanguage.g:2069:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) | 5523 | // InternalVampireLanguage.g:2091:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) |
5486 | { | 5524 | { |
5487 | // InternalVampireLanguage.g:2069:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) | 5525 | // InternalVampireLanguage.g:2091:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm ) |
5488 | int alt32=4; | 5526 | int alt32=4; |
5489 | alt32 = dfa32.predict(input); | 5527 | alt32 = dfa32.predict(input); |
5490 | switch (alt32) { | 5528 | switch (alt32) { |
5491 | case 1 : | 5529 | case 1 : |
5492 | // InternalVampireLanguage.g:2070:3: this_VLSAtomicConstant_0= ruleVLSAtomicConstant | 5530 | // InternalVampireLanguage.g:2092:3: this_VLSAtomicConstant_0= ruleVLSAtomicConstant |
5493 | { | 5531 | { |
5494 | 5532 | ||
5495 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSAtomicConstantParserRuleCall_0()); | 5533 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSAtomicConstantParserRuleCall_0()); |
@@ -5507,7 +5545,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5507 | } | 5545 | } |
5508 | break; | 5546 | break; |
5509 | case 2 : | 5547 | case 2 : |
5510 | // InternalVampireLanguage.g:2079:3: this_VLSAtomicFunction_1= ruleVLSAtomicFunction | 5548 | // InternalVampireLanguage.g:2101:3: this_VLSAtomicFunction_1= ruleVLSAtomicFunction |
5511 | { | 5549 | { |
5512 | 5550 | ||
5513 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSAtomicFunctionParserRuleCall_1()); | 5551 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSAtomicFunctionParserRuleCall_1()); |
@@ -5525,7 +5563,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5525 | } | 5563 | } |
5526 | break; | 5564 | break; |
5527 | case 3 : | 5565 | case 3 : |
5528 | // InternalVampireLanguage.g:2088:3: this_VLSVariable_2= ruleVLSVariable | 5566 | // InternalVampireLanguage.g:2110:3: this_VLSVariable_2= ruleVLSVariable |
5529 | { | 5567 | { |
5530 | 5568 | ||
5531 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSVariableParserRuleCall_2()); | 5569 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSVariableParserRuleCall_2()); |
@@ -5543,7 +5581,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5543 | } | 5581 | } |
5544 | break; | 5582 | break; |
5545 | case 4 : | 5583 | case 4 : |
5546 | // InternalVampireLanguage.g:2097:3: this_VLSDefinedTerm_3= ruleVLSDefinedTerm | 5584 | // InternalVampireLanguage.g:2119:3: this_VLSDefinedTerm_3= ruleVLSDefinedTerm |
5547 | { | 5585 | { |
5548 | 5586 | ||
5549 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSDefinedTermParserRuleCall_3()); | 5587 | newCompositeNode(grammarAccess.getVLSAtomicAccess().getVLSDefinedTermParserRuleCall_3()); |
@@ -5583,7 +5621,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5583 | 5621 | ||
5584 | 5622 | ||
5585 | // $ANTLR start "entryRuleVLSAtomicConstant" | 5623 | // $ANTLR start "entryRuleVLSAtomicConstant" |
5586 | // InternalVampireLanguage.g:2109:1: entryRuleVLSAtomicConstant returns [EObject current=null] : iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF ; | 5624 | // InternalVampireLanguage.g:2131:1: entryRuleVLSAtomicConstant returns [EObject current=null] : iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF ; |
5587 | public final EObject entryRuleVLSAtomicConstant() throws RecognitionException { | 5625 | public final EObject entryRuleVLSAtomicConstant() throws RecognitionException { |
5588 | EObject current = null; | 5626 | EObject current = null; |
5589 | 5627 | ||
@@ -5591,8 +5629,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5591 | 5629 | ||
5592 | 5630 | ||
5593 | try { | 5631 | try { |
5594 | // InternalVampireLanguage.g:2109:58: (iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF ) | 5632 | // InternalVampireLanguage.g:2131:58: (iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF ) |
5595 | // InternalVampireLanguage.g:2110:2: iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF | 5633 | // InternalVampireLanguage.g:2132:2: iv_ruleVLSAtomicConstant= ruleVLSAtomicConstant EOF |
5596 | { | 5634 | { |
5597 | newCompositeNode(grammarAccess.getVLSAtomicConstantRule()); | 5635 | newCompositeNode(grammarAccess.getVLSAtomicConstantRule()); |
5598 | pushFollow(FOLLOW_1); | 5636 | pushFollow(FOLLOW_1); |
@@ -5619,7 +5657,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5619 | 5657 | ||
5620 | 5658 | ||
5621 | // $ANTLR start "ruleVLSAtomicConstant" | 5659 | // $ANTLR start "ruleVLSAtomicConstant" |
5622 | // InternalVampireLanguage.g:2116:1: ruleVLSAtomicConstant returns [EObject current=null] : ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) ; | 5660 | // InternalVampireLanguage.g:2138:1: ruleVLSAtomicConstant returns [EObject current=null] : ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) ; |
5623 | public final EObject ruleVLSAtomicConstant() throws RecognitionException { | 5661 | public final EObject ruleVLSAtomicConstant() throws RecognitionException { |
5624 | EObject current = null; | 5662 | EObject current = null; |
5625 | 5663 | ||
@@ -5636,10 +5674,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5636 | enterRule(); | 5674 | enterRule(); |
5637 | 5675 | ||
5638 | try { | 5676 | try { |
5639 | // InternalVampireLanguage.g:2122:2: ( ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) ) | 5677 | // InternalVampireLanguage.g:2144:2: ( ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) ) |
5640 | // InternalVampireLanguage.g:2123:2: ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) | 5678 | // InternalVampireLanguage.g:2145:2: ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) |
5641 | { | 5679 | { |
5642 | // InternalVampireLanguage.g:2123:2: ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) | 5680 | // InternalVampireLanguage.g:2145:2: ( ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | ( () otherlv_3= '$true' ) | ( () otherlv_5= '$false' ) ) |
5643 | int alt34=3; | 5681 | int alt34=3; |
5644 | switch ( input.LA(1) ) { | 5682 | switch ( input.LA(1) ) { |
5645 | case RULE_LOWER_WORD_ID: | 5683 | case RULE_LOWER_WORD_ID: |
@@ -5684,13 +5722,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5684 | 5722 | ||
5685 | switch (alt34) { | 5723 | switch (alt34) { |
5686 | case 1 : | 5724 | case 1 : |
5687 | // InternalVampireLanguage.g:2124:3: ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | 5725 | // InternalVampireLanguage.g:2146:3: ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) |
5688 | { | 5726 | { |
5689 | // InternalVampireLanguage.g:2124:3: ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) | 5727 | // InternalVampireLanguage.g:2146:3: ( () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) ) |
5690 | // InternalVampireLanguage.g:2125:4: () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) | 5728 | // InternalVampireLanguage.g:2147:4: () ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) |
5691 | { | 5729 | { |
5692 | // InternalVampireLanguage.g:2125:4: () | 5730 | // InternalVampireLanguage.g:2147:4: () |
5693 | // InternalVampireLanguage.g:2126:5: | 5731 | // InternalVampireLanguage.g:2148:5: |
5694 | { | 5732 | { |
5695 | 5733 | ||
5696 | current = forceCreateModelElement( | 5734 | current = forceCreateModelElement( |
@@ -5700,13 +5738,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5700 | 5738 | ||
5701 | } | 5739 | } |
5702 | 5740 | ||
5703 | // InternalVampireLanguage.g:2132:4: ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) | 5741 | // InternalVampireLanguage.g:2154:4: ( ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) ) |
5704 | // InternalVampireLanguage.g:2133:5: ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) | 5742 | // InternalVampireLanguage.g:2155:5: ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) |
5705 | { | 5743 | { |
5706 | // InternalVampireLanguage.g:2133:5: ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) | 5744 | // InternalVampireLanguage.g:2155:5: ( (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) ) |
5707 | // InternalVampireLanguage.g:2134:6: (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) | 5745 | // InternalVampireLanguage.g:2156:6: (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) |
5708 | { | 5746 | { |
5709 | // InternalVampireLanguage.g:2134:6: (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) | 5747 | // InternalVampireLanguage.g:2156:6: (lv_name_1_1= RULE_LOWER_WORD_ID | lv_name_1_2= RULE_SINGLE_QUOTE | lv_name_1_3= RULE_DOLLAR_ID | lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | lv_name_1_5= ruleVLSRole ) |
5710 | int alt33=5; | 5748 | int alt33=5; |
5711 | switch ( input.LA(1) ) { | 5749 | switch ( input.LA(1) ) { |
5712 | case RULE_LOWER_WORD_ID: | 5750 | case RULE_LOWER_WORD_ID: |
@@ -5757,7 +5795,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5757 | 5795 | ||
5758 | switch (alt33) { | 5796 | switch (alt33) { |
5759 | case 1 : | 5797 | case 1 : |
5760 | // InternalVampireLanguage.g:2135:7: lv_name_1_1= RULE_LOWER_WORD_ID | 5798 | // InternalVampireLanguage.g:2157:7: lv_name_1_1= RULE_LOWER_WORD_ID |
5761 | { | 5799 | { |
5762 | lv_name_1_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_2); | 5800 | lv_name_1_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_2); |
5763 | 5801 | ||
@@ -5777,7 +5815,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5777 | } | 5815 | } |
5778 | break; | 5816 | break; |
5779 | case 2 : | 5817 | case 2 : |
5780 | // InternalVampireLanguage.g:2150:7: lv_name_1_2= RULE_SINGLE_QUOTE | 5818 | // InternalVampireLanguage.g:2172:7: lv_name_1_2= RULE_SINGLE_QUOTE |
5781 | { | 5819 | { |
5782 | lv_name_1_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_2); | 5820 | lv_name_1_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_2); |
5783 | 5821 | ||
@@ -5797,7 +5835,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5797 | } | 5835 | } |
5798 | break; | 5836 | break; |
5799 | case 3 : | 5837 | case 3 : |
5800 | // InternalVampireLanguage.g:2165:7: lv_name_1_3= RULE_DOLLAR_ID | 5838 | // InternalVampireLanguage.g:2187:7: lv_name_1_3= RULE_DOLLAR_ID |
5801 | { | 5839 | { |
5802 | lv_name_1_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_2); | 5840 | lv_name_1_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_2); |
5803 | 5841 | ||
@@ -5817,7 +5855,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5817 | } | 5855 | } |
5818 | break; | 5856 | break; |
5819 | case 4 : | 5857 | case 4 : |
5820 | // InternalVampireLanguage.g:2180:7: lv_name_1_4= RULE_DOUBLE_DOLLAR_ID | 5858 | // InternalVampireLanguage.g:2202:7: lv_name_1_4= RULE_DOUBLE_DOLLAR_ID |
5821 | { | 5859 | { |
5822 | lv_name_1_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_2); | 5860 | lv_name_1_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_2); |
5823 | 5861 | ||
@@ -5837,7 +5875,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5837 | } | 5875 | } |
5838 | break; | 5876 | break; |
5839 | case 5 : | 5877 | case 5 : |
5840 | // InternalVampireLanguage.g:2195:7: lv_name_1_5= ruleVLSRole | 5878 | // InternalVampireLanguage.g:2217:7: lv_name_1_5= ruleVLSRole |
5841 | { | 5879 | { |
5842 | 5880 | ||
5843 | newCompositeNode(grammarAccess.getVLSAtomicConstantAccess().getNameVLSRoleParserRuleCall_0_1_0_4()); | 5881 | newCompositeNode(grammarAccess.getVLSAtomicConstantAccess().getNameVLSRoleParserRuleCall_0_1_0_4()); |
@@ -5877,13 +5915,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5877 | } | 5915 | } |
5878 | break; | 5916 | break; |
5879 | case 2 : | 5917 | case 2 : |
5880 | // InternalVampireLanguage.g:2215:3: ( () otherlv_3= '$true' ) | 5918 | // InternalVampireLanguage.g:2237:3: ( () otherlv_3= '$true' ) |
5881 | { | 5919 | { |
5882 | // InternalVampireLanguage.g:2215:3: ( () otherlv_3= '$true' ) | 5920 | // InternalVampireLanguage.g:2237:3: ( () otherlv_3= '$true' ) |
5883 | // InternalVampireLanguage.g:2216:4: () otherlv_3= '$true' | 5921 | // InternalVampireLanguage.g:2238:4: () otherlv_3= '$true' |
5884 | { | 5922 | { |
5885 | // InternalVampireLanguage.g:2216:4: () | 5923 | // InternalVampireLanguage.g:2238:4: () |
5886 | // InternalVampireLanguage.g:2217:5: | 5924 | // InternalVampireLanguage.g:2239:5: |
5887 | { | 5925 | { |
5888 | 5926 | ||
5889 | current = forceCreateModelElement( | 5927 | current = forceCreateModelElement( |
@@ -5904,13 +5942,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5904 | } | 5942 | } |
5905 | break; | 5943 | break; |
5906 | case 3 : | 5944 | case 3 : |
5907 | // InternalVampireLanguage.g:2229:3: ( () otherlv_5= '$false' ) | 5945 | // InternalVampireLanguage.g:2251:3: ( () otherlv_5= '$false' ) |
5908 | { | 5946 | { |
5909 | // InternalVampireLanguage.g:2229:3: ( () otherlv_5= '$false' ) | 5947 | // InternalVampireLanguage.g:2251:3: ( () otherlv_5= '$false' ) |
5910 | // InternalVampireLanguage.g:2230:4: () otherlv_5= '$false' | 5948 | // InternalVampireLanguage.g:2252:4: () otherlv_5= '$false' |
5911 | { | 5949 | { |
5912 | // InternalVampireLanguage.g:2230:4: () | 5950 | // InternalVampireLanguage.g:2252:4: () |
5913 | // InternalVampireLanguage.g:2231:5: | 5951 | // InternalVampireLanguage.g:2253:5: |
5914 | { | 5952 | { |
5915 | 5953 | ||
5916 | current = forceCreateModelElement( | 5954 | current = forceCreateModelElement( |
@@ -5953,7 +5991,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5953 | 5991 | ||
5954 | 5992 | ||
5955 | // $ANTLR start "entryRuleVLSAtomicFunction" | 5993 | // $ANTLR start "entryRuleVLSAtomicFunction" |
5956 | // InternalVampireLanguage.g:2246:1: entryRuleVLSAtomicFunction returns [EObject current=null] : iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF ; | 5994 | // InternalVampireLanguage.g:2268:1: entryRuleVLSAtomicFunction returns [EObject current=null] : iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF ; |
5957 | public final EObject entryRuleVLSAtomicFunction() throws RecognitionException { | 5995 | public final EObject entryRuleVLSAtomicFunction() throws RecognitionException { |
5958 | EObject current = null; | 5996 | EObject current = null; |
5959 | 5997 | ||
@@ -5961,8 +5999,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5961 | 5999 | ||
5962 | 6000 | ||
5963 | try { | 6001 | try { |
5964 | // InternalVampireLanguage.g:2246:58: (iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF ) | 6002 | // InternalVampireLanguage.g:2268:58: (iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF ) |
5965 | // InternalVampireLanguage.g:2247:2: iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF | 6003 | // InternalVampireLanguage.g:2269:2: iv_ruleVLSAtomicFunction= ruleVLSAtomicFunction EOF |
5966 | { | 6004 | { |
5967 | newCompositeNode(grammarAccess.getVLSAtomicFunctionRule()); | 6005 | newCompositeNode(grammarAccess.getVLSAtomicFunctionRule()); |
5968 | pushFollow(FOLLOW_1); | 6006 | pushFollow(FOLLOW_1); |
@@ -5989,7 +6027,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
5989 | 6027 | ||
5990 | 6028 | ||
5991 | // $ANTLR start "ruleVLSAtomicFunction" | 6029 | // $ANTLR start "ruleVLSAtomicFunction" |
5992 | // InternalVampireLanguage.g:2253:1: ruleVLSAtomicFunction returns [EObject current=null] : ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) ; | 6030 | // InternalVampireLanguage.g:2275:1: ruleVLSAtomicFunction returns [EObject current=null] : ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) ; |
5993 | public final EObject ruleVLSAtomicFunction() throws RecognitionException { | 6031 | public final EObject ruleVLSAtomicFunction() throws RecognitionException { |
5994 | EObject current = null; | 6032 | EObject current = null; |
5995 | 6033 | ||
@@ -6019,10 +6057,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6019 | enterRule(); | 6057 | enterRule(); |
6020 | 6058 | ||
6021 | try { | 6059 | try { |
6022 | // InternalVampireLanguage.g:2259:2: ( ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) ) | 6060 | // InternalVampireLanguage.g:2281:2: ( ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) ) |
6023 | // InternalVampireLanguage.g:2260:2: ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) | 6061 | // InternalVampireLanguage.g:2282:2: ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) |
6024 | { | 6062 | { |
6025 | // InternalVampireLanguage.g:2260:2: ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) | 6063 | // InternalVampireLanguage.g:2282:2: ( ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) ) |
6026 | int alt37=2; | 6064 | int alt37=2; |
6027 | int LA37_0 = input.LA(1); | 6065 | int LA37_0 = input.LA(1); |
6028 | 6066 | ||
@@ -6040,13 +6078,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6040 | } | 6078 | } |
6041 | switch (alt37) { | 6079 | switch (alt37) { |
6042 | case 1 : | 6080 | case 1 : |
6043 | // InternalVampireLanguage.g:2261:3: ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | 6081 | // InternalVampireLanguage.g:2283:3: ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) |
6044 | { | 6082 | { |
6045 | // InternalVampireLanguage.g:2261:3: ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) | 6083 | // InternalVampireLanguage.g:2283:3: ( () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) ) |
6046 | // InternalVampireLanguage.g:2262:4: () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) | 6084 | // InternalVampireLanguage.g:2284:4: () ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) |
6047 | { | 6085 | { |
6048 | // InternalVampireLanguage.g:2262:4: () | 6086 | // InternalVampireLanguage.g:2284:4: () |
6049 | // InternalVampireLanguage.g:2263:5: | 6087 | // InternalVampireLanguage.g:2285:5: |
6050 | { | 6088 | { |
6051 | 6089 | ||
6052 | current = forceCreateModelElement( | 6090 | current = forceCreateModelElement( |
@@ -6056,13 +6094,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6056 | 6094 | ||
6057 | } | 6095 | } |
6058 | 6096 | ||
6059 | // InternalVampireLanguage.g:2269:4: ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) | 6097 | // InternalVampireLanguage.g:2291:4: ( ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) ) |
6060 | // InternalVampireLanguage.g:2270:5: ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) | 6098 | // InternalVampireLanguage.g:2292:5: ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) |
6061 | { | 6099 | { |
6062 | // InternalVampireLanguage.g:2270:5: ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) | 6100 | // InternalVampireLanguage.g:2292:5: ( (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) ) |
6063 | // InternalVampireLanguage.g:2271:6: (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) | 6101 | // InternalVampireLanguage.g:2293:6: (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) |
6064 | { | 6102 | { |
6065 | // InternalVampireLanguage.g:2271:6: (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) | 6103 | // InternalVampireLanguage.g:2293:6: (lv_constant_1_1= RULE_LOWER_WORD_ID | lv_constant_1_2= RULE_SINGLE_QUOTE | lv_constant_1_3= RULE_DOLLAR_ID | lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | lv_constant_1_5= ruleVLSRole ) |
6066 | int alt35=5; | 6104 | int alt35=5; |
6067 | switch ( input.LA(1) ) { | 6105 | switch ( input.LA(1) ) { |
6068 | case RULE_LOWER_WORD_ID: | 6106 | case RULE_LOWER_WORD_ID: |
@@ -6113,7 +6151,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6113 | 6151 | ||
6114 | switch (alt35) { | 6152 | switch (alt35) { |
6115 | case 1 : | 6153 | case 1 : |
6116 | // InternalVampireLanguage.g:2272:7: lv_constant_1_1= RULE_LOWER_WORD_ID | 6154 | // InternalVampireLanguage.g:2294:7: lv_constant_1_1= RULE_LOWER_WORD_ID |
6117 | { | 6155 | { |
6118 | lv_constant_1_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_16); | 6156 | lv_constant_1_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_16); |
6119 | 6157 | ||
@@ -6133,7 +6171,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6133 | } | 6171 | } |
6134 | break; | 6172 | break; |
6135 | case 2 : | 6173 | case 2 : |
6136 | // InternalVampireLanguage.g:2287:7: lv_constant_1_2= RULE_SINGLE_QUOTE | 6174 | // InternalVampireLanguage.g:2309:7: lv_constant_1_2= RULE_SINGLE_QUOTE |
6137 | { | 6175 | { |
6138 | lv_constant_1_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_16); | 6176 | lv_constant_1_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_16); |
6139 | 6177 | ||
@@ -6153,7 +6191,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6153 | } | 6191 | } |
6154 | break; | 6192 | break; |
6155 | case 3 : | 6193 | case 3 : |
6156 | // InternalVampireLanguage.g:2302:7: lv_constant_1_3= RULE_DOLLAR_ID | 6194 | // InternalVampireLanguage.g:2324:7: lv_constant_1_3= RULE_DOLLAR_ID |
6157 | { | 6195 | { |
6158 | lv_constant_1_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_16); | 6196 | lv_constant_1_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_16); |
6159 | 6197 | ||
@@ -6173,7 +6211,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6173 | } | 6211 | } |
6174 | break; | 6212 | break; |
6175 | case 4 : | 6213 | case 4 : |
6176 | // InternalVampireLanguage.g:2317:7: lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID | 6214 | // InternalVampireLanguage.g:2339:7: lv_constant_1_4= RULE_DOUBLE_DOLLAR_ID |
6177 | { | 6215 | { |
6178 | lv_constant_1_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_16); | 6216 | lv_constant_1_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_16); |
6179 | 6217 | ||
@@ -6193,7 +6231,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6193 | } | 6231 | } |
6194 | break; | 6232 | break; |
6195 | case 5 : | 6233 | case 5 : |
6196 | // InternalVampireLanguage.g:2332:7: lv_constant_1_5= ruleVLSRole | 6234 | // InternalVampireLanguage.g:2354:7: lv_constant_1_5= ruleVLSRole |
6197 | { | 6235 | { |
6198 | 6236 | ||
6199 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getConstantVLSRoleParserRuleCall_0_1_0_4()); | 6237 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getConstantVLSRoleParserRuleCall_0_1_0_4()); |
@@ -6226,18 +6264,18 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6226 | 6264 | ||
6227 | } | 6265 | } |
6228 | 6266 | ||
6229 | // InternalVampireLanguage.g:2350:4: (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) | 6267 | // InternalVampireLanguage.g:2372:4: (otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' ) |
6230 | // InternalVampireLanguage.g:2351:5: otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' | 6268 | // InternalVampireLanguage.g:2373:5: otherlv_2= '(' ( (lv_terms_3_0= ruleVLSFofTerm ) ) (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* otherlv_6= ')' |
6231 | { | 6269 | { |
6232 | otherlv_2=(Token)match(input,38,FOLLOW_33); | 6270 | otherlv_2=(Token)match(input,38,FOLLOW_33); |
6233 | 6271 | ||
6234 | newLeafNode(otherlv_2, grammarAccess.getVLSAtomicFunctionAccess().getLeftParenthesisKeyword_0_2_0()); | 6272 | newLeafNode(otherlv_2, grammarAccess.getVLSAtomicFunctionAccess().getLeftParenthesisKeyword_0_2_0()); |
6235 | 6273 | ||
6236 | // InternalVampireLanguage.g:2355:5: ( (lv_terms_3_0= ruleVLSFofTerm ) ) | 6274 | // InternalVampireLanguage.g:2377:5: ( (lv_terms_3_0= ruleVLSFofTerm ) ) |
6237 | // InternalVampireLanguage.g:2356:6: (lv_terms_3_0= ruleVLSFofTerm ) | 6275 | // InternalVampireLanguage.g:2378:6: (lv_terms_3_0= ruleVLSFofTerm ) |
6238 | { | 6276 | { |
6239 | // InternalVampireLanguage.g:2356:6: (lv_terms_3_0= ruleVLSFofTerm ) | 6277 | // InternalVampireLanguage.g:2378:6: (lv_terms_3_0= ruleVLSFofTerm ) |
6240 | // InternalVampireLanguage.g:2357:7: lv_terms_3_0= ruleVLSFofTerm | 6278 | // InternalVampireLanguage.g:2379:7: lv_terms_3_0= ruleVLSFofTerm |
6241 | { | 6279 | { |
6242 | 6280 | ||
6243 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_1_0()); | 6281 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_1_0()); |
@@ -6264,7 +6302,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6264 | 6302 | ||
6265 | } | 6303 | } |
6266 | 6304 | ||
6267 | // InternalVampireLanguage.g:2374:5: (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* | 6305 | // InternalVampireLanguage.g:2396:5: (otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) )* |
6268 | loop36: | 6306 | loop36: |
6269 | do { | 6307 | do { |
6270 | int alt36=2; | 6308 | int alt36=2; |
@@ -6277,17 +6315,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6277 | 6315 | ||
6278 | switch (alt36) { | 6316 | switch (alt36) { |
6279 | case 1 : | 6317 | case 1 : |
6280 | // InternalVampireLanguage.g:2375:6: otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) | 6318 | // InternalVampireLanguage.g:2397:6: otherlv_4= ',' ( (lv_terms_5_0= ruleVLSFofTerm ) ) |
6281 | { | 6319 | { |
6282 | otherlv_4=(Token)match(input,39,FOLLOW_33); | 6320 | otherlv_4=(Token)match(input,39,FOLLOW_33); |
6283 | 6321 | ||
6284 | newLeafNode(otherlv_4, grammarAccess.getVLSAtomicFunctionAccess().getCommaKeyword_0_2_2_0()); | 6322 | newLeafNode(otherlv_4, grammarAccess.getVLSAtomicFunctionAccess().getCommaKeyword_0_2_2_0()); |
6285 | 6323 | ||
6286 | // InternalVampireLanguage.g:2379:6: ( (lv_terms_5_0= ruleVLSFofTerm ) ) | 6324 | // InternalVampireLanguage.g:2401:6: ( (lv_terms_5_0= ruleVLSFofTerm ) ) |
6287 | // InternalVampireLanguage.g:2380:7: (lv_terms_5_0= ruleVLSFofTerm ) | 6325 | // InternalVampireLanguage.g:2402:7: (lv_terms_5_0= ruleVLSFofTerm ) |
6288 | { | 6326 | { |
6289 | // InternalVampireLanguage.g:2380:7: (lv_terms_5_0= ruleVLSFofTerm ) | 6327 | // InternalVampireLanguage.g:2402:7: (lv_terms_5_0= ruleVLSFofTerm ) |
6290 | // InternalVampireLanguage.g:2381:8: lv_terms_5_0= ruleVLSFofTerm | 6328 | // InternalVampireLanguage.g:2403:8: lv_terms_5_0= ruleVLSFofTerm |
6291 | { | 6329 | { |
6292 | 6330 | ||
6293 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_2_1_0()); | 6331 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_0_2_2_1_0()); |
@@ -6337,13 +6375,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6337 | } | 6375 | } |
6338 | break; | 6376 | break; |
6339 | case 2 : | 6377 | case 2 : |
6340 | // InternalVampireLanguage.g:2406:3: ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) | 6378 | // InternalVampireLanguage.g:2428:3: ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) |
6341 | { | 6379 | { |
6342 | // InternalVampireLanguage.g:2406:3: ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) | 6380 | // InternalVampireLanguage.g:2428:3: ( () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' ) |
6343 | // InternalVampireLanguage.g:2407:4: () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' | 6381 | // InternalVampireLanguage.g:2429:4: () ( (lv_name_8_0= '$less' ) ) otherlv_9= '(' ( (lv_terms_10_0= ruleVLSFofTerm ) ) otherlv_11= ',' ( (lv_terms_12_0= ruleVLSFofTerm ) ) otherlv_13= ')' |
6344 | { | 6382 | { |
6345 | // InternalVampireLanguage.g:2407:4: () | 6383 | // InternalVampireLanguage.g:2429:4: () |
6346 | // InternalVampireLanguage.g:2408:5: | 6384 | // InternalVampireLanguage.g:2430:5: |
6347 | { | 6385 | { |
6348 | 6386 | ||
6349 | current = forceCreateModelElement( | 6387 | current = forceCreateModelElement( |
@@ -6353,11 +6391,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6353 | 6391 | ||
6354 | } | 6392 | } |
6355 | 6393 | ||
6356 | // InternalVampireLanguage.g:2414:4: ( (lv_name_8_0= '$less' ) ) | 6394 | // InternalVampireLanguage.g:2436:4: ( (lv_name_8_0= '$less' ) ) |
6357 | // InternalVampireLanguage.g:2415:5: (lv_name_8_0= '$less' ) | 6395 | // InternalVampireLanguage.g:2437:5: (lv_name_8_0= '$less' ) |
6358 | { | 6396 | { |
6359 | // InternalVampireLanguage.g:2415:5: (lv_name_8_0= '$less' ) | 6397 | // InternalVampireLanguage.g:2437:5: (lv_name_8_0= '$less' ) |
6360 | // InternalVampireLanguage.g:2416:6: lv_name_8_0= '$less' | 6398 | // InternalVampireLanguage.g:2438:6: lv_name_8_0= '$less' |
6361 | { | 6399 | { |
6362 | lv_name_8_0=(Token)match(input,80,FOLLOW_16); | 6400 | lv_name_8_0=(Token)match(input,80,FOLLOW_16); |
6363 | 6401 | ||
@@ -6379,11 +6417,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6379 | 6417 | ||
6380 | newLeafNode(otherlv_9, grammarAccess.getVLSAtomicFunctionAccess().getLeftParenthesisKeyword_1_2()); | 6418 | newLeafNode(otherlv_9, grammarAccess.getVLSAtomicFunctionAccess().getLeftParenthesisKeyword_1_2()); |
6381 | 6419 | ||
6382 | // InternalVampireLanguage.g:2432:4: ( (lv_terms_10_0= ruleVLSFofTerm ) ) | 6420 | // InternalVampireLanguage.g:2454:4: ( (lv_terms_10_0= ruleVLSFofTerm ) ) |
6383 | // InternalVampireLanguage.g:2433:5: (lv_terms_10_0= ruleVLSFofTerm ) | 6421 | // InternalVampireLanguage.g:2455:5: (lv_terms_10_0= ruleVLSFofTerm ) |
6384 | { | 6422 | { |
6385 | // InternalVampireLanguage.g:2433:5: (lv_terms_10_0= ruleVLSFofTerm ) | 6423 | // InternalVampireLanguage.g:2455:5: (lv_terms_10_0= ruleVLSFofTerm ) |
6386 | // InternalVampireLanguage.g:2434:6: lv_terms_10_0= ruleVLSFofTerm | 6424 | // InternalVampireLanguage.g:2456:6: lv_terms_10_0= ruleVLSFofTerm |
6387 | { | 6425 | { |
6388 | 6426 | ||
6389 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_3_0()); | 6427 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_3_0()); |
@@ -6414,11 +6452,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6414 | 6452 | ||
6415 | newLeafNode(otherlv_11, grammarAccess.getVLSAtomicFunctionAccess().getCommaKeyword_1_4()); | 6453 | newLeafNode(otherlv_11, grammarAccess.getVLSAtomicFunctionAccess().getCommaKeyword_1_4()); |
6416 | 6454 | ||
6417 | // InternalVampireLanguage.g:2455:4: ( (lv_terms_12_0= ruleVLSFofTerm ) ) | 6455 | // InternalVampireLanguage.g:2477:4: ( (lv_terms_12_0= ruleVLSFofTerm ) ) |
6418 | // InternalVampireLanguage.g:2456:5: (lv_terms_12_0= ruleVLSFofTerm ) | 6456 | // InternalVampireLanguage.g:2478:5: (lv_terms_12_0= ruleVLSFofTerm ) |
6419 | { | 6457 | { |
6420 | // InternalVampireLanguage.g:2456:5: (lv_terms_12_0= ruleVLSFofTerm ) | 6458 | // InternalVampireLanguage.g:2478:5: (lv_terms_12_0= ruleVLSFofTerm ) |
6421 | // InternalVampireLanguage.g:2457:6: lv_terms_12_0= ruleVLSFofTerm | 6459 | // InternalVampireLanguage.g:2479:6: lv_terms_12_0= ruleVLSFofTerm |
6422 | { | 6460 | { |
6423 | 6461 | ||
6424 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_5_0()); | 6462 | newCompositeNode(grammarAccess.getVLSAtomicFunctionAccess().getTermsVLSFofTermParserRuleCall_1_5_0()); |
@@ -6478,7 +6516,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6478 | 6516 | ||
6479 | 6517 | ||
6480 | // $ANTLR start "entryRuleVLSVariable" | 6518 | // $ANTLR start "entryRuleVLSVariable" |
6481 | // InternalVampireLanguage.g:2483:1: entryRuleVLSVariable returns [EObject current=null] : iv_ruleVLSVariable= ruleVLSVariable EOF ; | 6519 | // InternalVampireLanguage.g:2505:1: entryRuleVLSVariable returns [EObject current=null] : iv_ruleVLSVariable= ruleVLSVariable EOF ; |
6482 | public final EObject entryRuleVLSVariable() throws RecognitionException { | 6520 | public final EObject entryRuleVLSVariable() throws RecognitionException { |
6483 | EObject current = null; | 6521 | EObject current = null; |
6484 | 6522 | ||
@@ -6486,8 +6524,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6486 | 6524 | ||
6487 | 6525 | ||
6488 | try { | 6526 | try { |
6489 | // InternalVampireLanguage.g:2483:52: (iv_ruleVLSVariable= ruleVLSVariable EOF ) | 6527 | // InternalVampireLanguage.g:2505:52: (iv_ruleVLSVariable= ruleVLSVariable EOF ) |
6490 | // InternalVampireLanguage.g:2484:2: iv_ruleVLSVariable= ruleVLSVariable EOF | 6528 | // InternalVampireLanguage.g:2506:2: iv_ruleVLSVariable= ruleVLSVariable EOF |
6491 | { | 6529 | { |
6492 | newCompositeNode(grammarAccess.getVLSVariableRule()); | 6530 | newCompositeNode(grammarAccess.getVLSVariableRule()); |
6493 | pushFollow(FOLLOW_1); | 6531 | pushFollow(FOLLOW_1); |
@@ -6514,7 +6552,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6514 | 6552 | ||
6515 | 6553 | ||
6516 | // $ANTLR start "ruleVLSVariable" | 6554 | // $ANTLR start "ruleVLSVariable" |
6517 | // InternalVampireLanguage.g:2490:1: ruleVLSVariable returns [EObject current=null] : ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) ; | 6555 | // InternalVampireLanguage.g:2512:1: ruleVLSVariable returns [EObject current=null] : ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) ; |
6518 | public final EObject ruleVLSVariable() throws RecognitionException { | 6556 | public final EObject ruleVLSVariable() throws RecognitionException { |
6519 | EObject current = null; | 6557 | EObject current = null; |
6520 | 6558 | ||
@@ -6524,14 +6562,14 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6524 | enterRule(); | 6562 | enterRule(); |
6525 | 6563 | ||
6526 | try { | 6564 | try { |
6527 | // InternalVampireLanguage.g:2496:2: ( ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) ) | 6565 | // InternalVampireLanguage.g:2518:2: ( ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) ) |
6528 | // InternalVampireLanguage.g:2497:2: ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) | 6566 | // InternalVampireLanguage.g:2519:2: ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) |
6529 | { | 6567 | { |
6530 | // InternalVampireLanguage.g:2497:2: ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) | 6568 | // InternalVampireLanguage.g:2519:2: ( (lv_name_0_0= RULE_UPPER_WORD_ID ) ) |
6531 | // InternalVampireLanguage.g:2498:3: (lv_name_0_0= RULE_UPPER_WORD_ID ) | 6569 | // InternalVampireLanguage.g:2520:3: (lv_name_0_0= RULE_UPPER_WORD_ID ) |
6532 | { | 6570 | { |
6533 | // InternalVampireLanguage.g:2498:3: (lv_name_0_0= RULE_UPPER_WORD_ID ) | 6571 | // InternalVampireLanguage.g:2520:3: (lv_name_0_0= RULE_UPPER_WORD_ID ) |
6534 | // InternalVampireLanguage.g:2499:4: lv_name_0_0= RULE_UPPER_WORD_ID | 6572 | // InternalVampireLanguage.g:2521:4: lv_name_0_0= RULE_UPPER_WORD_ID |
6535 | { | 6573 | { |
6536 | lv_name_0_0=(Token)match(input,RULE_UPPER_WORD_ID,FOLLOW_2); | 6574 | lv_name_0_0=(Token)match(input,RULE_UPPER_WORD_ID,FOLLOW_2); |
6537 | 6575 | ||
@@ -6573,7 +6611,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6573 | 6611 | ||
6574 | 6612 | ||
6575 | // $ANTLR start "entryRuleVLSFofTerm" | 6613 | // $ANTLR start "entryRuleVLSFofTerm" |
6576 | // InternalVampireLanguage.g:2518:1: entryRuleVLSFofTerm returns [EObject current=null] : iv_ruleVLSFofTerm= ruleVLSFofTerm EOF ; | 6614 | // InternalVampireLanguage.g:2540:1: entryRuleVLSFofTerm returns [EObject current=null] : iv_ruleVLSFofTerm= ruleVLSFofTerm EOF ; |
6577 | public final EObject entryRuleVLSFofTerm() throws RecognitionException { | 6615 | public final EObject entryRuleVLSFofTerm() throws RecognitionException { |
6578 | EObject current = null; | 6616 | EObject current = null; |
6579 | 6617 | ||
@@ -6581,8 +6619,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6581 | 6619 | ||
6582 | 6620 | ||
6583 | try { | 6621 | try { |
6584 | // InternalVampireLanguage.g:2518:51: (iv_ruleVLSFofTerm= ruleVLSFofTerm EOF ) | 6622 | // InternalVampireLanguage.g:2540:51: (iv_ruleVLSFofTerm= ruleVLSFofTerm EOF ) |
6585 | // InternalVampireLanguage.g:2519:2: iv_ruleVLSFofTerm= ruleVLSFofTerm EOF | 6623 | // InternalVampireLanguage.g:2541:2: iv_ruleVLSFofTerm= ruleVLSFofTerm EOF |
6586 | { | 6624 | { |
6587 | newCompositeNode(grammarAccess.getVLSFofTermRule()); | 6625 | newCompositeNode(grammarAccess.getVLSFofTermRule()); |
6588 | pushFollow(FOLLOW_1); | 6626 | pushFollow(FOLLOW_1); |
@@ -6609,7 +6647,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6609 | 6647 | ||
6610 | 6648 | ||
6611 | // $ANTLR start "ruleVLSFofTerm" | 6649 | // $ANTLR start "ruleVLSFofTerm" |
6612 | // InternalVampireLanguage.g:2525:1: ruleVLSFofTerm returns [EObject current=null] : (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) ; | 6650 | // InternalVampireLanguage.g:2547:1: ruleVLSFofTerm returns [EObject current=null] : (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) ; |
6613 | public final EObject ruleVLSFofTerm() throws RecognitionException { | 6651 | public final EObject ruleVLSFofTerm() throws RecognitionException { |
6614 | EObject current = null; | 6652 | EObject current = null; |
6615 | 6653 | ||
@@ -6624,10 +6662,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6624 | enterRule(); | 6662 | enterRule(); |
6625 | 6663 | ||
6626 | try { | 6664 | try { |
6627 | // InternalVampireLanguage.g:2531:2: ( (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) ) | 6665 | // InternalVampireLanguage.g:2553:2: ( (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) ) |
6628 | // InternalVampireLanguage.g:2532:2: (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) | 6666 | // InternalVampireLanguage.g:2554:2: (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) |
6629 | { | 6667 | { |
6630 | // InternalVampireLanguage.g:2532:2: (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) | 6668 | // InternalVampireLanguage.g:2554:2: (this_VLSVariable_0= ruleVLSVariable | this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | this_VLSDefinedTerm_2= ruleVLSDefinedTerm ) |
6631 | int alt38=3; | 6669 | int alt38=3; |
6632 | switch ( input.LA(1) ) { | 6670 | switch ( input.LA(1) ) { |
6633 | case RULE_UPPER_WORD_ID: | 6671 | case RULE_UPPER_WORD_ID: |
@@ -6658,7 +6696,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6658 | 6696 | ||
6659 | switch (alt38) { | 6697 | switch (alt38) { |
6660 | case 1 : | 6698 | case 1 : |
6661 | // InternalVampireLanguage.g:2533:3: this_VLSVariable_0= ruleVLSVariable | 6699 | // InternalVampireLanguage.g:2555:3: this_VLSVariable_0= ruleVLSVariable |
6662 | { | 6700 | { |
6663 | 6701 | ||
6664 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSVariableParserRuleCall_0()); | 6702 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSVariableParserRuleCall_0()); |
@@ -6676,7 +6714,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6676 | } | 6714 | } |
6677 | break; | 6715 | break; |
6678 | case 2 : | 6716 | case 2 : |
6679 | // InternalVampireLanguage.g:2542:3: this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm | 6717 | // InternalVampireLanguage.g:2564:3: this_VLSFunctionAsTerm_1= ruleVLSFunctionAsTerm |
6680 | { | 6718 | { |
6681 | 6719 | ||
6682 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSFunctionAsTermParserRuleCall_1()); | 6720 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSFunctionAsTermParserRuleCall_1()); |
@@ -6694,7 +6732,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6694 | } | 6732 | } |
6695 | break; | 6733 | break; |
6696 | case 3 : | 6734 | case 3 : |
6697 | // InternalVampireLanguage.g:2551:3: this_VLSDefinedTerm_2= ruleVLSDefinedTerm | 6735 | // InternalVampireLanguage.g:2573:3: this_VLSDefinedTerm_2= ruleVLSDefinedTerm |
6698 | { | 6736 | { |
6699 | 6737 | ||
6700 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSDefinedTermParserRuleCall_2()); | 6738 | newCompositeNode(grammarAccess.getVLSFofTermAccess().getVLSDefinedTermParserRuleCall_2()); |
@@ -6734,7 +6772,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6734 | 6772 | ||
6735 | 6773 | ||
6736 | // $ANTLR start "entryRuleVLSFunctionAsTerm" | 6774 | // $ANTLR start "entryRuleVLSFunctionAsTerm" |
6737 | // InternalVampireLanguage.g:2563:1: entryRuleVLSFunctionAsTerm returns [EObject current=null] : iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF ; | 6775 | // InternalVampireLanguage.g:2585:1: entryRuleVLSFunctionAsTerm returns [EObject current=null] : iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF ; |
6738 | public final EObject entryRuleVLSFunctionAsTerm() throws RecognitionException { | 6776 | public final EObject entryRuleVLSFunctionAsTerm() throws RecognitionException { |
6739 | EObject current = null; | 6777 | EObject current = null; |
6740 | 6778 | ||
@@ -6742,8 +6780,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6742 | 6780 | ||
6743 | 6781 | ||
6744 | try { | 6782 | try { |
6745 | // InternalVampireLanguage.g:2563:58: (iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF ) | 6783 | // InternalVampireLanguage.g:2585:58: (iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF ) |
6746 | // InternalVampireLanguage.g:2564:2: iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF | 6784 | // InternalVampireLanguage.g:2586:2: iv_ruleVLSFunctionAsTerm= ruleVLSFunctionAsTerm EOF |
6747 | { | 6785 | { |
6748 | newCompositeNode(grammarAccess.getVLSFunctionAsTermRule()); | 6786 | newCompositeNode(grammarAccess.getVLSFunctionAsTermRule()); |
6749 | pushFollow(FOLLOW_1); | 6787 | pushFollow(FOLLOW_1); |
@@ -6770,7 +6808,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6770 | 6808 | ||
6771 | 6809 | ||
6772 | // $ANTLR start "ruleVLSFunctionAsTerm" | 6810 | // $ANTLR start "ruleVLSFunctionAsTerm" |
6773 | // InternalVampireLanguage.g:2570:1: ruleVLSFunctionAsTerm returns [EObject current=null] : ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) ; | 6811 | // InternalVampireLanguage.g:2592:1: ruleVLSFunctionAsTerm returns [EObject current=null] : ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) ; |
6774 | public final EObject ruleVLSFunctionAsTerm() throws RecognitionException { | 6812 | public final EObject ruleVLSFunctionAsTerm() throws RecognitionException { |
6775 | EObject current = null; | 6813 | EObject current = null; |
6776 | 6814 | ||
@@ -6790,19 +6828,19 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6790 | enterRule(); | 6828 | enterRule(); |
6791 | 6829 | ||
6792 | try { | 6830 | try { |
6793 | // InternalVampireLanguage.g:2576:2: ( ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) ) | 6831 | // InternalVampireLanguage.g:2598:2: ( ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) ) |
6794 | // InternalVampireLanguage.g:2577:2: ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) | 6832 | // InternalVampireLanguage.g:2599:2: ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) |
6795 | { | 6833 | { |
6796 | // InternalVampireLanguage.g:2577:2: ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) | 6834 | // InternalVampireLanguage.g:2599:2: ( ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? ) |
6797 | // InternalVampireLanguage.g:2578:3: ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? | 6835 | // InternalVampireLanguage.g:2600:3: ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? |
6798 | { | 6836 | { |
6799 | // InternalVampireLanguage.g:2578:3: ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) | 6837 | // InternalVampireLanguage.g:2600:3: ( ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) ) |
6800 | // InternalVampireLanguage.g:2579:4: ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) | 6838 | // InternalVampireLanguage.g:2601:4: ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) |
6801 | { | 6839 | { |
6802 | // InternalVampireLanguage.g:2579:4: ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) | 6840 | // InternalVampireLanguage.g:2601:4: ( (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) ) |
6803 | // InternalVampireLanguage.g:2580:5: (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) | 6841 | // InternalVampireLanguage.g:2602:5: (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) |
6804 | { | 6842 | { |
6805 | // InternalVampireLanguage.g:2580:5: (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) | 6843 | // InternalVampireLanguage.g:2602:5: (lv_functor_0_1= RULE_LOWER_WORD_ID | lv_functor_0_2= RULE_SINGLE_QUOTE | lv_functor_0_3= RULE_DOLLAR_ID | lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID ) |
6806 | int alt39=4; | 6844 | int alt39=4; |
6807 | switch ( input.LA(1) ) { | 6845 | switch ( input.LA(1) ) { |
6808 | case RULE_LOWER_WORD_ID: | 6846 | case RULE_LOWER_WORD_ID: |
@@ -6834,7 +6872,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6834 | 6872 | ||
6835 | switch (alt39) { | 6873 | switch (alt39) { |
6836 | case 1 : | 6874 | case 1 : |
6837 | // InternalVampireLanguage.g:2581:6: lv_functor_0_1= RULE_LOWER_WORD_ID | 6875 | // InternalVampireLanguage.g:2603:6: lv_functor_0_1= RULE_LOWER_WORD_ID |
6838 | { | 6876 | { |
6839 | lv_functor_0_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_43); | 6877 | lv_functor_0_1=(Token)match(input,RULE_LOWER_WORD_ID,FOLLOW_43); |
6840 | 6878 | ||
@@ -6854,7 +6892,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6854 | } | 6892 | } |
6855 | break; | 6893 | break; |
6856 | case 2 : | 6894 | case 2 : |
6857 | // InternalVampireLanguage.g:2596:6: lv_functor_0_2= RULE_SINGLE_QUOTE | 6895 | // InternalVampireLanguage.g:2618:6: lv_functor_0_2= RULE_SINGLE_QUOTE |
6858 | { | 6896 | { |
6859 | lv_functor_0_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_43); | 6897 | lv_functor_0_2=(Token)match(input,RULE_SINGLE_QUOTE,FOLLOW_43); |
6860 | 6898 | ||
@@ -6874,7 +6912,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6874 | } | 6912 | } |
6875 | break; | 6913 | break; |
6876 | case 3 : | 6914 | case 3 : |
6877 | // InternalVampireLanguage.g:2611:6: lv_functor_0_3= RULE_DOLLAR_ID | 6915 | // InternalVampireLanguage.g:2633:6: lv_functor_0_3= RULE_DOLLAR_ID |
6878 | { | 6916 | { |
6879 | lv_functor_0_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_43); | 6917 | lv_functor_0_3=(Token)match(input,RULE_DOLLAR_ID,FOLLOW_43); |
6880 | 6918 | ||
@@ -6894,7 +6932,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6894 | } | 6932 | } |
6895 | break; | 6933 | break; |
6896 | case 4 : | 6934 | case 4 : |
6897 | // InternalVampireLanguage.g:2626:6: lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID | 6935 | // InternalVampireLanguage.g:2648:6: lv_functor_0_4= RULE_DOUBLE_DOLLAR_ID |
6898 | { | 6936 | { |
6899 | lv_functor_0_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_43); | 6937 | lv_functor_0_4=(Token)match(input,RULE_DOUBLE_DOLLAR_ID,FOLLOW_43); |
6900 | 6938 | ||
@@ -6922,7 +6960,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6922 | 6960 | ||
6923 | } | 6961 | } |
6924 | 6962 | ||
6925 | // InternalVampireLanguage.g:2643:3: (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? | 6963 | // InternalVampireLanguage.g:2665:3: (otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' )? |
6926 | int alt41=2; | 6964 | int alt41=2; |
6927 | int LA41_0 = input.LA(1); | 6965 | int LA41_0 = input.LA(1); |
6928 | 6966 | ||
@@ -6931,17 +6969,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6931 | } | 6969 | } |
6932 | switch (alt41) { | 6970 | switch (alt41) { |
6933 | case 1 : | 6971 | case 1 : |
6934 | // InternalVampireLanguage.g:2644:4: otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' | 6972 | // InternalVampireLanguage.g:2666:4: otherlv_1= '(' ( (lv_terms_2_0= ruleVLSFofTerm ) ) (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* otherlv_5= ')' |
6935 | { | 6973 | { |
6936 | otherlv_1=(Token)match(input,38,FOLLOW_33); | 6974 | otherlv_1=(Token)match(input,38,FOLLOW_33); |
6937 | 6975 | ||
6938 | newLeafNode(otherlv_1, grammarAccess.getVLSFunctionAsTermAccess().getLeftParenthesisKeyword_1_0()); | 6976 | newLeafNode(otherlv_1, grammarAccess.getVLSFunctionAsTermAccess().getLeftParenthesisKeyword_1_0()); |
6939 | 6977 | ||
6940 | // InternalVampireLanguage.g:2648:4: ( (lv_terms_2_0= ruleVLSFofTerm ) ) | 6978 | // InternalVampireLanguage.g:2670:4: ( (lv_terms_2_0= ruleVLSFofTerm ) ) |
6941 | // InternalVampireLanguage.g:2649:5: (lv_terms_2_0= ruleVLSFofTerm ) | 6979 | // InternalVampireLanguage.g:2671:5: (lv_terms_2_0= ruleVLSFofTerm ) |
6942 | { | 6980 | { |
6943 | // InternalVampireLanguage.g:2649:5: (lv_terms_2_0= ruleVLSFofTerm ) | 6981 | // InternalVampireLanguage.g:2671:5: (lv_terms_2_0= ruleVLSFofTerm ) |
6944 | // InternalVampireLanguage.g:2650:6: lv_terms_2_0= ruleVLSFofTerm | 6982 | // InternalVampireLanguage.g:2672:6: lv_terms_2_0= ruleVLSFofTerm |
6945 | { | 6983 | { |
6946 | 6984 | ||
6947 | newCompositeNode(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_1_0()); | 6985 | newCompositeNode(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_1_0()); |
@@ -6968,7 +7006,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6968 | 7006 | ||
6969 | } | 7007 | } |
6970 | 7008 | ||
6971 | // InternalVampireLanguage.g:2667:4: (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* | 7009 | // InternalVampireLanguage.g:2689:4: (otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) )* |
6972 | loop40: | 7010 | loop40: |
6973 | do { | 7011 | do { |
6974 | int alt40=2; | 7012 | int alt40=2; |
@@ -6981,17 +7019,17 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
6981 | 7019 | ||
6982 | switch (alt40) { | 7020 | switch (alt40) { |
6983 | case 1 : | 7021 | case 1 : |
6984 | // InternalVampireLanguage.g:2668:5: otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) | 7022 | // InternalVampireLanguage.g:2690:5: otherlv_3= ',' ( (lv_terms_4_0= ruleVLSFofTerm ) ) |
6985 | { | 7023 | { |
6986 | otherlv_3=(Token)match(input,39,FOLLOW_33); | 7024 | otherlv_3=(Token)match(input,39,FOLLOW_33); |
6987 | 7025 | ||
6988 | newLeafNode(otherlv_3, grammarAccess.getVLSFunctionAsTermAccess().getCommaKeyword_1_2_0()); | 7026 | newLeafNode(otherlv_3, grammarAccess.getVLSFunctionAsTermAccess().getCommaKeyword_1_2_0()); |
6989 | 7027 | ||
6990 | // InternalVampireLanguage.g:2672:5: ( (lv_terms_4_0= ruleVLSFofTerm ) ) | 7028 | // InternalVampireLanguage.g:2694:5: ( (lv_terms_4_0= ruleVLSFofTerm ) ) |
6991 | // InternalVampireLanguage.g:2673:6: (lv_terms_4_0= ruleVLSFofTerm ) | 7029 | // InternalVampireLanguage.g:2695:6: (lv_terms_4_0= ruleVLSFofTerm ) |
6992 | { | 7030 | { |
6993 | // InternalVampireLanguage.g:2673:6: (lv_terms_4_0= ruleVLSFofTerm ) | 7031 | // InternalVampireLanguage.g:2695:6: (lv_terms_4_0= ruleVLSFofTerm ) |
6994 | // InternalVampireLanguage.g:2674:7: lv_terms_4_0= ruleVLSFofTerm | 7032 | // InternalVampireLanguage.g:2696:7: lv_terms_4_0= ruleVLSFofTerm |
6995 | { | 7033 | { |
6996 | 7034 | ||
6997 | newCompositeNode(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_2_1_0()); | 7035 | newCompositeNode(grammarAccess.getVLSFunctionAsTermAccess().getTermsVLSFofTermParserRuleCall_1_2_1_0()); |
@@ -7060,7 +7098,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7060 | 7098 | ||
7061 | 7099 | ||
7062 | // $ANTLR start "entryRuleVLSDefinedTerm" | 7100 | // $ANTLR start "entryRuleVLSDefinedTerm" |
7063 | // InternalVampireLanguage.g:2701:1: entryRuleVLSDefinedTerm returns [EObject current=null] : iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF ; | 7101 | // InternalVampireLanguage.g:2723:1: entryRuleVLSDefinedTerm returns [EObject current=null] : iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF ; |
7064 | public final EObject entryRuleVLSDefinedTerm() throws RecognitionException { | 7102 | public final EObject entryRuleVLSDefinedTerm() throws RecognitionException { |
7065 | EObject current = null; | 7103 | EObject current = null; |
7066 | 7104 | ||
@@ -7068,8 +7106,8 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7068 | 7106 | ||
7069 | 7107 | ||
7070 | try { | 7108 | try { |
7071 | // InternalVampireLanguage.g:2701:55: (iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF ) | 7109 | // InternalVampireLanguage.g:2723:55: (iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF ) |
7072 | // InternalVampireLanguage.g:2702:2: iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF | 7110 | // InternalVampireLanguage.g:2724:2: iv_ruleVLSDefinedTerm= ruleVLSDefinedTerm EOF |
7073 | { | 7111 | { |
7074 | newCompositeNode(grammarAccess.getVLSDefinedTermRule()); | 7112 | newCompositeNode(grammarAccess.getVLSDefinedTermRule()); |
7075 | pushFollow(FOLLOW_1); | 7113 | pushFollow(FOLLOW_1); |
@@ -7096,7 +7134,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7096 | 7134 | ||
7097 | 7135 | ||
7098 | // $ANTLR start "ruleVLSDefinedTerm" | 7136 | // $ANTLR start "ruleVLSDefinedTerm" |
7099 | // InternalVampireLanguage.g:2708:1: ruleVLSDefinedTerm returns [EObject current=null] : ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) ; | 7137 | // InternalVampireLanguage.g:2730:1: ruleVLSDefinedTerm returns [EObject current=null] : ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) ; |
7100 | public final EObject ruleVLSDefinedTerm() throws RecognitionException { | 7138 | public final EObject ruleVLSDefinedTerm() throws RecognitionException { |
7101 | EObject current = null; | 7139 | EObject current = null; |
7102 | 7140 | ||
@@ -7107,10 +7145,10 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7107 | enterRule(); | 7145 | enterRule(); |
7108 | 7146 | ||
7109 | try { | 7147 | try { |
7110 | // InternalVampireLanguage.g:2714:2: ( ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) ) | 7148 | // InternalVampireLanguage.g:2736:2: ( ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) ) |
7111 | // InternalVampireLanguage.g:2715:2: ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) | 7149 | // InternalVampireLanguage.g:2737:2: ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) |
7112 | { | 7150 | { |
7113 | // InternalVampireLanguage.g:2715:2: ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) | 7151 | // InternalVampireLanguage.g:2737:2: ( ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) ) |
7114 | int alt42=2; | 7152 | int alt42=2; |
7115 | int LA42_0 = input.LA(1); | 7153 | int LA42_0 = input.LA(1); |
7116 | 7154 | ||
@@ -7128,13 +7166,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7128 | } | 7166 | } |
7129 | switch (alt42) { | 7167 | switch (alt42) { |
7130 | case 1 : | 7168 | case 1 : |
7131 | // InternalVampireLanguage.g:2716:3: ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | 7169 | // InternalVampireLanguage.g:2738:3: ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) |
7132 | { | 7170 | { |
7133 | // InternalVampireLanguage.g:2716:3: ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) | 7171 | // InternalVampireLanguage.g:2738:3: ( () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) ) |
7134 | // InternalVampireLanguage.g:2717:4: () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) | 7172 | // InternalVampireLanguage.g:2739:4: () ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) |
7135 | { | 7173 | { |
7136 | // InternalVampireLanguage.g:2717:4: () | 7174 | // InternalVampireLanguage.g:2739:4: () |
7137 | // InternalVampireLanguage.g:2718:5: | 7175 | // InternalVampireLanguage.g:2740:5: |
7138 | { | 7176 | { |
7139 | 7177 | ||
7140 | current = forceCreateModelElement( | 7178 | current = forceCreateModelElement( |
@@ -7144,11 +7182,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7144 | 7182 | ||
7145 | } | 7183 | } |
7146 | 7184 | ||
7147 | // InternalVampireLanguage.g:2724:4: ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) | 7185 | // InternalVampireLanguage.g:2746:4: ( (lv_value_1_0= RULE_SIGNED_LITERAL ) ) |
7148 | // InternalVampireLanguage.g:2725:5: (lv_value_1_0= RULE_SIGNED_LITERAL ) | 7186 | // InternalVampireLanguage.g:2747:5: (lv_value_1_0= RULE_SIGNED_LITERAL ) |
7149 | { | 7187 | { |
7150 | // InternalVampireLanguage.g:2725:5: (lv_value_1_0= RULE_SIGNED_LITERAL ) | 7188 | // InternalVampireLanguage.g:2747:5: (lv_value_1_0= RULE_SIGNED_LITERAL ) |
7151 | // InternalVampireLanguage.g:2726:6: lv_value_1_0= RULE_SIGNED_LITERAL | 7189 | // InternalVampireLanguage.g:2748:6: lv_value_1_0= RULE_SIGNED_LITERAL |
7152 | { | 7190 | { |
7153 | lv_value_1_0=(Token)match(input,RULE_SIGNED_LITERAL,FOLLOW_2); | 7191 | lv_value_1_0=(Token)match(input,RULE_SIGNED_LITERAL,FOLLOW_2); |
7154 | 7192 | ||
@@ -7177,13 +7215,13 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7177 | } | 7215 | } |
7178 | break; | 7216 | break; |
7179 | case 2 : | 7217 | case 2 : |
7180 | // InternalVampireLanguage.g:2744:3: ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) | 7218 | // InternalVampireLanguage.g:2766:3: ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) |
7181 | { | 7219 | { |
7182 | // InternalVampireLanguage.g:2744:3: ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) | 7220 | // InternalVampireLanguage.g:2766:3: ( () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) ) |
7183 | // InternalVampireLanguage.g:2745:4: () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) | 7221 | // InternalVampireLanguage.g:2767:4: () ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) |
7184 | { | 7222 | { |
7185 | // InternalVampireLanguage.g:2745:4: () | 7223 | // InternalVampireLanguage.g:2767:4: () |
7186 | // InternalVampireLanguage.g:2746:5: | 7224 | // InternalVampireLanguage.g:2768:5: |
7187 | { | 7225 | { |
7188 | 7226 | ||
7189 | current = forceCreateModelElement( | 7227 | current = forceCreateModelElement( |
@@ -7193,11 +7231,11 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7193 | 7231 | ||
7194 | } | 7232 | } |
7195 | 7233 | ||
7196 | // InternalVampireLanguage.g:2752:4: ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) | 7234 | // InternalVampireLanguage.g:2774:4: ( (lv_value_3_0= RULE_DOUBLE_QUOTE ) ) |
7197 | // InternalVampireLanguage.g:2753:5: (lv_value_3_0= RULE_DOUBLE_QUOTE ) | 7235 | // InternalVampireLanguage.g:2775:5: (lv_value_3_0= RULE_DOUBLE_QUOTE ) |
7198 | { | 7236 | { |
7199 | // InternalVampireLanguage.g:2753:5: (lv_value_3_0= RULE_DOUBLE_QUOTE ) | 7237 | // InternalVampireLanguage.g:2775:5: (lv_value_3_0= RULE_DOUBLE_QUOTE ) |
7200 | // InternalVampireLanguage.g:2754:6: lv_value_3_0= RULE_DOUBLE_QUOTE | 7238 | // InternalVampireLanguage.g:2776:6: lv_value_3_0= RULE_DOUBLE_QUOTE |
7201 | { | 7239 | { |
7202 | lv_value_3_0=(Token)match(input,RULE_DOUBLE_QUOTE,FOLLOW_2); | 7240 | lv_value_3_0=(Token)match(input,RULE_DOUBLE_QUOTE,FOLLOW_2); |
7203 | 7241 | ||
@@ -7365,7 +7403,7 @@ public class InternalVampireLanguageParser extends AbstractInternalAntlrParser { | |||
7365 | this.transition = dfa_14; | 7403 | this.transition = dfa_14; |
7366 | } | 7404 | } |
7367 | public String getDescription() { | 7405 | public String getDescription() { |
7368 | return "2069:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm )"; | 7406 | return "2091:2: (this_VLSAtomicConstant_0= ruleVLSAtomicConstant | this_VLSAtomicFunction_1= ruleVLSAtomicFunction | this_VLSVariable_2= ruleVLSVariable | this_VLSDefinedTerm_3= ruleVLSDefinedTerm )"; |
7369 | } | 7407 | } |
7370 | } | 7408 | } |
7371 | 7409 | ||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSemanticSequencer.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSemanticSequencer.java index 29a17f23..67be7b9a 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSemanticSequencer.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSemanticSequencer.java | |||
@@ -25,6 +25,7 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSLess; | |||
25 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSNand; | 25 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSNand; |
26 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSNor; | 26 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSNor; |
27 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOr; | 27 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOr; |
28 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration; | ||
28 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSRevImplies; | 29 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSRevImplies; |
29 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSSatisfiable; | 30 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSSatisfiable; |
30 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffFormula; | 31 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffFormula; |
@@ -34,6 +35,7 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef; | |||
34 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; | 35 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; |
35 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 36 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
36 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 37 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
38 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
37 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSWarning; | 39 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSWarning; |
38 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSXnor; | 40 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSXnor; |
39 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 41 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
@@ -84,36 +86,8 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
84 | sequence_VLSComment(context, (VLSComment) semanticObject); | 86 | sequence_VLSComment(context, (VLSComment) semanticObject); |
85 | return; | 87 | return; |
86 | case VampireLanguagePackage.VLS_CONSTANT: | 88 | case VampireLanguagePackage.VLS_CONSTANT: |
87 | if (rule == grammarAccess.getVLSTermRule() | 89 | sequence_VLSAtomicConstant(context, (VLSConstant) semanticObject); |
88 | || rule == grammarAccess.getVLSBinaryRule() | 90 | return; |
89 | || action == grammarAccess.getVLSBinaryAccess().getVLSEquivalentLeftAction_1_0_0_0_0() | ||
90 | || action == grammarAccess.getVLSBinaryAccess().getVLSImpliesLeftAction_1_0_0_1_0() | ||
91 | || action == grammarAccess.getVLSBinaryAccess().getVLSRevImpliesLeftAction_1_0_0_2_0() | ||
92 | || action == grammarAccess.getVLSBinaryAccess().getVLSXnorLeftAction_1_0_0_3_0() | ||
93 | || action == grammarAccess.getVLSBinaryAccess().getVLSNorLeftAction_1_0_0_4_0() | ||
94 | || action == grammarAccess.getVLSBinaryAccess().getVLSNandLeftAction_1_0_0_5_0() | ||
95 | || action == grammarAccess.getVLSBinaryAccess().getVLSAndLeftAction_1_1_0() | ||
96 | || action == grammarAccess.getVLSBinaryAccess().getVLSOrLeftAction_1_2_0() | ||
97 | || rule == grammarAccess.getVLSUnitaryFormulaRule() | ||
98 | || rule == grammarAccess.getVLSUnaryInfixRule() | ||
99 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSInequalityLeftAction_1_0_0_0() | ||
100 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSEqualityLeftAction_1_0_1_0() | ||
101 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSAssignmentLeftAction_1_0_2_0() | ||
102 | || rule == grammarAccess.getVLSAtomicRule() | ||
103 | || rule == grammarAccess.getVLSAtomicConstantRule()) { | ||
104 | sequence_VLSAtomicConstant(context, (VLSConstant) semanticObject); | ||
105 | return; | ||
106 | } | ||
107 | else if (rule == grammarAccess.getVLSTffTermRule()) { | ||
108 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSConstant) semanticObject); | ||
109 | return; | ||
110 | } | ||
111 | else if (rule == grammarAccess.getVLSDeclarationRule() | ||
112 | || rule == grammarAccess.getVLSOtherDeclarationRule()) { | ||
113 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSConstant) semanticObject); | ||
114 | return; | ||
115 | } | ||
116 | else break; | ||
117 | case VampireLanguagePackage.VLS_DOUBLE_QUOTE: | 91 | case VampireLanguagePackage.VLS_DOUBLE_QUOTE: |
118 | sequence_VLSDefinedTerm(context, (VLSDoubleQuote) semanticObject); | 92 | sequence_VLSDefinedTerm(context, (VLSDoubleQuote) semanticObject); |
119 | return; | 93 | return; |
@@ -127,36 +101,8 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
127 | sequence_VLSExistentialQuantifier(context, (VLSExistentialQuantifier) semanticObject); | 101 | sequence_VLSExistentialQuantifier(context, (VLSExistentialQuantifier) semanticObject); |
128 | return; | 102 | return; |
129 | case VampireLanguagePackage.VLS_FALSE: | 103 | case VampireLanguagePackage.VLS_FALSE: |
130 | if (rule == grammarAccess.getVLSTermRule() | 104 | sequence_VLSAtomicConstant(context, (VLSFalse) semanticObject); |
131 | || rule == grammarAccess.getVLSBinaryRule() | 105 | return; |
132 | || action == grammarAccess.getVLSBinaryAccess().getVLSEquivalentLeftAction_1_0_0_0_0() | ||
133 | || action == grammarAccess.getVLSBinaryAccess().getVLSImpliesLeftAction_1_0_0_1_0() | ||
134 | || action == grammarAccess.getVLSBinaryAccess().getVLSRevImpliesLeftAction_1_0_0_2_0() | ||
135 | || action == grammarAccess.getVLSBinaryAccess().getVLSXnorLeftAction_1_0_0_3_0() | ||
136 | || action == grammarAccess.getVLSBinaryAccess().getVLSNorLeftAction_1_0_0_4_0() | ||
137 | || action == grammarAccess.getVLSBinaryAccess().getVLSNandLeftAction_1_0_0_5_0() | ||
138 | || action == grammarAccess.getVLSBinaryAccess().getVLSAndLeftAction_1_1_0() | ||
139 | || action == grammarAccess.getVLSBinaryAccess().getVLSOrLeftAction_1_2_0() | ||
140 | || rule == grammarAccess.getVLSUnitaryFormulaRule() | ||
141 | || rule == grammarAccess.getVLSUnaryInfixRule() | ||
142 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSInequalityLeftAction_1_0_0_0() | ||
143 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSEqualityLeftAction_1_0_1_0() | ||
144 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSAssignmentLeftAction_1_0_2_0() | ||
145 | || rule == grammarAccess.getVLSAtomicRule() | ||
146 | || rule == grammarAccess.getVLSAtomicConstantRule()) { | ||
147 | sequence_VLSAtomicConstant(context, (VLSFalse) semanticObject); | ||
148 | return; | ||
149 | } | ||
150 | else if (rule == grammarAccess.getVLSTffTermRule()) { | ||
151 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSFalse) semanticObject); | ||
152 | return; | ||
153 | } | ||
154 | else if (rule == grammarAccess.getVLSDeclarationRule() | ||
155 | || rule == grammarAccess.getVLSOtherDeclarationRule()) { | ||
156 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSFalse) semanticObject); | ||
157 | return; | ||
158 | } | ||
159 | else break; | ||
160 | case VampireLanguagePackage.VLS_FINITE_MODEL: | 106 | case VampireLanguagePackage.VLS_FINITE_MODEL: |
161 | sequence_VLSConfirmations(context, (VLSFiniteModel) semanticObject); | 107 | sequence_VLSConfirmations(context, (VLSFiniteModel) semanticObject); |
162 | return; | 108 | return; |
@@ -190,6 +136,9 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
190 | case VampireLanguagePackage.VLS_OR: | 136 | case VampireLanguagePackage.VLS_OR: |
191 | sequence_VLSBinary(context, (VLSOr) semanticObject); | 137 | sequence_VLSBinary(context, (VLSOr) semanticObject); |
192 | return; | 138 | return; |
139 | case VampireLanguagePackage.VLS_OTHER_DECLARATION: | ||
140 | sequence_VLSOtherDeclaration(context, (VLSOtherDeclaration) semanticObject); | ||
141 | return; | ||
193 | case VampireLanguagePackage.VLS_REV_IMPLIES: | 142 | case VampireLanguagePackage.VLS_REV_IMPLIES: |
194 | sequence_VLSBinary(context, (VLSRevImplies) semanticObject); | 143 | sequence_VLSBinary(context, (VLSRevImplies) semanticObject); |
195 | return; | 144 | return; |
@@ -200,36 +149,8 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
200 | sequence_VLSTffFormula(context, (VLSTffFormula) semanticObject); | 149 | sequence_VLSTffFormula(context, (VLSTffFormula) semanticObject); |
201 | return; | 150 | return; |
202 | case VampireLanguagePackage.VLS_TRUE: | 151 | case VampireLanguagePackage.VLS_TRUE: |
203 | if (rule == grammarAccess.getVLSTffTermRule()) { | 152 | sequence_VLSAtomicConstant(context, (VLSTrue) semanticObject); |
204 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSTrue) semanticObject); | 153 | return; |
205 | return; | ||
206 | } | ||
207 | else if (rule == grammarAccess.getVLSDeclarationRule() | ||
208 | || rule == grammarAccess.getVLSOtherDeclarationRule()) { | ||
209 | sequence_VLSAtomicConstant_VLSOtherDeclaration(context, (VLSTrue) semanticObject); | ||
210 | return; | ||
211 | } | ||
212 | else if (rule == grammarAccess.getVLSTermRule() | ||
213 | || rule == grammarAccess.getVLSBinaryRule() | ||
214 | || action == grammarAccess.getVLSBinaryAccess().getVLSEquivalentLeftAction_1_0_0_0_0() | ||
215 | || action == grammarAccess.getVLSBinaryAccess().getVLSImpliesLeftAction_1_0_0_1_0() | ||
216 | || action == grammarAccess.getVLSBinaryAccess().getVLSRevImpliesLeftAction_1_0_0_2_0() | ||
217 | || action == grammarAccess.getVLSBinaryAccess().getVLSXnorLeftAction_1_0_0_3_0() | ||
218 | || action == grammarAccess.getVLSBinaryAccess().getVLSNorLeftAction_1_0_0_4_0() | ||
219 | || action == grammarAccess.getVLSBinaryAccess().getVLSNandLeftAction_1_0_0_5_0() | ||
220 | || action == grammarAccess.getVLSBinaryAccess().getVLSAndLeftAction_1_1_0() | ||
221 | || action == grammarAccess.getVLSBinaryAccess().getVLSOrLeftAction_1_2_0() | ||
222 | || rule == grammarAccess.getVLSUnitaryFormulaRule() | ||
223 | || rule == grammarAccess.getVLSUnaryInfixRule() | ||
224 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSInequalityLeftAction_1_0_0_0() | ||
225 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSEqualityLeftAction_1_0_1_0() | ||
226 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSAssignmentLeftAction_1_0_2_0() | ||
227 | || rule == grammarAccess.getVLSAtomicRule() | ||
228 | || rule == grammarAccess.getVLSAtomicConstantRule()) { | ||
229 | sequence_VLSAtomicConstant(context, (VLSTrue) semanticObject); | ||
230 | return; | ||
231 | } | ||
232 | else break; | ||
233 | case VampireLanguagePackage.VLS_TRYING: | 154 | case VampireLanguagePackage.VLS_TRYING: |
234 | sequence_VLSConfirmations(context, (VLSTrying) semanticObject); | 155 | sequence_VLSConfirmations(context, (VLSTrying) semanticObject); |
235 | return; | 156 | return; |
@@ -250,37 +171,11 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
250 | sequence_VLSUniversalQuantifier(context, (VLSUniversalQuantifier) semanticObject); | 171 | sequence_VLSUniversalQuantifier(context, (VLSUniversalQuantifier) semanticObject); |
251 | return; | 172 | return; |
252 | case VampireLanguagePackage.VLS_VARIABLE: | 173 | case VampireLanguagePackage.VLS_VARIABLE: |
253 | if (rule == grammarAccess.getVLSTermRule() | 174 | sequence_VLSVariable(context, (VLSVariable) semanticObject); |
254 | || rule == grammarAccess.getVLSBinaryRule() | 175 | return; |
255 | || action == grammarAccess.getVLSBinaryAccess().getVLSEquivalentLeftAction_1_0_0_0_0() | 176 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION: |
256 | || action == grammarAccess.getVLSBinaryAccess().getVLSImpliesLeftAction_1_0_0_1_0() | 177 | sequence_VLSVariableDeclaration(context, (VLSVariableDeclaration) semanticObject); |
257 | || action == grammarAccess.getVLSBinaryAccess().getVLSRevImpliesLeftAction_1_0_0_2_0() | 178 | return; |
258 | || action == grammarAccess.getVLSBinaryAccess().getVLSXnorLeftAction_1_0_0_3_0() | ||
259 | || action == grammarAccess.getVLSBinaryAccess().getVLSNorLeftAction_1_0_0_4_0() | ||
260 | || action == grammarAccess.getVLSBinaryAccess().getVLSNandLeftAction_1_0_0_5_0() | ||
261 | || action == grammarAccess.getVLSBinaryAccess().getVLSAndLeftAction_1_1_0() | ||
262 | || action == grammarAccess.getVLSBinaryAccess().getVLSOrLeftAction_1_2_0() | ||
263 | || rule == grammarAccess.getVLSUnitaryFormulaRule() | ||
264 | || rule == grammarAccess.getVLSUnaryInfixRule() | ||
265 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSInequalityLeftAction_1_0_0_0() | ||
266 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSEqualityLeftAction_1_0_1_0() | ||
267 | || action == grammarAccess.getVLSUnaryInfixAccess().getVLSAssignmentLeftAction_1_0_2_0() | ||
268 | || rule == grammarAccess.getVLSAtomicRule() | ||
269 | || rule == grammarAccess.getVLSVariableRule() | ||
270 | || rule == grammarAccess.getVLSFofTermRule()) { | ||
271 | sequence_VLSVariable(context, (VLSVariable) semanticObject); | ||
272 | return; | ||
273 | } | ||
274 | else if (rule == grammarAccess.getVLSTffTermRule()) { | ||
275 | sequence_VLSVariable_VLSVariableDeclaration(context, (VLSVariable) semanticObject); | ||
276 | return; | ||
277 | } | ||
278 | else if (rule == grammarAccess.getVLSDeclarationRule() | ||
279 | || rule == grammarAccess.getVLSVariableDeclarationRule()) { | ||
280 | sequence_VLSVariable_VLSVariableDeclaration(context, (VLSVariable) semanticObject); | ||
281 | return; | ||
282 | } | ||
283 | else break; | ||
284 | case VampireLanguagePackage.VLS_WARNING: | 179 | case VampireLanguagePackage.VLS_WARNING: |
285 | sequence_VLSConfirmations(context, (VLSWarning) semanticObject); | 180 | sequence_VLSConfirmations(context, (VLSWarning) semanticObject); |
286 | return; | 181 | return; |
@@ -321,6 +216,7 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
321 | 216 | ||
322 | /** | 217 | /** |
323 | * Contexts: | 218 | * Contexts: |
219 | * VLSTffTerm returns VLSConstant | ||
324 | * VLSTerm returns VLSConstant | 220 | * VLSTerm returns VLSConstant |
325 | * VLSBinary returns VLSConstant | 221 | * VLSBinary returns VLSConstant |
326 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSConstant | 222 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSConstant |
@@ -349,6 +245,7 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
349 | 245 | ||
350 | /** | 246 | /** |
351 | * Contexts: | 247 | * Contexts: |
248 | * VLSTffTerm returns VLSFalse | ||
352 | * VLSTerm returns VLSFalse | 249 | * VLSTerm returns VLSFalse |
353 | * VLSBinary returns VLSFalse | 250 | * VLSBinary returns VLSFalse |
354 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSFalse | 251 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSFalse |
@@ -377,81 +274,7 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
377 | 274 | ||
378 | /** | 275 | /** |
379 | * Contexts: | 276 | * Contexts: |
380 | * VLSTffTerm returns VLSConstant | ||
381 | * | ||
382 | * Constraint: | ||
383 | * ((name=LOWER_WORD_ID | name=SINGLE_QUOTE | name=DOLLAR_ID | name=DOUBLE_DOLLAR_ID | name=VLSRole) type=VLSTypeDef?) | ||
384 | */ | ||
385 | protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSConstant semanticObject) { | ||
386 | genericSequencer.createSequence(context, semanticObject); | ||
387 | } | ||
388 | |||
389 | |||
390 | // This method is commented out because it has the same signature as another method in this class. | ||
391 | // This is probably a bug in Xtext's serializer, please report it here: | ||
392 | // https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF | ||
393 | // | ||
394 | // Contexts: | ||
395 | // VLSDeclaration returns VLSConstant | ||
396 | // VLSOtherDeclaration returns VLSConstant | ||
397 | // | ||
398 | // Constraint: | ||
399 | // ((name=LOWER_WORD_ID | name=SINGLE_QUOTE | name=DOLLAR_ID | name=DOUBLE_DOLLAR_ID | name=VLSRole) type=VLSTypeDef) | ||
400 | // | ||
401 | // protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSConstant semanticObject) { } | ||
402 | |||
403 | /** | ||
404 | * Contexts: | ||
405 | * VLSTffTerm returns VLSFalse | ||
406 | * | ||
407 | * Constraint: | ||
408 | * type=VLSTypeDef? | ||
409 | */ | ||
410 | protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSFalse semanticObject) { | ||
411 | genericSequencer.createSequence(context, semanticObject); | ||
412 | } | ||
413 | |||
414 | |||
415 | // This method is commented out because it has the same signature as another method in this class. | ||
416 | // This is probably a bug in Xtext's serializer, please report it here: | ||
417 | // https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF | ||
418 | // | ||
419 | // Contexts: | ||
420 | // VLSDeclaration returns VLSFalse | ||
421 | // VLSOtherDeclaration returns VLSFalse | ||
422 | // | ||
423 | // Constraint: | ||
424 | // type=VLSTypeDef | ||
425 | // | ||
426 | // protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSFalse semanticObject) { } | ||
427 | |||
428 | /** | ||
429 | * Contexts: | ||
430 | * VLSTffTerm returns VLSTrue | 277 | * VLSTffTerm returns VLSTrue |
431 | * | ||
432 | * Constraint: | ||
433 | * type=VLSTypeDef? | ||
434 | */ | ||
435 | protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSTrue semanticObject) { | ||
436 | genericSequencer.createSequence(context, semanticObject); | ||
437 | } | ||
438 | |||
439 | |||
440 | // This method is commented out because it has the same signature as another method in this class. | ||
441 | // This is probably a bug in Xtext's serializer, please report it here: | ||
442 | // https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF | ||
443 | // | ||
444 | // Contexts: | ||
445 | // VLSDeclaration returns VLSTrue | ||
446 | // VLSOtherDeclaration returns VLSTrue | ||
447 | // | ||
448 | // Constraint: | ||
449 | // type=VLSTypeDef | ||
450 | // | ||
451 | // protected void sequence_VLSAtomicConstant_VLSOtherDeclaration(ISerializationContext context, VLSTrue semanticObject) { } | ||
452 | |||
453 | /** | ||
454 | * Contexts: | ||
455 | * VLSTerm returns VLSTrue | 278 | * VLSTerm returns VLSTrue |
456 | * VLSBinary returns VLSTrue | 279 | * VLSBinary returns VLSTrue |
457 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSTrue | 280 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSTrue |
@@ -959,8 +782,8 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
959 | * Constraint: | 782 | * Constraint: |
960 | * ( | 783 | * ( |
961 | * (variables+=VLSVariable | variables+=VLSVariableDeclaration) | 784 | * (variables+=VLSVariable | variables+=VLSVariableDeclaration) |
962 | * variables+=VLSVariable? | 785 | * variables+=VLSVariableDeclaration? |
963 | * (variables+=VLSVariableDeclaration? variables+=VLSVariable?)* | 786 | * (variables+=VLSVariable? variables+=VLSVariableDeclaration?)* |
964 | * operand=VLSUnitaryFormula | 787 | * operand=VLSUnitaryFormula |
965 | * ) | 788 | * ) |
966 | */ | 789 | */ |
@@ -996,6 +819,29 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
996 | 819 | ||
997 | /** | 820 | /** |
998 | * Contexts: | 821 | * Contexts: |
822 | * VLSTffTerm returns VLSOtherDeclaration | ||
823 | * VLSDeclaration returns VLSOtherDeclaration | ||
824 | * VLSOtherDeclaration returns VLSOtherDeclaration | ||
825 | * | ||
826 | * Constraint: | ||
827 | * (name=VLSAtomicConstant type=VLSTypeDef) | ||
828 | */ | ||
829 | protected void sequence_VLSOtherDeclaration(ISerializationContext context, VLSOtherDeclaration semanticObject) { | ||
830 | if (errorAcceptor != null) { | ||
831 | if (transientValues.isValueTransient(semanticObject, VampireLanguagePackage.Literals.VLS_OTHER_DECLARATION__NAME) == ValueTransient.YES) | ||
832 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, VampireLanguagePackage.Literals.VLS_OTHER_DECLARATION__NAME)); | ||
833 | if (transientValues.isValueTransient(semanticObject, VampireLanguagePackage.Literals.VLS_DECLARATION__TYPE) == ValueTransient.YES) | ||
834 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, VampireLanguagePackage.Literals.VLS_DECLARATION__TYPE)); | ||
835 | } | ||
836 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
837 | feeder.accept(grammarAccess.getVLSOtherDeclarationAccess().getNameVLSAtomicConstantParserRuleCall_0_0(), semanticObject.getName()); | ||
838 | feeder.accept(grammarAccess.getVLSOtherDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0(), semanticObject.getType()); | ||
839 | feeder.finish(); | ||
840 | } | ||
841 | |||
842 | |||
843 | /** | ||
844 | * Contexts: | ||
999 | * VLSTffFormula returns VLSTffFormula | 845 | * VLSTffFormula returns VLSTffFormula |
1000 | * | 846 | * |
1001 | * Constraint: | 847 | * Constraint: |
@@ -1178,8 +1024,8 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
1178 | * Constraint: | 1024 | * Constraint: |
1179 | * ( | 1025 | * ( |
1180 | * (variables+=VLSVariable | variables+=VLSVariableDeclaration) | 1026 | * (variables+=VLSVariable | variables+=VLSVariableDeclaration) |
1181 | * variables+=VLSVariableDeclaration? | 1027 | * variables+=VLSVariable? |
1182 | * (variables+=VLSVariable? variables+=VLSVariableDeclaration?)* | 1028 | * (variables+=VLSVariableDeclaration? variables+=VLSVariable?)* |
1183 | * operand=VLSUnitaryFormula | 1029 | * operand=VLSUnitaryFormula |
1184 | * ) | 1030 | * ) |
1185 | */ | 1031 | */ |
@@ -1190,6 +1036,30 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
1190 | 1036 | ||
1191 | /** | 1037 | /** |
1192 | * Contexts: | 1038 | * Contexts: |
1039 | * VLSTffTerm returns VLSVariableDeclaration | ||
1040 | * VLSDeclaration returns VLSVariableDeclaration | ||
1041 | * VLSVariableDeclaration returns VLSVariableDeclaration | ||
1042 | * | ||
1043 | * Constraint: | ||
1044 | * (name=VLSVariable type=VLSTypeDef) | ||
1045 | */ | ||
1046 | protected void sequence_VLSVariableDeclaration(ISerializationContext context, VLSVariableDeclaration semanticObject) { | ||
1047 | if (errorAcceptor != null) { | ||
1048 | if (transientValues.isValueTransient(semanticObject, VampireLanguagePackage.Literals.VLS_VARIABLE_DECLARATION__NAME) == ValueTransient.YES) | ||
1049 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, VampireLanguagePackage.Literals.VLS_VARIABLE_DECLARATION__NAME)); | ||
1050 | if (transientValues.isValueTransient(semanticObject, VampireLanguagePackage.Literals.VLS_DECLARATION__TYPE) == ValueTransient.YES) | ||
1051 | errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, VampireLanguagePackage.Literals.VLS_DECLARATION__TYPE)); | ||
1052 | } | ||
1053 | SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); | ||
1054 | feeder.accept(grammarAccess.getVLSVariableDeclarationAccess().getNameVLSVariableParserRuleCall_0_0(), semanticObject.getName()); | ||
1055 | feeder.accept(grammarAccess.getVLSVariableDeclarationAccess().getTypeVLSTypeDefParserRuleCall_2_0(), semanticObject.getType()); | ||
1056 | feeder.finish(); | ||
1057 | } | ||
1058 | |||
1059 | |||
1060 | /** | ||
1061 | * Contexts: | ||
1062 | * VLSTffTerm returns VLSVariable | ||
1193 | * VLSTerm returns VLSVariable | 1063 | * VLSTerm returns VLSVariable |
1194 | * VLSBinary returns VLSVariable | 1064 | * VLSBinary returns VLSVariable |
1195 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSVariable | 1065 | * VLSBinary.VLSEquivalent_1_0_0_0_0 returns VLSVariable |
@@ -1225,31 +1095,6 @@ public class VampireLanguageSemanticSequencer extends AbstractDelegatingSemantic | |||
1225 | 1095 | ||
1226 | /** | 1096 | /** |
1227 | * Contexts: | 1097 | * Contexts: |
1228 | * VLSTffTerm returns VLSVariable | ||
1229 | * | ||
1230 | * Constraint: | ||
1231 | * (name=UPPER_WORD_ID type=VLSTypeDef?) | ||
1232 | */ | ||
1233 | protected void sequence_VLSVariable_VLSVariableDeclaration(ISerializationContext context, VLSVariable semanticObject) { | ||
1234 | genericSequencer.createSequence(context, semanticObject); | ||
1235 | } | ||
1236 | |||
1237 | |||
1238 | // This method is commented out because it has the same signature as another method in this class. | ||
1239 | // This is probably a bug in Xtext's serializer, please report it here: | ||
1240 | // https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TMF | ||
1241 | // | ||
1242 | // Contexts: | ||
1243 | // VLSDeclaration returns VLSVariable | ||
1244 | // VLSVariableDeclaration returns VLSVariable | ||
1245 | // | ||
1246 | // Constraint: | ||
1247 | // (name=UPPER_WORD_ID type=VLSTypeDef) | ||
1248 | // | ||
1249 | // protected void sequence_VLSVariable_VLSVariableDeclaration(ISerializationContext context, VLSVariable semanticObject) { } | ||
1250 | |||
1251 | /** | ||
1252 | * Contexts: | ||
1253 | * VampireModel returns VampireModel | 1098 | * VampireModel returns VampireModel |
1254 | * | 1099 | * |
1255 | * Constraint: | 1100 | * Constraint: |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSyntacticSequencer.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSyntacticSequencer.java index d3c1b221..6f66f66b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSyntacticSequencer.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/serializer/VampireLanguageSyntacticSequencer.java | |||
@@ -95,9 +95,7 @@ public class VampireLanguageSyntacticSequencer extends AbstractSyntacticSequence | |||
95 | * This ambiguous syntax occurs at: | 95 | * This ambiguous syntax occurs at: |
96 | * (rule start) (ambiguity) '!' '[' variables+=VLSVariable | 96 | * (rule start) (ambiguity) '!' '[' variables+=VLSVariable |
97 | * (rule start) (ambiguity) '!' '[' variables+=VLSVariableDeclaration | 97 | * (rule start) (ambiguity) '!' '[' variables+=VLSVariableDeclaration |
98 | * (rule start) (ambiguity) '$false' ':' type=VLSTypeDef | ||
99 | * (rule start) (ambiguity) '$false' (rule start) | 98 | * (rule start) (ambiguity) '$false' (rule start) |
100 | * (rule start) (ambiguity) '$true' ':' type=VLSTypeDef | ||
101 | * (rule start) (ambiguity) '$true' (rule start) | 99 | * (rule start) (ambiguity) '$true' (rule start) |
102 | * (rule start) (ambiguity) '?' '[' variables+=VLSVariable | 100 | * (rule start) (ambiguity) '?' '[' variables+=VLSVariable |
103 | * (rule start) (ambiguity) '?' '[' variables+=VLSVariableDeclaration | 101 | * (rule start) (ambiguity) '?' '[' variables+=VLSVariableDeclaration |
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 5538f472..c84261e9 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 | |||
@@ -741,20 +741,24 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
741 | public class VLSOtherDeclarationElements extends AbstractParserRuleElementFinder { | 741 | public class VLSOtherDeclarationElements extends AbstractParserRuleElementFinder { |
742 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSOtherDeclaration"); | 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); | 743 | private final Group cGroup = (Group)rule.eContents().get(1); |
744 | private final RuleCall cVLSAtomicConstantParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | 744 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
745 | private final RuleCall cNameVLSAtomicConstantParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | ||
745 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); | 746 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); |
746 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); | 747 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); |
747 | private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); | 748 | private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); |
748 | 749 | ||
749 | //VLSOtherDeclaration: | 750 | //VLSOtherDeclaration: |
750 | // VLSAtomicConstant ':' type=VLSTypeDef; | 751 | // name=VLSAtomicConstant ':' type=VLSTypeDef; |
751 | @Override public ParserRule getRule() { return rule; } | 752 | @Override public ParserRule getRule() { return rule; } |
752 | 753 | ||
753 | //VLSAtomicConstant ':' type=VLSTypeDef | 754 | //name=VLSAtomicConstant ':' type=VLSTypeDef |
754 | public Group getGroup() { return cGroup; } | 755 | public Group getGroup() { return cGroup; } |
755 | 756 | ||
757 | //name=VLSAtomicConstant | ||
758 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | ||
759 | |||
756 | //VLSAtomicConstant | 760 | //VLSAtomicConstant |
757 | public RuleCall getVLSAtomicConstantParserRuleCall_0() { return cVLSAtomicConstantParserRuleCall_0; } | 761 | public RuleCall getNameVLSAtomicConstantParserRuleCall_0_0() { return cNameVLSAtomicConstantParserRuleCall_0_0; } |
758 | 762 | ||
759 | //':' | 763 | //':' |
760 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } | 764 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } |
@@ -768,20 +772,24 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
768 | public class VLSVariableDeclarationElements extends AbstractParserRuleElementFinder { | 772 | public class VLSVariableDeclarationElements extends AbstractParserRuleElementFinder { |
769 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSVariableDeclaration"); | 773 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ca.mcgill.ecse.dslreasoner.VampireLanguage.VLSVariableDeclaration"); |
770 | private final Group cGroup = (Group)rule.eContents().get(1); | 774 | private final Group cGroup = (Group)rule.eContents().get(1); |
771 | private final RuleCall cVLSVariableParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); | 775 | private final Assignment cNameAssignment_0 = (Assignment)cGroup.eContents().get(0); |
776 | private final RuleCall cNameVLSVariableParserRuleCall_0_0 = (RuleCall)cNameAssignment_0.eContents().get(0); | ||
772 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); | 777 | private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); |
773 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); | 778 | private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); |
774 | private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); | 779 | private final RuleCall cTypeVLSTypeDefParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); |
775 | 780 | ||
776 | //VLSVariableDeclaration: | 781 | //VLSVariableDeclaration: |
777 | // VLSVariable ':' type=VLSTypeDef; | 782 | // name=VLSVariable ':' type=VLSTypeDef; |
778 | @Override public ParserRule getRule() { return rule; } | 783 | @Override public ParserRule getRule() { return rule; } |
779 | 784 | ||
780 | //VLSVariable ':' type=VLSTypeDef | 785 | //name=VLSVariable ':' type=VLSTypeDef |
781 | public Group getGroup() { return cGroup; } | 786 | public Group getGroup() { return cGroup; } |
782 | 787 | ||
788 | //name=VLSVariable | ||
789 | public Assignment getNameAssignment_0() { return cNameAssignment_0; } | ||
790 | |||
783 | //VLSVariable | 791 | //VLSVariable |
784 | public RuleCall getVLSVariableParserRuleCall_0() { return cVLSVariableParserRuleCall_0; } | 792 | public RuleCall getNameVLSVariableParserRuleCall_0_0() { return cNameVLSVariableParserRuleCall_0_0; } |
785 | 793 | ||
786 | //':' | 794 | //':' |
787 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } | 795 | public Keyword getColonKeyword_1() { return cColonKeyword_1; } |
@@ -2196,7 +2204,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
2196 | } | 2204 | } |
2197 | 2205 | ||
2198 | //VLSOtherDeclaration: | 2206 | //VLSOtherDeclaration: |
2199 | // VLSAtomicConstant ':' type=VLSTypeDef; | 2207 | // name=VLSAtomicConstant ':' type=VLSTypeDef; |
2200 | public VLSOtherDeclarationElements getVLSOtherDeclarationAccess() { | 2208 | public VLSOtherDeclarationElements getVLSOtherDeclarationAccess() { |
2201 | return pVLSOtherDeclaration; | 2209 | return pVLSOtherDeclaration; |
2202 | } | 2210 | } |
@@ -2206,7 +2214,7 @@ public class VampireLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
2206 | } | 2214 | } |
2207 | 2215 | ||
2208 | //VLSVariableDeclaration: | 2216 | //VLSVariableDeclaration: |
2209 | // VLSVariable ':' type=VLSTypeDef; | 2217 | // name=VLSVariable ':' type=VLSTypeDef; |
2210 | public VLSVariableDeclarationElements getVLSVariableDeclarationAccess() { | 2218 | public VLSVariableDeclarationElements getVLSVariableDeclarationAccess() { |
2211 | return pVLSVariableDeclaration; | 2219 | return pVLSVariableDeclaration; |
2212 | } | 2220 | } |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSDeclaration.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSDeclaration.java index d3e5a2d5..4ff74235 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSDeclaration.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSDeclaration.java | |||
@@ -9,6 +9,12 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
9 | * A representation of the model object '<em><b>VLS Declaration</b></em>'. | 9 | * A representation of the model object '<em><b>VLS Declaration</b></em>'. |
10 | * <!-- end-user-doc --> | 10 | * <!-- end-user-doc --> |
11 | * | 11 | * |
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
12 | * | 18 | * |
13 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSDeclaration() | 19 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSDeclaration() |
14 | * @model | 20 | * @model |
@@ -16,4 +22,30 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
16 | */ | 22 | */ |
17 | public interface VLSDeclaration extends VLSTffTerm | 23 | public interface VLSDeclaration extends VLSTffTerm |
18 | { | 24 | { |
25 | /** | ||
26 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Type</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Type</em>' containment reference. | ||
34 | * @see #setType(VLSTypeDef) | ||
35 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSDeclaration_Type() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | VLSTypeDef getType(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration#getType <em>Type</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
46 | * @see #getType() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setType(VLSTypeDef value); | ||
50 | |||
19 | } // VLSDeclaration | 51 | } // VLSDeclaration |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSExistentialQuantifier.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSExistentialQuantifier.java index a70dff64..c70d312b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSExistentialQuantifier.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSExistentialQuantifier.java | |||
@@ -26,7 +26,7 @@ public interface VLSExistentialQuantifier extends VLSTerm | |||
26 | { | 26 | { |
27 | /** | 27 | /** |
28 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | 28 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. |
29 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration}. | 29 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm}. |
30 | * <!-- begin-user-doc --> | 30 | * <!-- begin-user-doc --> |
31 | * <p> | 31 | * <p> |
32 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, | 32 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, |
@@ -38,7 +38,7 @@ public interface VLSExistentialQuantifier extends VLSTerm | |||
38 | * @model containment="true" | 38 | * @model containment="true" |
39 | * @generated | 39 | * @generated |
40 | */ | 40 | */ |
41 | EList<VLSVariableDeclaration> getVariables(); | 41 | EList<VLSTffTerm> getVariables(); |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | 44 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSOtherDeclaration.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSOtherDeclaration.java index 0ffd104d..4e4e3d8b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSOtherDeclaration.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSOtherDeclaration.java | |||
@@ -9,6 +9,12 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
9 | * A representation of the model object '<em><b>VLS Other Declaration</b></em>'. | 9 | * A representation of the model object '<em><b>VLS Other Declaration</b></em>'. |
10 | * <!-- end-user-doc --> | 10 | * <!-- end-user-doc --> |
11 | * | 11 | * |
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
12 | * | 18 | * |
13 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSOtherDeclaration() | 19 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSOtherDeclaration() |
14 | * @model | 20 | * @model |
@@ -16,4 +22,30 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
16 | */ | 22 | */ |
17 | public interface VLSOtherDeclaration extends VLSDeclaration | 23 | public interface VLSOtherDeclaration extends VLSDeclaration |
18 | { | 24 | { |
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Name</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Name</em>' containment reference. | ||
34 | * @see #setName(VLSTerm) | ||
35 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSOtherDeclaration_Name() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | VLSTerm getName(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration#getName <em>Name</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Name</em>' containment reference. | ||
46 | * @see #getName() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setName(VLSTerm value); | ||
50 | |||
19 | } // VLSOtherDeclaration | 51 | } // VLSOtherDeclaration |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSTerm.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSTerm.java index 7a077714..d1f20508 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSTerm.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSTerm.java | |||
@@ -9,43 +9,11 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
9 | * A representation of the model object '<em><b>VLS Term</b></em>'. | 9 | * A representation of the model object '<em><b>VLS Term</b></em>'. |
10 | * <!-- end-user-doc --> | 10 | * <!-- end-user-doc --> |
11 | * | 11 | * |
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm#getType <em>Type</em>}</li> | ||
17 | * </ul> | ||
18 | * | 12 | * |
19 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSTerm() | 13 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSTerm() |
20 | * @model | 14 | * @model |
21 | * @generated | 15 | * @generated |
22 | */ | 16 | */ |
23 | public interface VLSTerm extends VLSTffTerm, VLSOtherDeclaration | 17 | public interface VLSTerm extends VLSTffTerm |
24 | { | 18 | { |
25 | /** | ||
26 | * Returns the value of the '<em><b>Type</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Type</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Type</em>' containment reference. | ||
34 | * @see #setType(VLSTypeDef) | ||
35 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSTerm_Type() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | VLSTypeDef getType(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm#getType <em>Type</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Type</em>' containment reference. | ||
46 | * @see #getType() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setType(VLSTypeDef value); | ||
50 | |||
51 | } // VLSTerm | 19 | } // VLSTerm |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSUniversalQuantifier.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSUniversalQuantifier.java index 00dd1733..9e7da58a 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSUniversalQuantifier.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSUniversalQuantifier.java | |||
@@ -26,7 +26,7 @@ public interface VLSUniversalQuantifier extends VLSTerm | |||
26 | { | 26 | { |
27 | /** | 27 | /** |
28 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. | 28 | * Returns the value of the '<em><b>Variables</b></em>' containment reference list. |
29 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration}. | 29 | * The list contents are of type {@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm}. |
30 | * <!-- begin-user-doc --> | 30 | * <!-- begin-user-doc --> |
31 | * <p> | 31 | * <p> |
32 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, | 32 | * If the meaning of the '<em>Variables</em>' containment reference list isn't clear, |
@@ -38,7 +38,7 @@ public interface VLSUniversalQuantifier extends VLSTerm | |||
38 | * @model containment="true" | 38 | * @model containment="true" |
39 | * @generated | 39 | * @generated |
40 | */ | 40 | */ |
41 | EList<VLSVariableDeclaration> getVariables(); | 41 | EList<VLSTffTerm> getVariables(); |
42 | 42 | ||
43 | /** | 43 | /** |
44 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. | 44 | * Returns the value of the '<em><b>Operand</b></em>' containment reference. |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariable.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariable.java index 5a9dc028..9750e4c5 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariable.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariable.java | |||
@@ -20,7 +20,7 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
20 | * @model | 20 | * @model |
21 | * @generated | 21 | * @generated |
22 | */ | 22 | */ |
23 | public interface VLSVariable extends VLSVariableDeclaration, VLSTerm | 23 | public interface VLSVariable extends VLSTerm |
24 | { | 24 | { |
25 | /** | 25 | /** |
26 | * Returns the value of the '<em><b>Name</b></em>' attribute. | 26 | * Returns the value of the '<em><b>Name</b></em>' attribute. |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariableDeclaration.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariableDeclaration.java index 9e5a6ba2..a45aec5c 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariableDeclaration.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VLSVariableDeclaration.java | |||
@@ -9,6 +9,12 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
9 | * A representation of the model object '<em><b>VLS Variable Declaration</b></em>'. | 9 | * A representation of the model object '<em><b>VLS Variable Declaration</b></em>'. |
10 | * <!-- end-user-doc --> | 10 | * <!-- end-user-doc --> |
11 | * | 11 | * |
12 | * <p> | ||
13 | * The following features are supported: | ||
14 | * </p> | ||
15 | * <ul> | ||
16 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration#getName <em>Name</em>}</li> | ||
17 | * </ul> | ||
12 | * | 18 | * |
13 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSVariableDeclaration() | 19 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSVariableDeclaration() |
14 | * @model | 20 | * @model |
@@ -16,4 +22,30 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage; | |||
16 | */ | 22 | */ |
17 | public interface VLSVariableDeclaration extends VLSDeclaration | 23 | public interface VLSVariableDeclaration extends VLSDeclaration |
18 | { | 24 | { |
25 | /** | ||
26 | * Returns the value of the '<em><b>Name</b></em>' containment reference. | ||
27 | * <!-- begin-user-doc --> | ||
28 | * <p> | ||
29 | * If the meaning of the '<em>Name</em>' containment reference isn't clear, | ||
30 | * there really should be more of a description here... | ||
31 | * </p> | ||
32 | * <!-- end-user-doc --> | ||
33 | * @return the value of the '<em>Name</em>' containment reference. | ||
34 | * @see #setName(VLSVariable) | ||
35 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage#getVLSVariableDeclaration_Name() | ||
36 | * @model containment="true" | ||
37 | * @generated | ||
38 | */ | ||
39 | VLSVariable getName(); | ||
40 | |||
41 | /** | ||
42 | * Sets the value of the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration#getName <em>Name</em>}' containment reference. | ||
43 | * <!-- begin-user-doc --> | ||
44 | * <!-- end-user-doc --> | ||
45 | * @param value the new value of the '<em>Name</em>' containment reference. | ||
46 | * @see #getName() | ||
47 | * @generated | ||
48 | */ | ||
49 | void setName(VLSVariable value); | ||
50 | |||
19 | } // VLSVariableDeclaration | 51 | } // VLSVariableDeclaration |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VampireLanguagePackage.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VampireLanguagePackage.java index 3ef777f8..7c917251 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VampireLanguagePackage.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/VampireLanguagePackage.java | |||
@@ -345,13 +345,22 @@ public interface VampireLanguagePackage extends EPackage | |||
345 | int VLS_DECLARATION = 7; | 345 | int VLS_DECLARATION = 7; |
346 | 346 | ||
347 | /** | 347 | /** |
348 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
349 | * <!-- begin-user-doc --> | ||
350 | * <!-- end-user-doc --> | ||
351 | * @generated | ||
352 | * @ordered | ||
353 | */ | ||
354 | int VLS_DECLARATION__TYPE = VLS_TFF_TERM_FEATURE_COUNT + 0; | ||
355 | |||
356 | /** | ||
348 | * The number of structural features of the '<em>VLS Declaration</em>' class. | 357 | * The number of structural features of the '<em>VLS Declaration</em>' class. |
349 | * <!-- begin-user-doc --> | 358 | * <!-- begin-user-doc --> |
350 | * <!-- end-user-doc --> | 359 | * <!-- end-user-doc --> |
351 | * @generated | 360 | * @generated |
352 | * @ordered | 361 | * @ordered |
353 | */ | 362 | */ |
354 | int VLS_DECLARATION_FEATURE_COUNT = VLS_TFF_TERM_FEATURE_COUNT + 0; | 363 | int VLS_DECLARATION_FEATURE_COUNT = VLS_TFF_TERM_FEATURE_COUNT + 1; |
355 | 364 | ||
356 | /** | 365 | /** |
357 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOtherDeclarationImpl <em>VLS Other Declaration</em>}' class. | 366 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOtherDeclarationImpl <em>VLS Other Declaration</em>}' class. |
@@ -364,13 +373,31 @@ public interface VampireLanguagePackage extends EPackage | |||
364 | int VLS_OTHER_DECLARATION = 8; | 373 | int VLS_OTHER_DECLARATION = 8; |
365 | 374 | ||
366 | /** | 375 | /** |
376 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
377 | * <!-- begin-user-doc --> | ||
378 | * <!-- end-user-doc --> | ||
379 | * @generated | ||
380 | * @ordered | ||
381 | */ | ||
382 | int VLS_OTHER_DECLARATION__TYPE = VLS_DECLARATION__TYPE; | ||
383 | |||
384 | /** | ||
385 | * The feature id for the '<em><b>Name</b></em>' containment reference. | ||
386 | * <!-- begin-user-doc --> | ||
387 | * <!-- end-user-doc --> | ||
388 | * @generated | ||
389 | * @ordered | ||
390 | */ | ||
391 | int VLS_OTHER_DECLARATION__NAME = VLS_DECLARATION_FEATURE_COUNT + 0; | ||
392 | |||
393 | /** | ||
367 | * The number of structural features of the '<em>VLS Other Declaration</em>' class. | 394 | * The number of structural features of the '<em>VLS Other Declaration</em>' class. |
368 | * <!-- begin-user-doc --> | 395 | * <!-- begin-user-doc --> |
369 | * <!-- end-user-doc --> | 396 | * <!-- end-user-doc --> |
370 | * @generated | 397 | * @generated |
371 | * @ordered | 398 | * @ordered |
372 | */ | 399 | */ |
373 | int VLS_OTHER_DECLARATION_FEATURE_COUNT = VLS_DECLARATION_FEATURE_COUNT + 0; | 400 | int VLS_OTHER_DECLARATION_FEATURE_COUNT = VLS_DECLARATION_FEATURE_COUNT + 1; |
374 | 401 | ||
375 | /** | 402 | /** |
376 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableDeclarationImpl <em>VLS Variable Declaration</em>}' class. | 403 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableDeclarationImpl <em>VLS Variable Declaration</em>}' class. |
@@ -383,13 +410,31 @@ public interface VampireLanguagePackage extends EPackage | |||
383 | int VLS_VARIABLE_DECLARATION = 9; | 410 | int VLS_VARIABLE_DECLARATION = 9; |
384 | 411 | ||
385 | /** | 412 | /** |
413 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
414 | * <!-- begin-user-doc --> | ||
415 | * <!-- end-user-doc --> | ||
416 | * @generated | ||
417 | * @ordered | ||
418 | */ | ||
419 | int VLS_VARIABLE_DECLARATION__TYPE = VLS_DECLARATION__TYPE; | ||
420 | |||
421 | /** | ||
422 | * The feature id for the '<em><b>Name</b></em>' containment reference. | ||
423 | * <!-- begin-user-doc --> | ||
424 | * <!-- end-user-doc --> | ||
425 | * @generated | ||
426 | * @ordered | ||
427 | */ | ||
428 | int VLS_VARIABLE_DECLARATION__NAME = VLS_DECLARATION_FEATURE_COUNT + 0; | ||
429 | |||
430 | /** | ||
386 | * The number of structural features of the '<em>VLS Variable Declaration</em>' class. | 431 | * The number of structural features of the '<em>VLS Variable Declaration</em>' class. |
387 | * <!-- begin-user-doc --> | 432 | * <!-- begin-user-doc --> |
388 | * <!-- end-user-doc --> | 433 | * <!-- end-user-doc --> |
389 | * @generated | 434 | * @generated |
390 | * @ordered | 435 | * @ordered |
391 | */ | 436 | */ |
392 | int VLS_VARIABLE_DECLARATION_FEATURE_COUNT = VLS_DECLARATION_FEATURE_COUNT + 0; | 437 | int VLS_VARIABLE_DECLARATION_FEATURE_COUNT = VLS_DECLARATION_FEATURE_COUNT + 1; |
393 | 438 | ||
394 | /** | 439 | /** |
395 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSTypeDefImpl <em>VLS Type Def</em>}' class. | 440 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSTypeDefImpl <em>VLS Type Def</em>}' class. |
@@ -457,22 +502,13 @@ public interface VampireLanguagePackage extends EPackage | |||
457 | int VLS_TERM = 11; | 502 | int VLS_TERM = 11; |
458 | 503 | ||
459 | /** | 504 | /** |
460 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
461 | * <!-- begin-user-doc --> | ||
462 | * <!-- end-user-doc --> | ||
463 | * @generated | ||
464 | * @ordered | ||
465 | */ | ||
466 | int VLS_TERM__TYPE = VLS_TFF_TERM_FEATURE_COUNT + 0; | ||
467 | |||
468 | /** | ||
469 | * The number of structural features of the '<em>VLS Term</em>' class. | 505 | * The number of structural features of the '<em>VLS Term</em>' class. |
470 | * <!-- begin-user-doc --> | 506 | * <!-- begin-user-doc --> |
471 | * <!-- end-user-doc --> | 507 | * <!-- end-user-doc --> |
472 | * @generated | 508 | * @generated |
473 | * @ordered | 509 | * @ordered |
474 | */ | 510 | */ |
475 | int VLS_TERM_FEATURE_COUNT = VLS_TFF_TERM_FEATURE_COUNT + 1; | 511 | int VLS_TERM_FEATURE_COUNT = VLS_TFF_TERM_FEATURE_COUNT + 0; |
476 | 512 | ||
477 | /** | 513 | /** |
478 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl <em>VLS Variable</em>}' class. | 514 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl <em>VLS Variable</em>}' class. |
@@ -485,22 +521,13 @@ public interface VampireLanguagePackage extends EPackage | |||
485 | int VLS_VARIABLE = 12; | 521 | int VLS_VARIABLE = 12; |
486 | 522 | ||
487 | /** | 523 | /** |
488 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
489 | * <!-- begin-user-doc --> | ||
490 | * <!-- end-user-doc --> | ||
491 | * @generated | ||
492 | * @ordered | ||
493 | */ | ||
494 | int VLS_VARIABLE__TYPE = VLS_VARIABLE_DECLARATION_FEATURE_COUNT + 0; | ||
495 | |||
496 | /** | ||
497 | * The feature id for the '<em><b>Name</b></em>' attribute. | 524 | * The feature id for the '<em><b>Name</b></em>' attribute. |
498 | * <!-- begin-user-doc --> | 525 | * <!-- begin-user-doc --> |
499 | * <!-- end-user-doc --> | 526 | * <!-- end-user-doc --> |
500 | * @generated | 527 | * @generated |
501 | * @ordered | 528 | * @ordered |
502 | */ | 529 | */ |
503 | int VLS_VARIABLE__NAME = VLS_VARIABLE_DECLARATION_FEATURE_COUNT + 1; | 530 | int VLS_VARIABLE__NAME = VLS_TERM_FEATURE_COUNT + 0; |
504 | 531 | ||
505 | /** | 532 | /** |
506 | * The number of structural features of the '<em>VLS Variable</em>' class. | 533 | * The number of structural features of the '<em>VLS Variable</em>' class. |
@@ -509,7 +536,7 @@ public interface VampireLanguagePackage extends EPackage | |||
509 | * @generated | 536 | * @generated |
510 | * @ordered | 537 | * @ordered |
511 | */ | 538 | */ |
512 | int VLS_VARIABLE_FEATURE_COUNT = VLS_VARIABLE_DECLARATION_FEATURE_COUNT + 2; | 539 | int VLS_VARIABLE_FEATURE_COUNT = VLS_TERM_FEATURE_COUNT + 1; |
513 | 540 | ||
514 | /** | 541 | /** |
515 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSFunctionAsTermImpl <em>VLS Function As Term</em>}' class. | 542 | * The meta object id for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSFunctionAsTermImpl <em>VLS Function As Term</em>}' class. |
@@ -522,15 +549,6 @@ public interface VampireLanguagePackage extends EPackage | |||
522 | int VLS_FUNCTION_AS_TERM = 13; | 549 | int VLS_FUNCTION_AS_TERM = 13; |
523 | 550 | ||
524 | /** | 551 | /** |
525 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
526 | * <!-- begin-user-doc --> | ||
527 | * <!-- end-user-doc --> | ||
528 | * @generated | ||
529 | * @ordered | ||
530 | */ | ||
531 | int VLS_FUNCTION_AS_TERM__TYPE = VLS_TERM__TYPE; | ||
532 | |||
533 | /** | ||
534 | * The feature id for the '<em><b>Functor</b></em>' attribute. | 552 | * The feature id for the '<em><b>Functor</b></em>' attribute. |
535 | * <!-- begin-user-doc --> | 553 | * <!-- begin-user-doc --> |
536 | * <!-- end-user-doc --> | 554 | * <!-- end-user-doc --> |
@@ -568,15 +586,6 @@ public interface VampireLanguagePackage extends EPackage | |||
568 | int VLS_DEFINED_TERM = 14; | 586 | int VLS_DEFINED_TERM = 14; |
569 | 587 | ||
570 | /** | 588 | /** |
571 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
572 | * <!-- begin-user-doc --> | ||
573 | * <!-- end-user-doc --> | ||
574 | * @generated | ||
575 | * @ordered | ||
576 | */ | ||
577 | int VLS_DEFINED_TERM__TYPE = VLS_TERM__TYPE; | ||
578 | |||
579 | /** | ||
580 | * The feature id for the '<em><b>Value</b></em>' attribute. | 589 | * The feature id for the '<em><b>Value</b></em>' attribute. |
581 | * <!-- begin-user-doc --> | 590 | * <!-- begin-user-doc --> |
582 | * <!-- end-user-doc --> | 591 | * <!-- end-user-doc --> |
@@ -690,15 +699,6 @@ public interface VampireLanguagePackage extends EPackage | |||
690 | int VLS_EQUIVALENT = 19; | 699 | int VLS_EQUIVALENT = 19; |
691 | 700 | ||
692 | /** | 701 | /** |
693 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
694 | * <!-- begin-user-doc --> | ||
695 | * <!-- end-user-doc --> | ||
696 | * @generated | ||
697 | * @ordered | ||
698 | */ | ||
699 | int VLS_EQUIVALENT__TYPE = VLS_TERM__TYPE; | ||
700 | |||
701 | /** | ||
702 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 702 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
703 | * <!-- begin-user-doc --> | 703 | * <!-- begin-user-doc --> |
704 | * <!-- end-user-doc --> | 704 | * <!-- end-user-doc --> |
@@ -736,15 +736,6 @@ public interface VampireLanguagePackage extends EPackage | |||
736 | int VLS_IMPLIES = 20; | 736 | int VLS_IMPLIES = 20; |
737 | 737 | ||
738 | /** | 738 | /** |
739 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
740 | * <!-- begin-user-doc --> | ||
741 | * <!-- end-user-doc --> | ||
742 | * @generated | ||
743 | * @ordered | ||
744 | */ | ||
745 | int VLS_IMPLIES__TYPE = VLS_TERM__TYPE; | ||
746 | |||
747 | /** | ||
748 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 739 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
749 | * <!-- begin-user-doc --> | 740 | * <!-- begin-user-doc --> |
750 | * <!-- end-user-doc --> | 741 | * <!-- end-user-doc --> |
@@ -782,15 +773,6 @@ public interface VampireLanguagePackage extends EPackage | |||
782 | int VLS_REV_IMPLIES = 21; | 773 | int VLS_REV_IMPLIES = 21; |
783 | 774 | ||
784 | /** | 775 | /** |
785 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
786 | * <!-- begin-user-doc --> | ||
787 | * <!-- end-user-doc --> | ||
788 | * @generated | ||
789 | * @ordered | ||
790 | */ | ||
791 | int VLS_REV_IMPLIES__TYPE = VLS_TERM__TYPE; | ||
792 | |||
793 | /** | ||
794 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 776 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
795 | * <!-- begin-user-doc --> | 777 | * <!-- begin-user-doc --> |
796 | * <!-- end-user-doc --> | 778 | * <!-- end-user-doc --> |
@@ -828,15 +810,6 @@ public interface VampireLanguagePackage extends EPackage | |||
828 | int VLS_XNOR = 22; | 810 | int VLS_XNOR = 22; |
829 | 811 | ||
830 | /** | 812 | /** |
831 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
832 | * <!-- begin-user-doc --> | ||
833 | * <!-- end-user-doc --> | ||
834 | * @generated | ||
835 | * @ordered | ||
836 | */ | ||
837 | int VLS_XNOR__TYPE = VLS_TERM__TYPE; | ||
838 | |||
839 | /** | ||
840 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 813 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
841 | * <!-- begin-user-doc --> | 814 | * <!-- begin-user-doc --> |
842 | * <!-- end-user-doc --> | 815 | * <!-- end-user-doc --> |
@@ -874,15 +847,6 @@ public interface VampireLanguagePackage extends EPackage | |||
874 | int VLS_NOR = 23; | 847 | int VLS_NOR = 23; |
875 | 848 | ||
876 | /** | 849 | /** |
877 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
878 | * <!-- begin-user-doc --> | ||
879 | * <!-- end-user-doc --> | ||
880 | * @generated | ||
881 | * @ordered | ||
882 | */ | ||
883 | int VLS_NOR__TYPE = VLS_TERM__TYPE; | ||
884 | |||
885 | /** | ||
886 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 850 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
887 | * <!-- begin-user-doc --> | 851 | * <!-- begin-user-doc --> |
888 | * <!-- end-user-doc --> | 852 | * <!-- end-user-doc --> |
@@ -920,15 +884,6 @@ public interface VampireLanguagePackage extends EPackage | |||
920 | int VLS_NAND = 24; | 884 | int VLS_NAND = 24; |
921 | 885 | ||
922 | /** | 886 | /** |
923 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
924 | * <!-- begin-user-doc --> | ||
925 | * <!-- end-user-doc --> | ||
926 | * @generated | ||
927 | * @ordered | ||
928 | */ | ||
929 | int VLS_NAND__TYPE = VLS_TERM__TYPE; | ||
930 | |||
931 | /** | ||
932 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 887 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
933 | * <!-- begin-user-doc --> | 888 | * <!-- begin-user-doc --> |
934 | * <!-- end-user-doc --> | 889 | * <!-- end-user-doc --> |
@@ -966,15 +921,6 @@ public interface VampireLanguagePackage extends EPackage | |||
966 | int VLS_AND = 25; | 921 | int VLS_AND = 25; |
967 | 922 | ||
968 | /** | 923 | /** |
969 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
970 | * <!-- begin-user-doc --> | ||
971 | * <!-- end-user-doc --> | ||
972 | * @generated | ||
973 | * @ordered | ||
974 | */ | ||
975 | int VLS_AND__TYPE = VLS_TERM__TYPE; | ||
976 | |||
977 | /** | ||
978 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 924 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
979 | * <!-- begin-user-doc --> | 925 | * <!-- begin-user-doc --> |
980 | * <!-- end-user-doc --> | 926 | * <!-- end-user-doc --> |
@@ -1012,15 +958,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1012 | int VLS_OR = 26; | 958 | int VLS_OR = 26; |
1013 | 959 | ||
1014 | /** | 960 | /** |
1015 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1016 | * <!-- begin-user-doc --> | ||
1017 | * <!-- end-user-doc --> | ||
1018 | * @generated | ||
1019 | * @ordered | ||
1020 | */ | ||
1021 | int VLS_OR__TYPE = VLS_TERM__TYPE; | ||
1022 | |||
1023 | /** | ||
1024 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 961 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
1025 | * <!-- begin-user-doc --> | 962 | * <!-- begin-user-doc --> |
1026 | * <!-- end-user-doc --> | 963 | * <!-- end-user-doc --> |
@@ -1058,15 +995,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1058 | int VLS_UNIVERSAL_QUANTIFIER = 27; | 995 | int VLS_UNIVERSAL_QUANTIFIER = 27; |
1059 | 996 | ||
1060 | /** | 997 | /** |
1061 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1062 | * <!-- begin-user-doc --> | ||
1063 | * <!-- end-user-doc --> | ||
1064 | * @generated | ||
1065 | * @ordered | ||
1066 | */ | ||
1067 | int VLS_UNIVERSAL_QUANTIFIER__TYPE = VLS_TERM__TYPE; | ||
1068 | |||
1069 | /** | ||
1070 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | 998 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. |
1071 | * <!-- begin-user-doc --> | 999 | * <!-- begin-user-doc --> |
1072 | * <!-- end-user-doc --> | 1000 | * <!-- end-user-doc --> |
@@ -1104,15 +1032,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1104 | int VLS_EXISTENTIAL_QUANTIFIER = 28; | 1032 | int VLS_EXISTENTIAL_QUANTIFIER = 28; |
1105 | 1033 | ||
1106 | /** | 1034 | /** |
1107 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1108 | * <!-- begin-user-doc --> | ||
1109 | * <!-- end-user-doc --> | ||
1110 | * @generated | ||
1111 | * @ordered | ||
1112 | */ | ||
1113 | int VLS_EXISTENTIAL_QUANTIFIER__TYPE = VLS_TERM__TYPE; | ||
1114 | |||
1115 | /** | ||
1116 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. | 1035 | * The feature id for the '<em><b>Variables</b></em>' containment reference list. |
1117 | * <!-- begin-user-doc --> | 1036 | * <!-- begin-user-doc --> |
1118 | * <!-- end-user-doc --> | 1037 | * <!-- end-user-doc --> |
@@ -1150,15 +1069,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1150 | int VLS_UNARY_NEGATION = 29; | 1069 | int VLS_UNARY_NEGATION = 29; |
1151 | 1070 | ||
1152 | /** | 1071 | /** |
1153 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1154 | * <!-- begin-user-doc --> | ||
1155 | * <!-- end-user-doc --> | ||
1156 | * @generated | ||
1157 | * @ordered | ||
1158 | */ | ||
1159 | int VLS_UNARY_NEGATION__TYPE = VLS_TERM__TYPE; | ||
1160 | |||
1161 | /** | ||
1162 | * The feature id for the '<em><b>Operand</b></em>' containment reference. | 1072 | * The feature id for the '<em><b>Operand</b></em>' containment reference. |
1163 | * <!-- begin-user-doc --> | 1073 | * <!-- begin-user-doc --> |
1164 | * <!-- end-user-doc --> | 1074 | * <!-- end-user-doc --> |
@@ -1187,15 +1097,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1187 | int VLS_INEQUALITY = 30; | 1097 | int VLS_INEQUALITY = 30; |
1188 | 1098 | ||
1189 | /** | 1099 | /** |
1190 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1191 | * <!-- begin-user-doc --> | ||
1192 | * <!-- end-user-doc --> | ||
1193 | * @generated | ||
1194 | * @ordered | ||
1195 | */ | ||
1196 | int VLS_INEQUALITY__TYPE = VLS_TERM__TYPE; | ||
1197 | |||
1198 | /** | ||
1199 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 1100 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
1200 | * <!-- begin-user-doc --> | 1101 | * <!-- begin-user-doc --> |
1201 | * <!-- end-user-doc --> | 1102 | * <!-- end-user-doc --> |
@@ -1233,15 +1134,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1233 | int VLS_EQUALITY = 31; | 1134 | int VLS_EQUALITY = 31; |
1234 | 1135 | ||
1235 | /** | 1136 | /** |
1236 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1237 | * <!-- begin-user-doc --> | ||
1238 | * <!-- end-user-doc --> | ||
1239 | * @generated | ||
1240 | * @ordered | ||
1241 | */ | ||
1242 | int VLS_EQUALITY__TYPE = VLS_TERM__TYPE; | ||
1243 | |||
1244 | /** | ||
1245 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 1137 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
1246 | * <!-- begin-user-doc --> | 1138 | * <!-- begin-user-doc --> |
1247 | * <!-- end-user-doc --> | 1139 | * <!-- end-user-doc --> |
@@ -1279,15 +1171,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1279 | int VLS_ASSIGNMENT = 32; | 1171 | int VLS_ASSIGNMENT = 32; |
1280 | 1172 | ||
1281 | /** | 1173 | /** |
1282 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1283 | * <!-- begin-user-doc --> | ||
1284 | * <!-- end-user-doc --> | ||
1285 | * @generated | ||
1286 | * @ordered | ||
1287 | */ | ||
1288 | int VLS_ASSIGNMENT__TYPE = VLS_TERM__TYPE; | ||
1289 | |||
1290 | /** | ||
1291 | * The feature id for the '<em><b>Left</b></em>' containment reference. | 1174 | * The feature id for the '<em><b>Left</b></em>' containment reference. |
1292 | * <!-- begin-user-doc --> | 1175 | * <!-- begin-user-doc --> |
1293 | * <!-- end-user-doc --> | 1176 | * <!-- end-user-doc --> |
@@ -1325,15 +1208,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1325 | int VLS_CONSTANT = 33; | 1208 | int VLS_CONSTANT = 33; |
1326 | 1209 | ||
1327 | /** | 1210 | /** |
1328 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1329 | * <!-- begin-user-doc --> | ||
1330 | * <!-- end-user-doc --> | ||
1331 | * @generated | ||
1332 | * @ordered | ||
1333 | */ | ||
1334 | int VLS_CONSTANT__TYPE = VLS_TERM__TYPE; | ||
1335 | |||
1336 | /** | ||
1337 | * The feature id for the '<em><b>Name</b></em>' attribute. | 1211 | * The feature id for the '<em><b>Name</b></em>' attribute. |
1338 | * <!-- begin-user-doc --> | 1212 | * <!-- begin-user-doc --> |
1339 | * <!-- end-user-doc --> | 1213 | * <!-- end-user-doc --> |
@@ -1362,15 +1236,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1362 | int VLS_TRUE = 34; | 1236 | int VLS_TRUE = 34; |
1363 | 1237 | ||
1364 | /** | 1238 | /** |
1365 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1366 | * <!-- begin-user-doc --> | ||
1367 | * <!-- end-user-doc --> | ||
1368 | * @generated | ||
1369 | * @ordered | ||
1370 | */ | ||
1371 | int VLS_TRUE__TYPE = VLS_TERM__TYPE; | ||
1372 | |||
1373 | /** | ||
1374 | * The number of structural features of the '<em>VLS True</em>' class. | 1239 | * The number of structural features of the '<em>VLS True</em>' class. |
1375 | * <!-- begin-user-doc --> | 1240 | * <!-- begin-user-doc --> |
1376 | * <!-- end-user-doc --> | 1241 | * <!-- end-user-doc --> |
@@ -1390,15 +1255,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1390 | int VLS_FALSE = 35; | 1255 | int VLS_FALSE = 35; |
1391 | 1256 | ||
1392 | /** | 1257 | /** |
1393 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1394 | * <!-- begin-user-doc --> | ||
1395 | * <!-- end-user-doc --> | ||
1396 | * @generated | ||
1397 | * @ordered | ||
1398 | */ | ||
1399 | int VLS_FALSE__TYPE = VLS_TERM__TYPE; | ||
1400 | |||
1401 | /** | ||
1402 | * The number of structural features of the '<em>VLS False</em>' class. | 1258 | * The number of structural features of the '<em>VLS False</em>' class. |
1403 | * <!-- begin-user-doc --> | 1259 | * <!-- begin-user-doc --> |
1404 | * <!-- end-user-doc --> | 1260 | * <!-- end-user-doc --> |
@@ -1418,15 +1274,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1418 | int VLS_FUNCTION = 36; | 1274 | int VLS_FUNCTION = 36; |
1419 | 1275 | ||
1420 | /** | 1276 | /** |
1421 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1422 | * <!-- begin-user-doc --> | ||
1423 | * <!-- end-user-doc --> | ||
1424 | * @generated | ||
1425 | * @ordered | ||
1426 | */ | ||
1427 | int VLS_FUNCTION__TYPE = VLS_TERM__TYPE; | ||
1428 | |||
1429 | /** | ||
1430 | * The feature id for the '<em><b>Constant</b></em>' attribute. | 1277 | * The feature id for the '<em><b>Constant</b></em>' attribute. |
1431 | * <!-- begin-user-doc --> | 1278 | * <!-- begin-user-doc --> |
1432 | * <!-- end-user-doc --> | 1279 | * <!-- end-user-doc --> |
@@ -1464,15 +1311,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1464 | int VLS_LESS = 37; | 1311 | int VLS_LESS = 37; |
1465 | 1312 | ||
1466 | /** | 1313 | /** |
1467 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1468 | * <!-- begin-user-doc --> | ||
1469 | * <!-- end-user-doc --> | ||
1470 | * @generated | ||
1471 | * @ordered | ||
1472 | */ | ||
1473 | int VLS_LESS__TYPE = VLS_TERM__TYPE; | ||
1474 | |||
1475 | /** | ||
1476 | * The feature id for the '<em><b>Name</b></em>' attribute. | 1314 | * The feature id for the '<em><b>Name</b></em>' attribute. |
1477 | * <!-- begin-user-doc --> | 1315 | * <!-- begin-user-doc --> |
1478 | * <!-- end-user-doc --> | 1316 | * <!-- end-user-doc --> |
@@ -1510,15 +1348,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1510 | int VLS_INT = 38; | 1348 | int VLS_INT = 38; |
1511 | 1349 | ||
1512 | /** | 1350 | /** |
1513 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1514 | * <!-- begin-user-doc --> | ||
1515 | * <!-- end-user-doc --> | ||
1516 | * @generated | ||
1517 | * @ordered | ||
1518 | */ | ||
1519 | int VLS_INT__TYPE = VLS_DEFINED_TERM__TYPE; | ||
1520 | |||
1521 | /** | ||
1522 | * The feature id for the '<em><b>Value</b></em>' attribute. | 1351 | * The feature id for the '<em><b>Value</b></em>' attribute. |
1523 | * <!-- begin-user-doc --> | 1352 | * <!-- begin-user-doc --> |
1524 | * <!-- end-user-doc --> | 1353 | * <!-- end-user-doc --> |
@@ -1547,15 +1376,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1547 | int VLS_DOUBLE_QUOTE = 39; | 1376 | int VLS_DOUBLE_QUOTE = 39; |
1548 | 1377 | ||
1549 | /** | 1378 | /** |
1550 | * The feature id for the '<em><b>Type</b></em>' containment reference. | ||
1551 | * <!-- begin-user-doc --> | ||
1552 | * <!-- end-user-doc --> | ||
1553 | * @generated | ||
1554 | * @ordered | ||
1555 | */ | ||
1556 | int VLS_DOUBLE_QUOTE__TYPE = VLS_DEFINED_TERM__TYPE; | ||
1557 | |||
1558 | /** | ||
1559 | * The feature id for the '<em><b>Value</b></em>' attribute. | 1379 | * The feature id for the '<em><b>Value</b></em>' attribute. |
1560 | * <!-- begin-user-doc --> | 1380 | * <!-- begin-user-doc --> |
1561 | * <!-- end-user-doc --> | 1381 | * <!-- end-user-doc --> |
@@ -1831,6 +1651,17 @@ public interface VampireLanguagePackage extends EPackage | |||
1831 | EClass getVLSDeclaration(); | 1651 | EClass getVLSDeclaration(); |
1832 | 1652 | ||
1833 | /** | 1653 | /** |
1654 | * Returns the meta object for the containment reference '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration#getType <em>Type</em>}'. | ||
1655 | * <!-- begin-user-doc --> | ||
1656 | * <!-- end-user-doc --> | ||
1657 | * @return the meta object for the containment reference '<em>Type</em>'. | ||
1658 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration#getType() | ||
1659 | * @see #getVLSDeclaration() | ||
1660 | * @generated | ||
1661 | */ | ||
1662 | EReference getVLSDeclaration_Type(); | ||
1663 | |||
1664 | /** | ||
1834 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration <em>VLS Other Declaration</em>}'. | 1665 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration <em>VLS Other Declaration</em>}'. |
1835 | * <!-- begin-user-doc --> | 1666 | * <!-- begin-user-doc --> |
1836 | * <!-- end-user-doc --> | 1667 | * <!-- end-user-doc --> |
@@ -1841,6 +1672,17 @@ public interface VampireLanguagePackage extends EPackage | |||
1841 | EClass getVLSOtherDeclaration(); | 1672 | EClass getVLSOtherDeclaration(); |
1842 | 1673 | ||
1843 | /** | 1674 | /** |
1675 | * Returns the meta object for the containment reference '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration#getName <em>Name</em>}'. | ||
1676 | * <!-- begin-user-doc --> | ||
1677 | * <!-- end-user-doc --> | ||
1678 | * @return the meta object for the containment reference '<em>Name</em>'. | ||
1679 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration#getName() | ||
1680 | * @see #getVLSOtherDeclaration() | ||
1681 | * @generated | ||
1682 | */ | ||
1683 | EReference getVLSOtherDeclaration_Name(); | ||
1684 | |||
1685 | /** | ||
1844 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration <em>VLS Variable Declaration</em>}'. | 1686 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration <em>VLS Variable Declaration</em>}'. |
1845 | * <!-- begin-user-doc --> | 1687 | * <!-- begin-user-doc --> |
1846 | * <!-- end-user-doc --> | 1688 | * <!-- end-user-doc --> |
@@ -1851,6 +1693,17 @@ public interface VampireLanguagePackage extends EPackage | |||
1851 | EClass getVLSVariableDeclaration(); | 1693 | EClass getVLSVariableDeclaration(); |
1852 | 1694 | ||
1853 | /** | 1695 | /** |
1696 | * Returns the meta object for the containment reference '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration#getName <em>Name</em>}'. | ||
1697 | * <!-- begin-user-doc --> | ||
1698 | * <!-- end-user-doc --> | ||
1699 | * @return the meta object for the containment reference '<em>Name</em>'. | ||
1700 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration#getName() | ||
1701 | * @see #getVLSVariableDeclaration() | ||
1702 | * @generated | ||
1703 | */ | ||
1704 | EReference getVLSVariableDeclaration_Name(); | ||
1705 | |||
1706 | /** | ||
1854 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef <em>VLS Type Def</em>}'. | 1707 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef <em>VLS Type Def</em>}'. |
1855 | * <!-- begin-user-doc --> | 1708 | * <!-- begin-user-doc --> |
1856 | * <!-- end-user-doc --> | 1709 | * <!-- end-user-doc --> |
@@ -1915,17 +1768,6 @@ public interface VampireLanguagePackage extends EPackage | |||
1915 | EClass getVLSTerm(); | 1768 | EClass getVLSTerm(); |
1916 | 1769 | ||
1917 | /** | 1770 | /** |
1918 | * Returns the meta object for the containment reference '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm#getType <em>Type</em>}'. | ||
1919 | * <!-- begin-user-doc --> | ||
1920 | * <!-- end-user-doc --> | ||
1921 | * @return the meta object for the containment reference '<em>Type</em>'. | ||
1922 | * @see ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm#getType() | ||
1923 | * @see #getVLSTerm() | ||
1924 | * @generated | ||
1925 | */ | ||
1926 | EReference getVLSTerm_Type(); | ||
1927 | |||
1928 | /** | ||
1929 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable <em>VLS Variable</em>}'. | 1771 | * Returns the meta object for class '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable <em>VLS Variable</em>}'. |
1930 | * <!-- begin-user-doc --> | 1772 | * <!-- begin-user-doc --> |
1931 | * <!-- end-user-doc --> | 1773 | * <!-- end-user-doc --> |
@@ -2844,6 +2686,14 @@ public interface VampireLanguagePackage extends EPackage | |||
2844 | EClass VLS_DECLARATION = eINSTANCE.getVLSDeclaration(); | 2686 | EClass VLS_DECLARATION = eINSTANCE.getVLSDeclaration(); |
2845 | 2687 | ||
2846 | /** | 2688 | /** |
2689 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | ||
2690 | * <!-- begin-user-doc --> | ||
2691 | * <!-- end-user-doc --> | ||
2692 | * @generated | ||
2693 | */ | ||
2694 | EReference VLS_DECLARATION__TYPE = eINSTANCE.getVLSDeclaration_Type(); | ||
2695 | |||
2696 | /** | ||
2847 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOtherDeclarationImpl <em>VLS Other Declaration</em>}' class. | 2697 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOtherDeclarationImpl <em>VLS Other Declaration</em>}' class. |
2848 | * <!-- begin-user-doc --> | 2698 | * <!-- begin-user-doc --> |
2849 | * <!-- end-user-doc --> | 2699 | * <!-- end-user-doc --> |
@@ -2854,6 +2704,14 @@ public interface VampireLanguagePackage extends EPackage | |||
2854 | EClass VLS_OTHER_DECLARATION = eINSTANCE.getVLSOtherDeclaration(); | 2704 | EClass VLS_OTHER_DECLARATION = eINSTANCE.getVLSOtherDeclaration(); |
2855 | 2705 | ||
2856 | /** | 2706 | /** |
2707 | * The meta object literal for the '<em><b>Name</b></em>' containment reference feature. | ||
2708 | * <!-- begin-user-doc --> | ||
2709 | * <!-- end-user-doc --> | ||
2710 | * @generated | ||
2711 | */ | ||
2712 | EReference VLS_OTHER_DECLARATION__NAME = eINSTANCE.getVLSOtherDeclaration_Name(); | ||
2713 | |||
2714 | /** | ||
2857 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableDeclarationImpl <em>VLS Variable Declaration</em>}' class. | 2715 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableDeclarationImpl <em>VLS Variable Declaration</em>}' class. |
2858 | * <!-- begin-user-doc --> | 2716 | * <!-- begin-user-doc --> |
2859 | * <!-- end-user-doc --> | 2717 | * <!-- end-user-doc --> |
@@ -2864,6 +2722,14 @@ public interface VampireLanguagePackage extends EPackage | |||
2864 | EClass VLS_VARIABLE_DECLARATION = eINSTANCE.getVLSVariableDeclaration(); | 2722 | EClass VLS_VARIABLE_DECLARATION = eINSTANCE.getVLSVariableDeclaration(); |
2865 | 2723 | ||
2866 | /** | 2724 | /** |
2725 | * The meta object literal for the '<em><b>Name</b></em>' containment reference feature. | ||
2726 | * <!-- begin-user-doc --> | ||
2727 | * <!-- end-user-doc --> | ||
2728 | * @generated | ||
2729 | */ | ||
2730 | EReference VLS_VARIABLE_DECLARATION__NAME = eINSTANCE.getVLSVariableDeclaration_Name(); | ||
2731 | |||
2732 | /** | ||
2867 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSTypeDefImpl <em>VLS Type Def</em>}' class. | 2733 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSTypeDefImpl <em>VLS Type Def</em>}' class. |
2868 | * <!-- begin-user-doc --> | 2734 | * <!-- begin-user-doc --> |
2869 | * <!-- end-user-doc --> | 2735 | * <!-- end-user-doc --> |
@@ -2916,14 +2782,6 @@ public interface VampireLanguagePackage extends EPackage | |||
2916 | EClass VLS_TERM = eINSTANCE.getVLSTerm(); | 2782 | EClass VLS_TERM = eINSTANCE.getVLSTerm(); |
2917 | 2783 | ||
2918 | /** | 2784 | /** |
2919 | * The meta object literal for the '<em><b>Type</b></em>' containment reference feature. | ||
2920 | * <!-- begin-user-doc --> | ||
2921 | * <!-- end-user-doc --> | ||
2922 | * @generated | ||
2923 | */ | ||
2924 | EReference VLS_TERM__TYPE = eINSTANCE.getVLSTerm_Type(); | ||
2925 | |||
2926 | /** | ||
2927 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl <em>VLS Variable</em>}' class. | 2785 | * The meta object literal for the '{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl <em>VLS Variable</em>}' class. |
2928 | * <!-- begin-user-doc --> | 2786 | * <!-- begin-user-doc --> |
2929 | * <!-- end-user-doc --> | 2787 | * <!-- end-user-doc --> |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSDeclarationImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSDeclarationImpl.java index bb913d80..894c76de 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSDeclarationImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSDeclarationImpl.java | |||
@@ -4,20 +4,43 @@ | |||
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSDeclaration; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef; | ||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
8 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
9 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | 17 | ||
11 | /** | 18 | /** |
12 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
13 | * An implementation of the model object '<em><b>VLS Declaration</b></em>'. | 20 | * An implementation of the model object '<em><b>VLS Declaration</b></em>'. |
14 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSDeclarationImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
15 | * | 28 | * |
16 | * @generated | 29 | * @generated |
17 | */ | 30 | */ |
18 | public class VLSDeclarationImpl extends VLSTffTermImpl implements VLSDeclaration | 31 | public class VLSDeclarationImpl extends VLSTffTermImpl implements VLSDeclaration |
19 | { | 32 | { |
20 | /** | 33 | /** |
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected VLSTypeDef type; | ||
42 | |||
43 | /** | ||
21 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
22 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
23 | * @generated | 46 | * @generated |
@@ -38,4 +61,134 @@ public class VLSDeclarationImpl extends VLSTffTermImpl implements VLSDeclaration | |||
38 | return VampireLanguagePackage.Literals.VLS_DECLARATION; | 61 | return VampireLanguagePackage.Literals.VLS_DECLARATION; |
39 | } | 62 | } |
40 | 63 | ||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public VLSTypeDef getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(VLSTypeDef newType, NotificationChain msgs) | ||
80 | { | ||
81 | VLSTypeDef oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_DECLARATION__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(VLSTypeDef newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_DECLARATION__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_DECLARATION__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_DECLARATION__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case VampireLanguagePackage.VLS_DECLARATION__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case VampireLanguagePackage.VLS_DECLARATION__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case VampireLanguagePackage.VLS_DECLARATION__TYPE: | ||
155 | setType((VLSTypeDef)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case VampireLanguagePackage.VLS_DECLARATION__TYPE: | ||
172 | setType((VLSTypeDef)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case VampireLanguagePackage.VLS_DECLARATION__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
41 | } //VLSDeclarationImpl | 194 | } //VLSDeclarationImpl |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSExistentialQuantifierImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSExistentialQuantifierImpl.java index 115c7a23..6d71ec60 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSExistentialQuantifierImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSExistentialQuantifierImpl.java | |||
@@ -5,7 +5,7 @@ package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | |||
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSExistentialQuantifier; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSExistentialQuantifier; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; |
9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
10 | 10 | ||
11 | import java.util.Collection; | 11 | import java.util.Collection; |
@@ -47,7 +47,7 @@ public class VLSExistentialQuantifierImpl extends VLSTermImpl implements VLSExis | |||
47 | * @generated | 47 | * @generated |
48 | * @ordered | 48 | * @ordered |
49 | */ | 49 | */ |
50 | protected EList<VLSVariableDeclaration> variables; | 50 | protected EList<VLSTffTerm> variables; |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | 53 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. |
@@ -85,11 +85,11 @@ public class VLSExistentialQuantifierImpl extends VLSTermImpl implements VLSExis | |||
85 | * <!-- end-user-doc --> | 85 | * <!-- end-user-doc --> |
86 | * @generated | 86 | * @generated |
87 | */ | 87 | */ |
88 | public EList<VLSVariableDeclaration> getVariables() | 88 | public EList<VLSTffTerm> getVariables() |
89 | { | 89 | { |
90 | if (variables == null) | 90 | if (variables == null) |
91 | { | 91 | { |
92 | variables = new EObjectContainmentEList<VLSVariableDeclaration>(VLSVariableDeclaration.class, this, VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__VARIABLES); | 92 | variables = new EObjectContainmentEList<VLSTffTerm>(VLSTffTerm.class, this, VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__VARIABLES); |
93 | } | 93 | } |
94 | return variables; | 94 | return variables; |
95 | } | 95 | } |
@@ -191,7 +191,7 @@ public class VLSExistentialQuantifierImpl extends VLSTermImpl implements VLSExis | |||
191 | { | 191 | { |
192 | case VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__VARIABLES: | 192 | case VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__VARIABLES: |
193 | getVariables().clear(); | 193 | getVariables().clear(); |
194 | getVariables().addAll((Collection<? extends VLSVariableDeclaration>)newValue); | 194 | getVariables().addAll((Collection<? extends VLSTffTerm>)newValue); |
195 | return; | 195 | return; |
196 | case VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__OPERAND: | 196 | case VampireLanguagePackage.VLS_EXISTENTIAL_QUANTIFIER__OPERAND: |
197 | setOperand((VLSTerm)newValue); | 197 | setOperand((VLSTerm)newValue); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSOtherDeclarationImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSOtherDeclarationImpl.java index c5abc76a..eb7afd3d 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSOtherDeclarationImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSOtherDeclarationImpl.java | |||
@@ -4,20 +4,43 @@ | |||
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | ||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
8 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
9 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | 17 | ||
11 | /** | 18 | /** |
12 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
13 | * An implementation of the model object '<em><b>VLS Other Declaration</b></em>'. | 20 | * An implementation of the model object '<em><b>VLS Other Declaration</b></em>'. |
14 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOtherDeclarationImpl#getName <em>Name</em>}</li> | ||
27 | * </ul> | ||
15 | * | 28 | * |
16 | * @generated | 29 | * @generated |
17 | */ | 30 | */ |
18 | public class VLSOtherDeclarationImpl extends VLSDeclarationImpl implements VLSOtherDeclaration | 31 | public class VLSOtherDeclarationImpl extends VLSDeclarationImpl implements VLSOtherDeclaration |
19 | { | 32 | { |
20 | /** | 33 | /** |
34 | * The cached value of the '{@link #getName() <em>Name</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getName() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected VLSTerm name; | ||
42 | |||
43 | /** | ||
21 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
22 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
23 | * @generated | 46 | * @generated |
@@ -38,4 +61,134 @@ public class VLSOtherDeclarationImpl extends VLSDeclarationImpl implements VLSOt | |||
38 | return VampireLanguagePackage.Literals.VLS_OTHER_DECLARATION; | 61 | return VampireLanguagePackage.Literals.VLS_OTHER_DECLARATION; |
39 | } | 62 | } |
40 | 63 | ||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public VLSTerm getName() | ||
70 | { | ||
71 | return name; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetName(VLSTerm newName, NotificationChain msgs) | ||
80 | { | ||
81 | VLSTerm oldName = name; | ||
82 | name = newName; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME, oldName, newName); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setName(VLSTerm newName) | ||
97 | { | ||
98 | if (newName != name) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (name != null) | ||
102 | msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME, null, msgs); | ||
103 | if (newName != null) | ||
104 | msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME, null, msgs); | ||
105 | msgs = basicSetName(newName, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME, newName, newName)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME: | ||
123 | return basicSetName(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME: | ||
139 | return getName(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME: | ||
155 | setName((VLSTerm)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME: | ||
172 | setName((VLSTerm)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case VampireLanguagePackage.VLS_OTHER_DECLARATION__NAME: | ||
189 | return name != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
41 | } //VLSOtherDeclarationImpl | 194 | } //VLSOtherDeclarationImpl |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSTermImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSTermImpl.java index 0ea49b4c..c56d7ecd 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSTermImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSTermImpl.java | |||
@@ -4,43 +4,20 @@ | |||
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef; | ||
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
9 | 8 | ||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
13 | import org.eclipse.emf.ecore.EClass; | 9 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
17 | 10 | ||
18 | /** | 11 | /** |
19 | * <!-- begin-user-doc --> | 12 | * <!-- begin-user-doc --> |
20 | * An implementation of the model object '<em><b>VLS Term</b></em>'. | 13 | * An implementation of the model object '<em><b>VLS Term</b></em>'. |
21 | * <!-- end-user-doc --> | 14 | * <!-- end-user-doc --> |
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSTermImpl#getType <em>Type</em>}</li> | ||
27 | * </ul> | ||
28 | * | 15 | * |
29 | * @generated | 16 | * @generated |
30 | */ | 17 | */ |
31 | public class VLSTermImpl extends VLSTffTermImpl implements VLSTerm | 18 | public class VLSTermImpl extends VLSTffTermImpl implements VLSTerm |
32 | { | 19 | { |
33 | /** | 20 | /** |
34 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getType() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected VLSTypeDef type; | ||
42 | |||
43 | /** | ||
44 | * <!-- begin-user-doc --> | 21 | * <!-- begin-user-doc --> |
45 | * <!-- end-user-doc --> | 22 | * <!-- end-user-doc --> |
46 | * @generated | 23 | * @generated |
@@ -61,134 +38,4 @@ public class VLSTermImpl extends VLSTffTermImpl implements VLSTerm | |||
61 | return VampireLanguagePackage.Literals.VLS_TERM; | 38 | return VampireLanguagePackage.Literals.VLS_TERM; |
62 | } | 39 | } |
63 | 40 | ||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public VLSTypeDef getType() | ||
70 | { | ||
71 | return type; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetType(VLSTypeDef newType, NotificationChain msgs) | ||
80 | { | ||
81 | VLSTypeDef oldType = type; | ||
82 | type = newType; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_TERM__TYPE, oldType, newType); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setType(VLSTypeDef newType) | ||
97 | { | ||
98 | if (newType != type) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (type != null) | ||
102 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_TERM__TYPE, null, msgs); | ||
103 | if (newType != null) | ||
104 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_TERM__TYPE, null, msgs); | ||
105 | msgs = basicSetType(newType, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_TERM__TYPE, newType, newType)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case VampireLanguagePackage.VLS_TERM__TYPE: | ||
123 | return basicSetType(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case VampireLanguagePackage.VLS_TERM__TYPE: | ||
139 | return getType(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case VampireLanguagePackage.VLS_TERM__TYPE: | ||
155 | setType((VLSTypeDef)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case VampireLanguagePackage.VLS_TERM__TYPE: | ||
172 | setType((VLSTypeDef)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case VampireLanguagePackage.VLS_TERM__TYPE: | ||
189 | return type != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
194 | } //VLSTermImpl | 41 | } //VLSTermImpl |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSUniversalQuantifierImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSUniversalQuantifierImpl.java index b9bfbe07..e3482fb8 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSUniversalQuantifierImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSUniversalQuantifierImpl.java | |||
@@ -4,8 +4,8 @@ | |||
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
10 | 10 | ||
11 | import java.util.Collection; | 11 | import java.util.Collection; |
@@ -47,7 +47,7 @@ public class VLSUniversalQuantifierImpl extends VLSTermImpl implements VLSUniver | |||
47 | * @generated | 47 | * @generated |
48 | * @ordered | 48 | * @ordered |
49 | */ | 49 | */ |
50 | protected EList<VLSVariableDeclaration> variables; | 50 | protected EList<VLSTffTerm> variables; |
51 | 51 | ||
52 | /** | 52 | /** |
53 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. | 53 | * The cached value of the '{@link #getOperand() <em>Operand</em>}' containment reference. |
@@ -85,11 +85,11 @@ public class VLSUniversalQuantifierImpl extends VLSTermImpl implements VLSUniver | |||
85 | * <!-- end-user-doc --> | 85 | * <!-- end-user-doc --> |
86 | * @generated | 86 | * @generated |
87 | */ | 87 | */ |
88 | public EList<VLSVariableDeclaration> getVariables() | 88 | public EList<VLSTffTerm> getVariables() |
89 | { | 89 | { |
90 | if (variables == null) | 90 | if (variables == null) |
91 | { | 91 | { |
92 | variables = new EObjectContainmentEList<VLSVariableDeclaration>(VLSVariableDeclaration.class, this, VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__VARIABLES); | 92 | variables = new EObjectContainmentEList<VLSTffTerm>(VLSTffTerm.class, this, VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__VARIABLES); |
93 | } | 93 | } |
94 | return variables; | 94 | return variables; |
95 | } | 95 | } |
@@ -191,7 +191,7 @@ public class VLSUniversalQuantifierImpl extends VLSTermImpl implements VLSUniver | |||
191 | { | 191 | { |
192 | case VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__VARIABLES: | 192 | case VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__VARIABLES: |
193 | getVariables().clear(); | 193 | getVariables().clear(); |
194 | getVariables().addAll((Collection<? extends VLSVariableDeclaration>)newValue); | 194 | getVariables().addAll((Collection<? extends VLSTffTerm>)newValue); |
195 | return; | 195 | return; |
196 | case VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__OPERAND: | 196 | case VampireLanguagePackage.VLS_UNIVERSAL_QUANTIFIER__OPERAND: |
197 | setOperand((VLSTerm)newValue); | 197 | setOperand((VLSTerm)newValue); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableDeclarationImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableDeclarationImpl.java index 0e6c0ef9..5ebb84c7 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableDeclarationImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableDeclarationImpl.java | |||
@@ -3,21 +3,44 @@ | |||
3 | */ | 3 | */ |
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | 7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; |
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
8 | 9 | ||
10 | import org.eclipse.emf.common.notify.Notification; | ||
11 | import org.eclipse.emf.common.notify.NotificationChain; | ||
12 | |||
9 | import org.eclipse.emf.ecore.EClass; | 13 | import org.eclipse.emf.ecore.EClass; |
14 | import org.eclipse.emf.ecore.InternalEObject; | ||
15 | |||
16 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | ||
10 | 17 | ||
11 | /** | 18 | /** |
12 | * <!-- begin-user-doc --> | 19 | * <!-- begin-user-doc --> |
13 | * An implementation of the model object '<em><b>VLS Variable Declaration</b></em>'. | 20 | * An implementation of the model object '<em><b>VLS Variable Declaration</b></em>'. |
14 | * <!-- end-user-doc --> | 21 | * <!-- end-user-doc --> |
22 | * <p> | ||
23 | * The following features are implemented: | ||
24 | * </p> | ||
25 | * <ul> | ||
26 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableDeclarationImpl#getName <em>Name</em>}</li> | ||
27 | * </ul> | ||
15 | * | 28 | * |
16 | * @generated | 29 | * @generated |
17 | */ | 30 | */ |
18 | public class VLSVariableDeclarationImpl extends VLSDeclarationImpl implements VLSVariableDeclaration | 31 | public class VLSVariableDeclarationImpl extends VLSDeclarationImpl implements VLSVariableDeclaration |
19 | { | 32 | { |
20 | /** | 33 | /** |
34 | * The cached value of the '{@link #getName() <em>Name</em>}' containment reference. | ||
35 | * <!-- begin-user-doc --> | ||
36 | * <!-- end-user-doc --> | ||
37 | * @see #getName() | ||
38 | * @generated | ||
39 | * @ordered | ||
40 | */ | ||
41 | protected VLSVariable name; | ||
42 | |||
43 | /** | ||
21 | * <!-- begin-user-doc --> | 44 | * <!-- begin-user-doc --> |
22 | * <!-- end-user-doc --> | 45 | * <!-- end-user-doc --> |
23 | * @generated | 46 | * @generated |
@@ -38,4 +61,134 @@ public class VLSVariableDeclarationImpl extends VLSDeclarationImpl implements VL | |||
38 | return VampireLanguagePackage.Literals.VLS_VARIABLE_DECLARATION; | 61 | return VampireLanguagePackage.Literals.VLS_VARIABLE_DECLARATION; |
39 | } | 62 | } |
40 | 63 | ||
64 | /** | ||
65 | * <!-- begin-user-doc --> | ||
66 | * <!-- end-user-doc --> | ||
67 | * @generated | ||
68 | */ | ||
69 | public VLSVariable getName() | ||
70 | { | ||
71 | return name; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * <!-- begin-user-doc --> | ||
76 | * <!-- end-user-doc --> | ||
77 | * @generated | ||
78 | */ | ||
79 | public NotificationChain basicSetName(VLSVariable newName, NotificationChain msgs) | ||
80 | { | ||
81 | VLSVariable oldName = name; | ||
82 | name = newName; | ||
83 | if (eNotificationRequired()) | ||
84 | { | ||
85 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME, oldName, newName); | ||
86 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
87 | } | ||
88 | return msgs; | ||
89 | } | ||
90 | |||
91 | /** | ||
92 | * <!-- begin-user-doc --> | ||
93 | * <!-- end-user-doc --> | ||
94 | * @generated | ||
95 | */ | ||
96 | public void setName(VLSVariable newName) | ||
97 | { | ||
98 | if (newName != name) | ||
99 | { | ||
100 | NotificationChain msgs = null; | ||
101 | if (name != null) | ||
102 | msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME, null, msgs); | ||
103 | if (newName != null) | ||
104 | msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME, null, msgs); | ||
105 | msgs = basicSetName(newName, msgs); | ||
106 | if (msgs != null) msgs.dispatch(); | ||
107 | } | ||
108 | else if (eNotificationRequired()) | ||
109 | eNotify(new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME, newName, newName)); | ||
110 | } | ||
111 | |||
112 | /** | ||
113 | * <!-- begin-user-doc --> | ||
114 | * <!-- end-user-doc --> | ||
115 | * @generated | ||
116 | */ | ||
117 | @Override | ||
118 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
119 | { | ||
120 | switch (featureID) | ||
121 | { | ||
122 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME: | ||
123 | return basicSetName(null, msgs); | ||
124 | } | ||
125 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
126 | } | ||
127 | |||
128 | /** | ||
129 | * <!-- begin-user-doc --> | ||
130 | * <!-- end-user-doc --> | ||
131 | * @generated | ||
132 | */ | ||
133 | @Override | ||
134 | public Object eGet(int featureID, boolean resolve, boolean coreType) | ||
135 | { | ||
136 | switch (featureID) | ||
137 | { | ||
138 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME: | ||
139 | return getName(); | ||
140 | } | ||
141 | return super.eGet(featureID, resolve, coreType); | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * <!-- begin-user-doc --> | ||
146 | * <!-- end-user-doc --> | ||
147 | * @generated | ||
148 | */ | ||
149 | @Override | ||
150 | public void eSet(int featureID, Object newValue) | ||
151 | { | ||
152 | switch (featureID) | ||
153 | { | ||
154 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME: | ||
155 | setName((VLSVariable)newValue); | ||
156 | return; | ||
157 | } | ||
158 | super.eSet(featureID, newValue); | ||
159 | } | ||
160 | |||
161 | /** | ||
162 | * <!-- begin-user-doc --> | ||
163 | * <!-- end-user-doc --> | ||
164 | * @generated | ||
165 | */ | ||
166 | @Override | ||
167 | public void eUnset(int featureID) | ||
168 | { | ||
169 | switch (featureID) | ||
170 | { | ||
171 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME: | ||
172 | setName((VLSVariable)null); | ||
173 | return; | ||
174 | } | ||
175 | super.eUnset(featureID); | ||
176 | } | ||
177 | |||
178 | /** | ||
179 | * <!-- begin-user-doc --> | ||
180 | * <!-- end-user-doc --> | ||
181 | * @generated | ||
182 | */ | ||
183 | @Override | ||
184 | public boolean eIsSet(int featureID) | ||
185 | { | ||
186 | switch (featureID) | ||
187 | { | ||
188 | case VampireLanguagePackage.VLS_VARIABLE_DECLARATION__NAME: | ||
189 | return name != null; | ||
190 | } | ||
191 | return super.eIsSet(featureID); | ||
192 | } | ||
193 | |||
41 | } //VLSVariableDeclarationImpl | 194 | } //VLSVariableDeclarationImpl |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableImpl.java index 1d38ddfb..9ebed3eb 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VLSVariableImpl.java | |||
@@ -3,17 +3,12 @@ | |||
3 | */ | 3 | */ |
4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; | 4 | package ca.mcgill.ecse.dslreasoner.vampireLanguage.impl; |
5 | 5 | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOtherDeclaration; | ||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | ||
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTypeDef; | ||
9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
10 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; | 7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguagePackage; |
11 | 8 | ||
12 | import org.eclipse.emf.common.notify.Notification; | 9 | import org.eclipse.emf.common.notify.Notification; |
13 | import org.eclipse.emf.common.notify.NotificationChain; | ||
14 | 10 | ||
15 | import org.eclipse.emf.ecore.EClass; | 11 | import org.eclipse.emf.ecore.EClass; |
16 | import org.eclipse.emf.ecore.InternalEObject; | ||
17 | 12 | ||
18 | import org.eclipse.emf.ecore.impl.ENotificationImpl; | 13 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
19 | 14 | ||
@@ -25,25 +20,14 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; | |||
25 | * The following features are implemented: | 20 | * The following features are implemented: |
26 | * </p> | 21 | * </p> |
27 | * <ul> | 22 | * <ul> |
28 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl#getType <em>Type</em>}</li> | ||
29 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl#getName <em>Name</em>}</li> | 23 | * <li>{@link ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSVariableImpl#getName <em>Name</em>}</li> |
30 | * </ul> | 24 | * </ul> |
31 | * | 25 | * |
32 | * @generated | 26 | * @generated |
33 | */ | 27 | */ |
34 | public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVariable | 28 | public class VLSVariableImpl extends VLSTermImpl implements VLSVariable |
35 | { | 29 | { |
36 | /** | 30 | /** |
37 | * The cached value of the '{@link #getType() <em>Type</em>}' containment reference. | ||
38 | * <!-- begin-user-doc --> | ||
39 | * <!-- end-user-doc --> | ||
40 | * @see #getType() | ||
41 | * @generated | ||
42 | * @ordered | ||
43 | */ | ||
44 | protected VLSTypeDef type; | ||
45 | |||
46 | /** | ||
47 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. | 31 | * The default value of the '{@link #getName() <em>Name</em>}' attribute. |
48 | * <!-- begin-user-doc --> | 32 | * <!-- begin-user-doc --> |
49 | * <!-- end-user-doc --> | 33 | * <!-- end-user-doc --> |
@@ -89,54 +73,6 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
89 | * <!-- end-user-doc --> | 73 | * <!-- end-user-doc --> |
90 | * @generated | 74 | * @generated |
91 | */ | 75 | */ |
92 | public VLSTypeDef getType() | ||
93 | { | ||
94 | return type; | ||
95 | } | ||
96 | |||
97 | /** | ||
98 | * <!-- begin-user-doc --> | ||
99 | * <!-- end-user-doc --> | ||
100 | * @generated | ||
101 | */ | ||
102 | public NotificationChain basicSetType(VLSTypeDef newType, NotificationChain msgs) | ||
103 | { | ||
104 | VLSTypeDef oldType = type; | ||
105 | type = newType; | ||
106 | if (eNotificationRequired()) | ||
107 | { | ||
108 | ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_VARIABLE__TYPE, oldType, newType); | ||
109 | if (msgs == null) msgs = notification; else msgs.add(notification); | ||
110 | } | ||
111 | return msgs; | ||
112 | } | ||
113 | |||
114 | /** | ||
115 | * <!-- begin-user-doc --> | ||
116 | * <!-- end-user-doc --> | ||
117 | * @generated | ||
118 | */ | ||
119 | public void setType(VLSTypeDef newType) | ||
120 | { | ||
121 | if (newType != type) | ||
122 | { | ||
123 | NotificationChain msgs = null; | ||
124 | if (type != null) | ||
125 | msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_VARIABLE__TYPE, null, msgs); | ||
126 | if (newType != null) | ||
127 | msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VampireLanguagePackage.VLS_VARIABLE__TYPE, null, msgs); | ||
128 | msgs = basicSetType(newType, msgs); | ||
129 | if (msgs != null) msgs.dispatch(); | ||
130 | } | ||
131 | else if (eNotificationRequired()) | ||
132 | eNotify(new ENotificationImpl(this, Notification.SET, VampireLanguagePackage.VLS_VARIABLE__TYPE, newType, newType)); | ||
133 | } | ||
134 | |||
135 | /** | ||
136 | * <!-- begin-user-doc --> | ||
137 | * <!-- end-user-doc --> | ||
138 | * @generated | ||
139 | */ | ||
140 | public String getName() | 76 | public String getName() |
141 | { | 77 | { |
142 | return name; | 78 | return name; |
@@ -161,28 +97,10 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
161 | * @generated | 97 | * @generated |
162 | */ | 98 | */ |
163 | @Override | 99 | @Override |
164 | public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) | ||
165 | { | ||
166 | switch (featureID) | ||
167 | { | ||
168 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: | ||
169 | return basicSetType(null, msgs); | ||
170 | } | ||
171 | return super.eInverseRemove(otherEnd, featureID, msgs); | ||
172 | } | ||
173 | |||
174 | /** | ||
175 | * <!-- begin-user-doc --> | ||
176 | * <!-- end-user-doc --> | ||
177 | * @generated | ||
178 | */ | ||
179 | @Override | ||
180 | public Object eGet(int featureID, boolean resolve, boolean coreType) | 100 | public Object eGet(int featureID, boolean resolve, boolean coreType) |
181 | { | 101 | { |
182 | switch (featureID) | 102 | switch (featureID) |
183 | { | 103 | { |
184 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: | ||
185 | return getType(); | ||
186 | case VampireLanguagePackage.VLS_VARIABLE__NAME: | 104 | case VampireLanguagePackage.VLS_VARIABLE__NAME: |
187 | return getName(); | 105 | return getName(); |
188 | } | 106 | } |
@@ -199,9 +117,6 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
199 | { | 117 | { |
200 | switch (featureID) | 118 | switch (featureID) |
201 | { | 119 | { |
202 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: | ||
203 | setType((VLSTypeDef)newValue); | ||
204 | return; | ||
205 | case VampireLanguagePackage.VLS_VARIABLE__NAME: | 120 | case VampireLanguagePackage.VLS_VARIABLE__NAME: |
206 | setName((String)newValue); | 121 | setName((String)newValue); |
207 | return; | 122 | return; |
@@ -219,9 +134,6 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
219 | { | 134 | { |
220 | switch (featureID) | 135 | switch (featureID) |
221 | { | 136 | { |
222 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: | ||
223 | setType((VLSTypeDef)null); | ||
224 | return; | ||
225 | case VampireLanguagePackage.VLS_VARIABLE__NAME: | 137 | case VampireLanguagePackage.VLS_VARIABLE__NAME: |
226 | setName(NAME_EDEFAULT); | 138 | setName(NAME_EDEFAULT); |
227 | return; | 139 | return; |
@@ -239,8 +151,6 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
239 | { | 151 | { |
240 | switch (featureID) | 152 | switch (featureID) |
241 | { | 153 | { |
242 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: | ||
243 | return type != null; | ||
244 | case VampireLanguagePackage.VLS_VARIABLE__NAME: | 154 | case VampireLanguagePackage.VLS_VARIABLE__NAME: |
245 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); | 155 | return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); |
246 | } | 156 | } |
@@ -253,58 +163,6 @@ public class VLSVariableImpl extends VLSVariableDeclarationImpl implements VLSVa | |||
253 | * @generated | 163 | * @generated |
254 | */ | 164 | */ |
255 | @Override | 165 | @Override |
256 | public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) | ||
257 | { | ||
258 | if (baseClass == VLSOtherDeclaration.class) | ||
259 | { | ||
260 | switch (derivedFeatureID) | ||
261 | { | ||
262 | default: return -1; | ||
263 | } | ||
264 | } | ||
265 | if (baseClass == VLSTerm.class) | ||
266 | { | ||
267 | switch (derivedFeatureID) | ||
268 | { | ||
269 | case VampireLanguagePackage.VLS_VARIABLE__TYPE: return VampireLanguagePackage.VLS_TERM__TYPE; | ||
270 | default: return -1; | ||
271 | } | ||
272 | } | ||
273 | return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); | ||
274 | } | ||
275 | |||
276 | /** | ||
277 | * <!-- begin-user-doc --> | ||
278 | * <!-- end-user-doc --> | ||
279 | * @generated | ||
280 | */ | ||
281 | @Override | ||
282 | public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) | ||
283 | { | ||
284 | if (baseClass == VLSOtherDeclaration.class) | ||
285 | { | ||
286 | switch (baseFeatureID) | ||
287 | { | ||
288 | default: return -1; | ||
289 | } | ||
290 | } | ||
291 | if (baseClass == VLSTerm.class) | ||
292 | { | ||
293 | switch (baseFeatureID) | ||
294 | { | ||
295 | case VampireLanguagePackage.VLS_TERM__TYPE: return VampireLanguagePackage.VLS_VARIABLE__TYPE; | ||
296 | default: return -1; | ||
297 | } | ||
298 | } | ||
299 | return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); | ||
300 | } | ||
301 | |||
302 | /** | ||
303 | * <!-- begin-user-doc --> | ||
304 | * <!-- end-user-doc --> | ||
305 | * @generated | ||
306 | */ | ||
307 | @Override | ||
308 | public String toString() | 166 | public String toString() |
309 | { | 167 | { |
310 | if (eIsProxy()) return super.toString(); | 168 | if (eIsProxy()) return super.toString(); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VampireLanguagePackageImpl.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VampireLanguagePackageImpl.java index 6b2b7085..676b2786 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VampireLanguagePackageImpl.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/impl/VampireLanguagePackageImpl.java | |||
@@ -649,6 +649,16 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
649 | * <!-- end-user-doc --> | 649 | * <!-- end-user-doc --> |
650 | * @generated | 650 | * @generated |
651 | */ | 651 | */ |
652 | public EReference getVLSDeclaration_Type() | ||
653 | { | ||
654 | return (EReference)vlsDeclarationEClass.getEStructuralFeatures().get(0); | ||
655 | } | ||
656 | |||
657 | /** | ||
658 | * <!-- begin-user-doc --> | ||
659 | * <!-- end-user-doc --> | ||
660 | * @generated | ||
661 | */ | ||
652 | public EClass getVLSOtherDeclaration() | 662 | public EClass getVLSOtherDeclaration() |
653 | { | 663 | { |
654 | return vlsOtherDeclarationEClass; | 664 | return vlsOtherDeclarationEClass; |
@@ -659,6 +669,16 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
659 | * <!-- end-user-doc --> | 669 | * <!-- end-user-doc --> |
660 | * @generated | 670 | * @generated |
661 | */ | 671 | */ |
672 | public EReference getVLSOtherDeclaration_Name() | ||
673 | { | ||
674 | return (EReference)vlsOtherDeclarationEClass.getEStructuralFeatures().get(0); | ||
675 | } | ||
676 | |||
677 | /** | ||
678 | * <!-- begin-user-doc --> | ||
679 | * <!-- end-user-doc --> | ||
680 | * @generated | ||
681 | */ | ||
662 | public EClass getVLSVariableDeclaration() | 682 | public EClass getVLSVariableDeclaration() |
663 | { | 683 | { |
664 | return vlsVariableDeclarationEClass; | 684 | return vlsVariableDeclarationEClass; |
@@ -669,6 +689,16 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
669 | * <!-- end-user-doc --> | 689 | * <!-- end-user-doc --> |
670 | * @generated | 690 | * @generated |
671 | */ | 691 | */ |
692 | public EReference getVLSVariableDeclaration_Name() | ||
693 | { | ||
694 | return (EReference)vlsVariableDeclarationEClass.getEStructuralFeatures().get(0); | ||
695 | } | ||
696 | |||
697 | /** | ||
698 | * <!-- begin-user-doc --> | ||
699 | * <!-- end-user-doc --> | ||
700 | * @generated | ||
701 | */ | ||
672 | public EClass getVLSTypeDef() | 702 | public EClass getVLSTypeDef() |
673 | { | 703 | { |
674 | return vlsTypeDefEClass; | 704 | return vlsTypeDefEClass; |
@@ -729,16 +759,6 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
729 | * <!-- end-user-doc --> | 759 | * <!-- end-user-doc --> |
730 | * @generated | 760 | * @generated |
731 | */ | 761 | */ |
732 | public EReference getVLSTerm_Type() | ||
733 | { | ||
734 | return (EReference)vlsTermEClass.getEStructuralFeatures().get(0); | ||
735 | } | ||
736 | |||
737 | /** | ||
738 | * <!-- begin-user-doc --> | ||
739 | * <!-- end-user-doc --> | ||
740 | * @generated | ||
741 | */ | ||
742 | public EClass getVLSVariable() | 762 | public EClass getVLSVariable() |
743 | { | 763 | { |
744 | return vlsVariableEClass; | 764 | return vlsVariableEClass; |
@@ -1445,10 +1465,13 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1445 | vlsTffTermEClass = createEClass(VLS_TFF_TERM); | 1465 | vlsTffTermEClass = createEClass(VLS_TFF_TERM); |
1446 | 1466 | ||
1447 | vlsDeclarationEClass = createEClass(VLS_DECLARATION); | 1467 | vlsDeclarationEClass = createEClass(VLS_DECLARATION); |
1468 | createEReference(vlsDeclarationEClass, VLS_DECLARATION__TYPE); | ||
1448 | 1469 | ||
1449 | vlsOtherDeclarationEClass = createEClass(VLS_OTHER_DECLARATION); | 1470 | vlsOtherDeclarationEClass = createEClass(VLS_OTHER_DECLARATION); |
1471 | createEReference(vlsOtherDeclarationEClass, VLS_OTHER_DECLARATION__NAME); | ||
1450 | 1472 | ||
1451 | vlsVariableDeclarationEClass = createEClass(VLS_VARIABLE_DECLARATION); | 1473 | vlsVariableDeclarationEClass = createEClass(VLS_VARIABLE_DECLARATION); |
1474 | createEReference(vlsVariableDeclarationEClass, VLS_VARIABLE_DECLARATION__NAME); | ||
1452 | 1475 | ||
1453 | vlsTypeDefEClass = createEClass(VLS_TYPE_DEF); | 1476 | vlsTypeDefEClass = createEClass(VLS_TYPE_DEF); |
1454 | createEReference(vlsTypeDefEClass, VLS_TYPE_DEF__TYPE_SIG); | 1477 | createEReference(vlsTypeDefEClass, VLS_TYPE_DEF__TYPE_SIG); |
@@ -1457,7 +1480,6 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1457 | createEReference(vlsTypeDefEClass, VLS_TYPE_DEF__NEXT_TYPE); | 1480 | createEReference(vlsTypeDefEClass, VLS_TYPE_DEF__NEXT_TYPE); |
1458 | 1481 | ||
1459 | vlsTermEClass = createEClass(VLS_TERM); | 1482 | vlsTermEClass = createEClass(VLS_TERM); |
1460 | createEReference(vlsTermEClass, VLS_TERM__TYPE); | ||
1461 | 1483 | ||
1462 | vlsVariableEClass = createEClass(VLS_VARIABLE); | 1484 | vlsVariableEClass = createEClass(VLS_VARIABLE); |
1463 | createEAttribute(vlsVariableEClass, VLS_VARIABLE__NAME); | 1485 | createEAttribute(vlsVariableEClass, VLS_VARIABLE__NAME); |
@@ -1586,8 +1608,6 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1586 | vlsOtherDeclarationEClass.getESuperTypes().add(this.getVLSDeclaration()); | 1608 | vlsOtherDeclarationEClass.getESuperTypes().add(this.getVLSDeclaration()); |
1587 | vlsVariableDeclarationEClass.getESuperTypes().add(this.getVLSDeclaration()); | 1609 | vlsVariableDeclarationEClass.getESuperTypes().add(this.getVLSDeclaration()); |
1588 | vlsTermEClass.getESuperTypes().add(this.getVLSTffTerm()); | 1610 | vlsTermEClass.getESuperTypes().add(this.getVLSTffTerm()); |
1589 | vlsTermEClass.getESuperTypes().add(this.getVLSOtherDeclaration()); | ||
1590 | vlsVariableEClass.getESuperTypes().add(this.getVLSVariableDeclaration()); | ||
1591 | vlsVariableEClass.getESuperTypes().add(this.getVLSTerm()); | 1611 | vlsVariableEClass.getESuperTypes().add(this.getVLSTerm()); |
1592 | vlsFunctionAsTermEClass.getESuperTypes().add(this.getVLSTerm()); | 1612 | vlsFunctionAsTermEClass.getESuperTypes().add(this.getVLSTerm()); |
1593 | vlsDefinedTermEClass.getESuperTypes().add(this.getVLSTerm()); | 1613 | vlsDefinedTermEClass.getESuperTypes().add(this.getVLSTerm()); |
@@ -1649,10 +1669,13 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1649 | initEClass(vlsTffTermEClass, VLSTffTerm.class, "VLSTffTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1669 | initEClass(vlsTffTermEClass, VLSTffTerm.class, "VLSTffTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1650 | 1670 | ||
1651 | initEClass(vlsDeclarationEClass, VLSDeclaration.class, "VLSDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1671 | initEClass(vlsDeclarationEClass, VLSDeclaration.class, "VLSDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1672 | initEReference(getVLSDeclaration_Type(), this.getVLSTypeDef(), null, "type", null, 0, 1, VLSDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1652 | 1673 | ||
1653 | initEClass(vlsOtherDeclarationEClass, VLSOtherDeclaration.class, "VLSOtherDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1674 | initEClass(vlsOtherDeclarationEClass, VLSOtherDeclaration.class, "VLSOtherDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1675 | initEReference(getVLSOtherDeclaration_Name(), this.getVLSTerm(), null, "name", null, 0, 1, VLSOtherDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1654 | 1676 | ||
1655 | initEClass(vlsVariableDeclarationEClass, VLSVariableDeclaration.class, "VLSVariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1677 | initEClass(vlsVariableDeclarationEClass, VLSVariableDeclaration.class, "VLSVariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1678 | initEReference(getVLSVariableDeclaration_Name(), this.getVLSVariable(), null, "name", null, 0, 1, VLSVariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1656 | 1679 | ||
1657 | initEClass(vlsTypeDefEClass, VLSTypeDef.class, "VLSTypeDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1680 | initEClass(vlsTypeDefEClass, VLSTypeDef.class, "VLSTypeDef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1658 | initEReference(getVLSTypeDef_TypeSig(), this.getVLSTypeDef(), null, "typeSig", null, 0, 1, VLSTypeDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1681 | initEReference(getVLSTypeDef_TypeSig(), this.getVLSTypeDef(), null, "typeSig", null, 0, 1, VLSTypeDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -1661,7 +1684,6 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1661 | initEReference(getVLSTypeDef_NextType(), this.getVLSTerm(), null, "nextType", null, 0, 1, VLSTypeDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1684 | initEReference(getVLSTypeDef_NextType(), this.getVLSTerm(), null, "nextType", null, 0, 1, VLSTypeDef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1662 | 1685 | ||
1663 | initEClass(vlsTermEClass, VLSTerm.class, "VLSTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1686 | initEClass(vlsTermEClass, VLSTerm.class, "VLSTerm", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1664 | initEReference(getVLSTerm_Type(), this.getVLSTypeDef(), null, "type", null, 0, 1, VLSTerm.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | ||
1665 | 1687 | ||
1666 | initEClass(vlsVariableEClass, VLSVariable.class, "VLSVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1688 | initEClass(vlsVariableEClass, VLSVariable.class, "VLSVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1667 | initEAttribute(getVLSVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, VLSVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1689 | initEAttribute(getVLSVariable_Name(), ecorePackage.getEString(), "name", null, 0, 1, VLSVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
@@ -1715,11 +1737,11 @@ public class VampireLanguagePackageImpl extends EPackageImpl implements VampireL | |||
1715 | initEReference(getVLSOr_Right(), this.getVLSTerm(), null, "right", null, 0, 1, VLSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1737 | initEReference(getVLSOr_Right(), this.getVLSTerm(), null, "right", null, 0, 1, VLSOr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1716 | 1738 | ||
1717 | initEClass(vlsUniversalQuantifierEClass, VLSUniversalQuantifier.class, "VLSUniversalQuantifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1739 | initEClass(vlsUniversalQuantifierEClass, VLSUniversalQuantifier.class, "VLSUniversalQuantifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1718 | initEReference(getVLSUniversalQuantifier_Variables(), this.getVLSVariableDeclaration(), null, "variables", null, 0, -1, VLSUniversalQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1740 | initEReference(getVLSUniversalQuantifier_Variables(), this.getVLSTffTerm(), null, "variables", null, 0, -1, VLSUniversalQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1719 | initEReference(getVLSUniversalQuantifier_Operand(), this.getVLSTerm(), null, "operand", null, 0, 1, VLSUniversalQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1741 | initEReference(getVLSUniversalQuantifier_Operand(), this.getVLSTerm(), null, "operand", null, 0, 1, VLSUniversalQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1720 | 1742 | ||
1721 | initEClass(vlsExistentialQuantifierEClass, VLSExistentialQuantifier.class, "VLSExistentialQuantifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1743 | initEClass(vlsExistentialQuantifierEClass, VLSExistentialQuantifier.class, "VLSExistentialQuantifier", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
1722 | initEReference(getVLSExistentialQuantifier_Variables(), this.getVLSVariableDeclaration(), null, "variables", null, 0, -1, VLSExistentialQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1744 | initEReference(getVLSExistentialQuantifier_Variables(), this.getVLSTffTerm(), null, "variables", null, 0, -1, VLSExistentialQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1723 | initEReference(getVLSExistentialQuantifier_Operand(), this.getVLSTerm(), null, "operand", null, 0, 1, VLSExistentialQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); | 1745 | initEReference(getVLSExistentialQuantifier_Operand(), this.getVLSTerm(), null, "operand", null, 0, 1, VLSExistentialQuantifier.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); |
1724 | 1746 | ||
1725 | initEClass(vlsUnaryNegationEClass, VLSUnaryNegation.class, "VLSUnaryNegation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); | 1747 | initEClass(vlsUnaryNegationEClass, VLSUnaryNegation.class, "VLSUnaryNegation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/util/VampireLanguageSwitch.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/util/VampireLanguageSwitch.java index e4aae7f8..193ac81b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/util/VampireLanguageSwitch.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src-gen/ca/mcgill/ecse/dslreasoner/vampireLanguage/util/VampireLanguageSwitch.java | |||
@@ -159,8 +159,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
159 | { | 159 | { |
160 | VLSTerm vlsTerm = (VLSTerm)theEObject; | 160 | VLSTerm vlsTerm = (VLSTerm)theEObject; |
161 | T result = caseVLSTerm(vlsTerm); | 161 | T result = caseVLSTerm(vlsTerm); |
162 | if (result == null) result = caseVLSOtherDeclaration(vlsTerm); | ||
163 | if (result == null) result = caseVLSDeclaration(vlsTerm); | ||
164 | if (result == null) result = caseVLSTffTerm(vlsTerm); | 162 | if (result == null) result = caseVLSTffTerm(vlsTerm); |
165 | if (result == null) result = defaultCase(theEObject); | 163 | if (result == null) result = defaultCase(theEObject); |
166 | return result; | 164 | return result; |
@@ -169,10 +167,7 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
169 | { | 167 | { |
170 | VLSVariable vlsVariable = (VLSVariable)theEObject; | 168 | VLSVariable vlsVariable = (VLSVariable)theEObject; |
171 | T result = caseVLSVariable(vlsVariable); | 169 | T result = caseVLSVariable(vlsVariable); |
172 | if (result == null) result = caseVLSVariableDeclaration(vlsVariable); | ||
173 | if (result == null) result = caseVLSTerm(vlsVariable); | 170 | if (result == null) result = caseVLSTerm(vlsVariable); |
174 | if (result == null) result = caseVLSOtherDeclaration(vlsVariable); | ||
175 | if (result == null) result = caseVLSDeclaration(vlsVariable); | ||
176 | if (result == null) result = caseVLSTffTerm(vlsVariable); | 171 | if (result == null) result = caseVLSTffTerm(vlsVariable); |
177 | if (result == null) result = defaultCase(theEObject); | 172 | if (result == null) result = defaultCase(theEObject); |
178 | return result; | 173 | return result; |
@@ -182,8 +177,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
182 | VLSFunctionAsTerm vlsFunctionAsTerm = (VLSFunctionAsTerm)theEObject; | 177 | VLSFunctionAsTerm vlsFunctionAsTerm = (VLSFunctionAsTerm)theEObject; |
183 | T result = caseVLSFunctionAsTerm(vlsFunctionAsTerm); | 178 | T result = caseVLSFunctionAsTerm(vlsFunctionAsTerm); |
184 | if (result == null) result = caseVLSTerm(vlsFunctionAsTerm); | 179 | if (result == null) result = caseVLSTerm(vlsFunctionAsTerm); |
185 | if (result == null) result = caseVLSOtherDeclaration(vlsFunctionAsTerm); | ||
186 | if (result == null) result = caseVLSDeclaration(vlsFunctionAsTerm); | ||
187 | if (result == null) result = caseVLSTffTerm(vlsFunctionAsTerm); | 180 | if (result == null) result = caseVLSTffTerm(vlsFunctionAsTerm); |
188 | if (result == null) result = defaultCase(theEObject); | 181 | if (result == null) result = defaultCase(theEObject); |
189 | return result; | 182 | return result; |
@@ -193,8 +186,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
193 | VLSDefinedTerm vlsDefinedTerm = (VLSDefinedTerm)theEObject; | 186 | VLSDefinedTerm vlsDefinedTerm = (VLSDefinedTerm)theEObject; |
194 | T result = caseVLSDefinedTerm(vlsDefinedTerm); | 187 | T result = caseVLSDefinedTerm(vlsDefinedTerm); |
195 | if (result == null) result = caseVLSTerm(vlsDefinedTerm); | 188 | if (result == null) result = caseVLSTerm(vlsDefinedTerm); |
196 | if (result == null) result = caseVLSOtherDeclaration(vlsDefinedTerm); | ||
197 | if (result == null) result = caseVLSDeclaration(vlsDefinedTerm); | ||
198 | if (result == null) result = caseVLSTffTerm(vlsDefinedTerm); | 189 | if (result == null) result = caseVLSTffTerm(vlsDefinedTerm); |
199 | if (result == null) result = defaultCase(theEObject); | 190 | if (result == null) result = defaultCase(theEObject); |
200 | return result; | 191 | return result; |
@@ -236,8 +227,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
236 | VLSEquivalent vlsEquivalent = (VLSEquivalent)theEObject; | 227 | VLSEquivalent vlsEquivalent = (VLSEquivalent)theEObject; |
237 | T result = caseVLSEquivalent(vlsEquivalent); | 228 | T result = caseVLSEquivalent(vlsEquivalent); |
238 | if (result == null) result = caseVLSTerm(vlsEquivalent); | 229 | if (result == null) result = caseVLSTerm(vlsEquivalent); |
239 | if (result == null) result = caseVLSOtherDeclaration(vlsEquivalent); | ||
240 | if (result == null) result = caseVLSDeclaration(vlsEquivalent); | ||
241 | if (result == null) result = caseVLSTffTerm(vlsEquivalent); | 230 | if (result == null) result = caseVLSTffTerm(vlsEquivalent); |
242 | if (result == null) result = defaultCase(theEObject); | 231 | if (result == null) result = defaultCase(theEObject); |
243 | return result; | 232 | return result; |
@@ -247,8 +236,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
247 | VLSImplies vlsImplies = (VLSImplies)theEObject; | 236 | VLSImplies vlsImplies = (VLSImplies)theEObject; |
248 | T result = caseVLSImplies(vlsImplies); | 237 | T result = caseVLSImplies(vlsImplies); |
249 | if (result == null) result = caseVLSTerm(vlsImplies); | 238 | if (result == null) result = caseVLSTerm(vlsImplies); |
250 | if (result == null) result = caseVLSOtherDeclaration(vlsImplies); | ||
251 | if (result == null) result = caseVLSDeclaration(vlsImplies); | ||
252 | if (result == null) result = caseVLSTffTerm(vlsImplies); | 239 | if (result == null) result = caseVLSTffTerm(vlsImplies); |
253 | if (result == null) result = defaultCase(theEObject); | 240 | if (result == null) result = defaultCase(theEObject); |
254 | return result; | 241 | return result; |
@@ -258,8 +245,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
258 | VLSRevImplies vlsRevImplies = (VLSRevImplies)theEObject; | 245 | VLSRevImplies vlsRevImplies = (VLSRevImplies)theEObject; |
259 | T result = caseVLSRevImplies(vlsRevImplies); | 246 | T result = caseVLSRevImplies(vlsRevImplies); |
260 | if (result == null) result = caseVLSTerm(vlsRevImplies); | 247 | if (result == null) result = caseVLSTerm(vlsRevImplies); |
261 | if (result == null) result = caseVLSOtherDeclaration(vlsRevImplies); | ||
262 | if (result == null) result = caseVLSDeclaration(vlsRevImplies); | ||
263 | if (result == null) result = caseVLSTffTerm(vlsRevImplies); | 248 | if (result == null) result = caseVLSTffTerm(vlsRevImplies); |
264 | if (result == null) result = defaultCase(theEObject); | 249 | if (result == null) result = defaultCase(theEObject); |
265 | return result; | 250 | return result; |
@@ -269,8 +254,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
269 | VLSXnor vlsXnor = (VLSXnor)theEObject; | 254 | VLSXnor vlsXnor = (VLSXnor)theEObject; |
270 | T result = caseVLSXnor(vlsXnor); | 255 | T result = caseVLSXnor(vlsXnor); |
271 | if (result == null) result = caseVLSTerm(vlsXnor); | 256 | if (result == null) result = caseVLSTerm(vlsXnor); |
272 | if (result == null) result = caseVLSOtherDeclaration(vlsXnor); | ||
273 | if (result == null) result = caseVLSDeclaration(vlsXnor); | ||
274 | if (result == null) result = caseVLSTffTerm(vlsXnor); | 257 | if (result == null) result = caseVLSTffTerm(vlsXnor); |
275 | if (result == null) result = defaultCase(theEObject); | 258 | if (result == null) result = defaultCase(theEObject); |
276 | return result; | 259 | return result; |
@@ -280,8 +263,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
280 | VLSNor vlsNor = (VLSNor)theEObject; | 263 | VLSNor vlsNor = (VLSNor)theEObject; |
281 | T result = caseVLSNor(vlsNor); | 264 | T result = caseVLSNor(vlsNor); |
282 | if (result == null) result = caseVLSTerm(vlsNor); | 265 | if (result == null) result = caseVLSTerm(vlsNor); |
283 | if (result == null) result = caseVLSOtherDeclaration(vlsNor); | ||
284 | if (result == null) result = caseVLSDeclaration(vlsNor); | ||
285 | if (result == null) result = caseVLSTffTerm(vlsNor); | 266 | if (result == null) result = caseVLSTffTerm(vlsNor); |
286 | if (result == null) result = defaultCase(theEObject); | 267 | if (result == null) result = defaultCase(theEObject); |
287 | return result; | 268 | return result; |
@@ -291,8 +272,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
291 | VLSNand vlsNand = (VLSNand)theEObject; | 272 | VLSNand vlsNand = (VLSNand)theEObject; |
292 | T result = caseVLSNand(vlsNand); | 273 | T result = caseVLSNand(vlsNand); |
293 | if (result == null) result = caseVLSTerm(vlsNand); | 274 | if (result == null) result = caseVLSTerm(vlsNand); |
294 | if (result == null) result = caseVLSOtherDeclaration(vlsNand); | ||
295 | if (result == null) result = caseVLSDeclaration(vlsNand); | ||
296 | if (result == null) result = caseVLSTffTerm(vlsNand); | 275 | if (result == null) result = caseVLSTffTerm(vlsNand); |
297 | if (result == null) result = defaultCase(theEObject); | 276 | if (result == null) result = defaultCase(theEObject); |
298 | return result; | 277 | return result; |
@@ -302,8 +281,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
302 | VLSAnd vlsAnd = (VLSAnd)theEObject; | 281 | VLSAnd vlsAnd = (VLSAnd)theEObject; |
303 | T result = caseVLSAnd(vlsAnd); | 282 | T result = caseVLSAnd(vlsAnd); |
304 | if (result == null) result = caseVLSTerm(vlsAnd); | 283 | if (result == null) result = caseVLSTerm(vlsAnd); |
305 | if (result == null) result = caseVLSOtherDeclaration(vlsAnd); | ||
306 | if (result == null) result = caseVLSDeclaration(vlsAnd); | ||
307 | if (result == null) result = caseVLSTffTerm(vlsAnd); | 284 | if (result == null) result = caseVLSTffTerm(vlsAnd); |
308 | if (result == null) result = defaultCase(theEObject); | 285 | if (result == null) result = defaultCase(theEObject); |
309 | return result; | 286 | return result; |
@@ -313,8 +290,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
313 | VLSOr vlsOr = (VLSOr)theEObject; | 290 | VLSOr vlsOr = (VLSOr)theEObject; |
314 | T result = caseVLSOr(vlsOr); | 291 | T result = caseVLSOr(vlsOr); |
315 | if (result == null) result = caseVLSTerm(vlsOr); | 292 | if (result == null) result = caseVLSTerm(vlsOr); |
316 | if (result == null) result = caseVLSOtherDeclaration(vlsOr); | ||
317 | if (result == null) result = caseVLSDeclaration(vlsOr); | ||
318 | if (result == null) result = caseVLSTffTerm(vlsOr); | 293 | if (result == null) result = caseVLSTffTerm(vlsOr); |
319 | if (result == null) result = defaultCase(theEObject); | 294 | if (result == null) result = defaultCase(theEObject); |
320 | return result; | 295 | return result; |
@@ -324,8 +299,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
324 | VLSUniversalQuantifier vlsUniversalQuantifier = (VLSUniversalQuantifier)theEObject; | 299 | VLSUniversalQuantifier vlsUniversalQuantifier = (VLSUniversalQuantifier)theEObject; |
325 | T result = caseVLSUniversalQuantifier(vlsUniversalQuantifier); | 300 | T result = caseVLSUniversalQuantifier(vlsUniversalQuantifier); |
326 | if (result == null) result = caseVLSTerm(vlsUniversalQuantifier); | 301 | if (result == null) result = caseVLSTerm(vlsUniversalQuantifier); |
327 | if (result == null) result = caseVLSOtherDeclaration(vlsUniversalQuantifier); | ||
328 | if (result == null) result = caseVLSDeclaration(vlsUniversalQuantifier); | ||
329 | if (result == null) result = caseVLSTffTerm(vlsUniversalQuantifier); | 302 | if (result == null) result = caseVLSTffTerm(vlsUniversalQuantifier); |
330 | if (result == null) result = defaultCase(theEObject); | 303 | if (result == null) result = defaultCase(theEObject); |
331 | return result; | 304 | return result; |
@@ -335,8 +308,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
335 | VLSExistentialQuantifier vlsExistentialQuantifier = (VLSExistentialQuantifier)theEObject; | 308 | VLSExistentialQuantifier vlsExistentialQuantifier = (VLSExistentialQuantifier)theEObject; |
336 | T result = caseVLSExistentialQuantifier(vlsExistentialQuantifier); | 309 | T result = caseVLSExistentialQuantifier(vlsExistentialQuantifier); |
337 | if (result == null) result = caseVLSTerm(vlsExistentialQuantifier); | 310 | if (result == null) result = caseVLSTerm(vlsExistentialQuantifier); |
338 | if (result == null) result = caseVLSOtherDeclaration(vlsExistentialQuantifier); | ||
339 | if (result == null) result = caseVLSDeclaration(vlsExistentialQuantifier); | ||
340 | if (result == null) result = caseVLSTffTerm(vlsExistentialQuantifier); | 311 | if (result == null) result = caseVLSTffTerm(vlsExistentialQuantifier); |
341 | if (result == null) result = defaultCase(theEObject); | 312 | if (result == null) result = defaultCase(theEObject); |
342 | return result; | 313 | return result; |
@@ -346,8 +317,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
346 | VLSUnaryNegation vlsUnaryNegation = (VLSUnaryNegation)theEObject; | 317 | VLSUnaryNegation vlsUnaryNegation = (VLSUnaryNegation)theEObject; |
347 | T result = caseVLSUnaryNegation(vlsUnaryNegation); | 318 | T result = caseVLSUnaryNegation(vlsUnaryNegation); |
348 | if (result == null) result = caseVLSTerm(vlsUnaryNegation); | 319 | if (result == null) result = caseVLSTerm(vlsUnaryNegation); |
349 | if (result == null) result = caseVLSOtherDeclaration(vlsUnaryNegation); | ||
350 | if (result == null) result = caseVLSDeclaration(vlsUnaryNegation); | ||
351 | if (result == null) result = caseVLSTffTerm(vlsUnaryNegation); | 320 | if (result == null) result = caseVLSTffTerm(vlsUnaryNegation); |
352 | if (result == null) result = defaultCase(theEObject); | 321 | if (result == null) result = defaultCase(theEObject); |
353 | return result; | 322 | return result; |
@@ -357,8 +326,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
357 | VLSInequality vlsInequality = (VLSInequality)theEObject; | 326 | VLSInequality vlsInequality = (VLSInequality)theEObject; |
358 | T result = caseVLSInequality(vlsInequality); | 327 | T result = caseVLSInequality(vlsInequality); |
359 | if (result == null) result = caseVLSTerm(vlsInequality); | 328 | if (result == null) result = caseVLSTerm(vlsInequality); |
360 | if (result == null) result = caseVLSOtherDeclaration(vlsInequality); | ||
361 | if (result == null) result = caseVLSDeclaration(vlsInequality); | ||
362 | if (result == null) result = caseVLSTffTerm(vlsInequality); | 329 | if (result == null) result = caseVLSTffTerm(vlsInequality); |
363 | if (result == null) result = defaultCase(theEObject); | 330 | if (result == null) result = defaultCase(theEObject); |
364 | return result; | 331 | return result; |
@@ -368,8 +335,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
368 | VLSEquality vlsEquality = (VLSEquality)theEObject; | 335 | VLSEquality vlsEquality = (VLSEquality)theEObject; |
369 | T result = caseVLSEquality(vlsEquality); | 336 | T result = caseVLSEquality(vlsEquality); |
370 | if (result == null) result = caseVLSTerm(vlsEquality); | 337 | if (result == null) result = caseVLSTerm(vlsEquality); |
371 | if (result == null) result = caseVLSOtherDeclaration(vlsEquality); | ||
372 | if (result == null) result = caseVLSDeclaration(vlsEquality); | ||
373 | if (result == null) result = caseVLSTffTerm(vlsEquality); | 338 | if (result == null) result = caseVLSTffTerm(vlsEquality); |
374 | if (result == null) result = defaultCase(theEObject); | 339 | if (result == null) result = defaultCase(theEObject); |
375 | return result; | 340 | return result; |
@@ -379,8 +344,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
379 | VLSAssignment vlsAssignment = (VLSAssignment)theEObject; | 344 | VLSAssignment vlsAssignment = (VLSAssignment)theEObject; |
380 | T result = caseVLSAssignment(vlsAssignment); | 345 | T result = caseVLSAssignment(vlsAssignment); |
381 | if (result == null) result = caseVLSTerm(vlsAssignment); | 346 | if (result == null) result = caseVLSTerm(vlsAssignment); |
382 | if (result == null) result = caseVLSOtherDeclaration(vlsAssignment); | ||
383 | if (result == null) result = caseVLSDeclaration(vlsAssignment); | ||
384 | if (result == null) result = caseVLSTffTerm(vlsAssignment); | 347 | if (result == null) result = caseVLSTffTerm(vlsAssignment); |
385 | if (result == null) result = defaultCase(theEObject); | 348 | if (result == null) result = defaultCase(theEObject); |
386 | return result; | 349 | return result; |
@@ -390,8 +353,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
390 | VLSConstant vlsConstant = (VLSConstant)theEObject; | 353 | VLSConstant vlsConstant = (VLSConstant)theEObject; |
391 | T result = caseVLSConstant(vlsConstant); | 354 | T result = caseVLSConstant(vlsConstant); |
392 | if (result == null) result = caseVLSTerm(vlsConstant); | 355 | if (result == null) result = caseVLSTerm(vlsConstant); |
393 | if (result == null) result = caseVLSOtherDeclaration(vlsConstant); | ||
394 | if (result == null) result = caseVLSDeclaration(vlsConstant); | ||
395 | if (result == null) result = caseVLSTffTerm(vlsConstant); | 356 | if (result == null) result = caseVLSTffTerm(vlsConstant); |
396 | if (result == null) result = defaultCase(theEObject); | 357 | if (result == null) result = defaultCase(theEObject); |
397 | return result; | 358 | return result; |
@@ -401,8 +362,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
401 | VLSTrue vlsTrue = (VLSTrue)theEObject; | 362 | VLSTrue vlsTrue = (VLSTrue)theEObject; |
402 | T result = caseVLSTrue(vlsTrue); | 363 | T result = caseVLSTrue(vlsTrue); |
403 | if (result == null) result = caseVLSTerm(vlsTrue); | 364 | if (result == null) result = caseVLSTerm(vlsTrue); |
404 | if (result == null) result = caseVLSOtherDeclaration(vlsTrue); | ||
405 | if (result == null) result = caseVLSDeclaration(vlsTrue); | ||
406 | if (result == null) result = caseVLSTffTerm(vlsTrue); | 365 | if (result == null) result = caseVLSTffTerm(vlsTrue); |
407 | if (result == null) result = defaultCase(theEObject); | 366 | if (result == null) result = defaultCase(theEObject); |
408 | return result; | 367 | return result; |
@@ -412,8 +371,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
412 | VLSFalse vlsFalse = (VLSFalse)theEObject; | 371 | VLSFalse vlsFalse = (VLSFalse)theEObject; |
413 | T result = caseVLSFalse(vlsFalse); | 372 | T result = caseVLSFalse(vlsFalse); |
414 | if (result == null) result = caseVLSTerm(vlsFalse); | 373 | if (result == null) result = caseVLSTerm(vlsFalse); |
415 | if (result == null) result = caseVLSOtherDeclaration(vlsFalse); | ||
416 | if (result == null) result = caseVLSDeclaration(vlsFalse); | ||
417 | if (result == null) result = caseVLSTffTerm(vlsFalse); | 374 | if (result == null) result = caseVLSTffTerm(vlsFalse); |
418 | if (result == null) result = defaultCase(theEObject); | 375 | if (result == null) result = defaultCase(theEObject); |
419 | return result; | 376 | return result; |
@@ -423,8 +380,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
423 | VLSFunction vlsFunction = (VLSFunction)theEObject; | 380 | VLSFunction vlsFunction = (VLSFunction)theEObject; |
424 | T result = caseVLSFunction(vlsFunction); | 381 | T result = caseVLSFunction(vlsFunction); |
425 | if (result == null) result = caseVLSTerm(vlsFunction); | 382 | if (result == null) result = caseVLSTerm(vlsFunction); |
426 | if (result == null) result = caseVLSOtherDeclaration(vlsFunction); | ||
427 | if (result == null) result = caseVLSDeclaration(vlsFunction); | ||
428 | if (result == null) result = caseVLSTffTerm(vlsFunction); | 383 | if (result == null) result = caseVLSTffTerm(vlsFunction); |
429 | if (result == null) result = defaultCase(theEObject); | 384 | if (result == null) result = defaultCase(theEObject); |
430 | return result; | 385 | return result; |
@@ -434,8 +389,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
434 | VLSLess vlsLess = (VLSLess)theEObject; | 389 | VLSLess vlsLess = (VLSLess)theEObject; |
435 | T result = caseVLSLess(vlsLess); | 390 | T result = caseVLSLess(vlsLess); |
436 | if (result == null) result = caseVLSTerm(vlsLess); | 391 | if (result == null) result = caseVLSTerm(vlsLess); |
437 | if (result == null) result = caseVLSOtherDeclaration(vlsLess); | ||
438 | if (result == null) result = caseVLSDeclaration(vlsLess); | ||
439 | if (result == null) result = caseVLSTffTerm(vlsLess); | 392 | if (result == null) result = caseVLSTffTerm(vlsLess); |
440 | if (result == null) result = defaultCase(theEObject); | 393 | if (result == null) result = defaultCase(theEObject); |
441 | return result; | 394 | return result; |
@@ -446,8 +399,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
446 | T result = caseVLSInt(vlsInt); | 399 | T result = caseVLSInt(vlsInt); |
447 | if (result == null) result = caseVLSDefinedTerm(vlsInt); | 400 | if (result == null) result = caseVLSDefinedTerm(vlsInt); |
448 | if (result == null) result = caseVLSTerm(vlsInt); | 401 | if (result == null) result = caseVLSTerm(vlsInt); |
449 | if (result == null) result = caseVLSOtherDeclaration(vlsInt); | ||
450 | if (result == null) result = caseVLSDeclaration(vlsInt); | ||
451 | if (result == null) result = caseVLSTffTerm(vlsInt); | 402 | if (result == null) result = caseVLSTffTerm(vlsInt); |
452 | if (result == null) result = defaultCase(theEObject); | 403 | if (result == null) result = defaultCase(theEObject); |
453 | return result; | 404 | return result; |
@@ -458,8 +409,6 @@ public class VampireLanguageSwitch<T> extends Switch<T> | |||
458 | T result = caseVLSDoubleQuote(vlsDoubleQuote); | 409 | T result = caseVLSDoubleQuote(vlsDoubleQuote); |
459 | if (result == null) result = caseVLSDefinedTerm(vlsDoubleQuote); | 410 | if (result == null) result = caseVLSDefinedTerm(vlsDoubleQuote); |
460 | if (result == null) result = caseVLSTerm(vlsDoubleQuote); | 411 | if (result == null) result = caseVLSTerm(vlsDoubleQuote); |
461 | if (result == null) result = caseVLSOtherDeclaration(vlsDoubleQuote); | ||
462 | if (result == null) result = caseVLSDeclaration(vlsDoubleQuote); | ||
463 | if (result == null) result = caseVLSTffTerm(vlsDoubleQuote); | 412 | if (result == null) result = caseVLSTffTerm(vlsDoubleQuote); |
464 | if (result == null) result = defaultCase(theEObject); | 413 | if (result == null) result = defaultCase(theEObject); |
465 | return result; | 414 | return result; |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext index 1b115d45..cd640556 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.language/src/ca/mcgill/ecse/dslreasoner/VampireLanguage.xtext | |||
@@ -220,11 +220,11 @@ VLSDeclaration: | |||
220 | ; | 220 | ; |
221 | 221 | ||
222 | VLSOtherDeclaration: | 222 | VLSOtherDeclaration: |
223 | VLSAtomicConstant ':' type = VLSTypeDef | 223 | name = VLSAtomicConstant ':' type = VLSTypeDef |
224 | ; | 224 | ; |
225 | 225 | ||
226 | VLSVariableDeclaration: | 226 | VLSVariableDeclaration: |
227 | VLSVariable ':' type = VLSTypeDef | 227 | name = VLSVariable ':' type = VLSTypeDef |
228 | ; | 228 | ; |
229 | 229 | ||
230 | VLSTypeDef: | 230 | VLSTypeDef: |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.xtend b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.xtend index e94584ae..7ab15fba 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.xtend +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.xtend | |||
@@ -35,6 +35,7 @@ class Logic2VampireLanguageMapperTrace { | |||
35 | public var topLevelType = null | 35 | public var topLevelType = null |
36 | 36 | ||
37 | public val Map<Type, VLSFunction> type2Predicate = new HashMap; | 37 | public val Map<Type, VLSFunction> type2Predicate = new HashMap; |
38 | public val Map<VLSFunction, Type> predicate2Type = new HashMap; | ||
38 | public val Map<DefinedElement, VLSFunction> element2Predicate = new HashMap | 39 | public val Map<DefinedElement, VLSFunction> element2Predicate = new HashMap |
39 | public val Map<Type, VLSTerm> type2PossibleNot = new HashMap | 40 | public val Map<Type, VLSTerm> type2PossibleNot = new HashMap |
40 | public val Map<Type, VLSTerm> type2And = new HashMap | 41 | public val Map<Type, VLSTerm> type2And = new HashMap |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.xtend b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.xtend index 1b30393f..d2a01e0e 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.xtend +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.xtend | |||
@@ -42,6 +42,7 @@ class Logic2VampireLanguageMapper_TypeMapper { | |||
42 | it.terms += support.duplicate(variable) | 42 | it.terms += support.duplicate(variable) |
43 | ] | 43 | ] |
44 | trace.type2Predicate.put(type, typePred) | 44 | trace.type2Predicate.put(type, typePred) |
45 | trace.predicate2Type.put(typePred, type) | ||
45 | } | 46 | } |
46 | 47 | ||
47 | // 2. Map each ENUM/InitialModelElement type definition to fof formula | 48 | // 2. Map each ENUM/InitialModelElement type definition to fof formula |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/VampireModelInterpretation.xtend b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/VampireModelInterpretation.xtend index c2cffa6b..0c93e3fe 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/VampireModelInterpretation.xtend +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/src/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/VampireModelInterpretation.xtend | |||
@@ -1,49 +1,182 @@ | |||
1 | package ca.mcgill.ecse.dslreasoner.vampire.reasoner.builder | 1 | package ca.mcgill.ecse.dslreasoner.vampire.reasoner.builder |
2 | 2 | ||
3 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSAnd | ||
4 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSConstant | ||
5 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSEquality | ||
6 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction | ||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunctionAsTerm | ||
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOr | ||
9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm | ||
10 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffFormula | ||
11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier | ||
3 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireModel | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireModel |
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSAndImpl | ||
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSOrImpl | ||
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.impl.VLSUnaryNegationImpl | ||
4 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation | 16 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation |
5 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration | 17 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ConstantDeclaration |
18 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement | ||
6 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration | 19 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.FunctionDeclaration |
7 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory | 20 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.LogiclanguageFactory |
8 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration | 21 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.RelationDeclaration |
9 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type | 22 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type |
23 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDeclaration | ||
24 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.TypeDefinition | ||
25 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.impl.TypeDeclarationImpl | ||
26 | import java.util.HashMap | ||
27 | import java.util.List | ||
28 | import java.util.Map | ||
29 | |||
30 | import static extension hu.bme.mit.inf.dslreasoner.util.CollectionsUtil.* | ||
10 | 31 | ||
11 | class VampireModelInterpretation implements LogicModelInterpretation { | 32 | class VampireModelInterpretation implements LogicModelInterpretation { |
12 | protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE | 33 | protected val extension LogiclanguageFactory factory = LogiclanguageFactory.eINSTANCE |
13 | 34 | ||
14 | protected val Logic2VampireLanguageMapperTrace forwardTrace; | 35 | protected val Logic2VampireLanguageMapperTrace forwardTrace; |
15 | 36 | ||
16 | 37 | private val Map<String, DefinedElement> name2DefinedElement = new HashMap | |
38 | private val Map<TypeDeclaration, List<DefinedElement>> type2DefinedElement = new HashMap | ||
39 | |||
40 | var num = -1 | ||
41 | |||
17 | public new(VampireModel model, Logic2VampireLanguageMapperTrace trace) { | 42 | public new(VampireModel model, Logic2VampireLanguageMapperTrace trace) { |
18 | this.forwardTrace = trace | 43 | this.forwardTrace = trace |
44 | |||
45 | // 1. look at "finite_domain" formula (there should only be one) | ||
46 | // IN REALITY THE DEFINED ELEMENTS ARE DEFINED AS <nameOfDefinedEement>:$i | ||
47 | // SPECIFICALLY, THESE ARE "TYPE" FORMULAS | ||
48 | val finDomFormula = model.tfformulas.filter[name == "finite_domain"].get(0) as VLSTffFormula | ||
49 | val univQuant = finDomFormula.fofFormula as VLSUniversalQuantifier | ||
50 | var orFormulaTerm = univQuant.operand | ||
51 | |||
52 | var end = false | ||
53 | while (!end) { | ||
54 | if (orFormulaTerm.class == VLSOrImpl) { | ||
55 | val orFormula = orFormulaTerm as VLSOr | ||
56 | val orRight = orFormula.right as VLSEquality | ||
57 | add2ConstDefMap(orRight) | ||
58 | orFormulaTerm = orFormula.left | ||
59 | } else { | ||
60 | val firstTerm = orFormulaTerm as VLSEquality | ||
61 | add2ConstDefMap(firstTerm) | ||
62 | end = true | ||
63 | } | ||
64 | |||
65 | } | ||
66 | |||
67 | // 2. associate each type to defined elements | ||
68 | // println(trace.type2Predicate.keySet) | ||
69 | // println(trace.type2Predicate.keySet.length) | ||
70 | // println(trace.type2Predicate.keySet.filter[class == TypeDeclarationImpl]) | ||
71 | // println(trace.type2Predicate.keySet.filter[class == TypeDeclarationImpl].length) | ||
72 | // println() | ||
73 | // println(trace.type2Predicate) | ||
74 | // Fill keys of map | ||
75 | val allTypeDecls = trace.type2Predicate.keySet.filter[class == TypeDeclarationImpl] | ||
76 | val allTypeFunctions = trace.predicate2Type | ||
77 | |||
78 | for (type : allTypeDecls) { | ||
79 | type2DefinedElement.put(type as TypeDeclaration, newArrayList) | ||
80 | } | ||
81 | |||
82 | // USE THE DECLARE_<TYPE_NAME> FORMULAS TO SEE WHAT THE TYPES ARE | ||
83 | val typeFormulas = model.tfformulas.filter[name.length > 12 && name.substring(0, 12) == "predicate_t_"] | ||
84 | // ^this way, we ignore the "object" type | ||
85 | //TODO potentially need to handle the enums in this case as well | ||
86 | for (formula : typeFormulas) { | ||
87 | // get associated type | ||
88 | val associatedTypeName = (formula as VLSTffFormula).name.substring(10) | ||
89 | val associatedFunction = allTypeFunctions.keySet.filter[constant == associatedTypeName]. | ||
90 | get(0) as VLSFunction | ||
91 | val associatedTypeAll = associatedFunction.lookup(allTypeFunctions) | ||
92 | // val associatedTypeDeclFormula = model.tfformulas.filter[name == ("declare_t_" + associatedTypeName)].get(0) as VLSTffFormula | ||
93 | // val associatedTypeDefn = associatedTypeDeclFormula.fofFormula as VLSOtherDeclaration | ||
94 | // val associatedTypeFct = associatedTypeDefn.name as VLSConstant | ||
95 | if (associatedTypeAll.class == TypeDeclarationImpl) { | ||
96 | val associatedType = associatedTypeAll as TypeDeclaration | ||
97 | |||
98 | // get definedElements | ||
99 | var andFormulaTerm = formula.fofFormula | ||
100 | end = false | ||
101 | val List<DefinedElement> instances = newArrayList | ||
102 | while (!end) { | ||
103 | if (andFormulaTerm.class == VLSAndImpl) { | ||
104 | val andFormula = andFormulaTerm as VLSAnd | ||
105 | val andRight = andFormula.right | ||
106 | addIfNotNeg(andRight, instances) | ||
107 | andFormulaTerm = andFormula.left | ||
108 | } else { | ||
109 | addIfNotNeg(andFormulaTerm as VLSTerm, instances) | ||
110 | end = true | ||
111 | } | ||
112 | |||
113 | } | ||
114 | for (elem : instances) { | ||
115 | associatedType.lookup(type2DefinedElement).add(elem) | ||
116 | } | ||
117 | } | ||
118 | } | ||
119 | |||
120 | printMap() | ||
121 | |||
19 | } | 122 | } |
20 | 123 | ||
21 | override getElements(Type type) { | 124 | def printMap() { |
22 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 125 | for (key : type2DefinedElement.keySet) { |
126 | println(key.name + "==>") | ||
127 | for (elem : key.lookup(type2DefinedElement)) { | ||
128 | print(elem.name + ", ") | ||
129 | } | ||
130 | println() | ||
131 | |||
132 | } | ||
133 | println() | ||
23 | } | 134 | } |
24 | 135 | ||
136 | def private addIfNotNeg(VLSTerm term, List<DefinedElement> list) { | ||
137 | if (term.class != VLSUnaryNegationImpl) { | ||
138 | val nodeName = ((term as VLSFunction).terms.get(0) as VLSFunctionAsTerm).functor | ||
139 | val defnElem = nodeName.lookup(name2DefinedElement) | ||
140 | list.add(defnElem) | ||
141 | } | ||
142 | } | ||
143 | |||
144 | def private add2ConstDefMap(VLSEquality eq) { | ||
145 | val defElemConst = (eq.right as VLSConstant) | ||
146 | val definedElement = createDefinedElement => [name = defElemConst.name] | ||
147 | this.name2DefinedElement.put(defElemConst.name, definedElement) | ||
148 | } | ||
149 | |||
150 | override getElements(Type type) { getElementsDispatch(type) } | ||
151 | |||
152 | def private dispatch getElementsDispatch(TypeDeclaration declaration) { | ||
153 | return declaration.lookup(this.type2DefinedElement) | ||
154 | } | ||
155 | |||
156 | def private dispatch getElementsDispatch(TypeDefinition declaration) { return declaration.elements } | ||
157 | |||
25 | override getInterpretation(FunctionDeclaration function, Object[] parameterSubstitution) { | 158 | override getInterpretation(FunctionDeclaration function, Object[] parameterSubstitution) { |
26 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 159 | throw new UnsupportedOperationException("TODO: auto-generated method stub") |
27 | } | 160 | } |
28 | 161 | ||
29 | override getInterpretation(RelationDeclaration relation, Object[] parameterSubstitution) { | 162 | override getInterpretation(RelationDeclaration relation, Object[] parameterSubstitution) { |
30 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 163 | throw new UnsupportedOperationException("TODO: auto-generated method stub") |
31 | } | 164 | } |
32 | 165 | ||
33 | override getInterpretation(ConstantDeclaration constant) { | 166 | override getInterpretation(ConstantDeclaration constant) { |
34 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 167 | throw new UnsupportedOperationException("TODO: auto-generated method stub") |
35 | } | 168 | } |
36 | 169 | ||
37 | override getAllIntegersInStructure() { | 170 | override getAllIntegersInStructure() { |
38 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 171 | return null |
39 | } | 172 | } |
40 | 173 | ||
41 | override getAllRealsInStructure() { | 174 | override getAllRealsInStructure() { |
42 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 175 | return null |
43 | } | 176 | } |
44 | 177 | ||
45 | override getAllStringsInStructure() { | 178 | override getAllStringsInStructure() { |
46 | throw new UnsupportedOperationException("TODO: auto-generated method stub") | 179 | return null |
47 | } | 180 | } |
48 | 181 | ||
49 | } \ No newline at end of file | 182 | } |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin index 298a6c08..0fafa9e9 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/.VampireSolver.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin index 863b572e..7174bfba 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin index 410f2550..af66dabc 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapperTrace.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin index b1b39a4f..b9301875 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ConstantMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin index 3710e753..88c3e932 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ContainmentMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin index 9dc7abaf..e3437e53 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_RelationMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin index 7029d196..1a884261 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_ScopeMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin index 03aead59..7e2aba1c 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_Support.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin index 62960704..187a0447 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Logic2VampireLanguageMapper_TypeMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin index 56a10b3c..ee115b16 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/.Vampire2LogicMapper.xtendbin | |||
Binary files differ | |||
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.java index c2ae099e..4537240e 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapperTrace.java | |||
@@ -37,6 +37,8 @@ public class Logic2VampireLanguageMapperTrace { | |||
37 | 37 | ||
38 | public final Map<Type, VLSFunction> type2Predicate = new HashMap<Type, VLSFunction>(); | 38 | public final Map<Type, VLSFunction> type2Predicate = new HashMap<Type, VLSFunction>(); |
39 | 39 | ||
40 | public final Map<VLSFunction, Type> predicate2Type = new HashMap<VLSFunction, Type>(); | ||
41 | |||
40 | public final Map<DefinedElement, VLSFunction> element2Predicate = new HashMap<DefinedElement, VLSFunction>(); | 42 | public final Map<DefinedElement, VLSFunction> element2Predicate = new HashMap<DefinedElement, VLSFunction>(); |
41 | 43 | ||
42 | public final Map<Type, VLSTerm> type2PossibleNot = new HashMap<Type, VLSTerm>(); | 44 | public final Map<Type, VLSTerm> type2PossibleNot = new HashMap<Type, VLSTerm>(); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java index 7daf1b2f..2100b92f 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ContainmentMapper.java | |||
@@ -12,10 +12,10 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFofFormula; | |||
12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; |
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; | 13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; |
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; | 16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; |
16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
19 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 19 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
20 | import com.google.common.base.Objects; | 20 | import com.google.common.base.Objects; |
21 | import com.google.common.collect.Iterables; | 21 | import com.google.common.collect.Iterables; |
@@ -123,7 +123,7 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
123 | it.setFofRole("axiom"); | 123 | it.setFofRole("axiom"); |
124 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 124 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
125 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { | 125 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { |
126 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 126 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
127 | VLSVariable _duplicate = this.support.duplicate(this.variable); | 127 | VLSVariable _duplicate = this.support.duplicate(this.variable); |
128 | _variables.add(_duplicate); | 128 | _variables.add(_duplicate); |
129 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 129 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
@@ -193,10 +193,10 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
193 | it.setFofRole("axiom"); | 193 | it.setFofRole("axiom"); |
194 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 194 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
195 | final Procedure1<VLSExistentialQuantifier> _function_5 = (VLSExistentialQuantifier it_1) -> { | 195 | final Procedure1<VLSExistentialQuantifier> _function_5 = (VLSExistentialQuantifier it_1) -> { |
196 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 196 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
197 | VLSVariable _duplicate = this.support.duplicate(varA); | 197 | VLSVariable _duplicate = this.support.duplicate(varA); |
198 | _variables.add(_duplicate); | 198 | _variables.add(_duplicate); |
199 | EList<VLSVariableDeclaration> _variables_1 = it_1.getVariables(); | 199 | EList<VLSTffTerm> _variables_1 = it_1.getVariables(); |
200 | VLSVariable _duplicate_1 = this.support.duplicate(varB); | 200 | VLSVariable _duplicate_1 = this.support.duplicate(varB); |
201 | _variables_1.add(_duplicate_1); | 201 | _variables_1.add(_duplicate_1); |
202 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 202 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
@@ -206,10 +206,10 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
206 | final Procedure1<VLSUnaryNegation> _function_7 = (VLSUnaryNegation it_3) -> { | 206 | final Procedure1<VLSUnaryNegation> _function_7 = (VLSUnaryNegation it_3) -> { |
207 | VLSExistentialQuantifier _createVLSExistentialQuantifier_1 = this.factory.createVLSExistentialQuantifier(); | 207 | VLSExistentialQuantifier _createVLSExistentialQuantifier_1 = this.factory.createVLSExistentialQuantifier(); |
208 | final Procedure1<VLSExistentialQuantifier> _function_8 = (VLSExistentialQuantifier it_4) -> { | 208 | final Procedure1<VLSExistentialQuantifier> _function_8 = (VLSExistentialQuantifier it_4) -> { |
209 | EList<VLSVariableDeclaration> _variables_2 = it_4.getVariables(); | 209 | EList<VLSTffTerm> _variables_2 = it_4.getVariables(); |
210 | VLSVariable _duplicate_2 = this.support.duplicate(varC); | 210 | VLSVariable _duplicate_2 = this.support.duplicate(varC); |
211 | _variables_2.add(_duplicate_2); | 211 | _variables_2.add(_duplicate_2); |
212 | EList<VLSVariableDeclaration> _variables_3 = it_4.getVariables(); | 212 | EList<VLSTffTerm> _variables_3 = it_4.getVariables(); |
213 | VLSVariable _duplicate_3 = this.support.duplicate(varB); | 213 | VLSVariable _duplicate_3 = this.support.duplicate(varB); |
214 | _variables_3.add(_duplicate_3); | 214 | _variables_3.add(_duplicate_3); |
215 | it_4.setOperand(this.support.duplicate(rel, CollectionLiterals.<VLSVariable>newArrayList(varC, varB))); | 215 | it_4.setOperand(this.support.duplicate(rel, CollectionLiterals.<VLSVariable>newArrayList(varC, varB))); |
@@ -240,7 +240,7 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
240 | it.setFofRole("axiom"); | 240 | it.setFofRole("axiom"); |
241 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 241 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
242 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { | 242 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { |
243 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 243 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
244 | VLSVariable _duplicate = this.support.duplicate(varA); | 244 | VLSVariable _duplicate = this.support.duplicate(varA); |
245 | _variables.add(_duplicate); | 245 | _variables.add(_duplicate); |
246 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 246 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
@@ -248,7 +248,7 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
248 | it_2.setLeft(this.support.duplicate(e.getKey(), varA)); | 248 | it_2.setLeft(this.support.duplicate(e.getKey(), varA)); |
249 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 249 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
250 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_3) -> { | 250 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_3) -> { |
251 | EList<VLSVariableDeclaration> _variables_1 = it_3.getVariables(); | 251 | EList<VLSTffTerm> _variables_1 = it_3.getVariables(); |
252 | VLSVariable _duplicate_1 = this.support.duplicate(varB); | 252 | VLSVariable _duplicate_1 = this.support.duplicate(varB); |
253 | _variables_1.add(_duplicate_1); | 253 | _variables_1.add(_duplicate_1); |
254 | int _length_1 = ((Object[])Conversions.unwrapArray(e.getValue(), Object.class)).length; | 254 | int _length_1 = ((Object[])Conversions.unwrapArray(e.getValue(), Object.class)).length; |
@@ -308,9 +308,9 @@ public class Logic2VampireLanguageMapper_ContainmentMapper { | |||
308 | final Procedure1<VLSUnaryNegation> _function_6 = (VLSUnaryNegation it_1) -> { | 308 | final Procedure1<VLSUnaryNegation> _function_6 = (VLSUnaryNegation it_1) -> { |
309 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 309 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
310 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_2) -> { | 310 | final Procedure1<VLSExistentialQuantifier> _function_7 = (VLSExistentialQuantifier it_2) -> { |
311 | EList<VLSVariableDeclaration> _variables = it_2.getVariables(); | 311 | EList<VLSTffTerm> _variables = it_2.getVariables(); |
312 | List<VLSVariable> _duplicate = this.support.duplicate(variables); | 312 | List<VLSVariable> _duplicate = this.support.duplicate(variables); |
313 | Iterables.<VLSVariableDeclaration>addAll(_variables, _duplicate); | 313 | Iterables.<VLSTffTerm>addAll(_variables, _duplicate); |
314 | it_2.setOperand(this.support.unfoldAnd(conjunctionList)); | 314 | it_2.setOperand(this.support.unfoldAnd(conjunctionList)); |
315 | }; | 315 | }; |
316 | VLSExistentialQuantifier _doubleArrow_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_7); | 316 | VLSExistentialQuantifier _doubleArrow_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_7); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_RelationMapper.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_RelationMapper.java index 657c3292..8d36952b 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_RelationMapper.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_RelationMapper.java | |||
@@ -7,9 +7,9 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFofFormula; | |||
7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; | 7 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; |
8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; | 8 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; |
9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 9 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
10 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
10 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
14 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; | 14 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.ComplexTypeReference; |
15 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; | 15 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Relation; |
@@ -77,7 +77,7 @@ public class Logic2VampireLanguageMapper_RelationMapper { | |||
77 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 77 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
78 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { | 78 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it_1) -> { |
79 | for (final VLSVariable v : relVar2VLS) { | 79 | for (final VLSVariable v : relVar2VLS) { |
80 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 80 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
81 | VLSVariable _duplicate = this.support.duplicate(v); | 81 | VLSVariable _duplicate = this.support.duplicate(v); |
82 | _variables.add(_duplicate); | 82 | _variables.add(_duplicate); |
83 | } | 83 | } |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ScopeMapper.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ScopeMapper.java index 6d4767a7..6da75271 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ScopeMapper.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_ScopeMapper.java | |||
@@ -11,9 +11,9 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFofFormula; | |||
11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; | 11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; |
12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; |
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
18 | import com.google.common.base.Objects; | 18 | import com.google.common.base.Objects; |
19 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; | 19 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.DefinedElement; |
@@ -245,7 +245,7 @@ public class Logic2VampireLanguageMapper_ScopeMapper { | |||
245 | it.setFofRole("axiom"); | 245 | it.setFofRole("axiom"); |
246 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 246 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
247 | final Procedure1<VLSUniversalQuantifier> _function_2 = (VLSUniversalQuantifier it_1) -> { | 247 | final Procedure1<VLSUniversalQuantifier> _function_2 = (VLSUniversalQuantifier it_1) -> { |
248 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 248 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
249 | VLSVariable _duplicate = this.support.duplicate(this.variable); | 249 | VLSVariable _duplicate = this.support.duplicate(this.variable); |
250 | _variables.add(_duplicate); | 250 | _variables.add(_duplicate); |
251 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 251 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_Support.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_Support.java index 6cd53fae..dae0df6e 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_Support.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_Support.java | |||
@@ -11,9 +11,9 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSImplies; | |||
11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSInequality; | 11 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSInequality; |
12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOr; | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSOr; |
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
18 | import com.google.common.base.Objects; | 18 | import com.google.common.base.Objects; |
19 | import com.google.common.collect.Iterables; | 19 | import com.google.common.collect.Iterables; |
@@ -324,9 +324,9 @@ public class Logic2VampireLanguageMapper_Support { | |||
324 | if (isUniversal) { | 324 | if (isUniversal) { |
325 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 325 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
326 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it) -> { | 326 | final Procedure1<VLSUniversalQuantifier> _function_1 = (VLSUniversalQuantifier it) -> { |
327 | EList<VLSVariableDeclaration> _variables = it.getVariables(); | 327 | EList<VLSTffTerm> _variables = it.getVariables(); |
328 | Collection<VLSVariable> _values = variableMap.values(); | 328 | Collection<VLSVariable> _values = variableMap.values(); |
329 | Iterables.<VLSVariableDeclaration>addAll(_variables, _values); | 329 | Iterables.<VLSTffTerm>addAll(_variables, _values); |
330 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); | 330 | VLSImplies _createVLSImplies = this.factory.createVLSImplies(); |
331 | final Procedure1<VLSImplies> _function_2 = (VLSImplies it_1) -> { | 331 | final Procedure1<VLSImplies> _function_2 = (VLSImplies it_1) -> { |
332 | it_1.setLeft(this.unfoldAnd(typedefs)); | 332 | it_1.setLeft(this.unfoldAnd(typedefs)); |
@@ -342,9 +342,9 @@ public class Logic2VampireLanguageMapper_Support { | |||
342 | typedefs.add(mapper.transformTerm(expression.getExpression(), trace, this.withAddition(variables, variableMap))); | 342 | typedefs.add(mapper.transformTerm(expression.getExpression(), trace, this.withAddition(variables, variableMap))); |
343 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); | 343 | VLSExistentialQuantifier _createVLSExistentialQuantifier = this.factory.createVLSExistentialQuantifier(); |
344 | final Procedure1<VLSExistentialQuantifier> _function_2 = (VLSExistentialQuantifier it) -> { | 344 | final Procedure1<VLSExistentialQuantifier> _function_2 = (VLSExistentialQuantifier it) -> { |
345 | EList<VLSVariableDeclaration> _variables = it.getVariables(); | 345 | EList<VLSTffTerm> _variables = it.getVariables(); |
346 | Collection<VLSVariable> _values = variableMap.values(); | 346 | Collection<VLSVariable> _values = variableMap.values(); |
347 | Iterables.<VLSVariableDeclaration>addAll(_variables, _values); | 347 | Iterables.<VLSTffTerm>addAll(_variables, _values); |
348 | it.setOperand(this.unfoldAnd(typedefs)); | 348 | it.setOperand(this.unfoldAnd(typedefs)); |
349 | }; | 349 | }; |
350 | _xblockexpression_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_2); | 350 | _xblockexpression_1 = ObjectExtensions.<VLSExistentialQuantifier>operator_doubleArrow(_createVLSExistentialQuantifier, _function_2); |
diff --git a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.java b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.java index 7921f204..c8888eb0 100644 --- a/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.java +++ b/Solvers/Vampire-Solver/ca.mcgill.ecse.dslreasoner.vampire.reasoner/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/reasoner/builder/Logic2VampireLanguageMapper_TypeMapper.java | |||
@@ -12,10 +12,10 @@ import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFofFormula; | |||
12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; | 12 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunction; |
13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunctionAsTerm; | 13 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSFunctionAsTerm; |
14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; | 14 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTerm; |
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSTffTerm; | ||
15 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; | 16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUnaryNegation; |
16 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; | 17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSUniversalQuantifier; |
17 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; | 18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariable; |
18 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VLSVariableDeclaration; | ||
19 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; | 19 | import ca.mcgill.ecse.dslreasoner.vampireLanguage.VampireLanguageFactory; |
20 | import com.google.common.base.Objects; | 20 | import com.google.common.base.Objects; |
21 | import com.google.common.collect.Iterables; | 21 | import com.google.common.collect.Iterables; |
@@ -76,6 +76,7 @@ public class Logic2VampireLanguageMapper_TypeMapper { | |||
76 | }; | 76 | }; |
77 | final VLSFunction typePred = ObjectExtensions.<VLSFunction>operator_doubleArrow(_createVLSFunction, _function_1); | 77 | final VLSFunction typePred = ObjectExtensions.<VLSFunction>operator_doubleArrow(_createVLSFunction, _function_1); |
78 | trace.type2Predicate.put(type, typePred); | 78 | trace.type2Predicate.put(type, typePred); |
79 | trace.predicate2Type.put(typePred, type); | ||
79 | } | 80 | } |
80 | } | 81 | } |
81 | final Function1<TypeDefinition, Boolean> _function_1 = (TypeDefinition it) -> { | 82 | final Function1<TypeDefinition, Boolean> _function_1 = (TypeDefinition it) -> { |
@@ -144,7 +145,7 @@ public class Logic2VampireLanguageMapper_TypeMapper { | |||
144 | it.setFofRole("axiom"); | 145 | it.setFofRole("axiom"); |
145 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 146 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
146 | final Procedure1<VLSUniversalQuantifier> _function_3 = (VLSUniversalQuantifier it_1) -> { | 147 | final Procedure1<VLSUniversalQuantifier> _function_3 = (VLSUniversalQuantifier it_1) -> { |
147 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 148 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
148 | VLSVariable _duplicate = this.support.duplicate(variable); | 149 | VLSVariable _duplicate = this.support.duplicate(variable); |
149 | _variables.add(_duplicate); | 150 | _variables.add(_duplicate); |
150 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 151 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
@@ -194,7 +195,7 @@ public class Logic2VampireLanguageMapper_TypeMapper { | |||
194 | it.setFofRole("axiom"); | 195 | it.setFofRole("axiom"); |
195 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 196 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
196 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { | 197 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { |
197 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 198 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
198 | VLSVariable _duplicate = this.support.duplicate(variable); | 199 | VLSVariable _duplicate = this.support.duplicate(variable); |
199 | _variables.add(_duplicate); | 200 | _variables.add(_duplicate); |
200 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 201 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
@@ -264,7 +265,7 @@ public class Logic2VampireLanguageMapper_TypeMapper { | |||
264 | it.setFofRole("axiom"); | 265 | it.setFofRole("axiom"); |
265 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 266 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
266 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { | 267 | final Procedure1<VLSUniversalQuantifier> _function_5 = (VLSUniversalQuantifier it_1) -> { |
267 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 268 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
268 | VLSVariable _duplicate = this.support.duplicate(variable); | 269 | VLSVariable _duplicate = this.support.duplicate(variable); |
269 | _variables.add(_duplicate); | 270 | _variables.add(_duplicate); |
270 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 271 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
@@ -292,7 +293,7 @@ public class Logic2VampireLanguageMapper_TypeMapper { | |||
292 | it.setFofRole("axiom"); | 293 | it.setFofRole("axiom"); |
293 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); | 294 | VLSUniversalQuantifier _createVLSUniversalQuantifier = this.factory.createVLSUniversalQuantifier(); |
294 | final Procedure1<VLSUniversalQuantifier> _function_6 = (VLSUniversalQuantifier it_1) -> { | 295 | final Procedure1<VLSUniversalQuantifier> _function_6 = (VLSUniversalQuantifier it_1) -> { |
295 | EList<VLSVariableDeclaration> _variables = it_1.getVariables(); | 296 | EList<VLSTffTerm> _variables = it_1.getVariables(); |
296 | VLSVariable _duplicate = this.support.duplicate(variable); | 297 | VLSVariable _duplicate = this.support.duplicate(variable); |
297 | _variables.add(_duplicate); | 298 | _variables.add(_duplicate); |
298 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); | 299 | VLSEquivalent _createVLSEquivalent = this.factory.createVLSEquivalent(); |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.xtend b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.xtend index 0c59b077..4efbc821 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.xtend +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/src/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.xtend | |||
@@ -2,6 +2,7 @@ package ca.mcgill.ecse.dslreasoner.vampire.icse | |||
2 | 2 | ||
3 | import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolver | 3 | import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolver |
4 | import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolverConfiguration | 4 | import ca.mcgill.ecse.dslreasoner.vampire.reasoner.VampireSolverConfiguration |
5 | import ca.mcgill.ecse.dslreasoner.vampire.reasoner.builder.VampireModelInterpretation | ||
5 | import functionalarchitecture.Function | 6 | import functionalarchitecture.Function |
6 | import functionalarchitecture.FunctionalArchitectureModel | 7 | import functionalarchitecture.FunctionalArchitectureModel |
7 | import functionalarchitecture.FunctionalInterface | 8 | import functionalarchitecture.FunctionalInterface |
@@ -17,6 +18,7 @@ import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic | |||
17 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic | 18 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic |
18 | import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace | 19 | import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace |
19 | import java.util.HashMap | 20 | import java.util.HashMap |
21 | import java.util.List | ||
20 | import org.eclipse.emf.ecore.resource.Resource | 22 | import org.eclipse.emf.ecore.resource.Resource |
21 | import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl | 23 | import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl |
22 | 24 | ||
@@ -97,8 +99,10 @@ class FAMTest { | |||
97 | var LogicResult solution = reasoner.solve(problem, vampireConfig, workspace) | 99 | var LogicResult solution = reasoner.solve(problem, vampireConfig, workspace) |
98 | 100 | ||
99 | //visualisation, see | 101 | //visualisation, see |
100 | // var interpretations = reasoner.getInterpretations(solution as ModelResult) | 102 | var interpretations = reasoner.getInterpretations(solution as ModelResult) |
101 | // | 103 | interpretations.get(0) as VampireModelInterpretation |
104 | println(ecore2Logic.allAttributesInScope(modelGenerationProblem.trace)) | ||
105 | |||
102 | // for(interpretation : interpretations) { | 106 | // for(interpretation : interpretations) { |
103 | // val model = logic2Ecore.transformInterpretation(interpretation,modelGenerationProblem.trace) | 107 | // val model = logic2Ecore.transformInterpretation(interpretation,modelGenerationProblem.trace) |
104 | // //look here: hu.bme.mit.inf.dslreasoner.application.execution.GenerationTaskExecutor | 108 | // //look here: hu.bme.mit.inf.dslreasoner.application.execution.GenerationTaskExecutor |
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin index 292bf88e..18295021 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/.FAMTest.xtendbin | |||
Binary files differ | |||
diff --git a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.java b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.java index aca97399..71f522de 100644 --- a/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.java +++ b/Tests/ca.mcgill.ecse.dslreasoner.vampire.test/xtend-gen/ca/mcgill/ecse/dslreasoner/vampire/icse/FAMTest.java | |||
@@ -12,17 +12,21 @@ import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2LogicConfiguration; | |||
12 | import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; | 12 | import hu.bme.mit.inf.dslreasoner.ecore2logic.Ecore2Logic_Trace; |
13 | import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; | 13 | import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; |
14 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; | 14 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.DocumentationLevel; |
15 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.LogicModelInterpretation; | ||
15 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; | 16 | import hu.bme.mit.inf.dslreasoner.logic.model.builder.TracedOutput; |
16 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; | 17 | import hu.bme.mit.inf.dslreasoner.logic.model.logiclanguage.Type; |
17 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; | 18 | import hu.bme.mit.inf.dslreasoner.logic.model.logicproblem.LogicProblem; |
18 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; | 19 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.LogicResult; |
20 | import hu.bme.mit.inf.dslreasoner.logic.model.logicresult.ModelResult; | ||
19 | import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore; | 21 | import hu.bme.mit.inf.dslreasoner.logic2ecore.Logic2Ecore; |
20 | import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; | 22 | import hu.bme.mit.inf.dslreasoner.viatra2logic.Viatra2Logic; |
21 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic; | 23 | import hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretation2logic.InstanceModel2Logic; |
22 | import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; | 24 | import hu.bme.mit.inf.dslreasoner.workspace.FileSystemWorkspace; |
23 | import java.util.HashMap; | 25 | import java.util.HashMap; |
26 | import java.util.List; | ||
24 | import java.util.Map; | 27 | import java.util.Map; |
25 | import org.eclipse.emf.common.util.EList; | 28 | import org.eclipse.emf.common.util.EList; |
29 | import org.eclipse.emf.ecore.EAttribute; | ||
26 | import org.eclipse.emf.ecore.EObject; | 30 | import org.eclipse.emf.ecore.EObject; |
27 | import org.eclipse.emf.ecore.resource.Resource; | 31 | import org.eclipse.emf.ecore.resource.Resource; |
28 | import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; | 32 | import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl; |
@@ -95,6 +99,9 @@ public class FAMTest { | |||
95 | }; | 99 | }; |
96 | final VampireSolverConfiguration vampireConfig = ObjectExtensions.<VampireSolverConfiguration>operator_doubleArrow(_vampireSolverConfiguration, _function); | 100 | final VampireSolverConfiguration vampireConfig = ObjectExtensions.<VampireSolverConfiguration>operator_doubleArrow(_vampireSolverConfiguration, _function); |
97 | LogicResult solution = reasoner.solve(problem, vampireConfig, workspace); | 101 | LogicResult solution = reasoner.solve(problem, vampireConfig, workspace); |
102 | List<? extends LogicModelInterpretation> interpretations = reasoner.getInterpretations(((ModelResult) solution)); | ||
103 | interpretations.get(0); | ||
104 | InputOutput.<Iterable<EAttribute>>println(ecore2Logic.allAttributesInScope(modelGenerationProblem.getTrace())); | ||
98 | long _currentTimeMillis = System.currentTimeMillis(); | 105 | long _currentTimeMillis = System.currentTimeMillis(); |
99 | long _minus = (_currentTimeMillis - startTime); | 106 | long _minus = (_currentTimeMillis - startTime); |
100 | long totalTimeMin = (_minus / 60000); | 107 | long totalTimeMin = (_minus / 60000); |