diff options
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java | 53 |
1 files changed, 28 insertions, 25 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java index be5e3140..df83084b 100644 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java +++ b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components.ide/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/ide/contentassist/antlr/internal/InternalCftLanguageParser.java | |||
@@ -22,7 +22,7 @@ import java.util.ArrayList; | |||
22 | @SuppressWarnings("all") | 22 | @SuppressWarnings("all") |
23 | public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { | 23 | public class InternalCftLanguageParser extends AbstractInternalContentAssistParser { |
24 | public static final String[] tokenNames = new String[] { | 24 | public static final String[] tokenNames = new String[] { |
25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_OF_INT", "RULE_INT", "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'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" | 25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_OF_INT", "RULE_INT", "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'", "'mapping'", "'('", "')'", "','", "'lookup'", "'as'", "'.'", "'=>'", "'*'", "'[]'", "'toplevel'", "'+='" |
26 | }; | 26 | }; |
27 | public static final int RULE_STRING=8; | 27 | public static final int RULE_STRING=8; |
28 | public static final int RULE_SL_COMMENT=10; | 28 | public static final int RULE_SL_COMMENT=10; |
@@ -4992,21 +4992,21 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
4992 | 4992 | ||
4993 | 4993 | ||
4994 | // $ANTLR start "rule__ConstantDistribution__Group__0__Impl" | 4994 | // $ANTLR start "rule__ConstantDistribution__Group__0__Impl" |
4995 | // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'p' ) ; | 4995 | // InternalCftLanguage.g:1561:1: rule__ConstantDistribution__Group__0__Impl : ( 'prob' ) ; |
4996 | public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException { | 4996 | public final void rule__ConstantDistribution__Group__0__Impl() throws RecognitionException { |
4997 | 4997 | ||
4998 | int stackSize = keepStackSize(); | 4998 | int stackSize = keepStackSize(); |
4999 | 4999 | ||
5000 | try { | 5000 | try { |
5001 | // InternalCftLanguage.g:1565:1: ( ( 'p' ) ) | 5001 | // InternalCftLanguage.g:1565:1: ( ( 'prob' ) ) |
5002 | // InternalCftLanguage.g:1566:1: ( 'p' ) | 5002 | // InternalCftLanguage.g:1566:1: ( 'prob' ) |
5003 | { | 5003 | { |
5004 | // InternalCftLanguage.g:1566:1: ( 'p' ) | 5004 | // InternalCftLanguage.g:1566:1: ( 'prob' ) |
5005 | // InternalCftLanguage.g:1567:2: 'p' | 5005 | // InternalCftLanguage.g:1567:2: 'prob' |
5006 | { | 5006 | { |
5007 | before(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); | 5007 | before(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); |
5008 | match(input,22,FOLLOW_2); | 5008 | match(input,22,FOLLOW_2); |
5009 | after(grammarAccess.getConstantDistributionAccess().getPKeyword_0()); | 5009 | after(grammarAccess.getConstantDistributionAccess().getProbKeyword_0()); |
5010 | 5010 | ||
5011 | } | 5011 | } |
5012 | 5012 | ||
@@ -9567,7 +9567,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9567 | // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) | 9567 | // InternalCftLanguage.g:3065:1: ( rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 ) |
9568 | // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 | 9568 | // InternalCftLanguage.g:3066:2: rule__ComponentInstance__Group__1__Impl rule__ComponentInstance__Group__2 |
9569 | { | 9569 | { |
9570 | pushFollow(FOLLOW_34); | 9570 | pushFollow(FOLLOW_3); |
9571 | rule__ComponentInstance__Group__1__Impl(); | 9571 | rule__ComponentInstance__Group__1__Impl(); |
9572 | 9572 | ||
9573 | state._fsp--; | 9573 | state._fsp--; |
@@ -9693,7 +9693,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9693 | int alt28=2; | 9693 | int alt28=2; |
9694 | int LA28_0 = input.LA(1); | 9694 | int LA28_0 = input.LA(1); |
9695 | 9695 | ||
9696 | if ( (LA28_0==RULE_ID) ) { | 9696 | if ( ((LA28_0>=RULE_ID && LA28_0<=RULE_OF_INT)) ) { |
9697 | alt28=1; | 9697 | alt28=1; |
9698 | } | 9698 | } |
9699 | switch (alt28) { | 9699 | switch (alt28) { |
@@ -9880,7 +9880,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
9880 | case 1 : | 9880 | case 1 : |
9881 | // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0 | 9881 | // InternalCftLanguage.g:3160:3: rule__QualifiedName__Group_1__0 |
9882 | { | 9882 | { |
9883 | pushFollow(FOLLOW_35); | 9883 | pushFollow(FOLLOW_34); |
9884 | rule__QualifiedName__Group_1__0(); | 9884 | rule__QualifiedName__Group_1__0(); |
9885 | 9885 | ||
9886 | state._fsp--; | 9886 | state._fsp--; |
@@ -10245,7 +10245,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10245 | // InternalCftLanguage.g:3281:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) | 10245 | // InternalCftLanguage.g:3281:1: ( rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 ) |
10246 | // InternalCftLanguage.g:3282:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 | 10246 | // InternalCftLanguage.g:3282:2: rule__QualifiedNameWithWildcard__Group_1__0__Impl rule__QualifiedNameWithWildcard__Group_1__1 |
10247 | { | 10247 | { |
10248 | pushFollow(FOLLOW_36); | 10248 | pushFollow(FOLLOW_35); |
10249 | rule__QualifiedNameWithWildcard__Group_1__0__Impl(); | 10249 | rule__QualifiedNameWithWildcard__Group_1__0__Impl(); |
10250 | 10250 | ||
10251 | state._fsp--; | 10251 | state._fsp--; |
@@ -10588,7 +10588,7 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
10588 | // InternalCftLanguage.g:3394:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) | 10588 | // InternalCftLanguage.g:3394:1: ( rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? ) |
10589 | // InternalCftLanguage.g:3395:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? | 10589 | // InternalCftLanguage.g:3395:2: rule__ComponentDefinition__UnorderedGroup_3__Impl ( rule__ComponentDefinition__UnorderedGroup_3__1 )? |
10590 | { | 10590 | { |
10591 | pushFollow(FOLLOW_37); | 10591 | pushFollow(FOLLOW_36); |
10592 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); | 10592 | rule__ComponentDefinition__UnorderedGroup_3__Impl(); |
10593 | 10593 | ||
10594 | state._fsp--; | 10594 | state._fsp--; |
@@ -12562,21 +12562,25 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
12562 | 12562 | ||
12563 | 12563 | ||
12564 | // $ANTLR start "rule__ComponentInstance__NameAssignment_2" | 12564 | // $ANTLR start "rule__ComponentInstance__NameAssignment_2" |
12565 | // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( RULE_ID ) ; | 12565 | // InternalCftLanguage.g:4130:1: rule__ComponentInstance__NameAssignment_2 : ( ruleValidId ) ; |
12566 | public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { | 12566 | public final void rule__ComponentInstance__NameAssignment_2() throws RecognitionException { |
12567 | 12567 | ||
12568 | int stackSize = keepStackSize(); | 12568 | int stackSize = keepStackSize(); |
12569 | 12569 | ||
12570 | try { | 12570 | try { |
12571 | // InternalCftLanguage.g:4134:1: ( ( RULE_ID ) ) | 12571 | // InternalCftLanguage.g:4134:1: ( ( ruleValidId ) ) |
12572 | // InternalCftLanguage.g:4135:2: ( RULE_ID ) | 12572 | // InternalCftLanguage.g:4135:2: ( ruleValidId ) |
12573 | { | 12573 | { |
12574 | // InternalCftLanguage.g:4135:2: ( RULE_ID ) | 12574 | // InternalCftLanguage.g:4135:2: ( ruleValidId ) |
12575 | // InternalCftLanguage.g:4136:3: RULE_ID | 12575 | // InternalCftLanguage.g:4136:3: ruleValidId |
12576 | { | 12576 | { |
12577 | before(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); | 12577 | before(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); |
12578 | match(input,RULE_ID,FOLLOW_2); | 12578 | pushFollow(FOLLOW_2); |
12579 | after(grammarAccess.getComponentInstanceAccess().getNameIDTerminalRuleCall_2_0()); | 12579 | ruleValidId(); |
12580 | |||
12581 | state._fsp--; | ||
12582 | |||
12583 | after(grammarAccess.getComponentInstanceAccess().getNameValidIdParserRuleCall_2_0()); | ||
12580 | 12584 | ||
12581 | } | 12585 | } |
12582 | 12586 | ||
@@ -12635,9 +12639,8 @@ public class InternalCftLanguageParser extends AbstractInternalContentAssistPars | |||
12635 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L}); | 12639 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000010000002000L}); |
12636 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L}); | 12640 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000000200000030L}); |
12637 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L}); | 12641 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000800000000L}); |
12638 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000010L}); | 12642 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000800000002L}); |
12639 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000800000002L}); | 12643 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000002000000000L}); |
12640 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000002000000000L}); | 12644 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000300002L}); |
12641 | public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000300002L}); | ||
12642 | 12645 | ||
12643 | } | 12646 | } |