Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java')
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java1291
1 files changed, 671 insertions, 620 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
index 98edbf34a..fc6fa11b4 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java
@@ -22,18 +22,18 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalETPhysParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'optional'", "'mandatory'", "'attribute'", "','", "'import'", "'from'", "'.*'", "'['", "']'", "'s'", "'ms'", "'us'", "'ns'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_HEX", "RULE_CC_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'optional'", "'mandatory'", "'attribute'", "','", "'import'", "'from'", "'.*'", "'['", "']'", "'s'", "'ms'", "'us'", "'ns'", "'false'", "'true'", "'+'", "'-'", "'.'", "'e'", "'E'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'"
};
public static final int RULE_HEX=7;
public static final int T__50=50;
public static final int T__19=19;
+ public static final int RULE_CC_STRING=8;
public static final int T__15=15;
public static final int T__59=59;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__55=55;
- public static final int T__12=12;
public static final int T__56=56;
public static final int T__13=13;
public static final int T__57=57;
@@ -52,14 +52,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
public static final int RULE_INT=5;
public static final int T__29=29;
public static final int T__22=22;
- public static final int RULE_ML_COMMENT=8;
+ public static final int RULE_ML_COMMENT=9;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
+ public static final int T__62=62;
public static final int T__20=20;
public static final int T__21=21;
public static final int RULE_STRING=6;
- public static final int RULE_SL_COMMENT=9;
+ public static final int RULE_SL_COMMENT=10;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
@@ -71,8 +72,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
- public static final int RULE_WS=10;
- public static final int RULE_ANY_OTHER=11;
+ public static final int RULE_WS=11;
+ public static final int RULE_ANY_OTHER=12;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
@@ -186,7 +187,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' )
// InternalETPhys.g:81:3: otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}'
{
- otherlv_0=(Token)match(input,12,FOLLOW_3);
+ otherlv_0=(Token)match(input,13,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0());
@@ -221,7 +222,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_5);
+ otherlv_2=(Token)match(input,14,FOLLOW_5);
newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2());
@@ -231,7 +232,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==37) ) {
+ if ( (LA1_0==38) ) {
alt1=1;
}
@@ -279,17 +280,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
do {
int alt2=4;
switch ( input.LA(1) ) {
- case 15:
+ case 16:
{
alt2=1;
}
break;
- case 18:
+ case 19:
{
alt2=2;
}
break;
- case 31:
+ case 32:
{
alt2=3;
}
@@ -415,7 +416,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_7=(Token)match(input,14,FOLLOW_2);
+ otherlv_7=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5());
@@ -498,7 +499,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
// InternalETPhys.g:206:3: otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}'
{
- otherlv_0=(Token)match(input,15,FOLLOW_3);
+ otherlv_0=(Token)match(input,16,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0());
@@ -532,7 +533,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt3=2;
int LA3_0 = input.LA(1);
- if ( (LA3_0==40) ) {
+ if ( (LA3_0==41) ) {
alt3=1;
}
switch (alt3) {
@@ -570,7 +571,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_8);
+ otherlv_3=(Token)match(input,14,FOLLOW_8);
newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3());
@@ -580,7 +581,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt4=2;
int LA4_0 = input.LA(1);
- if ( (LA4_0==16) ) {
+ if ( (LA4_0==17) ) {
alt4=1;
}
@@ -623,7 +624,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_5=(Token)match(input,14,FOLLOW_2);
+ otherlv_5=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5());
@@ -703,7 +704,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
// InternalETPhys.g:293:3: otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )?
{
- otherlv_0=(Token)match(input,16,FOLLOW_3);
+ otherlv_0=(Token)match(input,17,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0());
@@ -733,7 +734,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,17,FOLLOW_3);
+ otherlv_2=(Token)match(input,18,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2());
@@ -769,7 +770,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==40) ) {
+ if ( (LA5_0==41) ) {
alt5=1;
}
switch (alt5) {
@@ -896,7 +897,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' )
// InternalETPhys.g:373:3: otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}'
{
- otherlv_0=(Token)match(input,18,FOLLOW_3);
+ otherlv_0=(Token)match(input,19,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0());
@@ -930,7 +931,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt6=2;
int LA6_0 = input.LA(1);
- if ( (LA6_0==40) ) {
+ if ( (LA6_0==41) ) {
alt6=1;
}
switch (alt6) {
@@ -968,7 +969,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_11);
+ otherlv_3=(Token)match(input,14,FOLLOW_11);
newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3());
@@ -991,13 +992,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt7=4;
int LA7_0 = input.LA(1);
- if ( LA7_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) {
+ if ( LA7_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) {
alt7=1;
}
- else if ( LA7_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) {
+ else if ( LA7_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) {
alt7=2;
}
- else if ( LA7_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) {
+ else if ( LA7_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) {
alt7=3;
}
@@ -1027,11 +1028,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:431:16: (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) )
// InternalETPhys.g:431:18: otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) )
{
- otherlv_5=(Token)match(input,19,FOLLOW_12);
+ otherlv_5=(Token)match(input,20,FOLLOW_12);
newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4_0_0());
- otherlv_6=(Token)match(input,20,FOLLOW_3);
+ otherlv_6=(Token)match(input,21,FOLLOW_3);
newLeafNode(otherlv_6, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_0_1());
@@ -1105,11 +1106,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:466:16: (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) )
// InternalETPhys.g:466:18: otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) )
{
- otherlv_8=(Token)match(input,21,FOLLOW_12);
+ otherlv_8=(Token)match(input,22,FOLLOW_12);
newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getPriominKeyword_4_1_0());
- otherlv_9=(Token)match(input,20,FOLLOW_14);
+ otherlv_9=(Token)match(input,21,FOLLOW_14);
newLeafNode(otherlv_9, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_1_1());
@@ -1186,11 +1187,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:504:16: (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) )
// InternalETPhys.g:504:18: otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) )
{
- otherlv_11=(Token)match(input,22,FOLLOW_12);
+ otherlv_11=(Token)match(input,23,FOLLOW_12);
newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getPriomaxKeyword_4_2_0());
- otherlv_12=(Token)match(input,20,FOLLOW_14);
+ otherlv_12=(Token)match(input,21,FOLLOW_14);
newLeafNode(otherlv_12, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_2_1());
@@ -1274,7 +1275,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt8=2;
int LA8_0 = input.LA(1);
- if ( ((LA8_0>=23 && LA8_0<=24)) ) {
+ if ( ((LA8_0>=24 && LA8_0<=25)) ) {
alt8=1;
}
@@ -1317,7 +1318,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_15=(Token)match(input,14,FOLLOW_2);
+ otherlv_15=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_15, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_6());
@@ -1422,10 +1423,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt9=2;
int LA9_0 = input.LA(1);
- if ( (LA9_0==23) ) {
+ if ( (LA9_0==24) ) {
alt9=1;
}
- else if ( (LA9_0==24) ) {
+ else if ( (LA9_0==25) ) {
alt9=2;
}
else {
@@ -1444,7 +1445,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:589:1: (lv_default_0_0= 'DefaultThread' )
// InternalETPhys.g:590:3: lv_default_0_0= 'DefaultThread'
{
- lv_default_0_0=(Token)match(input,23,FOLLOW_3);
+ lv_default_0_0=(Token)match(input,24,FOLLOW_3);
newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0());
@@ -1466,7 +1467,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
case 2 :
// InternalETPhys.g:604:7: otherlv_1= 'Thread'
{
- otherlv_1=(Token)match(input,24,FOLLOW_3);
+ otherlv_1=(Token)match(input,25,FOLLOW_3);
newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1());
@@ -1502,7 +1503,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_16);
+ otherlv_3=(Token)match(input,14,FOLLOW_16);
newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2());
@@ -1525,22 +1526,22 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt10=7;
int LA10_0 = input.LA(1);
- if ( LA10_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) {
+ if ( LA10_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) {
alt10=1;
}
- else if ( LA10_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) {
+ else if ( LA10_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) {
alt10=2;
}
- else if ( LA10_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) {
+ else if ( LA10_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) {
alt10=3;
}
- else if ( LA10_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) {
+ else if ( LA10_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) {
alt10=4;
}
- else if ( LA10_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) {
+ else if ( LA10_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) {
alt10=5;
}
- else if ( LA10_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) {
+ else if ( LA10_0 == 31 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) {
alt10=6;
}
@@ -1570,11 +1571,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:644:16: (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) )
// InternalETPhys.g:644:18: otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) )
{
- otherlv_5=(Token)match(input,25,FOLLOW_12);
+ otherlv_5=(Token)match(input,26,FOLLOW_12);
newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3_0_0());
- otherlv_6=(Token)match(input,20,FOLLOW_17);
+ otherlv_6=(Token)match(input,21,FOLLOW_17);
newLeafNode(otherlv_6, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_0_1());
@@ -1651,11 +1652,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:682:16: (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) )
// InternalETPhys.g:682:18: otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) )
{
- otherlv_8=(Token)match(input,26,FOLLOW_12);
+ otherlv_8=(Token)match(input,27,FOLLOW_12);
newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_3_1_0());
- otherlv_9=(Token)match(input,20,FOLLOW_19);
+ otherlv_9=(Token)match(input,21,FOLLOW_19);
newLeafNode(otherlv_9, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_1_1());
@@ -1732,11 +1733,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:720:16: (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) )
// InternalETPhys.g:720:18: otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) )
{
- otherlv_11=(Token)match(input,27,FOLLOW_12);
+ otherlv_11=(Token)match(input,28,FOLLOW_12);
newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_3_2_0());
- otherlv_12=(Token)match(input,20,FOLLOW_14);
+ otherlv_12=(Token)match(input,21,FOLLOW_14);
newLeafNode(otherlv_12, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_2_1());
@@ -1813,11 +1814,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:758:16: (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) )
// InternalETPhys.g:758:18: otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) )
{
- otherlv_14=(Token)match(input,28,FOLLOW_12);
+ otherlv_14=(Token)match(input,29,FOLLOW_12);
newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_3_3_0());
- otherlv_15=(Token)match(input,20,FOLLOW_19);
+ otherlv_15=(Token)match(input,21,FOLLOW_19);
newLeafNode(otherlv_15, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_3_1());
@@ -1889,11 +1890,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:796:16: (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) )
// InternalETPhys.g:796:18: otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) )
{
- otherlv_17=(Token)match(input,29,FOLLOW_12);
+ otherlv_17=(Token)match(input,30,FOLLOW_12);
newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_3_4_0());
- otherlv_18=(Token)match(input,20,FOLLOW_19);
+ otherlv_18=(Token)match(input,21,FOLLOW_19);
newLeafNode(otherlv_18, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_4_1());
@@ -1965,11 +1966,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:834:16: (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) )
// InternalETPhys.g:834:18: otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) )
{
- otherlv_20=(Token)match(input,30,FOLLOW_12);
+ otherlv_20=(Token)match(input,31,FOLLOW_12);
newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_3_5_0());
- otherlv_21=(Token)match(input,20,FOLLOW_19);
+ otherlv_21=(Token)match(input,21,FOLLOW_19);
newLeafNode(otherlv_21, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_5_1());
@@ -2042,7 +2043,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_23=(Token)match(input,14,FOLLOW_2);
+ otherlv_23=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_23, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_4());
@@ -2127,7 +2128,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:900:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' )
// InternalETPhys.g:900:3: otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}'
{
- otherlv_0=(Token)match(input,31,FOLLOW_3);
+ otherlv_0=(Token)match(input,32,FOLLOW_3);
newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0());
@@ -2161,7 +2162,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt11=2;
int LA11_0 = input.LA(1);
- if ( (LA11_0==40) ) {
+ if ( (LA11_0==41) ) {
alt11=1;
}
switch (alt11) {
@@ -2199,15 +2200,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_20);
+ otherlv_3=(Token)match(input,14,FOLLOW_20);
newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3());
- otherlv_4=(Token)match(input,32,FOLLOW_12);
+ otherlv_4=(Token)match(input,33,FOLLOW_12);
newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4());
- otherlv_5=(Token)match(input,20,FOLLOW_21);
+ otherlv_5=(Token)match(input,21,FOLLOW_21);
newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5());
@@ -2242,7 +2243,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_7=(Token)match(input,14,FOLLOW_2);
+ otherlv_7=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7());
@@ -2347,7 +2348,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,20,FOLLOW_23);
+ otherlv_1=(Token)match(input,21,FOLLOW_23);
newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
@@ -2531,22 +2532,22 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt12=2;
int LA12_0 = input.LA(1);
- if ( (LA12_0==33) ) {
+ if ( (LA12_0==34) ) {
int LA12_1 = input.LA(2);
- if ( (LA12_1==35) ) {
+ if ( (LA12_1==36) ) {
int LA12_3 = input.LA(3);
if ( (LA12_3==RULE_ID) ) {
int LA12_4 = input.LA(4);
- if ( (LA12_4==17) ) {
+ if ( (LA12_4==18) ) {
int LA12_5 = input.LA(5);
- if ( ((LA12_5>=58 && LA12_5<=61)) ) {
+ if ( ((LA12_5>=59 && LA12_5<=62)) ) {
alt12=1;
}
- else if ( (LA12_5==13) ) {
+ else if ( (LA12_5==14) ) {
alt12=2;
}
else {
@@ -2577,22 +2578,22 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
throw nvae;
}
}
- else if ( (LA12_0==34) ) {
+ else if ( (LA12_0==35) ) {
int LA12_2 = input.LA(2);
- if ( (LA12_2==35) ) {
+ if ( (LA12_2==36) ) {
int LA12_3 = input.LA(3);
if ( (LA12_3==RULE_ID) ) {
int LA12_4 = input.LA(4);
- if ( (LA12_4==17) ) {
+ if ( (LA12_4==18) ) {
int LA12_5 = input.LA(5);
- if ( ((LA12_5>=58 && LA12_5<=61)) ) {
+ if ( ((LA12_5>=59 && LA12_5<=62)) ) {
alt12=1;
}
- else if ( (LA12_5==13) ) {
+ else if ( (LA12_5==14) ) {
alt12=2;
}
else {
@@ -2748,10 +2749,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt13=2;
int LA13_0 = input.LA(1);
- if ( (LA13_0==33) ) {
+ if ( (LA13_0==34) ) {
alt13=1;
}
- else if ( (LA13_0==34) ) {
+ else if ( (LA13_0==35) ) {
alt13=2;
}
else {
@@ -2770,7 +2771,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:1129:1: (lv_optional_0_0= 'optional' )
// InternalETPhys.g:1130:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,33,FOLLOW_24);
+ lv_optional_0_0=(Token)match(input,34,FOLLOW_24);
newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -2792,7 +2793,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
case 2 :
// InternalETPhys.g:1144:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,34,FOLLOW_24);
+ otherlv_1=(Token)match(input,35,FOLLOW_24);
newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -2802,7 +2803,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,35,FOLLOW_3);
+ otherlv_2=(Token)match(input,36,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -2832,7 +2833,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,17,FOLLOW_25);
+ otherlv_4=(Token)match(input,18,FOLLOW_25);
newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
@@ -2952,10 +2953,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt14=2;
int LA14_0 = input.LA(1);
- if ( (LA14_0==33) ) {
+ if ( (LA14_0==34) ) {
alt14=1;
}
- else if ( (LA14_0==34) ) {
+ else if ( (LA14_0==35) ) {
alt14=2;
}
else {
@@ -2974,7 +2975,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// InternalETPhys.g:1214:1: (lv_optional_0_0= 'optional' )
// InternalETPhys.g:1215:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,33,FOLLOW_24);
+ lv_optional_0_0=(Token)match(input,34,FOLLOW_24);
newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
@@ -2996,7 +2997,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
case 2 :
// InternalETPhys.g:1229:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,34,FOLLOW_24);
+ otherlv_1=(Token)match(input,35,FOLLOW_24);
newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
@@ -3006,7 +3007,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,35,FOLLOW_3);
+ otherlv_2=(Token)match(input,36,FOLLOW_3);
newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
@@ -3036,11 +3037,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,17,FOLLOW_4);
+ otherlv_4=(Token)match(input,18,FOLLOW_4);
newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
- otherlv_5=(Token)match(input,13,FOLLOW_26);
+ otherlv_5=(Token)match(input,14,FOLLOW_26);
newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
@@ -3076,7 +3077,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
int alt15=2;
int LA15_0 = input.LA(1);
- if ( (LA15_0==36) ) {
+ if ( (LA15_0==37) ) {
alt15=1;
}
@@ -3085,7 +3086,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
case 1 :
// InternalETPhys.g:1281:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) )
{
- otherlv_7=(Token)match(input,36,FOLLOW_26);
+ otherlv_7=(Token)match(input,37,FOLLOW_26);
newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
@@ -3124,7 +3125,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_9=(Token)match(input,14,FOLLOW_2);
+ otherlv_9=(Token)match(input,15,FOLLOW_2);
newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
@@ -3185,52 +3186,53 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImport"
- // InternalETPhys.g:1324:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
+ // InternalETPhys.g:1324:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
- Token otherlv_3=null;
- Token lv_importURI_4_0=null;
+ Token lv_importURI_3_0=null;
+ Token otherlv_4=null;
+ Token lv_importURI_5_0=null;
AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
enterRule();
try {
- // InternalETPhys.g:1327:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
- // InternalETPhys.g:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1327:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) ) ) )
+ // InternalETPhys.g:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) ) )
{
- // InternalETPhys.g:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
- // InternalETPhys.g:1328:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
+ // InternalETPhys.g:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) ) )
+ // InternalETPhys.g:1328:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) )
{
- otherlv_0=(Token)match(input,37,FOLLOW_28);
+ otherlv_0=(Token)match(input,38,FOLLOW_28);
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
- // InternalETPhys.g:1332:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // InternalETPhys.g:1332:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? ) | (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) ) )
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA16_0==RULE_ID) ) {
- alt16=1;
+ if ( (LA17_0==RULE_ID) ) {
+ alt17=1;
}
- else if ( (LA16_0==32) ) {
- alt16=2;
+ else if ( (LA17_0==33) ) {
+ alt17=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ new NoViableAltException("", 17, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt17) {
case 1 :
- // InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? )
{
- // InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
- // InternalETPhys.g:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
+ // InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )? )
+ // InternalETPhys.g:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )?
{
// InternalETPhys.g:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
// InternalETPhys.g:1333:1: (lv_importedNamespace_1_0= ruleImportedFQN )
@@ -3263,10 +3265,53 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,38,FOLLOW_26);
+ // InternalETPhys.g:1350:2: (otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) ) )?
+ int alt16=2;
+ int LA16_0 = input.LA(1);
+
+ if ( (LA16_0==39) ) {
+ alt16=1;
+ }
+ switch (alt16) {
+ case 1 :
+ // InternalETPhys.g:1350:4: otherlv_2= 'from' ( (lv_importURI_3_0= RULE_STRING ) )
+ {
+ otherlv_2=(Token)match(input,39,FOLLOW_26);
+
+ newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1_0());
+
+ // InternalETPhys.g:1354:1: ( (lv_importURI_3_0= RULE_STRING ) )
+ // InternalETPhys.g:1355:1: (lv_importURI_3_0= RULE_STRING )
+ {
+ // InternalETPhys.g:1355:1: (lv_importURI_3_0= RULE_STRING )
+ // InternalETPhys.g:1356:3: lv_importURI_3_0= RULE_STRING
+ {
+ lv_importURI_3_0=(Token)match(input,RULE_STRING,FOLLOW_2);
+
+ newLeafNode(lv_importURI_3_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_0_1_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getImportRule());
+ }
+ setWithLastConsumed(
+ current,
+ "importURI",
+ lv_importURI_3_0,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
- newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
-
}
@@ -3274,41 +3319,47 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1355:7: otherlv_3= 'model'
+ // InternalETPhys.g:1373:6: (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) )
+ {
+ // InternalETPhys.g:1373:6: (otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1373:8: otherlv_4= 'model' ( (lv_importURI_5_0= RULE_STRING ) )
{
- otherlv_3=(Token)match(input,32,FOLLOW_26);
+ otherlv_4=(Token)match(input,33,FOLLOW_26);
- newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
+ newLeafNode(otherlv_4, grammarAccess.getImportAccess().getModelKeyword_1_1_0());
+ // InternalETPhys.g:1377:1: ( (lv_importURI_5_0= RULE_STRING ) )
+ // InternalETPhys.g:1378:1: (lv_importURI_5_0= RULE_STRING )
+ {
+ // InternalETPhys.g:1378:1: (lv_importURI_5_0= RULE_STRING )
+ // InternalETPhys.g:1379:3: lv_importURI_5_0= RULE_STRING
+ {
+ lv_importURI_5_0=(Token)match(input,RULE_STRING,FOLLOW_2);
+
+ newLeafNode(lv_importURI_5_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_1_1_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getImportRule());
+ }
+ setWithLastConsumed(
+ current,
+ "importURI",
+ lv_importURI_5_0,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
- break;
- }
- // InternalETPhys.g:1359:2: ( (lv_importURI_4_0= RULE_STRING ) )
- // InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
- {
- // InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
- // InternalETPhys.g:1361:3: lv_importURI_4_0= RULE_STRING
- {
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_2);
+ }
- newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
-
- if (current==null) {
- current = createModelElement(grammarAccess.getImportRule());
- }
- setWithLastConsumed(
- current,
- "importURI",
- lv_importURI_4_0,
- "org.eclipse.xtext.common.Terminals.STRING");
-
+ }
- }
+ }
+ break;
}
@@ -3333,7 +3384,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleImportedFQN"
- // InternalETPhys.g:1385:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
+ // InternalETPhys.g:1403:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
public final String entryRuleImportedFQN() throws RecognitionException {
String current = null;
@@ -3341,8 +3392,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1386:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
- // InternalETPhys.g:1387:2: iv_ruleImportedFQN= ruleImportedFQN EOF
+ // InternalETPhys.g:1404:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // InternalETPhys.g:1405:2: iv_ruleImportedFQN= ruleImportedFQN EOF
{
newCompositeNode(grammarAccess.getImportedFQNRule());
pushFollow(FOLLOW_1);
@@ -3369,7 +3420,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImportedFQN"
- // InternalETPhys.g:1394:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
+ // InternalETPhys.g:1412:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3380,11 +3431,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1397:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
- // InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // InternalETPhys.g:1415:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // InternalETPhys.g:1416:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
{
- // InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- // InternalETPhys.g:1399:5: this_FQN_0= ruleFQN (kw= '.*' )?
+ // InternalETPhys.g:1416:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // InternalETPhys.g:1417:5: this_FQN_0= ruleFQN (kw= '.*' )?
{
newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
@@ -3400,18 +3451,18 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
afterParserOrEnumRuleCall();
- // InternalETPhys.g:1409:1: (kw= '.*' )?
- int alt17=2;
- int LA17_0 = input.LA(1);
+ // InternalETPhys.g:1427:1: (kw= '.*' )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA17_0==39) ) {
- alt17=1;
+ if ( (LA18_0==40) ) {
+ alt18=1;
}
- switch (alt17) {
+ switch (alt18) {
case 1 :
- // InternalETPhys.g:1410:2: kw= '.*'
+ // InternalETPhys.g:1428:2: kw= '.*'
{
- kw=(Token)match(input,39,FOLLOW_2);
+ kw=(Token)match(input,40,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -3443,7 +3494,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDocumentation"
- // InternalETPhys.g:1423:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
+ // InternalETPhys.g:1441:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
public final EObject entryRuleDocumentation() throws RecognitionException {
EObject current = null;
@@ -3451,8 +3502,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1424:2: (iv_ruleDocumentation= ruleDocumentation EOF )
- // InternalETPhys.g:1425:2: iv_ruleDocumentation= ruleDocumentation EOF
+ // InternalETPhys.g:1442:2: (iv_ruleDocumentation= ruleDocumentation EOF )
+ // InternalETPhys.g:1443:2: iv_ruleDocumentation= ruleDocumentation EOF
{
newCompositeNode(grammarAccess.getDocumentationRule());
pushFollow(FOLLOW_1);
@@ -3479,7 +3530,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDocumentation"
- // InternalETPhys.g:1432:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ;
+ // InternalETPhys.g:1450:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ;
public final EObject ruleDocumentation() throws RecognitionException {
EObject current = null;
@@ -3490,14 +3541,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1435:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) )
- // InternalETPhys.g:1436:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
+ // InternalETPhys.g:1453:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) )
+ // InternalETPhys.g:1454:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
{
- // InternalETPhys.g:1436:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
- // InternalETPhys.g:1436:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']'
+ // InternalETPhys.g:1454:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
+ // InternalETPhys.g:1454:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']'
{
- // InternalETPhys.g:1436:2: ()
- // InternalETPhys.g:1437:5:
+ // InternalETPhys.g:1454:2: ()
+ // InternalETPhys.g:1455:5:
{
current = forceCreateModelElement(
@@ -3507,27 +3558,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,40,FOLLOW_31);
+ otherlv_1=(Token)match(input,41,FOLLOW_31);
newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
- // InternalETPhys.g:1446:1: ( (lv_lines_2_0= RULE_STRING ) )*
- loop18:
+ // InternalETPhys.g:1464:1: ( (lv_lines_2_0= RULE_STRING ) )*
+ loop19:
do {
- int alt18=2;
- int LA18_0 = input.LA(1);
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA18_0==RULE_STRING) ) {
- alt18=1;
+ if ( (LA19_0==RULE_STRING) ) {
+ alt19=1;
}
- switch (alt18) {
+ switch (alt19) {
case 1 :
- // InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
+ // InternalETPhys.g:1465:1: (lv_lines_2_0= RULE_STRING )
{
- // InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
- // InternalETPhys.g:1448:3: lv_lines_2_0= RULE_STRING
+ // InternalETPhys.g:1465:1: (lv_lines_2_0= RULE_STRING )
+ // InternalETPhys.g:1466:3: lv_lines_2_0= RULE_STRING
{
lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_31);
@@ -3551,11 +3602,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
default :
- break loop18;
+ break loop19;
}
} while (true);
- otherlv_3=(Token)match(input,41,FOLLOW_2);
+ otherlv_3=(Token)match(input,42,FOLLOW_2);
newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
@@ -3580,7 +3631,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleTIME"
- // InternalETPhys.g:1476:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
+ // InternalETPhys.g:1494:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
public final String entryRuleTIME() throws RecognitionException {
String current = null;
@@ -3588,8 +3639,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1477:2: (iv_ruleTIME= ruleTIME EOF )
- // InternalETPhys.g:1478:2: iv_ruleTIME= ruleTIME EOF
+ // InternalETPhys.g:1495:2: (iv_ruleTIME= ruleTIME EOF )
+ // InternalETPhys.g:1496:2: iv_ruleTIME= ruleTIME EOF
{
newCompositeNode(grammarAccess.getTIMERule());
pushFollow(FOLLOW_1);
@@ -3616,7 +3667,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleTIME"
- // InternalETPhys.g:1485:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ;
+ // InternalETPhys.g:1503:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ;
public final AntlrDatatypeRuleToken ruleTIME() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3629,38 +3680,38 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1488:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) )
- // InternalETPhys.g:1489:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
+ // InternalETPhys.g:1506:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) )
+ // InternalETPhys.g:1507:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
{
- // InternalETPhys.g:1489:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
- int alt19=4;
- int LA19_0 = input.LA(1);
+ // InternalETPhys.g:1507:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) )
+ int alt20=4;
+ int LA20_0 = input.LA(1);
- if ( (LA19_0==RULE_INT) ) {
+ if ( (LA20_0==RULE_INT) ) {
switch ( input.LA(2) ) {
case 44:
{
- alt19=3;
+ alt20=2;
}
break;
case 43:
{
- alt19=2;
+ alt20=1;
}
break;
- case 42:
+ case 46:
{
- alt19=1;
+ alt20=4;
}
break;
case 45:
{
- alt19=4;
+ alt20=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 19, 1, input);
+ new NoViableAltException("", 20, 1, input);
throw nvae;
}
@@ -3668,16 +3719,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
- switch (alt19) {
+ switch (alt20) {
case 1 :
- // InternalETPhys.g:1489:2: (this_INT_0= RULE_INT kw= 's' )
+ // InternalETPhys.g:1507:2: (this_INT_0= RULE_INT kw= 's' )
{
- // InternalETPhys.g:1489:2: (this_INT_0= RULE_INT kw= 's' )
- // InternalETPhys.g:1489:7: this_INT_0= RULE_INT kw= 's'
+ // InternalETPhys.g:1507:2: (this_INT_0= RULE_INT kw= 's' )
+ // InternalETPhys.g:1507:7: this_INT_0= RULE_INT kw= 's'
{
this_INT_0=(Token)match(input,RULE_INT,FOLLOW_32);
@@ -3686,7 +3737,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0());
- kw=(Token)match(input,42,FOLLOW_2);
+ kw=(Token)match(input,43,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1());
@@ -3698,10 +3749,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1503:6: (this_INT_2= RULE_INT kw= 'ms' )
+ // InternalETPhys.g:1521:6: (this_INT_2= RULE_INT kw= 'ms' )
{
- // InternalETPhys.g:1503:6: (this_INT_2= RULE_INT kw= 'ms' )
- // InternalETPhys.g:1503:11: this_INT_2= RULE_INT kw= 'ms'
+ // InternalETPhys.g:1521:6: (this_INT_2= RULE_INT kw= 'ms' )
+ // InternalETPhys.g:1521:11: this_INT_2= RULE_INT kw= 'ms'
{
this_INT_2=(Token)match(input,RULE_INT,FOLLOW_33);
@@ -3710,7 +3761,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0());
- kw=(Token)match(input,43,FOLLOW_2);
+ kw=(Token)match(input,44,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1());
@@ -3722,10 +3773,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalETPhys.g:1517:6: (this_INT_4= RULE_INT kw= 'us' )
+ // InternalETPhys.g:1535:6: (this_INT_4= RULE_INT kw= 'us' )
{
- // InternalETPhys.g:1517:6: (this_INT_4= RULE_INT kw= 'us' )
- // InternalETPhys.g:1517:11: this_INT_4= RULE_INT kw= 'us'
+ // InternalETPhys.g:1535:6: (this_INT_4= RULE_INT kw= 'us' )
+ // InternalETPhys.g:1535:11: this_INT_4= RULE_INT kw= 'us'
{
this_INT_4=(Token)match(input,RULE_INT,FOLLOW_34);
@@ -3734,7 +3785,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0());
- kw=(Token)match(input,44,FOLLOW_2);
+ kw=(Token)match(input,45,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1());
@@ -3746,10 +3797,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalETPhys.g:1531:6: (this_INT_6= RULE_INT kw= 'ns' )
+ // InternalETPhys.g:1549:6: (this_INT_6= RULE_INT kw= 'ns' )
{
- // InternalETPhys.g:1531:6: (this_INT_6= RULE_INT kw= 'ns' )
- // InternalETPhys.g:1531:11: this_INT_6= RULE_INT kw= 'ns'
+ // InternalETPhys.g:1549:6: (this_INT_6= RULE_INT kw= 'ns' )
+ // InternalETPhys.g:1549:11: this_INT_6= RULE_INT kw= 'ns'
{
this_INT_6=(Token)match(input,RULE_INT,FOLLOW_35);
@@ -3758,7 +3809,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0());
- kw=(Token)match(input,45,FOLLOW_2);
+ kw=(Token)match(input,46,FOLLOW_2);
current.merge(kw);
newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1());
@@ -3790,7 +3841,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // InternalETPhys.g:1554:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // InternalETPhys.g:1572:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -3798,8 +3849,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1555:2: (iv_ruleLiteral= ruleLiteral EOF )
- // InternalETPhys.g:1556:2: iv_ruleLiteral= ruleLiteral EOF
+ // InternalETPhys.g:1573:2: (iv_ruleLiteral= ruleLiteral EOF )
+ // InternalETPhys.g:1574:2: iv_ruleLiteral= ruleLiteral EOF
{
newCompositeNode(grammarAccess.getLiteralRule());
pushFollow(FOLLOW_1);
@@ -3826,7 +3877,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // InternalETPhys.g:1563:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
+ // InternalETPhys.g:1581:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
public final EObject ruleLiteral() throws RecognitionException {
EObject current = null;
@@ -3840,41 +3891,41 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1566:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
- // InternalETPhys.g:1567:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ // InternalETPhys.g:1584:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
+ // InternalETPhys.g:1585:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
{
- // InternalETPhys.g:1567:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
- int alt20=3;
+ // InternalETPhys.g:1585:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ int alt21=3;
switch ( input.LA(1) ) {
- case 46:
case 47:
+ case 48:
{
- alt20=1;
+ alt21=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 48:
case 49:
+ case 50:
{
- alt20=2;
+ alt21=2;
}
break;
case RULE_STRING:
{
- alt20=3;
+ alt21=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
+ new NoViableAltException("", 21, 0, input);
throw nvae;
}
- switch (alt20) {
+ switch (alt21) {
case 1 :
- // InternalETPhys.g:1568:5: this_BooleanLiteral_0= ruleBooleanLiteral
+ // InternalETPhys.g:1586:5: this_BooleanLiteral_0= ruleBooleanLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
@@ -3892,7 +3943,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1578:5: this_NumberLiteral_1= ruleNumberLiteral
+ // InternalETPhys.g:1596:5: this_NumberLiteral_1= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
@@ -3910,7 +3961,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalETPhys.g:1588:5: this_StringLiteral_2= ruleStringLiteral
+ // InternalETPhys.g:1606:5: this_StringLiteral_2= ruleStringLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
@@ -3948,7 +3999,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanLiteral"
- // InternalETPhys.g:1604:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
+ // InternalETPhys.g:1622:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
public final EObject entryRuleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -3956,8 +4007,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1605:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
- // InternalETPhys.g:1606:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
+ // InternalETPhys.g:1623:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
+ // InternalETPhys.g:1624:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
{
newCompositeNode(grammarAccess.getBooleanLiteralRule());
pushFollow(FOLLOW_1);
@@ -3984,7 +4035,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanLiteral"
- // InternalETPhys.g:1613:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
+ // InternalETPhys.g:1631:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -3994,14 +4045,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1616:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
- // InternalETPhys.g:1617:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // InternalETPhys.g:1634:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
+ // InternalETPhys.g:1635:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
- // InternalETPhys.g:1617:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
- // InternalETPhys.g:1617:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ // InternalETPhys.g:1635:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // InternalETPhys.g:1635:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
- // InternalETPhys.g:1617:2: ()
- // InternalETPhys.g:1618:5:
+ // InternalETPhys.g:1635:2: ()
+ // InternalETPhys.g:1636:5:
{
current = forceCreateModelElement(
@@ -4011,27 +4062,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- // InternalETPhys.g:1623:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
- int alt21=2;
- int LA21_0 = input.LA(1);
+ // InternalETPhys.g:1641:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA21_0==46) ) {
- alt21=1;
+ if ( (LA22_0==47) ) {
+ alt22=1;
}
- else if ( (LA21_0==47) ) {
- alt21=2;
+ else if ( (LA22_0==48) ) {
+ alt22=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 22, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt22) {
case 1 :
- // InternalETPhys.g:1623:4: otherlv_1= 'false'
+ // InternalETPhys.g:1641:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,46,FOLLOW_2);
+ otherlv_1=(Token)match(input,47,FOLLOW_2);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -4039,15 +4090,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1628:6: ( (lv_isTrue_2_0= 'true' ) )
+ // InternalETPhys.g:1646:6: ( (lv_isTrue_2_0= 'true' ) )
{
- // InternalETPhys.g:1628:6: ( (lv_isTrue_2_0= 'true' ) )
- // InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
+ // InternalETPhys.g:1646:6: ( (lv_isTrue_2_0= 'true' ) )
+ // InternalETPhys.g:1647:1: (lv_isTrue_2_0= 'true' )
{
- // InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
- // InternalETPhys.g:1630:3: lv_isTrue_2_0= 'true'
+ // InternalETPhys.g:1647:1: (lv_isTrue_2_0= 'true' )
+ // InternalETPhys.g:1648:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,47,FOLLOW_2);
+ lv_isTrue_2_0=(Token)match(input,48,FOLLOW_2);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -4090,7 +4141,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNumberLiteral"
- // InternalETPhys.g:1651:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
+ // InternalETPhys.g:1669:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
public final EObject entryRuleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -4098,8 +4149,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1652:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
- // InternalETPhys.g:1653:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
+ // InternalETPhys.g:1670:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
+ // InternalETPhys.g:1671:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
{
newCompositeNode(grammarAccess.getNumberLiteralRule());
pushFollow(FOLLOW_1);
@@ -4126,7 +4177,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNumberLiteral"
- // InternalETPhys.g:1660:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
+ // InternalETPhys.g:1678:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
public final EObject ruleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -4138,63 +4189,63 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1663:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
- // InternalETPhys.g:1664:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ // InternalETPhys.g:1681:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
+ // InternalETPhys.g:1682:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
{
- // InternalETPhys.g:1664:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
- int alt22=2;
+ // InternalETPhys.g:1682:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ int alt23=2;
switch ( input.LA(1) ) {
- case 48:
+ case 49:
{
- int LA22_1 = input.LA(2);
+ int LA23_1 = input.LA(2);
- if ( (LA22_1==RULE_INT) ) {
- int LA22_3 = input.LA(3);
+ if ( (LA23_1==RULE_INT) ) {
+ int LA23_3 = input.LA(3);
- if ( (LA22_3==50) ) {
- alt22=2;
+ if ( (LA23_3==51) ) {
+ alt23=2;
}
- else if ( (LA22_3==EOF) ) {
- alt22=1;
+ else if ( (LA23_3==EOF) ) {
+ alt23=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 23, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 1, input);
+ new NoViableAltException("", 23, 1, input);
throw nvae;
}
}
break;
- case 49:
+ case 50:
{
- int LA22_2 = input.LA(2);
+ int LA23_2 = input.LA(2);
- if ( (LA22_2==RULE_INT) ) {
- int LA22_3 = input.LA(3);
+ if ( (LA23_2==RULE_INT) ) {
+ int LA23_3 = input.LA(3);
- if ( (LA22_3==50) ) {
- alt22=2;
+ if ( (LA23_3==51) ) {
+ alt23=2;
}
- else if ( (LA22_3==EOF) ) {
- alt22=1;
+ else if ( (LA23_3==EOF) ) {
+ alt23=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 23, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 2, input);
+ new NoViableAltException("", 23, 2, input);
throw nvae;
}
@@ -4202,17 +4253,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA22_3 = input.LA(2);
+ int LA23_3 = input.LA(2);
- if ( (LA22_3==50) ) {
- alt22=2;
+ if ( (LA23_3==51) ) {
+ alt23=2;
}
- else if ( (LA22_3==EOF) ) {
- alt22=1;
+ else if ( (LA23_3==EOF) ) {
+ alt23=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 3, input);
+ new NoViableAltException("", 23, 3, input);
throw nvae;
}
@@ -4220,19 +4271,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
case RULE_HEX:
{
- alt22=1;
+ alt23=1;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 23, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt23) {
case 1 :
- // InternalETPhys.g:1665:5: this_IntLiteral_0= ruleIntLiteral
+ // InternalETPhys.g:1683:5: this_IntLiteral_0= ruleIntLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
@@ -4250,7 +4301,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1675:5: this_RealLiteral_1= ruleRealLiteral
+ // InternalETPhys.g:1693:5: this_RealLiteral_1= ruleRealLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
@@ -4288,7 +4339,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealLiteral"
- // InternalETPhys.g:1691:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
+ // InternalETPhys.g:1709:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
public final EObject entryRuleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -4296,8 +4347,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1692:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
- // InternalETPhys.g:1693:2: iv_ruleRealLiteral= ruleRealLiteral EOF
+ // InternalETPhys.g:1710:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
+ // InternalETPhys.g:1711:2: iv_ruleRealLiteral= ruleRealLiteral EOF
{
newCompositeNode(grammarAccess.getRealLiteralRule());
pushFollow(FOLLOW_1);
@@ -4324,7 +4375,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealLiteral"
- // InternalETPhys.g:1700:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
+ // InternalETPhys.g:1718:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
public final EObject ruleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -4334,14 +4385,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1703:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
- // InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // InternalETPhys.g:1721:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
+ // InternalETPhys.g:1722:1: ( () ( (lv_value_1_0= ruleReal ) ) )
{
- // InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
- // InternalETPhys.g:1704:2: () ( (lv_value_1_0= ruleReal ) )
+ // InternalETPhys.g:1722:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // InternalETPhys.g:1722:2: () ( (lv_value_1_0= ruleReal ) )
{
- // InternalETPhys.g:1704:2: ()
- // InternalETPhys.g:1705:5:
+ // InternalETPhys.g:1722:2: ()
+ // InternalETPhys.g:1723:5:
{
current = forceCreateModelElement(
@@ -4351,11 +4402,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- // InternalETPhys.g:1710:2: ( (lv_value_1_0= ruleReal ) )
- // InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
+ // InternalETPhys.g:1728:2: ( (lv_value_1_0= ruleReal ) )
+ // InternalETPhys.g:1729:1: (lv_value_1_0= ruleReal )
{
- // InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
- // InternalETPhys.g:1712:3: lv_value_1_0= ruleReal
+ // InternalETPhys.g:1729:1: (lv_value_1_0= ruleReal )
+ // InternalETPhys.g:1730:3: lv_value_1_0= ruleReal
{
newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
@@ -4403,7 +4454,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntLiteral"
- // InternalETPhys.g:1736:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
+ // InternalETPhys.g:1754:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
public final EObject entryRuleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -4411,8 +4462,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1737:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
- // InternalETPhys.g:1738:2: iv_ruleIntLiteral= ruleIntLiteral EOF
+ // InternalETPhys.g:1755:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
+ // InternalETPhys.g:1756:2: iv_ruleIntLiteral= ruleIntLiteral EOF
{
newCompositeNode(grammarAccess.getIntLiteralRule());
pushFollow(FOLLOW_1);
@@ -4439,7 +4490,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntLiteral"
- // InternalETPhys.g:1745:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
+ // InternalETPhys.g:1763:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
public final EObject ruleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -4449,14 +4500,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1748:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
- // InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // InternalETPhys.g:1766:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:1767:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
{
- // InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
- // InternalETPhys.g:1749:2: () ( (lv_value_1_0= ruleInteger ) )
+ // InternalETPhys.g:1767:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // InternalETPhys.g:1767:2: () ( (lv_value_1_0= ruleInteger ) )
{
- // InternalETPhys.g:1749:2: ()
- // InternalETPhys.g:1750:5:
+ // InternalETPhys.g:1767:2: ()
+ // InternalETPhys.g:1768:5:
{
current = forceCreateModelElement(
@@ -4466,11 +4517,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- // InternalETPhys.g:1755:2: ( (lv_value_1_0= ruleInteger ) )
- // InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
+ // InternalETPhys.g:1773:2: ( (lv_value_1_0= ruleInteger ) )
+ // InternalETPhys.g:1774:1: (lv_value_1_0= ruleInteger )
{
- // InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
- // InternalETPhys.g:1757:3: lv_value_1_0= ruleInteger
+ // InternalETPhys.g:1774:1: (lv_value_1_0= ruleInteger )
+ // InternalETPhys.g:1775:3: lv_value_1_0= ruleInteger
{
newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
@@ -4518,7 +4569,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringLiteral"
- // InternalETPhys.g:1781:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
+ // InternalETPhys.g:1799:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -4526,8 +4577,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1782:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
- // InternalETPhys.g:1783:2: iv_ruleStringLiteral= ruleStringLiteral EOF
+ // InternalETPhys.g:1800:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // InternalETPhys.g:1801:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
newCompositeNode(grammarAccess.getStringLiteralRule());
pushFollow(FOLLOW_1);
@@ -4554,7 +4605,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringLiteral"
- // InternalETPhys.g:1790:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
+ // InternalETPhys.g:1808:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -4563,14 +4614,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1793:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
- // InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1811:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
+ // InternalETPhys.g:1812:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
- // InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
- // InternalETPhys.g:1794:2: () ( (lv_value_1_0= RULE_STRING ) )
+ // InternalETPhys.g:1812:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1812:2: () ( (lv_value_1_0= RULE_STRING ) )
{
- // InternalETPhys.g:1794:2: ()
- // InternalETPhys.g:1795:5:
+ // InternalETPhys.g:1812:2: ()
+ // InternalETPhys.g:1813:5:
{
current = forceCreateModelElement(
@@ -4580,11 +4631,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- // InternalETPhys.g:1800:2: ( (lv_value_1_0= RULE_STRING ) )
- // InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
+ // InternalETPhys.g:1818:2: ( (lv_value_1_0= RULE_STRING ) )
+ // InternalETPhys.g:1819:1: (lv_value_1_0= RULE_STRING )
{
- // InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
- // InternalETPhys.g:1802:3: lv_value_1_0= RULE_STRING
+ // InternalETPhys.g:1819:1: (lv_value_1_0= RULE_STRING )
+ // InternalETPhys.g:1820:3: lv_value_1_0= RULE_STRING
{
lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2);
@@ -4627,7 +4678,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInteger"
- // InternalETPhys.g:1826:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
+ // InternalETPhys.g:1844:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
public final String entryRuleInteger() throws RecognitionException {
String current = null;
@@ -4635,8 +4686,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1827:2: (iv_ruleInteger= ruleInteger EOF )
- // InternalETPhys.g:1828:2: iv_ruleInteger= ruleInteger EOF
+ // InternalETPhys.g:1845:2: (iv_ruleInteger= ruleInteger EOF )
+ // InternalETPhys.g:1846:2: iv_ruleInteger= ruleInteger EOF
{
newCompositeNode(grammarAccess.getIntegerRule());
pushFollow(FOLLOW_1);
@@ -4663,7 +4714,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInteger"
- // InternalETPhys.g:1835:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ;
+ // InternalETPhys.g:1853:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ;
public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4674,47 +4725,47 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1838:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) )
- // InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
+ // InternalETPhys.g:1856:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) )
+ // InternalETPhys.g:1857:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
{
- // InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
- int alt24=2;
- int LA24_0 = input.LA(1);
+ // InternalETPhys.g:1857:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA24_0==RULE_INT||(LA24_0>=48 && LA24_0<=49)) ) {
- alt24=1;
+ if ( (LA25_0==RULE_INT||(LA25_0>=49 && LA25_0<=50)) ) {
+ alt25=1;
}
- else if ( (LA24_0==RULE_HEX) ) {
- alt24=2;
+ else if ( (LA25_0==RULE_HEX) ) {
+ alt25=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 24, 0, input);
+ new NoViableAltException("", 25, 0, input);
throw nvae;
}
- switch (alt24) {
+ switch (alt25) {
case 1 :
- // InternalETPhys.g:1839:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // InternalETPhys.g:1857:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
{
- // InternalETPhys.g:1839:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
- // InternalETPhys.g:1839:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
+ // InternalETPhys.g:1857:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // InternalETPhys.g:1857:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
{
- // InternalETPhys.g:1839:3: (kw= '+' | kw= '-' )?
- int alt23=3;
- int LA23_0 = input.LA(1);
+ // InternalETPhys.g:1857:3: (kw= '+' | kw= '-' )?
+ int alt24=3;
+ int LA24_0 = input.LA(1);
- if ( (LA23_0==48) ) {
- alt23=1;
+ if ( (LA24_0==49) ) {
+ alt24=1;
}
- else if ( (LA23_0==49) ) {
- alt23=2;
+ else if ( (LA24_0==50) ) {
+ alt24=2;
}
- switch (alt23) {
+ switch (alt24) {
case 1 :
- // InternalETPhys.g:1840:2: kw= '+'
+ // InternalETPhys.g:1858:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_19);
+ kw=(Token)match(input,49,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
@@ -4723,9 +4774,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1847:2: kw= '-'
+ // InternalETPhys.g:1865:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_19);
+ kw=(Token)match(input,50,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
@@ -4750,7 +4801,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1860:10: this_HEX_3= RULE_HEX
+ // InternalETPhys.g:1878:10: this_HEX_3= RULE_HEX
{
this_HEX_3=(Token)match(input,RULE_HEX,FOLLOW_2);
@@ -4783,7 +4834,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReal"
- // InternalETPhys.g:1875:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
+ // InternalETPhys.g:1893:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -4791,8 +4842,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:1876:2: (iv_ruleReal= ruleReal EOF )
- // InternalETPhys.g:1877:2: iv_ruleReal= ruleReal EOF
+ // InternalETPhys.g:1894:2: (iv_ruleReal= ruleReal EOF )
+ // InternalETPhys.g:1895:2: iv_ruleReal= ruleReal EOF
{
newCompositeNode(grammarAccess.getRealRule());
pushFollow(FOLLOW_1);
@@ -4819,7 +4870,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReal"
- // InternalETPhys.g:1884:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ;
+ // InternalETPhys.g:1902:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ;
public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4831,103 +4882,103 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:1887:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) )
- // InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
+ // InternalETPhys.g:1905:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) )
+ // InternalETPhys.g:1906:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
{
- // InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
- int alt25=2;
+ // InternalETPhys.g:1906:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
+ int alt26=2;
switch ( input.LA(1) ) {
- case 48:
+ case 49:
{
- int LA25_1 = input.LA(2);
+ int LA26_1 = input.LA(2);
- if ( (LA25_1==RULE_INT) ) {
- int LA25_3 = input.LA(3);
+ if ( (LA26_1==RULE_INT) ) {
+ int LA26_3 = input.LA(3);
- if ( (LA25_3==50) ) {
- int LA25_4 = input.LA(4);
+ if ( (LA26_3==51) ) {
+ int LA26_4 = input.LA(4);
- if ( (LA25_4==RULE_INT) ) {
- int LA25_5 = input.LA(5);
+ if ( (LA26_4==RULE_INT) ) {
+ int LA26_5 = input.LA(5);
- if ( (LA25_5==EOF) ) {
- alt25=1;
+ if ( ((LA26_5>=52 && LA26_5<=53)) ) {
+ alt26=2;
}
- else if ( ((LA25_5>=51 && LA25_5<=52)) ) {
- alt25=2;
+ else if ( (LA26_5==EOF) ) {
+ alt26=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 5, input);
+ new NoViableAltException("", 26, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 4, input);
+ new NoViableAltException("", 26, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 3, input);
+ new NoViableAltException("", 26, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 1, input);
+ new NoViableAltException("", 26, 1, input);
throw nvae;
}
}
break;
- case 49:
+ case 50:
{
- int LA25_2 = input.LA(2);
+ int LA26_2 = input.LA(2);
- if ( (LA25_2==RULE_INT) ) {
- int LA25_3 = input.LA(3);
+ if ( (LA26_2==RULE_INT) ) {
+ int LA26_3 = input.LA(3);
- if ( (LA25_3==50) ) {
- int LA25_4 = input.LA(4);
+ if ( (LA26_3==51) ) {
+ int LA26_4 = input.LA(4);
- if ( (LA25_4==RULE_INT) ) {
- int LA25_5 = input.LA(5);
+ if ( (LA26_4==RULE_INT) ) {
+ int LA26_5 = input.LA(5);
- if ( (LA25_5==EOF) ) {
- alt25=1;
+ if ( ((LA26_5>=52 && LA26_5<=53)) ) {
+ alt26=2;
}
- else if ( ((LA25_5>=51 && LA25_5<=52)) ) {
- alt25=2;
+ else if ( (LA26_5==EOF) ) {
+ alt26=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 5, input);
+ new NoViableAltException("", 26, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 4, input);
+ new NoViableAltException("", 26, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 3, input);
+ new NoViableAltException("", 26, 3, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 2, input);
+ new NoViableAltException("", 26, 2, input);
throw nvae;
}
@@ -4935,37 +4986,37 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA25_3 = input.LA(2);
+ int LA26_3 = input.LA(2);
- if ( (LA25_3==50) ) {
- int LA25_4 = input.LA(3);
+ if ( (LA26_3==51) ) {
+ int LA26_4 = input.LA(3);
- if ( (LA25_4==RULE_INT) ) {
- int LA25_5 = input.LA(4);
+ if ( (LA26_4==RULE_INT) ) {
+ int LA26_5 = input.LA(4);
- if ( (LA25_5==EOF) ) {
- alt25=1;
+ if ( ((LA26_5>=52 && LA26_5<=53)) ) {
+ alt26=2;
}
- else if ( ((LA25_5>=51 && LA25_5<=52)) ) {
- alt25=2;
+ else if ( (LA26_5==EOF) ) {
+ alt26=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 5, input);
+ new NoViableAltException("", 26, 5, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 4, input);
+ new NoViableAltException("", 26, 4, input);
throw nvae;
}
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 25, 3, input);
+ new NoViableAltException("", 26, 3, input);
throw nvae;
}
@@ -4973,14 +5024,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 25, 0, input);
+ new NoViableAltException("", 26, 0, input);
throw nvae;
}
- switch (alt25) {
+ switch (alt26) {
case 1 :
- // InternalETPhys.g:1889:5: this_Decimal_0= ruleDecimal
+ // InternalETPhys.g:1907:5: this_Decimal_0= ruleDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
@@ -5000,7 +5051,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1901:5: this_DecimalExp_1= ruleDecimalExp
+ // InternalETPhys.g:1919:5: this_DecimalExp_1= ruleDecimalExp
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_1());
@@ -5040,7 +5091,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimal"
- // InternalETPhys.g:1919:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
+ // InternalETPhys.g:1937:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
public final String entryRuleDecimal() throws RecognitionException {
String current = null;
@@ -5051,8 +5102,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalETPhys.g:1923:2: (iv_ruleDecimal= ruleDecimal EOF )
- // InternalETPhys.g:1924:2: iv_ruleDecimal= ruleDecimal EOF
+ // InternalETPhys.g:1941:2: (iv_ruleDecimal= ruleDecimal EOF )
+ // InternalETPhys.g:1942:2: iv_ruleDecimal= ruleDecimal EOF
{
newCompositeNode(grammarAccess.getDecimalRule());
pushFollow(FOLLOW_1);
@@ -5082,7 +5133,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimal"
- // InternalETPhys.g:1934:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
+ // InternalETPhys.g:1952:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5094,27 +5145,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalETPhys.g:1938:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
- // InternalETPhys.g:1939:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // InternalETPhys.g:1956:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
+ // InternalETPhys.g:1957:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
{
- // InternalETPhys.g:1939:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
- // InternalETPhys.g:1939:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
+ // InternalETPhys.g:1957:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // InternalETPhys.g:1957:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
{
- // InternalETPhys.g:1939:2: (kw= '+' | kw= '-' )?
- int alt26=3;
- int LA26_0 = input.LA(1);
+ // InternalETPhys.g:1957:2: (kw= '+' | kw= '-' )?
+ int alt27=3;
+ int LA27_0 = input.LA(1);
- if ( (LA26_0==48) ) {
- alt26=1;
+ if ( (LA27_0==49) ) {
+ alt27=1;
}
- else if ( (LA26_0==49) ) {
- alt26=2;
+ else if ( (LA27_0==50) ) {
+ alt27=2;
}
- switch (alt26) {
+ switch (alt27) {
case 1 :
- // InternalETPhys.g:1940:2: kw= '+'
+ // InternalETPhys.g:1958:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_19);
+ kw=(Token)match(input,49,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -5123,9 +5174,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:1947:2: kw= '-'
+ // InternalETPhys.g:1965:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_19);
+ kw=(Token)match(input,50,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -5143,7 +5194,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,50,FOLLOW_19);
+ kw=(Token)match(input,51,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
@@ -5179,7 +5230,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalExp"
- // InternalETPhys.g:1983:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
+ // InternalETPhys.g:2001:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
public final String entryRuleDecimalExp() throws RecognitionException {
String current = null;
@@ -5190,8 +5241,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalETPhys.g:1987:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
- // InternalETPhys.g:1988:2: iv_ruleDecimalExp= ruleDecimalExp EOF
+ // InternalETPhys.g:2005:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
+ // InternalETPhys.g:2006:2: iv_ruleDecimalExp= ruleDecimalExp EOF
{
newCompositeNode(grammarAccess.getDecimalExpRule());
pushFollow(FOLLOW_1);
@@ -5221,7 +5272,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimalExp"
- // InternalETPhys.g:1998:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ;
+ // InternalETPhys.g:2016:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5234,27 +5285,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // InternalETPhys.g:2002:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) )
- // InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
+ // InternalETPhys.g:2020:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) )
+ // InternalETPhys.g:2021:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
{
- // InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
- // InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT
+ // InternalETPhys.g:2021:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
+ // InternalETPhys.g:2021:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT
{
- // InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )?
- int alt27=3;
- int LA27_0 = input.LA(1);
+ // InternalETPhys.g:2021:2: (kw= '+' | kw= '-' )?
+ int alt28=3;
+ int LA28_0 = input.LA(1);
- if ( (LA27_0==48) ) {
- alt27=1;
+ if ( (LA28_0==49) ) {
+ alt28=1;
}
- else if ( (LA27_0==49) ) {
- alt27=2;
+ else if ( (LA28_0==50) ) {
+ alt28=2;
}
- switch (alt27) {
+ switch (alt28) {
case 1 :
- // InternalETPhys.g:2004:2: kw= '+'
+ // InternalETPhys.g:2022:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_19);
+ kw=(Token)match(input,49,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -5263,9 +5314,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2011:2: kw= '-'
+ // InternalETPhys.g:2029:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_19);
+ kw=(Token)match(input,50,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -5283,7 +5334,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,50,FOLLOW_19);
+ kw=(Token)match(input,51,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
@@ -5295,27 +5346,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3());
- // InternalETPhys.g:2036:1: (kw= 'e' | kw= 'E' )
- int alt28=2;
- int LA28_0 = input.LA(1);
+ // InternalETPhys.g:2054:1: (kw= 'e' | kw= 'E' )
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA28_0==51) ) {
- alt28=1;
+ if ( (LA29_0==52) ) {
+ alt29=1;
}
- else if ( (LA28_0==52) ) {
- alt28=2;
+ else if ( (LA29_0==53) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 28, 0, input);
+ new NoViableAltException("", 29, 0, input);
throw nvae;
}
- switch (alt28) {
+ switch (alt29) {
case 1 :
- // InternalETPhys.g:2037:2: kw= 'e'
+ // InternalETPhys.g:2055:2: kw= 'e'
{
- kw=(Token)match(input,51,FOLLOW_38);
+ kw=(Token)match(input,52,FOLLOW_38);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
@@ -5324,9 +5375,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2044:2: kw= 'E'
+ // InternalETPhys.g:2062:2: kw= 'E'
{
- kw=(Token)match(input,52,FOLLOW_38);
+ kw=(Token)match(input,53,FOLLOW_38);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
@@ -5337,21 +5388,21 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- // InternalETPhys.g:2049:2: (kw= '+' | kw= '-' )?
- int alt29=3;
- int LA29_0 = input.LA(1);
+ // InternalETPhys.g:2067:2: (kw= '+' | kw= '-' )?
+ int alt30=3;
+ int LA30_0 = input.LA(1);
- if ( (LA29_0==48) ) {
- alt29=1;
+ if ( (LA30_0==49) ) {
+ alt30=1;
}
- else if ( (LA29_0==49) ) {
- alt29=2;
+ else if ( (LA30_0==50) ) {
+ alt30=2;
}
- switch (alt29) {
+ switch (alt30) {
case 1 :
- // InternalETPhys.g:2050:2: kw= '+'
+ // InternalETPhys.g:2068:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_19);
+ kw=(Token)match(input,49,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
@@ -5360,9 +5411,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2057:2: kw= '-'
+ // InternalETPhys.g:2075:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_19);
+ kw=(Token)match(input,50,FOLLOW_19);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
@@ -5404,7 +5455,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleFQN"
- // InternalETPhys.g:2080:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
+ // InternalETPhys.g:2098:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
public final String entryRuleFQN() throws RecognitionException {
String current = null;
@@ -5412,8 +5463,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // InternalETPhys.g:2081:2: (iv_ruleFQN= ruleFQN EOF )
- // InternalETPhys.g:2082:2: iv_ruleFQN= ruleFQN EOF
+ // InternalETPhys.g:2099:2: (iv_ruleFQN= ruleFQN EOF )
+ // InternalETPhys.g:2100:2: iv_ruleFQN= ruleFQN EOF
{
newCompositeNode(grammarAccess.getFQNRule());
pushFollow(FOLLOW_1);
@@ -5440,7 +5491,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleFQN"
- // InternalETPhys.g:2089:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ // InternalETPhys.g:2107:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5451,11 +5502,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:2092:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
- // InternalETPhys.g:2093:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalETPhys.g:2110:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // InternalETPhys.g:2111:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
- // InternalETPhys.g:2093:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // InternalETPhys.g:2093:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // InternalETPhys.g:2111:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalETPhys.g:2111:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_39);
@@ -5464,22 +5515,22 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
- // InternalETPhys.g:2100:1: (kw= '.' this_ID_2= RULE_ID )*
- loop30:
+ // InternalETPhys.g:2118:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop31:
do {
- int alt30=2;
- int LA30_0 = input.LA(1);
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA30_0==50) ) {
- alt30=1;
+ if ( (LA31_0==51) ) {
+ alt31=1;
}
- switch (alt30) {
+ switch (alt31) {
case 1 :
- // InternalETPhys.g:2101:2: kw= '.' this_ID_2= RULE_ID
+ // InternalETPhys.g:2119:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,50,FOLLOW_3);
+ kw=(Token)match(input,51,FOLLOW_3);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
@@ -5496,7 +5547,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
break;
default :
- break loop30;
+ break loop31;
}
} while (true);
@@ -5521,7 +5572,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExecMode"
- // InternalETPhys.g:2121:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
+ // InternalETPhys.g:2139:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
public final Enumerator ruleExecMode() throws RecognitionException {
Enumerator current = null;
@@ -5531,42 +5582,42 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:2123:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) )
- // InternalETPhys.g:2124:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ // InternalETPhys.g:2141:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) )
+ // InternalETPhys.g:2142:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
{
- // InternalETPhys.g:2124:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
- int alt31=3;
+ // InternalETPhys.g:2142:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ int alt32=3;
switch ( input.LA(1) ) {
- case 53:
+ case 54:
{
- alt31=1;
+ alt32=1;
}
break;
- case 54:
+ case 55:
{
- alt31=2;
+ alt32=2;
}
break;
- case 55:
+ case 56:
{
- alt31=3;
+ alt32=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 31, 0, input);
+ new NoViableAltException("", 32, 0, input);
throw nvae;
}
- switch (alt31) {
+ switch (alt32) {
case 1 :
- // InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
+ // InternalETPhys.g:2142:2: (enumLiteral_0= 'polled' )
{
- // InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
- // InternalETPhys.g:2124:4: enumLiteral_0= 'polled'
+ // InternalETPhys.g:2142:2: (enumLiteral_0= 'polled' )
+ // InternalETPhys.g:2142:4: enumLiteral_0= 'polled'
{
- enumLiteral_0=(Token)match(input,53,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,54,FOLLOW_2);
current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0());
@@ -5578,12 +5629,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2130:6: (enumLiteral_1= 'blocked' )
+ // InternalETPhys.g:2148:6: (enumLiteral_1= 'blocked' )
{
- // InternalETPhys.g:2130:6: (enumLiteral_1= 'blocked' )
- // InternalETPhys.g:2130:8: enumLiteral_1= 'blocked'
+ // InternalETPhys.g:2148:6: (enumLiteral_1= 'blocked' )
+ // InternalETPhys.g:2148:8: enumLiteral_1= 'blocked'
{
- enumLiteral_1=(Token)match(input,54,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,55,FOLLOW_2);
current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1());
@@ -5595,12 +5646,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalETPhys.g:2136:6: (enumLiteral_2= 'mixed' )
+ // InternalETPhys.g:2154:6: (enumLiteral_2= 'mixed' )
{
- // InternalETPhys.g:2136:6: (enumLiteral_2= 'mixed' )
- // InternalETPhys.g:2136:8: enumLiteral_2= 'mixed'
+ // InternalETPhys.g:2154:6: (enumLiteral_2= 'mixed' )
+ // InternalETPhys.g:2154:8: enumLiteral_2= 'mixed'
{
- enumLiteral_2=(Token)match(input,55,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,56,FOLLOW_2);
current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2());
@@ -5632,7 +5683,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleThreadModel"
- // InternalETPhys.g:2146:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
+ // InternalETPhys.g:2164:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
public final Enumerator ruleThreadModel() throws RecognitionException {
Enumerator current = null;
@@ -5641,33 +5692,33 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:2148:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
- // InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ // InternalETPhys.g:2166:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
+ // InternalETPhys.g:2167:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
{
- // InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
- int alt32=2;
- int LA32_0 = input.LA(1);
+ // InternalETPhys.g:2167:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ int alt33=2;
+ int LA33_0 = input.LA(1);
- if ( (LA32_0==56) ) {
- alt32=1;
+ if ( (LA33_0==57) ) {
+ alt33=1;
}
- else if ( (LA32_0==57) ) {
- alt32=2;
+ else if ( (LA33_0==58) ) {
+ alt33=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 32, 0, input);
+ new NoViableAltException("", 33, 0, input);
throw nvae;
}
- switch (alt32) {
+ switch (alt33) {
case 1 :
- // InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
+ // InternalETPhys.g:2167:2: (enumLiteral_0= 'singleThreaded' )
{
- // InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
- // InternalETPhys.g:2149:4: enumLiteral_0= 'singleThreaded'
+ // InternalETPhys.g:2167:2: (enumLiteral_0= 'singleThreaded' )
+ // InternalETPhys.g:2167:4: enumLiteral_0= 'singleThreaded'
{
- enumLiteral_0=(Token)match(input,56,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,57,FOLLOW_2);
current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0());
@@ -5679,12 +5730,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2155:6: (enumLiteral_1= 'multiThreaded' )
+ // InternalETPhys.g:2173:6: (enumLiteral_1= 'multiThreaded' )
{
- // InternalETPhys.g:2155:6: (enumLiteral_1= 'multiThreaded' )
- // InternalETPhys.g:2155:8: enumLiteral_1= 'multiThreaded'
+ // InternalETPhys.g:2173:6: (enumLiteral_1= 'multiThreaded' )
+ // InternalETPhys.g:2173:8: enumLiteral_1= 'multiThreaded'
{
- enumLiteral_1=(Token)match(input,57,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,58,FOLLOW_2);
current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1());
@@ -5716,7 +5767,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteralType"
- // InternalETPhys.g:2165:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ;
+ // InternalETPhys.g:2183:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ;
public final Enumerator ruleLiteralType() throws RecognitionException {
Enumerator current = null;
@@ -5727,47 +5778,47 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // InternalETPhys.g:2167:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) )
- // InternalETPhys.g:2168:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
+ // InternalETPhys.g:2185:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) )
+ // InternalETPhys.g:2186:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
{
- // InternalETPhys.g:2168:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
- int alt33=4;
+ // InternalETPhys.g:2186:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
+ int alt34=4;
switch ( input.LA(1) ) {
- case 58:
- {
- alt33=1;
- }
- break;
case 59:
{
- alt33=2;
+ alt34=1;
}
break;
case 60:
{
- alt33=3;
+ alt34=2;
}
break;
case 61:
{
- alt33=4;
+ alt34=3;
+ }
+ break;
+ case 62:
+ {
+ alt34=4;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 33, 0, input);
+ new NoViableAltException("", 34, 0, input);
throw nvae;
}
- switch (alt33) {
+ switch (alt34) {
case 1 :
- // InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
+ // InternalETPhys.g:2186:2: (enumLiteral_0= 'ptBoolean' )
{
- // InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
- // InternalETPhys.g:2168:4: enumLiteral_0= 'ptBoolean'
+ // InternalETPhys.g:2186:2: (enumLiteral_0= 'ptBoolean' )
+ // InternalETPhys.g:2186:4: enumLiteral_0= 'ptBoolean'
{
- enumLiteral_0=(Token)match(input,58,FOLLOW_2);
+ enumLiteral_0=(Token)match(input,59,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
@@ -5779,12 +5830,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // InternalETPhys.g:2174:6: (enumLiteral_1= 'ptInteger' )
+ // InternalETPhys.g:2192:6: (enumLiteral_1= 'ptInteger' )
{
- // InternalETPhys.g:2174:6: (enumLiteral_1= 'ptInteger' )
- // InternalETPhys.g:2174:8: enumLiteral_1= 'ptInteger'
+ // InternalETPhys.g:2192:6: (enumLiteral_1= 'ptInteger' )
+ // InternalETPhys.g:2192:8: enumLiteral_1= 'ptInteger'
{
- enumLiteral_1=(Token)match(input,59,FOLLOW_2);
+ enumLiteral_1=(Token)match(input,60,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
@@ -5796,12 +5847,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // InternalETPhys.g:2180:6: (enumLiteral_2= 'ptReal' )
+ // InternalETPhys.g:2198:6: (enumLiteral_2= 'ptReal' )
{
- // InternalETPhys.g:2180:6: (enumLiteral_2= 'ptReal' )
- // InternalETPhys.g:2180:8: enumLiteral_2= 'ptReal'
+ // InternalETPhys.g:2198:6: (enumLiteral_2= 'ptReal' )
+ // InternalETPhys.g:2198:8: enumLiteral_2= 'ptReal'
{
- enumLiteral_2=(Token)match(input,60,FOLLOW_2);
+ enumLiteral_2=(Token)match(input,61,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
@@ -5813,12 +5864,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // InternalETPhys.g:2186:6: (enumLiteral_3= 'ptCharacter' )
+ // InternalETPhys.g:2204:6: (enumLiteral_3= 'ptCharacter' )
{
- // InternalETPhys.g:2186:6: (enumLiteral_3= 'ptCharacter' )
- // InternalETPhys.g:2186:8: enumLiteral_3= 'ptCharacter'
+ // InternalETPhys.g:2204:6: (enumLiteral_3= 'ptCharacter' )
+ // InternalETPhys.g:2204:8: enumLiteral_3= 'ptCharacter'
{
- enumLiteral_3=(Token)match(input,61,FOLLOW_2);
+ enumLiteral_3=(Token)match(input,62,FOLLOW_2);
current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
@@ -5856,41 +5907,41 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000208004C000L});
- public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000008004C000L});
- public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000010000002000L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000014000L});
- public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000010000000002L});
- public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000680000L});
- public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000001E84000L});
- public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x00030000000000A0L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000001804000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x000000007E000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x00E0000000000000L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x000000007E004000L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000004100098000L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000100098000L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000020000004000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000028000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000040000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000020000000002L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000D00000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000003D08000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x00060000000000A0L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000003008000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000000FC000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x01C0000000000000L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x00000000FC008000L});
public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0300000000000000L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0003C000000000E0L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x3C00000000000000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0600000000000000L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000008000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x00078000000000E0L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x7800000000000000L});
public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001000004000L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000100000010L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000008000000002L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000020000000040L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000080000000000L});
- public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000200000000000L});
- public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0004000000000000L});
- public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0018000000000000L});
- public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0003000000000020L});
- public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0004000000000002L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000002000008000L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200000010L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000010000000002L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000040000000040L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000080000000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000200000000000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000400000000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0008000000000000L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0030000000000000L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0006000000000020L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0008000000000002L});
}

Back to the top