diff options
author | 2019-02-16 00:43:11 +0100 | |
---|---|---|
committer | 2019-02-19 19:18:25 +0100 | |
commit | d90bedacaafe87e06fddaa05a6ff9b7b796e97e7 (patch) | |
tree | 3631e27854b40de3bce7606f60113054c77bd391 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components | |
parent | Ecore2Cft transformation (diff) | |
download | VIATRA-Generator-d90bedacaafe87e06fddaa05a6ff9b7b796e97e7.tar.gz VIATRA-Generator-d90bedacaafe87e06fddaa05a6ff9b7b796e97e7.tar.zst VIATRA-Generator-d90bedacaafe87e06fddaa05a6ff9b7b796e97e7.zip |
Two-valued fault tree analyzer WIP
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components')
18 files changed, 200 insertions, 190 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin index ffe22f72..eb879e93 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtextbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g index 2d1b9490..51479ad3 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.g | |||
@@ -575,9 +575,9 @@ ruleConstantDistribution returns [EObject current=null] | |||
575 | leaveRule(); | 575 | leaveRule(); |
576 | }: | 576 | }: |
577 | ( | 577 | ( |
578 | otherlv_0='p' | 578 | otherlv_0='prob' |
579 | { | 579 | { |
580 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); | 580 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); |
581 | } | 581 | } |
582 | otherlv_1='=' | 582 | otherlv_1='=' |
583 | { | 583 | { |
@@ -1494,19 +1494,20 @@ ruleComponentInstance returns [EObject current=null] | |||
1494 | ) | 1494 | ) |
1495 | ( | 1495 | ( |
1496 | ( | 1496 | ( |
1497 | lv_name_2_0=RULE_ID | ||
1498 | { | 1497 | { |
1499 | newLeafNode(lv_name_2_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); | 1498 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); |
1500 | } | 1499 | } |
1500 | lv_name_2_0=ruleValidId | ||
1501 | { | 1501 | { |
1502 | if ($current==null) { | 1502 | if ($current==null) { |
1503 | $current = createModelElement(grammarAccess.getComponentInstanceRule()); | 1503 | $current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); |
1504 | } | 1504 | } |
1505 | setWithLastConsumed( | 1505 | set( |
1506 | $current, | 1506 | $current, |
1507 | "name", | 1507 | "name", |
1508 | lv_name_2_0, | 1508 | lv_name_2_0, |
1509 | "org.eclipse.xtext.common.Terminals.ID"); | 1509 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
1510 | afterParserOrEnumRuleCall(); | ||
1510 | } | 1511 | } |
1511 | ) | 1512 | ) |
1512 | )? | 1513 | )? |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens index 2183a28f..24a3b0ab 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguage.tokens | |||
@@ -20,8 +20,8 @@ | |||
20 | 'of'=27 | 20 | 'of'=27 |
21 | 'or'=26 | 21 | 'or'=26 |
22 | 'out'=19 | 22 | 'out'=19 |
23 | 'p'=22 | ||
24 | 'package'=13 | 23 | 'package'=13 |
24 | 'prob'=22 | ||
25 | 'toplevel'=29 | 25 | 'toplevel'=29 |
26 | 'transformation'=28 | 26 | 'transformation'=28 |
27 | '{'=17 | 27 | '{'=17 |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java index d7e9807d..c15c826a 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java | |||
@@ -255,10 +255,11 @@ public class InternalCftLanguageLexer extends Lexer { | |||
255 | try { | 255 | try { |
256 | int _type = T__22; | 256 | int _type = T__22; |
257 | int _channel = DEFAULT_TOKEN_CHANNEL; | 257 | int _channel = DEFAULT_TOKEN_CHANNEL; |
258 | // InternalCftLanguage.g:20:7: ( 'p' ) | 258 | // InternalCftLanguage.g:20:7: ( 'prob' ) |
259 | // InternalCftLanguage.g:20:9: 'p' | 259 | // InternalCftLanguage.g:20:9: 'prob' |
260 | { | 260 | { |
261 | match('p'); | 261 | match("prob"); |
262 | |||
262 | 263 | ||
263 | } | 264 | } |
264 | 265 | ||
@@ -647,12 +648,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
647 | try { | 648 | try { |
648 | int _type = RULE_OF_INT; | 649 | int _type = RULE_OF_INT; |
649 | int _channel = DEFAULT_TOKEN_CHANNEL; | 650 | int _channel = DEFAULT_TOKEN_CHANNEL; |
650 | // InternalCftLanguage.g:1671:13: ( 'o' 'f' ( '0' .. '9' )+ ) | 651 | // InternalCftLanguage.g:1672:13: ( 'o' 'f' ( '0' .. '9' )+ ) |
651 | // InternalCftLanguage.g:1671:15: 'o' 'f' ( '0' .. '9' )+ | 652 | // InternalCftLanguage.g:1672:15: 'o' 'f' ( '0' .. '9' )+ |
652 | { | 653 | { |
653 | match('o'); | 654 | match('o'); |
654 | match('f'); | 655 | match('f'); |
655 | // InternalCftLanguage.g:1671:23: ( '0' .. '9' )+ | 656 | // InternalCftLanguage.g:1672:23: ( '0' .. '9' )+ |
656 | int cnt1=0; | 657 | int cnt1=0; |
657 | loop1: | 658 | loop1: |
658 | do { | 659 | do { |
@@ -666,7 +667,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
666 | 667 | ||
667 | switch (alt1) { | 668 | switch (alt1) { |
668 | case 1 : | 669 | case 1 : |
669 | // InternalCftLanguage.g:1671:24: '0' .. '9' | 670 | // InternalCftLanguage.g:1672:24: '0' .. '9' |
670 | { | 671 | { |
671 | matchRange('0','9'); | 672 | matchRange('0','9'); |
672 | 673 | ||
@@ -698,10 +699,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
698 | try { | 699 | try { |
699 | int _type = RULE_T_DOUBLE; | 700 | int _type = RULE_T_DOUBLE; |
700 | int _channel = DEFAULT_TOKEN_CHANNEL; | 701 | int _channel = DEFAULT_TOKEN_CHANNEL; |
701 | // InternalCftLanguage.g:1673:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | 702 | // InternalCftLanguage.g:1674:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) |
702 | // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 703 | // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) |
703 | { | 704 | { |
704 | // InternalCftLanguage.g:1673:17: ( '0' .. '9' )+ | 705 | // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ |
705 | int cnt2=0; | 706 | int cnt2=0; |
706 | loop2: | 707 | loop2: |
707 | do { | 708 | do { |
@@ -715,7 +716,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
715 | 716 | ||
716 | switch (alt2) { | 717 | switch (alt2) { |
717 | case 1 : | 718 | case 1 : |
718 | // InternalCftLanguage.g:1673:18: '0' .. '9' | 719 | // InternalCftLanguage.g:1674:18: '0' .. '9' |
719 | { | 720 | { |
720 | matchRange('0','9'); | 721 | matchRange('0','9'); |
721 | 722 | ||
@@ -731,15 +732,15 @@ public class InternalCftLanguageLexer extends Lexer { | |||
731 | cnt2++; | 732 | cnt2++; |
732 | } while (true); | 733 | } while (true); |
733 | 734 | ||
734 | // InternalCftLanguage.g:1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | 735 | // InternalCftLanguage.g:1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) |
735 | int alt8=2; | 736 | int alt8=2; |
736 | alt8 = dfa8.predict(input); | 737 | alt8 = dfa8.predict(input); |
737 | switch (alt8) { | 738 | switch (alt8) { |
738 | case 1 : | 739 | case 1 : |
739 | // InternalCftLanguage.g:1673:30: '.' ( '0' .. '9' )+ | 740 | // InternalCftLanguage.g:1674:30: '.' ( '0' .. '9' )+ |
740 | { | 741 | { |
741 | match('.'); | 742 | match('.'); |
742 | // InternalCftLanguage.g:1673:34: ( '0' .. '9' )+ | 743 | // InternalCftLanguage.g:1674:34: ( '0' .. '9' )+ |
743 | int cnt3=0; | 744 | int cnt3=0; |
744 | loop3: | 745 | loop3: |
745 | do { | 746 | do { |
@@ -753,7 +754,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
753 | 754 | ||
754 | switch (alt3) { | 755 | switch (alt3) { |
755 | case 1 : | 756 | case 1 : |
756 | // InternalCftLanguage.g:1673:35: '0' .. '9' | 757 | // InternalCftLanguage.g:1674:35: '0' .. '9' |
757 | { | 758 | { |
758 | matchRange('0','9'); | 759 | matchRange('0','9'); |
759 | 760 | ||
@@ -773,9 +774,9 @@ public class InternalCftLanguageLexer extends Lexer { | |||
773 | } | 774 | } |
774 | break; | 775 | break; |
775 | case 2 : | 776 | case 2 : |
776 | // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ | 777 | // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ |
777 | { | 778 | { |
778 | // InternalCftLanguage.g:1673:46: ( '.' ( '0' .. '9' )+ )? | 779 | // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? |
779 | int alt5=2; | 780 | int alt5=2; |
780 | int LA5_0 = input.LA(1); | 781 | int LA5_0 = input.LA(1); |
781 | 782 | ||
@@ -784,10 +785,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
784 | } | 785 | } |
785 | switch (alt5) { | 786 | switch (alt5) { |
786 | case 1 : | 787 | case 1 : |
787 | // InternalCftLanguage.g:1673:47: '.' ( '0' .. '9' )+ | 788 | // InternalCftLanguage.g:1674:47: '.' ( '0' .. '9' )+ |
788 | { | 789 | { |
789 | match('.'); | 790 | match('.'); |
790 | // InternalCftLanguage.g:1673:51: ( '0' .. '9' )+ | 791 | // InternalCftLanguage.g:1674:51: ( '0' .. '9' )+ |
791 | int cnt4=0; | 792 | int cnt4=0; |
792 | loop4: | 793 | loop4: |
793 | do { | 794 | do { |
@@ -801,7 +802,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
801 | 802 | ||
802 | switch (alt4) { | 803 | switch (alt4) { |
803 | case 1 : | 804 | case 1 : |
804 | // InternalCftLanguage.g:1673:52: '0' .. '9' | 805 | // InternalCftLanguage.g:1674:52: '0' .. '9' |
805 | { | 806 | { |
806 | matchRange('0','9'); | 807 | matchRange('0','9'); |
807 | 808 | ||
@@ -832,7 +833,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
832 | recover(mse); | 833 | recover(mse); |
833 | throw mse;} | 834 | throw mse;} |
834 | 835 | ||
835 | // InternalCftLanguage.g:1673:75: ( '+' | '-' )? | 836 | // InternalCftLanguage.g:1674:75: ( '+' | '-' )? |
836 | int alt6=2; | 837 | int alt6=2; |
837 | int LA6_0 = input.LA(1); | 838 | int LA6_0 = input.LA(1); |
838 | 839 | ||
@@ -858,7 +859,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
858 | 859 | ||
859 | } | 860 | } |
860 | 861 | ||
861 | // InternalCftLanguage.g:1673:86: ( '0' .. '9' )+ | 862 | // InternalCftLanguage.g:1674:86: ( '0' .. '9' )+ |
862 | int cnt7=0; | 863 | int cnt7=0; |
863 | loop7: | 864 | loop7: |
864 | do { | 865 | do { |
@@ -872,7 +873,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
872 | 873 | ||
873 | switch (alt7) { | 874 | switch (alt7) { |
874 | case 1 : | 875 | case 1 : |
875 | // InternalCftLanguage.g:1673:87: '0' .. '9' | 876 | // InternalCftLanguage.g:1674:87: '0' .. '9' |
876 | { | 877 | { |
877 | matchRange('0','9'); | 878 | matchRange('0','9'); |
878 | 879 | ||
@@ -910,10 +911,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
910 | try { | 911 | try { |
911 | int _type = RULE_ID; | 912 | int _type = RULE_ID; |
912 | int _channel = DEFAULT_TOKEN_CHANNEL; | 913 | int _channel = DEFAULT_TOKEN_CHANNEL; |
913 | // InternalCftLanguage.g:1675:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 914 | // InternalCftLanguage.g:1676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
914 | // InternalCftLanguage.g:1675:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 915 | // InternalCftLanguage.g:1676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
915 | { | 916 | { |
916 | // InternalCftLanguage.g:1675:11: ( '^' )? | 917 | // InternalCftLanguage.g:1676:11: ( '^' )? |
917 | int alt9=2; | 918 | int alt9=2; |
918 | int LA9_0 = input.LA(1); | 919 | int LA9_0 = input.LA(1); |
919 | 920 | ||
@@ -922,7 +923,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
922 | } | 923 | } |
923 | switch (alt9) { | 924 | switch (alt9) { |
924 | case 1 : | 925 | case 1 : |
925 | // InternalCftLanguage.g:1675:11: '^' | 926 | // InternalCftLanguage.g:1676:11: '^' |
926 | { | 927 | { |
927 | match('^'); | 928 | match('^'); |
928 | 929 | ||
@@ -940,7 +941,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
940 | recover(mse); | 941 | recover(mse); |
941 | throw mse;} | 942 | throw mse;} |
942 | 943 | ||
943 | // InternalCftLanguage.g:1675:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 944 | // InternalCftLanguage.g:1676:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
944 | loop10: | 945 | loop10: |
945 | do { | 946 | do { |
946 | int alt10=2; | 947 | int alt10=2; |
@@ -989,10 +990,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
989 | try { | 990 | try { |
990 | int _type = RULE_INT; | 991 | int _type = RULE_INT; |
991 | int _channel = DEFAULT_TOKEN_CHANNEL; | 992 | int _channel = DEFAULT_TOKEN_CHANNEL; |
992 | // InternalCftLanguage.g:1677:10: ( ( '0' .. '9' )+ ) | 993 | // InternalCftLanguage.g:1678:10: ( ( '0' .. '9' )+ ) |
993 | // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ | 994 | // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ |
994 | { | 995 | { |
995 | // InternalCftLanguage.g:1677:12: ( '0' .. '9' )+ | 996 | // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ |
996 | int cnt11=0; | 997 | int cnt11=0; |
997 | loop11: | 998 | loop11: |
998 | do { | 999 | do { |
@@ -1006,7 +1007,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1006 | 1007 | ||
1007 | switch (alt11) { | 1008 | switch (alt11) { |
1008 | case 1 : | 1009 | case 1 : |
1009 | // InternalCftLanguage.g:1677:13: '0' .. '9' | 1010 | // InternalCftLanguage.g:1678:13: '0' .. '9' |
1010 | { | 1011 | { |
1011 | matchRange('0','9'); | 1012 | matchRange('0','9'); |
1012 | 1013 | ||
@@ -1038,10 +1039,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1038 | try { | 1039 | try { |
1039 | int _type = RULE_STRING; | 1040 | int _type = RULE_STRING; |
1040 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1041 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1041 | // InternalCftLanguage.g:1679:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1042 | // InternalCftLanguage.g:1680:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
1042 | // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1043 | // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1043 | { | 1044 | { |
1044 | // InternalCftLanguage.g:1679:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1045 | // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1045 | int alt14=2; | 1046 | int alt14=2; |
1046 | int LA14_0 = input.LA(1); | 1047 | int LA14_0 = input.LA(1); |
1047 | 1048 | ||
@@ -1059,10 +1060,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1059 | } | 1060 | } |
1060 | switch (alt14) { | 1061 | switch (alt14) { |
1061 | case 1 : | 1062 | case 1 : |
1062 | // InternalCftLanguage.g:1679:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1063 | // InternalCftLanguage.g:1680:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
1063 | { | 1064 | { |
1064 | match('\"'); | 1065 | match('\"'); |
1065 | // InternalCftLanguage.g:1679:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 1066 | // InternalCftLanguage.g:1680:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
1066 | loop12: | 1067 | loop12: |
1067 | do { | 1068 | do { |
1068 | int alt12=3; | 1069 | int alt12=3; |
@@ -1078,7 +1079,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1078 | 1079 | ||
1079 | switch (alt12) { | 1080 | switch (alt12) { |
1080 | case 1 : | 1081 | case 1 : |
1081 | // InternalCftLanguage.g:1679:21: '\\\\' . | 1082 | // InternalCftLanguage.g:1680:21: '\\\\' . |
1082 | { | 1083 | { |
1083 | match('\\'); | 1084 | match('\\'); |
1084 | matchAny(); | 1085 | matchAny(); |
@@ -1086,7 +1087,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1086 | } | 1087 | } |
1087 | break; | 1088 | break; |
1088 | case 2 : | 1089 | case 2 : |
1089 | // InternalCftLanguage.g:1679:28: ~ ( ( '\\\\' | '\"' ) ) | 1090 | // InternalCftLanguage.g:1680:28: ~ ( ( '\\\\' | '\"' ) ) |
1090 | { | 1091 | { |
1091 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1092 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1092 | input.consume(); | 1093 | input.consume(); |
@@ -1111,10 +1112,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1111 | } | 1112 | } |
1112 | break; | 1113 | break; |
1113 | case 2 : | 1114 | case 2 : |
1114 | // InternalCftLanguage.g:1679:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 1115 | // InternalCftLanguage.g:1680:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
1115 | { | 1116 | { |
1116 | match('\''); | 1117 | match('\''); |
1117 | // InternalCftLanguage.g:1679:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 1118 | // InternalCftLanguage.g:1680:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
1118 | loop13: | 1119 | loop13: |
1119 | do { | 1120 | do { |
1120 | int alt13=3; | 1121 | int alt13=3; |
@@ -1130,7 +1131,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1130 | 1131 | ||
1131 | switch (alt13) { | 1132 | switch (alt13) { |
1132 | case 1 : | 1133 | case 1 : |
1133 | // InternalCftLanguage.g:1679:54: '\\\\' . | 1134 | // InternalCftLanguage.g:1680:54: '\\\\' . |
1134 | { | 1135 | { |
1135 | match('\\'); | 1136 | match('\\'); |
1136 | matchAny(); | 1137 | matchAny(); |
@@ -1138,7 +1139,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1138 | } | 1139 | } |
1139 | break; | 1140 | break; |
1140 | case 2 : | 1141 | case 2 : |
1141 | // InternalCftLanguage.g:1679:61: ~ ( ( '\\\\' | '\\'' ) ) | 1142 | // InternalCftLanguage.g:1680:61: ~ ( ( '\\\\' | '\\'' ) ) |
1142 | { | 1143 | { |
1143 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1144 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1144 | input.consume(); | 1145 | input.consume(); |
@@ -1181,12 +1182,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1181 | try { | 1182 | try { |
1182 | int _type = RULE_ML_COMMENT; | 1183 | int _type = RULE_ML_COMMENT; |
1183 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1184 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1184 | // InternalCftLanguage.g:1681:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1185 | // InternalCftLanguage.g:1682:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
1185 | // InternalCftLanguage.g:1681:19: '/*' ( options {greedy=false; } : . )* '*/' | 1186 | // InternalCftLanguage.g:1682:19: '/*' ( options {greedy=false; } : . )* '*/' |
1186 | { | 1187 | { |
1187 | match("/*"); | 1188 | match("/*"); |
1188 | 1189 | ||
1189 | // InternalCftLanguage.g:1681:24: ( options {greedy=false; } : . )* | 1190 | // InternalCftLanguage.g:1682:24: ( options {greedy=false; } : . )* |
1190 | loop15: | 1191 | loop15: |
1191 | do { | 1192 | do { |
1192 | int alt15=2; | 1193 | int alt15=2; |
@@ -1211,7 +1212,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1211 | 1212 | ||
1212 | switch (alt15) { | 1213 | switch (alt15) { |
1213 | case 1 : | 1214 | case 1 : |
1214 | // InternalCftLanguage.g:1681:52: . | 1215 | // InternalCftLanguage.g:1682:52: . |
1215 | { | 1216 | { |
1216 | matchAny(); | 1217 | matchAny(); |
1217 | 1218 | ||
@@ -1241,12 +1242,12 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1241 | try { | 1242 | try { |
1242 | int _type = RULE_SL_COMMENT; | 1243 | int _type = RULE_SL_COMMENT; |
1243 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1244 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1244 | // InternalCftLanguage.g:1683:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1245 | // InternalCftLanguage.g:1684:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1245 | // InternalCftLanguage.g:1683:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1246 | // InternalCftLanguage.g:1684:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1246 | { | 1247 | { |
1247 | match("//"); | 1248 | match("//"); |
1248 | 1249 | ||
1249 | // InternalCftLanguage.g:1683:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1250 | // InternalCftLanguage.g:1684:24: (~ ( ( '\\n' | '\\r' ) ) )* |
1250 | loop16: | 1251 | loop16: |
1251 | do { | 1252 | do { |
1252 | int alt16=2; | 1253 | int alt16=2; |
@@ -1259,7 +1260,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1259 | 1260 | ||
1260 | switch (alt16) { | 1261 | switch (alt16) { |
1261 | case 1 : | 1262 | case 1 : |
1262 | // InternalCftLanguage.g:1683:24: ~ ( ( '\\n' | '\\r' ) ) | 1263 | // InternalCftLanguage.g:1684:24: ~ ( ( '\\n' | '\\r' ) ) |
1263 | { | 1264 | { |
1264 | 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') ) { | 1265 | 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') ) { |
1265 | input.consume(); | 1266 | input.consume(); |
@@ -1279,7 +1280,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1279 | } | 1280 | } |
1280 | } while (true); | 1281 | } while (true); |
1281 | 1282 | ||
1282 | // InternalCftLanguage.g:1683:40: ( ( '\\r' )? '\\n' )? | 1283 | // InternalCftLanguage.g:1684:40: ( ( '\\r' )? '\\n' )? |
1283 | int alt18=2; | 1284 | int alt18=2; |
1284 | int LA18_0 = input.LA(1); | 1285 | int LA18_0 = input.LA(1); |
1285 | 1286 | ||
@@ -1288,9 +1289,9 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1288 | } | 1289 | } |
1289 | switch (alt18) { | 1290 | switch (alt18) { |
1290 | case 1 : | 1291 | case 1 : |
1291 | // InternalCftLanguage.g:1683:41: ( '\\r' )? '\\n' | 1292 | // InternalCftLanguage.g:1684:41: ( '\\r' )? '\\n' |
1292 | { | 1293 | { |
1293 | // InternalCftLanguage.g:1683:41: ( '\\r' )? | 1294 | // InternalCftLanguage.g:1684:41: ( '\\r' )? |
1294 | int alt17=2; | 1295 | int alt17=2; |
1295 | int LA17_0 = input.LA(1); | 1296 | int LA17_0 = input.LA(1); |
1296 | 1297 | ||
@@ -1299,7 +1300,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1299 | } | 1300 | } |
1300 | switch (alt17) { | 1301 | switch (alt17) { |
1301 | case 1 : | 1302 | case 1 : |
1302 | // InternalCftLanguage.g:1683:41: '\\r' | 1303 | // InternalCftLanguage.g:1684:41: '\\r' |
1303 | { | 1304 | { |
1304 | match('\r'); | 1305 | match('\r'); |
1305 | 1306 | ||
@@ -1331,10 +1332,10 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1331 | try { | 1332 | try { |
1332 | int _type = RULE_WS; | 1333 | int _type = RULE_WS; |
1333 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1334 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1334 | // InternalCftLanguage.g:1685:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1335 | // InternalCftLanguage.g:1686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1335 | // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1336 | // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1336 | { | 1337 | { |
1337 | // InternalCftLanguage.g:1685:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1338 | // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1338 | int cnt19=0; | 1339 | int cnt19=0; |
1339 | loop19: | 1340 | loop19: |
1340 | do { | 1341 | do { |
@@ -1388,8 +1389,8 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1388 | try { | 1389 | try { |
1389 | int _type = RULE_ANY_OTHER; | 1390 | int _type = RULE_ANY_OTHER; |
1390 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1391 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1391 | // InternalCftLanguage.g:1687:16: ( . ) | 1392 | // InternalCftLanguage.g:1688:16: ( . ) |
1392 | // InternalCftLanguage.g:1687:18: . | 1393 | // InternalCftLanguage.g:1688:18: . |
1393 | { | 1394 | { |
1394 | matchAny(); | 1395 | matchAny(); |
1395 | 1396 | ||
@@ -1725,24 +1726,24 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1725 | this.transition = DFA8_transition; | 1726 | this.transition = DFA8_transition; |
1726 | } | 1727 | } |
1727 | public String getDescription() { | 1728 | public String getDescription() { |
1728 | return "1673:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; | 1729 | return "1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; |
1729 | } | 1730 | } |
1730 | } | 1731 | } |
1731 | static final String DFA20_eotS = | 1732 | static final String DFA20_eotS = |
1732 | "\1\uffff\1\36\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\72\1\34\1\uffff\3\34\2\uffff\1\37\3\uffff\1\37\1\103\1\37\1\uffff\1\37\1\106\1\110\4\uffff\3\37\1\114\3\37\10\uffff\1\72\5\uffff\2\37\1\uffff\1\122\1\123\1\uffff\1\124\1\uffff\2\37\1\127\1\uffff\5\37\3\uffff\2\37\1\uffff\13\37\1\152\1\153\1\154\3\37\1\160\3\uffff\2\37\1\163\1\uffff\1\37\1\165\1\uffff\1\37\1\uffff\4\37\1\173\1\uffff"; | 1733 | "\1\uffff\1\37\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\74\1\34\1\uffff\3\34\2\uffff\2\37\2\uffff\1\37\1\104\1\37\1\uffff\1\37\1\107\1\110\4\uffff\3\37\1\115\3\37\10\uffff\1\74\5\uffff\3\37\1\uffff\1\124\1\125\2\uffff\1\126\2\37\1\131\1\uffff\4\37\1\136\1\37\3\uffff\2\37\1\uffff\4\37\1\uffff\7\37\1\155\1\156\1\157\3\37\1\163\3\uffff\2\37\1\166\1\uffff\1\37\1\170\1\uffff\1\37\1\uffff\4\37\1\176\1\uffff"; |
1733 | static final String DFA20_eofS = | 1734 | static final String DFA20_eofS = |
1734 | "\174\uffff"; | 1735 | "\177\uffff"; |
1735 | static final String DFA20_minS = | 1736 | static final String DFA20_minS = |
1736 | "\1\0\1\60\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\3\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\157\1\uffff\2\60\1\uffff\1\60\1\uffff\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; | 1737 | "\1\0\1\141\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\1\157\2\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; |
1737 | static final String DFA20_maxS = | 1738 | static final String DFA20_maxS = |
1738 | "\1\uffff\1\172\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\3\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\157\1\uffff\2\172\1\uffff\1\172\1\uffff\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; | 1739 | "\1\uffff\1\162\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\1\157\2\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; |
1739 | static final String DFA20_acceptS = | 1740 | static final String DFA20_acceptS = |
1740 | "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\1\uffff\1\12\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\40\1\uffff\1\36\1\41\1\42\1\43\1\44\2\uffff\1\6\2\uffff\1\16\1\uffff\1\17\3\uffff\1\27\5\uffff\1\4\1\7\1\35\2\uffff\1\15\22\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; | 1741 | "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\2\uffff\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\6\2\uffff\1\16\1\17\4\uffff\1\27\6\uffff\1\4\1\7\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; |
1741 | static final String DFA20_specialS = | 1742 | static final String DFA20_specialS = |
1742 | "\1\1\27\uffff\1\2\1\0\142\uffff}>"; | 1743 | "\1\1\27\uffff\1\2\1\0\145\uffff}>"; |
1743 | static final String[] DFA20_transitionS = { | 1744 | static final String[] DFA20_transitionS = { |
1744 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", | 1745 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", |
1745 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\1\35\31\37", | 1746 | "\1\35\20\uffff\1\36", |
1746 | "", | 1747 | "", |
1747 | "\1\41\1\42", | 1748 | "\1\41\1\42", |
1748 | "\1\43", | 1749 | "\1\43", |
@@ -1762,7 +1763,7 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1762 | "\1\67", | 1763 | "\1\67", |
1763 | "", | 1764 | "", |
1764 | "", | 1765 | "", |
1765 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", | 1766 | "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", |
1766 | "\32\37\4\uffff\1\37\1\uffff\32\37", | 1767 | "\32\37\4\uffff\1\37\1\uffff\32\37", |
1767 | "", | 1768 | "", |
1768 | "\0\75", | 1769 | "\0\75", |
@@ -1771,27 +1772,27 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1771 | "", | 1772 | "", |
1772 | "", | 1773 | "", |
1773 | "\1\101", | 1774 | "\1\101", |
1775 | "\1\102", | ||
1774 | "", | 1776 | "", |
1775 | "", | 1777 | "", |
1776 | "", | 1778 | "\1\103", |
1777 | "\1\102", | ||
1778 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1779 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1779 | "\1\104", | ||
1780 | "", | ||
1781 | "\1\105", | 1780 | "\1\105", |
1781 | "", | ||
1782 | "\1\106", | ||
1782 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1783 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1783 | "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1784 | "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1784 | "", | 1785 | "", |
1785 | "", | 1786 | "", |
1786 | "", | 1787 | "", |
1787 | "", | 1788 | "", |
1788 | "\1\111", | ||
1789 | "\1\112", | 1789 | "\1\112", |
1790 | "\1\113", | 1790 | "\1\113", |
1791 | "\1\114", | ||
1791 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1792 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1792 | "\1\115", | ||
1793 | "\1\116", | 1793 | "\1\116", |
1794 | "\1\117", | 1794 | "\1\117", |
1795 | "\1\120", | ||
1795 | "", | 1796 | "", |
1796 | "", | 1797 | "", |
1797 | "", | 1798 | "", |
@@ -1800,69 +1801,72 @@ public class InternalCftLanguageLexer extends Lexer { | |||
1800 | "", | 1801 | "", |
1801 | "", | 1802 | "", |
1802 | "", | 1803 | "", |
1803 | "\1\74\1\uffff\12\73\13\uffff\1\74\37\uffff\1\74", | 1804 | "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", |
1804 | "", | 1805 | "", |
1805 | "", | 1806 | "", |
1806 | "", | 1807 | "", |
1807 | "", | 1808 | "", |
1808 | "", | 1809 | "", |
1809 | "\1\120", | ||
1810 | "\1\121", | 1810 | "\1\121", |
1811 | "\1\122", | ||
1812 | "\1\123", | ||
1811 | "", | 1813 | "", |
1812 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1814 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1813 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1815 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1814 | "", | 1816 | "", |
1815 | "\12\107\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1816 | "", | 1817 | "", |
1817 | "\1\125", | 1818 | "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1818 | "\1\126", | 1819 | "\1\127", |
1820 | "\1\130", | ||
1819 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1821 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1820 | "", | 1822 | "", |
1821 | "\1\130", | ||
1822 | "\1\131", | ||
1823 | "\1\132", | 1823 | "\1\132", |
1824 | "\1\133", | 1824 | "\1\133", |
1825 | "\1\134", | 1825 | "\1\134", |
1826 | "\1\135", | ||
1827 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1828 | "\1\137", | ||
1826 | "", | 1829 | "", |
1827 | "", | 1830 | "", |
1828 | "", | 1831 | "", |
1829 | "\1\135", | ||
1830 | "\1\136", | ||
1831 | "", | ||
1832 | "\1\137", | ||
1833 | "\1\140", | 1832 | "\1\140", |
1834 | "\1\141", | 1833 | "\1\141", |
1834 | "", | ||
1835 | "\1\142", | 1835 | "\1\142", |
1836 | "\1\143", | 1836 | "\1\143", |
1837 | "\1\144", | 1837 | "\1\144", |
1838 | "\1\145", | 1838 | "\1\145", |
1839 | "", | ||
1839 | "\1\146", | 1840 | "\1\146", |
1840 | "\1\147", | 1841 | "\1\147", |
1841 | "\1\150", | 1842 | "\1\150", |
1842 | "\1\151", | 1843 | "\1\151", |
1844 | "\1\152", | ||
1845 | "\1\153", | ||
1846 | "\1\154", | ||
1843 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1847 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1844 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1848 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1845 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1849 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1846 | "\1\155", | 1850 | "\1\160", |
1847 | "\1\156", | ||
1848 | "\1\157", | ||
1849 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1850 | "", | ||
1851 | "", | ||
1852 | "", | ||
1853 | "\1\161", | 1851 | "\1\161", |
1854 | "\1\162", | 1852 | "\1\162", |
1855 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1853 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1856 | "", | 1854 | "", |
1855 | "", | ||
1856 | "", | ||
1857 | "\1\164", | 1857 | "\1\164", |
1858 | "\1\165", | ||
1858 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1859 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1859 | "", | 1860 | "", |
1860 | "\1\166", | ||
1861 | "", | ||
1862 | "\1\167", | 1861 | "\1\167", |
1863 | "\1\170", | 1862 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1863 | "", | ||
1864 | "\1\171", | 1864 | "\1\171", |
1865 | "", | ||
1865 | "\1\172", | 1866 | "\1\172", |
1867 | "\1\173", | ||
1868 | "\1\174", | ||
1869 | "\1\175", | ||
1866 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | 1870 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", |
1867 | "" | 1871 | "" |
1868 | }; | 1872 | }; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java index 4727763e..0da9c0f1 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageParser.java | |||
@@ -21,7 +21,7 @@ import java.util.ArrayList; | |||
21 | @SuppressWarnings("all") | 21 | @SuppressWarnings("all") |
22 | public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | 22 | public class InternalCftLanguageParser extends AbstractInternalAntlrParser { |
23 | public static final String[] tokenNames = new String[] { | 23 | public static final String[] tokenNames = new String[] { |
24 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'p'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" | 24 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_OF_INT", "RULE_ID", "RULE_T_DOUBLE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "';'", "'import'", "'cft'", "'{'", "'in'", "'out'", "'}'", "'[]'", "'prob'", "'='", "'lambda'", "'and'", "'or'", "'of'", "'transformation'", "'toplevel'", "'mapping'", "'('", "','", "')'", "'lookup'", "'as'", "'+='", "':='", "'.'", "'=>'", "'*'" |
25 | }; | 25 | }; |
26 | public static final int RULE_STRING=8; | 26 | public static final int RULE_STRING=8; |
27 | public static final int RULE_SL_COMMENT=10; | 27 | public static final int RULE_SL_COMMENT=10; |
@@ -1549,7 +1549,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1549 | 1549 | ||
1550 | 1550 | ||
1551 | // $ANTLR start "ruleConstantDistribution" | 1551 | // $ANTLR start "ruleConstantDistribution" |
1552 | // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; | 1552 | // InternalCftLanguage.g:570:1: ruleConstantDistribution returns [EObject current=null] : (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ; |
1553 | public final EObject ruleConstantDistribution() throws RecognitionException { | 1553 | public final EObject ruleConstantDistribution() throws RecognitionException { |
1554 | EObject current = null; | 1554 | EObject current = null; |
1555 | 1555 | ||
@@ -1562,15 +1562,15 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
1562 | enterRule(); | 1562 | enterRule(); |
1563 | 1563 | ||
1564 | try { | 1564 | try { |
1565 | // InternalCftLanguage.g:576:2: ( (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) | 1565 | // InternalCftLanguage.g:576:2: ( (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) ) |
1566 | // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) | 1566 | // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) |
1567 | { | 1567 | { |
1568 | // InternalCftLanguage.g:577:2: (otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) | 1568 | // InternalCftLanguage.g:577:2: (otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) ) |
1569 | // InternalCftLanguage.g:578:3: otherlv_0= 'p' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) | 1569 | // InternalCftLanguage.g:578:3: otherlv_0= 'prob' otherlv_1= '=' ( (lv_p_2_0= ruleDouble ) ) |
1570 | { | 1570 | { |
1571 | otherlv_0=(Token)match(input,22,FOLLOW_15); | 1571 | otherlv_0=(Token)match(input,22,FOLLOW_15); |
1572 | 1572 | ||
1573 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getPKeyword_0()); | 1573 | newLeafNode(otherlv_0, grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); |
1574 | 1574 | ||
1575 | otherlv_1=(Token)match(input,23,FOLLOW_16); | 1575 | otherlv_1=(Token)match(input,23,FOLLOW_16); |
1576 | 1576 | ||
@@ -3861,22 +3861,23 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3861 | 3861 | ||
3862 | 3862 | ||
3863 | // $ANTLR start "ruleComponentInstance" | 3863 | // $ANTLR start "ruleComponentInstance" |
3864 | // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ; | 3864 | // InternalCftLanguage.g:1467:1: ruleComponentInstance returns [EObject current=null] : (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ; |
3865 | public final EObject ruleComponentInstance() throws RecognitionException { | 3865 | public final EObject ruleComponentInstance() throws RecognitionException { |
3866 | EObject current = null; | 3866 | EObject current = null; |
3867 | 3867 | ||
3868 | Token otherlv_0=null; | 3868 | Token otherlv_0=null; |
3869 | Token lv_name_2_0=null; | 3869 | AntlrDatatypeRuleToken lv_name_2_0 = null; |
3870 | |||
3870 | 3871 | ||
3871 | 3872 | ||
3872 | enterRule(); | 3873 | enterRule(); |
3873 | 3874 | ||
3874 | try { | 3875 | try { |
3875 | // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) ) | 3876 | // InternalCftLanguage.g:1473:2: ( (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) ) |
3876 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) | 3877 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) |
3877 | { | 3878 | { |
3878 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? ) | 3879 | // InternalCftLanguage.g:1474:2: (otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? ) |
3879 | // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= RULE_ID ) )? | 3880 | // InternalCftLanguage.g:1475:3: otherlv_0= '=>' ( ( ruleQualifiedName ) ) ( (lv_name_2_0= ruleValidId ) )? |
3880 | { | 3881 | { |
3881 | otherlv_0=(Token)match(input,39,FOLLOW_3); | 3882 | otherlv_0=(Token)match(input,39,FOLLOW_3); |
3882 | 3883 | ||
@@ -3896,7 +3897,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3896 | 3897 | ||
3897 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); | 3898 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getComponentTypeComponentDefinitionCrossReference_1_0()); |
3898 | 3899 | ||
3899 | pushFollow(FOLLOW_33); | 3900 | pushFollow(FOLLOW_18); |
3900 | ruleQualifiedName(); | 3901 | ruleQualifiedName(); |
3901 | 3902 | ||
3902 | state._fsp--; | 3903 | state._fsp--; |
@@ -3910,33 +3911,38 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3910 | 3911 | ||
3911 | } | 3912 | } |
3912 | 3913 | ||
3913 | // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= RULE_ID ) )? | 3914 | // InternalCftLanguage.g:1495:3: ( (lv_name_2_0= ruleValidId ) )? |
3914 | int alt26=2; | 3915 | int alt26=2; |
3915 | int LA26_0 = input.LA(1); | 3916 | int LA26_0 = input.LA(1); |
3916 | 3917 | ||
3917 | if ( (LA26_0==RULE_ID) ) { | 3918 | if ( ((LA26_0>=RULE_OF_INT && LA26_0<=RULE_ID)) ) { |
3918 | alt26=1; | 3919 | alt26=1; |
3919 | } | 3920 | } |
3920 | switch (alt26) { | 3921 | switch (alt26) { |
3921 | case 1 : | 3922 | case 1 : |
3922 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) | 3923 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) |
3923 | { | 3924 | { |
3924 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= RULE_ID ) | 3925 | // InternalCftLanguage.g:1496:4: (lv_name_2_0= ruleValidId ) |
3925 | // InternalCftLanguage.g:1497:5: lv_name_2_0= RULE_ID | 3926 | // InternalCftLanguage.g:1497:5: lv_name_2_0= ruleValidId |
3926 | { | 3927 | { |
3927 | lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_2); | ||
3928 | 3928 | ||
3929 | newLeafNode(lv_name_2_0, grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); | 3929 | newCompositeNode(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); |
3930 | 3930 | ||
3931 | pushFollow(FOLLOW_2); | ||
3932 | lv_name_2_0=ruleValidId(); | ||
3933 | |||
3934 | state._fsp--; | ||
3935 | |||
3931 | 3936 | ||
3932 | if (current==null) { | 3937 | if (current==null) { |
3933 | current = createModelElement(grammarAccess.getComponentInstanceRule()); | 3938 | current = createModelElementForParent(grammarAccess.getComponentInstanceRule()); |
3934 | } | 3939 | } |
3935 | setWithLastConsumed( | 3940 | set( |
3936 | current, | 3941 | current, |
3937 | "name", | 3942 | "name", |
3938 | lv_name_2_0, | 3943 | lv_name_2_0, |
3939 | "org.eclipse.xtext.common.Terminals.ID"); | 3944 | "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ValidId"); |
3945 | afterParserOrEnumRuleCall(); | ||
3940 | 3946 | ||
3941 | 3947 | ||
3942 | } | 3948 | } |
@@ -3970,7 +3976,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3970 | 3976 | ||
3971 | 3977 | ||
3972 | // $ANTLR start "entryRuleQualifiedName" | 3978 | // $ANTLR start "entryRuleQualifiedName" |
3973 | // InternalCftLanguage.g:1517:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; | 3979 | // InternalCftLanguage.g:1518:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; |
3974 | public final String entryRuleQualifiedName() throws RecognitionException { | 3980 | public final String entryRuleQualifiedName() throws RecognitionException { |
3975 | String current = null; | 3981 | String current = null; |
3976 | 3982 | ||
@@ -3978,8 +3984,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
3978 | 3984 | ||
3979 | 3985 | ||
3980 | try { | 3986 | try { |
3981 | // InternalCftLanguage.g:1517:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) | 3987 | // InternalCftLanguage.g:1518:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) |
3982 | // InternalCftLanguage.g:1518:2: iv_ruleQualifiedName= ruleQualifiedName EOF | 3988 | // InternalCftLanguage.g:1519:2: iv_ruleQualifiedName= ruleQualifiedName EOF |
3983 | { | 3989 | { |
3984 | newCompositeNode(grammarAccess.getQualifiedNameRule()); | 3990 | newCompositeNode(grammarAccess.getQualifiedNameRule()); |
3985 | pushFollow(FOLLOW_1); | 3991 | pushFollow(FOLLOW_1); |
@@ -4006,7 +4012,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4006 | 4012 | ||
4007 | 4013 | ||
4008 | // $ANTLR start "ruleQualifiedName" | 4014 | // $ANTLR start "ruleQualifiedName" |
4009 | // InternalCftLanguage.g:1524:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; | 4015 | // InternalCftLanguage.g:1525:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ; |
4010 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { | 4016 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { |
4011 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4017 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
4012 | 4018 | ||
@@ -4020,16 +4026,16 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4020 | enterRule(); | 4026 | enterRule(); |
4021 | 4027 | ||
4022 | try { | 4028 | try { |
4023 | // InternalCftLanguage.g:1530:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) | 4029 | // InternalCftLanguage.g:1531:2: ( (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) ) |
4024 | // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) | 4030 | // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) |
4025 | { | 4031 | { |
4026 | // InternalCftLanguage.g:1531:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) | 4032 | // InternalCftLanguage.g:1532:2: (this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* ) |
4027 | // InternalCftLanguage.g:1532:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* | 4033 | // InternalCftLanguage.g:1533:3: this_ValidId_0= ruleValidId (kw= '.' this_ValidId_2= ruleValidId )* |
4028 | { | 4034 | { |
4029 | 4035 | ||
4030 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); | 4036 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_0()); |
4031 | 4037 | ||
4032 | pushFollow(FOLLOW_34); | 4038 | pushFollow(FOLLOW_33); |
4033 | this_ValidId_0=ruleValidId(); | 4039 | this_ValidId_0=ruleValidId(); |
4034 | 4040 | ||
4035 | state._fsp--; | 4041 | state._fsp--; |
@@ -4040,7 +4046,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4040 | 4046 | ||
4041 | afterParserOrEnumRuleCall(); | 4047 | afterParserOrEnumRuleCall(); |
4042 | 4048 | ||
4043 | // InternalCftLanguage.g:1542:3: (kw= '.' this_ValidId_2= ruleValidId )* | 4049 | // InternalCftLanguage.g:1543:3: (kw= '.' this_ValidId_2= ruleValidId )* |
4044 | loop27: | 4050 | loop27: |
4045 | do { | 4051 | do { |
4046 | int alt27=2; | 4052 | int alt27=2; |
@@ -4059,7 +4065,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4059 | 4065 | ||
4060 | switch (alt27) { | 4066 | switch (alt27) { |
4061 | case 1 : | 4067 | case 1 : |
4062 | // InternalCftLanguage.g:1543:4: kw= '.' this_ValidId_2= ruleValidId | 4068 | // InternalCftLanguage.g:1544:4: kw= '.' this_ValidId_2= ruleValidId |
4063 | { | 4069 | { |
4064 | kw=(Token)match(input,38,FOLLOW_3); | 4070 | kw=(Token)match(input,38,FOLLOW_3); |
4065 | 4071 | ||
@@ -4069,7 +4075,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4069 | 4075 | ||
4070 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); | 4076 | newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIdParserRuleCall_1_1()); |
4071 | 4077 | ||
4072 | pushFollow(FOLLOW_34); | 4078 | pushFollow(FOLLOW_33); |
4073 | this_ValidId_2=ruleValidId(); | 4079 | this_ValidId_2=ruleValidId(); |
4074 | 4080 | ||
4075 | state._fsp--; | 4081 | state._fsp--; |
@@ -4112,7 +4118,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4112 | 4118 | ||
4113 | 4119 | ||
4114 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" | 4120 | // $ANTLR start "entryRuleQualifiedNameWithWildcard" |
4115 | // InternalCftLanguage.g:1563:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; | 4121 | // InternalCftLanguage.g:1564:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; |
4116 | public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { | 4122 | public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { |
4117 | String current = null; | 4123 | String current = null; |
4118 | 4124 | ||
@@ -4120,8 +4126,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4120 | 4126 | ||
4121 | 4127 | ||
4122 | try { | 4128 | try { |
4123 | // InternalCftLanguage.g:1563:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) | 4129 | // InternalCftLanguage.g:1564:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) |
4124 | // InternalCftLanguage.g:1564:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF | 4130 | // InternalCftLanguage.g:1565:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF |
4125 | { | 4131 | { |
4126 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); | 4132 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); |
4127 | pushFollow(FOLLOW_1); | 4133 | pushFollow(FOLLOW_1); |
@@ -4148,7 +4154,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4148 | 4154 | ||
4149 | 4155 | ||
4150 | // $ANTLR start "ruleQualifiedNameWithWildcard" | 4156 | // $ANTLR start "ruleQualifiedNameWithWildcard" |
4151 | // InternalCftLanguage.g:1570:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; | 4157 | // InternalCftLanguage.g:1571:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; |
4152 | public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { | 4158 | public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { |
4153 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4159 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
4154 | 4160 | ||
@@ -4160,16 +4166,16 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4160 | enterRule(); | 4166 | enterRule(); |
4161 | 4167 | ||
4162 | try { | 4168 | try { |
4163 | // InternalCftLanguage.g:1576:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) | 4169 | // InternalCftLanguage.g:1577:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) |
4164 | // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) | 4170 | // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
4165 | { | 4171 | { |
4166 | // InternalCftLanguage.g:1577:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) | 4172 | // InternalCftLanguage.g:1578:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
4167 | // InternalCftLanguage.g:1578:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? | 4173 | // InternalCftLanguage.g:1579:3: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? |
4168 | { | 4174 | { |
4169 | 4175 | ||
4170 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); | 4176 | newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); |
4171 | 4177 | ||
4172 | pushFollow(FOLLOW_34); | 4178 | pushFollow(FOLLOW_33); |
4173 | this_QualifiedName_0=ruleQualifiedName(); | 4179 | this_QualifiedName_0=ruleQualifiedName(); |
4174 | 4180 | ||
4175 | state._fsp--; | 4181 | state._fsp--; |
@@ -4180,7 +4186,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4180 | 4186 | ||
4181 | afterParserOrEnumRuleCall(); | 4187 | afterParserOrEnumRuleCall(); |
4182 | 4188 | ||
4183 | // InternalCftLanguage.g:1588:3: (kw= '.' kw= '*' )? | 4189 | // InternalCftLanguage.g:1589:3: (kw= '.' kw= '*' )? |
4184 | int alt28=2; | 4190 | int alt28=2; |
4185 | int LA28_0 = input.LA(1); | 4191 | int LA28_0 = input.LA(1); |
4186 | 4192 | ||
@@ -4189,9 +4195,9 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4189 | } | 4195 | } |
4190 | switch (alt28) { | 4196 | switch (alt28) { |
4191 | case 1 : | 4197 | case 1 : |
4192 | // InternalCftLanguage.g:1589:4: kw= '.' kw= '*' | 4198 | // InternalCftLanguage.g:1590:4: kw= '.' kw= '*' |
4193 | { | 4199 | { |
4194 | kw=(Token)match(input,38,FOLLOW_35); | 4200 | kw=(Token)match(input,38,FOLLOW_34); |
4195 | 4201 | ||
4196 | current.merge(kw); | 4202 | current.merge(kw); |
4197 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); | 4203 | newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1_0()); |
@@ -4230,7 +4236,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4230 | 4236 | ||
4231 | 4237 | ||
4232 | // $ANTLR start "entryRuleValidId" | 4238 | // $ANTLR start "entryRuleValidId" |
4233 | // InternalCftLanguage.g:1604:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; | 4239 | // InternalCftLanguage.g:1605:1: entryRuleValidId returns [String current=null] : iv_ruleValidId= ruleValidId EOF ; |
4234 | public final String entryRuleValidId() throws RecognitionException { | 4240 | public final String entryRuleValidId() throws RecognitionException { |
4235 | String current = null; | 4241 | String current = null; |
4236 | 4242 | ||
@@ -4238,8 +4244,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4238 | 4244 | ||
4239 | 4245 | ||
4240 | try { | 4246 | try { |
4241 | // InternalCftLanguage.g:1604:47: (iv_ruleValidId= ruleValidId EOF ) | 4247 | // InternalCftLanguage.g:1605:47: (iv_ruleValidId= ruleValidId EOF ) |
4242 | // InternalCftLanguage.g:1605:2: iv_ruleValidId= ruleValidId EOF | 4248 | // InternalCftLanguage.g:1606:2: iv_ruleValidId= ruleValidId EOF |
4243 | { | 4249 | { |
4244 | newCompositeNode(grammarAccess.getValidIdRule()); | 4250 | newCompositeNode(grammarAccess.getValidIdRule()); |
4245 | pushFollow(FOLLOW_1); | 4251 | pushFollow(FOLLOW_1); |
@@ -4266,7 +4272,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4266 | 4272 | ||
4267 | 4273 | ||
4268 | // $ANTLR start "ruleValidId" | 4274 | // $ANTLR start "ruleValidId" |
4269 | // InternalCftLanguage.g:1611:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; | 4275 | // InternalCftLanguage.g:1612:1: ruleValidId returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ; |
4270 | public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException { | 4276 | public final AntlrDatatypeRuleToken ruleValidId() throws RecognitionException { |
4271 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4277 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
4272 | 4278 | ||
@@ -4277,10 +4283,10 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4277 | enterRule(); | 4283 | enterRule(); |
4278 | 4284 | ||
4279 | try { | 4285 | try { |
4280 | // InternalCftLanguage.g:1617:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) | 4286 | // InternalCftLanguage.g:1618:2: ( (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) ) |
4281 | // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) | 4287 | // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) |
4282 | { | 4288 | { |
4283 | // InternalCftLanguage.g:1618:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) | 4289 | // InternalCftLanguage.g:1619:2: (this_ID_0= RULE_ID | this_OF_INT_1= RULE_OF_INT ) |
4284 | int alt29=2; | 4290 | int alt29=2; |
4285 | int LA29_0 = input.LA(1); | 4291 | int LA29_0 = input.LA(1); |
4286 | 4292 | ||
@@ -4298,7 +4304,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4298 | } | 4304 | } |
4299 | switch (alt29) { | 4305 | switch (alt29) { |
4300 | case 1 : | 4306 | case 1 : |
4301 | // InternalCftLanguage.g:1619:3: this_ID_0= RULE_ID | 4307 | // InternalCftLanguage.g:1620:3: this_ID_0= RULE_ID |
4302 | { | 4308 | { |
4303 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); | 4309 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); |
4304 | 4310 | ||
@@ -4311,7 +4317,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4311 | } | 4317 | } |
4312 | break; | 4318 | break; |
4313 | case 2 : | 4319 | case 2 : |
4314 | // InternalCftLanguage.g:1627:3: this_OF_INT_1= RULE_OF_INT | 4320 | // InternalCftLanguage.g:1628:3: this_OF_INT_1= RULE_OF_INT |
4315 | { | 4321 | { |
4316 | this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2); | 4322 | this_OF_INT_1=(Token)match(input,RULE_OF_INT,FOLLOW_2); |
4317 | 4323 | ||
@@ -4346,7 +4352,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4346 | 4352 | ||
4347 | 4353 | ||
4348 | // $ANTLR start "entryRuleDouble" | 4354 | // $ANTLR start "entryRuleDouble" |
4349 | // InternalCftLanguage.g:1638:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; | 4355 | // InternalCftLanguage.g:1639:1: entryRuleDouble returns [String current=null] : iv_ruleDouble= ruleDouble EOF ; |
4350 | public final String entryRuleDouble() throws RecognitionException { | 4356 | public final String entryRuleDouble() throws RecognitionException { |
4351 | String current = null; | 4357 | String current = null; |
4352 | 4358 | ||
@@ -4354,8 +4360,8 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4354 | 4360 | ||
4355 | 4361 | ||
4356 | try { | 4362 | try { |
4357 | // InternalCftLanguage.g:1638:46: (iv_ruleDouble= ruleDouble EOF ) | 4363 | // InternalCftLanguage.g:1639:46: (iv_ruleDouble= ruleDouble EOF ) |
4358 | // InternalCftLanguage.g:1639:2: iv_ruleDouble= ruleDouble EOF | 4364 | // InternalCftLanguage.g:1640:2: iv_ruleDouble= ruleDouble EOF |
4359 | { | 4365 | { |
4360 | newCompositeNode(grammarAccess.getDoubleRule()); | 4366 | newCompositeNode(grammarAccess.getDoubleRule()); |
4361 | pushFollow(FOLLOW_1); | 4367 | pushFollow(FOLLOW_1); |
@@ -4382,7 +4388,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4382 | 4388 | ||
4383 | 4389 | ||
4384 | // $ANTLR start "ruleDouble" | 4390 | // $ANTLR start "ruleDouble" |
4385 | // InternalCftLanguage.g:1645:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; | 4391 | // InternalCftLanguage.g:1646:1: ruleDouble returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ; |
4386 | public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException { | 4392 | public final AntlrDatatypeRuleToken ruleDouble() throws RecognitionException { |
4387 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 4393 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
4388 | 4394 | ||
@@ -4393,10 +4399,10 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4393 | enterRule(); | 4399 | enterRule(); |
4394 | 4400 | ||
4395 | try { | 4401 | try { |
4396 | // InternalCftLanguage.g:1651:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) | 4402 | // InternalCftLanguage.g:1652:2: ( (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) ) |
4397 | // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) | 4403 | // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) |
4398 | { | 4404 | { |
4399 | // InternalCftLanguage.g:1652:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) | 4405 | // InternalCftLanguage.g:1653:2: (this_INT_0= RULE_INT | this_T_DOUBLE_1= RULE_T_DOUBLE ) |
4400 | int alt30=2; | 4406 | int alt30=2; |
4401 | int LA30_0 = input.LA(1); | 4407 | int LA30_0 = input.LA(1); |
4402 | 4408 | ||
@@ -4414,7 +4420,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4414 | } | 4420 | } |
4415 | switch (alt30) { | 4421 | switch (alt30) { |
4416 | case 1 : | 4422 | case 1 : |
4417 | // InternalCftLanguage.g:1653:3: this_INT_0= RULE_INT | 4423 | // InternalCftLanguage.g:1654:3: this_INT_0= RULE_INT |
4418 | { | 4424 | { |
4419 | this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); | 4425 | this_INT_0=(Token)match(input,RULE_INT,FOLLOW_2); |
4420 | 4426 | ||
@@ -4427,7 +4433,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4427 | } | 4433 | } |
4428 | break; | 4434 | break; |
4429 | case 2 : | 4435 | case 2 : |
4430 | // InternalCftLanguage.g:1661:3: this_T_DOUBLE_1= RULE_T_DOUBLE | 4436 | // InternalCftLanguage.g:1662:3: this_T_DOUBLE_1= RULE_T_DOUBLE |
4431 | { | 4437 | { |
4432 | this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2); | 4438 | this_T_DOUBLE_1=(Token)match(input,RULE_T_DOUBLE,FOLLOW_2); |
4433 | 4439 | ||
@@ -4497,8 +4503,7 @@ public class InternalCftLanguageParser extends AbstractInternalAntlrParser { | |||
4497 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L}); | 4503 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000003000000000L}); |
4498 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L}); | 4504 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000060L}); |
4499 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); | 4505 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000004000000000L}); |
4500 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000042L}); | 4506 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000002L}); |
4501 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000004000000002L}); | 4507 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000010000000000L}); |
4502 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000010000000000L}); | ||
4503 | 4508 | ||
4504 | } | 4509 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java index 25f16824..fe329903 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/serializer/CftLanguageSemanticSequencer.java | |||
@@ -194,7 +194,7 @@ public class CftLanguageSemanticSequencer extends AbstractDelegatingSemanticSequ | |||
194 | * ComponentInstance returns ComponentInstance | 194 | * ComponentInstance returns ComponentInstance |
195 | * | 195 | * |
196 | * Constraint: | 196 | * Constraint: |
197 | * (componentType=[ComponentDefinition|QualifiedName] name=ID?) | 197 | * (componentType=[ComponentDefinition|QualifiedName] name=ValidId?) |
198 | */ | 198 | */ |
199 | protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { | 199 | protected void sequence_ComponentInstance(ISerializationContext context, ComponentInstance semanticObject) { |
200 | genericSequencer.createSequence(context, semanticObject); | 200 | genericSequencer.createSequence(context, semanticObject); |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java index cbcfbe95..2b9632b7 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/services/CftLanguageGrammarAccess.java | |||
@@ -302,20 +302,20 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
302 | public class ConstantDistributionElements extends AbstractParserRuleElementFinder { | 302 | public class ConstantDistributionElements extends AbstractParserRuleElementFinder { |
303 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ConstantDistribution"); | 303 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.ConstantDistribution"); |
304 | private final Group cGroup = (Group)rule.eContents().get(1); | 304 | private final Group cGroup = (Group)rule.eContents().get(1); |
305 | private final Keyword cPKeyword_0 = (Keyword)cGroup.eContents().get(0); | 305 | private final Keyword cProbKeyword_0 = (Keyword)cGroup.eContents().get(0); |
306 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); | 306 | private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); |
307 | private final Assignment cPAssignment_2 = (Assignment)cGroup.eContents().get(2); | 307 | private final Assignment cPAssignment_2 = (Assignment)cGroup.eContents().get(2); |
308 | private final RuleCall cPDoubleParserRuleCall_2_0 = (RuleCall)cPAssignment_2.eContents().get(0); | 308 | private final RuleCall cPDoubleParserRuleCall_2_0 = (RuleCall)cPAssignment_2.eContents().get(0); |
309 | 309 | ||
310 | //ConstantDistribution ft::ConstantDistribution: | 310 | //ConstantDistribution ft::ConstantDistribution: |
311 | // "p" "=" p=Double; | 311 | // "prob" "=" p=Double; |
312 | @Override public ParserRule getRule() { return rule; } | 312 | @Override public ParserRule getRule() { return rule; } |
313 | 313 | ||
314 | //"p" "=" p=Double | 314 | //"prob" "=" p=Double |
315 | public Group getGroup() { return cGroup; } | 315 | public Group getGroup() { return cGroup; } |
316 | 316 | ||
317 | //"p" | 317 | //"prob" |
318 | public Keyword getPKeyword_0() { return cPKeyword_0; } | 318 | public Keyword getProbKeyword_0() { return cProbKeyword_0; } |
319 | 319 | ||
320 | //"=" | 320 | //"=" |
321 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } | 321 | public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } |
@@ -880,13 +880,13 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
880 | private final CrossReference cComponentTypeComponentDefinitionCrossReference_1_0 = (CrossReference)cComponentTypeAssignment_1.eContents().get(0); | 880 | private final CrossReference cComponentTypeComponentDefinitionCrossReference_1_0 = (CrossReference)cComponentTypeAssignment_1.eContents().get(0); |
881 | private final RuleCall cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cComponentTypeComponentDefinitionCrossReference_1_0.eContents().get(1); | 881 | private final RuleCall cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cComponentTypeComponentDefinitionCrossReference_1_0.eContents().get(1); |
882 | private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); | 882 | private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); |
883 | private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); | 883 | private final RuleCall cNameValidIdParserRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); |
884 | 884 | ||
885 | //ComponentInstance: | 885 | //ComponentInstance: |
886 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; | 886 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; |
887 | @Override public ParserRule getRule() { return rule; } | 887 | @Override public ParserRule getRule() { return rule; } |
888 | 888 | ||
889 | //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID? | 889 | //"=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId? |
890 | public Group getGroup() { return cGroup; } | 890 | public Group getGroup() { return cGroup; } |
891 | 891 | ||
892 | //"=>" | 892 | //"=>" |
@@ -901,11 +901,11 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
901 | //QualifiedName | 901 | //QualifiedName |
902 | public RuleCall getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1() { return cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1; } | 902 | public RuleCall getComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1() { return cComponentTypeComponentDefinitionQualifiedNameParserRuleCall_1_0_1; } |
903 | 903 | ||
904 | //name=ID? | 904 | //name=ValidId? |
905 | public Assignment getNameAssignment_2() { return cNameAssignment_2; } | 905 | public Assignment getNameAssignment_2() { return cNameAssignment_2; } |
906 | 906 | ||
907 | //ID | 907 | //ValidId |
908 | public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } | 908 | public RuleCall getNameValidIdParserRuleCall_2_0() { return cNameValidIdParserRuleCall_2_0; } |
909 | } | 909 | } |
910 | public class QualifiedNameElements extends AbstractParserRuleElementFinder { | 910 | public class QualifiedNameElements extends AbstractParserRuleElementFinder { |
911 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); | 911 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.faulttree.components.CftLanguage.QualifiedName"); |
@@ -1169,7 +1169,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1169 | } | 1169 | } |
1170 | 1170 | ||
1171 | //ConstantDistribution ft::ConstantDistribution: | 1171 | //ConstantDistribution ft::ConstantDistribution: |
1172 | // "p" "=" p=Double; | 1172 | // "prob" "=" p=Double; |
1173 | public ConstantDistributionElements getConstantDistributionAccess() { | 1173 | public ConstantDistributionElements getConstantDistributionAccess() { |
1174 | return pConstantDistribution; | 1174 | return pConstantDistribution; |
1175 | } | 1175 | } |
@@ -1306,7 +1306,7 @@ public class CftLanguageGrammarAccess extends AbstractGrammarElementFinder { | |||
1306 | } | 1306 | } |
1307 | 1307 | ||
1308 | //ComponentInstance: | 1308 | //ComponentInstance: |
1309 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; | 1309 | // "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; |
1310 | public ComponentInstanceElements getComponentInstanceAccess() { | 1310 | public ComponentInstanceElements getComponentInstanceAccess() { |
1311 | return pComponentInstance; | 1311 | return pComponentInstance; |
1312 | } | 1312 | } |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext index b4d5338b..ab053f67 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src/hu/bme/mit/inf/dslreasoner/faulttree/components/CftLanguage.xtext | |||
@@ -33,7 +33,7 @@ Distribution returns ft::Distribution: | |||
33 | ConstantDistribution | ExponentialDistribution; | 33 | ConstantDistribution | ExponentialDistribution; |
34 | 34 | ||
35 | ConstantDistribution returns ft::ConstantDistribution: | 35 | ConstantDistribution returns ft::ConstantDistribution: |
36 | "p" "=" p=Double; | 36 | "prob" "=" p=Double; |
37 | 37 | ||
38 | ExponentialDistribution returns ft::ExponentialDistribution: | 38 | ExponentialDistribution returns ft::ExponentialDistribution: |
39 | "lambda" "=" lambda=Double; | 39 | "lambda" "=" lambda=Double; |
@@ -80,7 +80,7 @@ EventReference: | |||
80 | component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; | 80 | component=[Variable|ValidId] "." event=[cft::EventDeclaration|ValidId]; |
81 | 81 | ||
82 | ComponentInstance: | 82 | ComponentInstance: |
83 | "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ID?; | 83 | "=>" componentType=[cft::ComponentDefinition|QualifiedName] name=ValidId?; |
84 | 84 | ||
85 | QualifiedName returns ecore::EString: | 85 | QualifiedName returns ecore::EString: |
86 | ValidId ("." ValidId)*; | 86 | ValidId ("." ValidId)*; |
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin index df7b7e51..98b07e66 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageRuntimeModule.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin index 414dfa3e..2ae80aef 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/.CftLanguageStandaloneSetup.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin index 80e91ebf..a97cd12c 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.CftLanguageValueConverterService.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin index 6787af3f..25b37e6d 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/conversion/.OF_INTValueConverter.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin index 0ad3ae5a..b2a0c833 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/generator/.CftLanguageGenerator.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin index 62a48625..cea3c7e0 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.CftLanguageQualifiedNameProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin index b5ec6fb3..a0a97448 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/naming/.PackageNameProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin index c570dbe3..a3aa3347 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageImportedNamespaceAwareLocalScopeProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin index 3c714b09..20f539ae 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/scoping/.CftLanguageScopeProvider.xtendbin | |||
Binary files differ | |||
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin index 683ac14e..719d28f8 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/xtend-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/validation/.CftLanguageValidator.xtendbin | |||
Binary files differ | |||