", "RULE_STRING", "RULE_ID", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'include'", "'library'", "'insert'", "'as'", "'with'", "','", "'set'", "'connect'", "'to'", "'go'", "'into'", "'out'", "'='", "'.'", "'['", "']'", "'('", "')'", "'=>'", "'<'", "'>'", "'?'", "'extends'", "'&'", "'super'", "'*'", "'import'", "'static'", "'extension'", "'actor'", "'parameter'", "'port'", "'director'"
};
- public static final int RULE_STRING=4;
- public static final int RULE_SL_COMMENT=7;
public static final int T__19=19;
public static final int T__15=15;
- public static final int T__37=37;
public static final int T__16=16;
- public static final int T__38=38;
public static final int T__17=17;
- public static final int T__39=39;
public static final int T__18=18;
public static final int T__11=11;
- public static final int T__33=33;
public static final int T__12=12;
- public static final int T__34=34;
public static final int T__13=13;
- public static final int T__35=35;
public static final int T__14=14;
- public static final int T__36=36;
- public static final int EOF=-1;
- public static final int T__30=30;
- public static final int T__31=31;
public static final int T__10=10;
- public static final int T__32=32;
public static final int RULE_ID=5;
- public static final int RULE_WS=8;
- public static final int RULE_ANY_OTHER=9;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
@@ -71,11 +57,27 @@ public class InternalTqclParser extends AbstractInternalAntlrParser {
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__20=20;
+ public static final int T__21=21;
+ public static final int RULE_STRING=4;
+ public static final int RULE_SL_COMMENT=7;
+ public static final int T__37=37;
+ public static final int T__38=38;
+ public static final int T__39=39;
+ public static final int T__33=33;
+ public static final int T__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int EOF=-1;
+ 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=8;
+ public static final int RULE_ANY_OTHER=9;
public static final int T__40=40;
public static final int T__41=41;
- public static final int T__20=20;
public static final int T__42=42;
- public static final int T__21=21;
+ public static final int T__43=43;
// delegates
// delegators
@@ -117,7 +119,7 @@ protected TqclGrammarAccess getGrammarAccess() {
// $ANTLR start "entryRuleTriquetrumScript"
- // InternalTqcl.g:73:1: entryRuleTriquetrumScript returns [EObject current=null] : iv_ruleTriquetrumScript= ruleTriquetrumScript EOF ;
+ // InternalTqcl.g:74:1: entryRuleTriquetrumScript returns [EObject current=null] : iv_ruleTriquetrumScript= ruleTriquetrumScript EOF ;
public final EObject entryRuleTriquetrumScript() throws RecognitionException {
EObject current = null;
@@ -125,8 +127,8 @@ public final EObject entryRuleTriquetrumScript() throws RecognitionException {
try {
- // InternalTqcl.g:73:57: (iv_ruleTriquetrumScript= ruleTriquetrumScript EOF )
- // InternalTqcl.g:74:2: iv_ruleTriquetrumScript= ruleTriquetrumScript EOF
+ // InternalTqcl.g:74:57: (iv_ruleTriquetrumScript= ruleTriquetrumScript EOF )
+ // InternalTqcl.g:75:2: iv_ruleTriquetrumScript= ruleTriquetrumScript EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTriquetrumScriptRule());
@@ -157,7 +159,7 @@ public final EObject entryRuleTriquetrumScript() throws RecognitionException {
// $ANTLR start "ruleTriquetrumScript"
- // InternalTqcl.g:80:1: ruleTriquetrumScript returns [EObject current=null] : ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
+ // InternalTqcl.g:81:1: ruleTriquetrumScript returns [EObject current=null] : ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
public final EObject ruleTriquetrumScript() throws RecognitionException {
EObject current = null;
@@ -170,13 +172,13 @@ public final EObject ruleTriquetrumScript() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:86:2: ( ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
- // InternalTqcl.g:87:2: ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* )
+ // InternalTqcl.g:87:2: ( ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
+ // InternalTqcl.g:88:2: ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* )
{
- // InternalTqcl.g:87:2: ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* )
- // InternalTqcl.g:88:3: ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )*
+ // InternalTqcl.g:88:2: ( ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )* )
+ // InternalTqcl.g:89:3: ( (lv_libraries_0_0= ruleLibrary ) )* ( (lv_commands_1_0= ruleCommand ) )*
{
- // InternalTqcl.g:88:3: ( (lv_libraries_0_0= ruleLibrary ) )*
+ // InternalTqcl.g:89:3: ( (lv_libraries_0_0= ruleLibrary ) )*
loop1:
do {
int alt1=2;
@@ -189,10 +191,10 @@ public final EObject ruleTriquetrumScript() throws RecognitionException {
switch (alt1) {
case 1 :
- // InternalTqcl.g:89:4: (lv_libraries_0_0= ruleLibrary )
+ // InternalTqcl.g:90:4: (lv_libraries_0_0= ruleLibrary )
{
- // InternalTqcl.g:89:4: (lv_libraries_0_0= ruleLibrary )
- // InternalTqcl.g:90:5: lv_libraries_0_0= ruleLibrary
+ // InternalTqcl.g:90:4: (lv_libraries_0_0= ruleLibrary )
+ // InternalTqcl.g:91:5: lv_libraries_0_0= ruleLibrary
{
if ( state.backtracking==0 ) {
@@ -229,7 +231,7 @@ public final EObject ruleTriquetrumScript() throws RecognitionException {
}
} while (true);
- // InternalTqcl.g:107:3: ( (lv_commands_1_0= ruleCommand ) )*
+ // InternalTqcl.g:108:3: ( (lv_commands_1_0= ruleCommand ) )*
loop2:
do {
int alt2=2;
@@ -242,10 +244,10 @@ public final EObject ruleTriquetrumScript() throws RecognitionException {
switch (alt2) {
case 1 :
- // InternalTqcl.g:108:4: (lv_commands_1_0= ruleCommand )
+ // InternalTqcl.g:109:4: (lv_commands_1_0= ruleCommand )
{
- // InternalTqcl.g:108:4: (lv_commands_1_0= ruleCommand )
- // InternalTqcl.g:109:5: lv_commands_1_0= ruleCommand
+ // InternalTqcl.g:109:4: (lv_commands_1_0= ruleCommand )
+ // InternalTqcl.g:110:5: lv_commands_1_0= ruleCommand
{
if ( state.backtracking==0 ) {
@@ -307,7 +309,7 @@ public final EObject ruleTriquetrumScript() throws RecognitionException {
// $ANTLR start "entryRuleCommand"
- // InternalTqcl.g:130:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
+ // InternalTqcl.g:131:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
public final EObject entryRuleCommand() throws RecognitionException {
EObject current = null;
@@ -315,8 +317,8 @@ public final EObject entryRuleCommand() throws RecognitionException {
try {
- // InternalTqcl.g:130:48: (iv_ruleCommand= ruleCommand EOF )
- // InternalTqcl.g:131:2: iv_ruleCommand= ruleCommand EOF
+ // InternalTqcl.g:131:48: (iv_ruleCommand= ruleCommand EOF )
+ // InternalTqcl.g:132:2: iv_ruleCommand= ruleCommand EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getCommandRule());
@@ -347,7 +349,7 @@ public final EObject entryRuleCommand() throws RecognitionException {
// $ANTLR start "ruleCommand"
- // InternalTqcl.g:137:1: ruleCommand returns [EObject current=null] : ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport ) otherlv_6= ';' ) ;
+ // InternalTqcl.g:138:1: ruleCommand returns [EObject current=null] : ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude ) otherlv_6= ';' ) ;
public final EObject ruleCommand() throws RecognitionException {
EObject current = null;
@@ -362,20 +364,20 @@ public final EObject ruleCommand() throws RecognitionException {
EObject this_GoOut_4 = null;
- EObject this_Import_5 = null;
+ EObject this_Include_5 = null;
enterRule();
try {
- // InternalTqcl.g:143:2: ( ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport ) otherlv_6= ';' ) )
- // InternalTqcl.g:144:2: ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport ) otherlv_6= ';' )
+ // InternalTqcl.g:144:2: ( ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude ) otherlv_6= ';' ) )
+ // InternalTqcl.g:145:2: ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude ) otherlv_6= ';' )
{
- // InternalTqcl.g:144:2: ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport ) otherlv_6= ';' )
- // InternalTqcl.g:145:3: (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport ) otherlv_6= ';'
+ // InternalTqcl.g:145:2: ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude ) otherlv_6= ';' )
+ // InternalTqcl.g:146:3: (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude ) otherlv_6= ';'
{
- // InternalTqcl.g:145:3: (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Import_5= ruleImport )
+ // InternalTqcl.g:146:3: (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_Include_5= ruleInclude )
int alt3=6;
switch ( input.LA(1) ) {
case 13:
@@ -397,12 +399,12 @@ public final EObject ruleCommand() throws RecognitionException {
{
int LA3_4 = input.LA(2);
- if ( (LA3_4==21) ) {
- alt3=4;
- }
- else if ( (LA3_4==22) ) {
+ if ( (LA3_4==22) ) {
alt3=5;
}
+ else if ( (LA3_4==21) ) {
+ alt3=4;
+ }
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
@@ -427,7 +429,7 @@ else if ( (LA3_4==22) ) {
switch (alt3) {
case 1 :
- // InternalTqcl.g:146:4: this_Insert_0= ruleInsert
+ // InternalTqcl.g:147:4: this_Insert_0= ruleInsert
{
if ( state.backtracking==0 ) {
@@ -449,7 +451,7 @@ else if ( (LA3_4==22) ) {
}
break;
case 2 :
- // InternalTqcl.g:155:4: this_Connect_1= ruleConnect
+ // InternalTqcl.g:156:4: this_Connect_1= ruleConnect
{
if ( state.backtracking==0 ) {
@@ -471,7 +473,7 @@ else if ( (LA3_4==22) ) {
}
break;
case 3 :
- // InternalTqcl.g:164:4: this_Set_2= ruleSet
+ // InternalTqcl.g:165:4: this_Set_2= ruleSet
{
if ( state.backtracking==0 ) {
@@ -493,7 +495,7 @@ else if ( (LA3_4==22) ) {
}
break;
case 4 :
- // InternalTqcl.g:173:4: this_GoInto_3= ruleGoInto
+ // InternalTqcl.g:174:4: this_GoInto_3= ruleGoInto
{
if ( state.backtracking==0 ) {
@@ -515,7 +517,7 @@ else if ( (LA3_4==22) ) {
}
break;
case 5 :
- // InternalTqcl.g:182:4: this_GoOut_4= ruleGoOut
+ // InternalTqcl.g:183:4: this_GoOut_4= ruleGoOut
{
if ( state.backtracking==0 ) {
@@ -537,21 +539,21 @@ else if ( (LA3_4==22) ) {
}
break;
case 6 :
- // InternalTqcl.g:191:4: this_Import_5= ruleImport
+ // InternalTqcl.g:192:4: this_Include_5= ruleInclude
{
if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCommandAccess().getImportParserRuleCall_0_5());
+ newCompositeNode(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5());
}
pushFollow(FOLLOW_5);
- this_Import_5=ruleImport();
+ this_Include_5=ruleInclude();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
- current = this_Import_5;
+ current = this_Include_5;
afterParserOrEnumRuleCall();
}
@@ -591,28 +593,28 @@ else if ( (LA3_4==22) ) {
// $ANTLR end "ruleCommand"
- // $ANTLR start "entryRuleImport"
- // InternalTqcl.g:208:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
- public final EObject entryRuleImport() throws RecognitionException {
+ // $ANTLR start "entryRuleInclude"
+ // InternalTqcl.g:209:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ;
+ public final EObject entryRuleInclude() throws RecognitionException {
EObject current = null;
- EObject iv_ruleImport = null;
+ EObject iv_ruleInclude = null;
try {
- // InternalTqcl.g:208:47: (iv_ruleImport= ruleImport EOF )
- // InternalTqcl.g:209:2: iv_ruleImport= ruleImport EOF
+ // InternalTqcl.g:209:48: (iv_ruleInclude= ruleInclude EOF )
+ // InternalTqcl.g:210:2: iv_ruleInclude= ruleInclude EOF
{
if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getImportRule());
+ newCompositeNode(grammarAccess.getIncludeRule());
}
pushFollow(FOLLOW_1);
- iv_ruleImport=ruleImport();
+ iv_ruleInclude=ruleInclude();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
- current =iv_ruleImport;
+ current =iv_ruleInclude;
}
match(input,EOF,FOLLOW_2); if (state.failed) return current;
@@ -628,12 +630,12 @@ public final EObject entryRuleImport() throws RecognitionException {
}
return current;
}
- // $ANTLR end "entryRuleImport"
+ // $ANTLR end "entryRuleInclude"
- // $ANTLR start "ruleImport"
- // InternalTqcl.g:215:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) ;
- public final EObject ruleImport() throws RecognitionException {
+ // $ANTLR start "ruleInclude"
+ // InternalTqcl.g:216:1: ruleInclude returns [EObject current=null] : (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) ;
+ public final EObject ruleInclude() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
@@ -644,34 +646,34 @@ public final EObject ruleImport() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:221:2: ( (otherlv_0= 'import' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) )
- // InternalTqcl.g:222:2: (otherlv_0= 'import' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' )
+ // InternalTqcl.g:222:2: ( (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) )
+ // InternalTqcl.g:223:2: (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' )
{
- // InternalTqcl.g:222:2: (otherlv_0= 'import' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' )
- // InternalTqcl.g:223:3: otherlv_0= 'import' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';'
+ // InternalTqcl.g:223:2: (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' )
+ // InternalTqcl.g:224:3: otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';'
{
otherlv_0=(Token)match(input,11,FOLLOW_6); if (state.failed) return current;
if ( state.backtracking==0 ) {
- newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
+ newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0());
}
- // InternalTqcl.g:227:3: ( (lv_filename_1_0= RULE_STRING ) )
- // InternalTqcl.g:228:4: (lv_filename_1_0= RULE_STRING )
+ // InternalTqcl.g:228:3: ( (lv_filename_1_0= RULE_STRING ) )
+ // InternalTqcl.g:229:4: (lv_filename_1_0= RULE_STRING )
{
- // InternalTqcl.g:228:4: (lv_filename_1_0= RULE_STRING )
- // InternalTqcl.g:229:5: lv_filename_1_0= RULE_STRING
+ // InternalTqcl.g:229:4: (lv_filename_1_0= RULE_STRING )
+ // InternalTqcl.g:230:5: lv_filename_1_0= RULE_STRING
{
lv_filename_1_0=(Token)match(input,RULE_STRING,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
- newLeafNode(lv_filename_1_0, grammarAccess.getImportAccess().getFilenameSTRINGTerminalRuleCall_1_0());
+ newLeafNode(lv_filename_1_0, grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
- current = createModelElement(grammarAccess.getImportRule());
+ current = createModelElement(grammarAccess.getIncludeRule());
}
setWithLastConsumed(
current,
@@ -689,7 +691,7 @@ public final EObject ruleImport() throws RecognitionException {
otherlv_2=(Token)match(input,10,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getImportAccess().getSemicolonKeyword_2());
+ newLeafNode(otherlv_2, grammarAccess.getIncludeAccess().getSemicolonKeyword_2());
}
@@ -713,11 +715,11 @@ public final EObject ruleImport() throws RecognitionException {
}
return current;
}
- // $ANTLR end "ruleImport"
+ // $ANTLR end "ruleInclude"
// $ANTLR start "entryRuleLibrary"
- // InternalTqcl.g:253:1: entryRuleLibrary returns [EObject current=null] : iv_ruleLibrary= ruleLibrary EOF ;
+ // InternalTqcl.g:254:1: entryRuleLibrary returns [EObject current=null] : iv_ruleLibrary= ruleLibrary EOF ;
public final EObject entryRuleLibrary() throws RecognitionException {
EObject current = null;
@@ -725,8 +727,8 @@ public final EObject entryRuleLibrary() throws RecognitionException {
try {
- // InternalTqcl.g:253:48: (iv_ruleLibrary= ruleLibrary EOF )
- // InternalTqcl.g:254:2: iv_ruleLibrary= ruleLibrary EOF
+ // InternalTqcl.g:254:48: (iv_ruleLibrary= ruleLibrary EOF )
+ // InternalTqcl.g:255:2: iv_ruleLibrary= ruleLibrary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getLibraryRule());
@@ -757,7 +759,7 @@ public final EObject entryRuleLibrary() throws RecognitionException {
// $ANTLR start "ruleLibrary"
- // InternalTqcl.g:260:1: ruleLibrary returns [EObject current=null] : (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) ;
+ // InternalTqcl.g:261:1: ruleLibrary returns [EObject current=null] : (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) ;
public final EObject ruleLibrary() throws RecognitionException {
EObject current = null;
@@ -769,11 +771,11 @@ public final EObject ruleLibrary() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:266:2: ( (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) )
- // InternalTqcl.g:267:2: (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' )
+ // InternalTqcl.g:267:2: ( (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) )
+ // InternalTqcl.g:268:2: (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' )
{
- // InternalTqcl.g:267:2: (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' )
- // InternalTqcl.g:268:3: otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';'
+ // InternalTqcl.g:268:2: (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' )
+ // InternalTqcl.g:269:3: otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';'
{
otherlv_0=(Token)match(input,12,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -781,11 +783,11 @@ public final EObject ruleLibrary() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getLibraryAccess().getLibraryKeyword_0());
}
- // InternalTqcl.g:272:3: ( (lv_name_1_0= RULE_ID ) )
- // InternalTqcl.g:273:4: (lv_name_1_0= RULE_ID )
+ // InternalTqcl.g:273:3: ( (lv_name_1_0= RULE_ID ) )
+ // InternalTqcl.g:274:4: (lv_name_1_0= RULE_ID )
{
- // InternalTqcl.g:273:4: (lv_name_1_0= RULE_ID )
- // InternalTqcl.g:274:5: lv_name_1_0= RULE_ID
+ // InternalTqcl.g:274:4: (lv_name_1_0= RULE_ID )
+ // InternalTqcl.g:275:5: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -842,7 +844,7 @@ public final EObject ruleLibrary() throws RecognitionException {
// $ANTLR start "entryRuleInsert"
- // InternalTqcl.g:298:1: entryRuleInsert returns [EObject current=null] : iv_ruleInsert= ruleInsert EOF ;
+ // InternalTqcl.g:299:1: entryRuleInsert returns [EObject current=null] : iv_ruleInsert= ruleInsert EOF ;
public final EObject entryRuleInsert() throws RecognitionException {
EObject current = null;
@@ -850,8 +852,8 @@ public final EObject entryRuleInsert() throws RecognitionException {
try {
- // InternalTqcl.g:298:47: (iv_ruleInsert= ruleInsert EOF )
- // InternalTqcl.g:299:2: iv_ruleInsert= ruleInsert EOF
+ // InternalTqcl.g:299:47: (iv_ruleInsert= ruleInsert EOF )
+ // InternalTqcl.g:300:2: iv_ruleInsert= ruleInsert EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getInsertRule());
@@ -882,7 +884,7 @@ public final EObject entryRuleInsert() throws RecognitionException {
// $ANTLR start "ruleInsert"
- // InternalTqcl.g:305:1: ruleInsert returns [EObject current=null] : (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) ;
+ // InternalTqcl.g:306:1: ruleInsert returns [EObject current=null] : (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) ;
public final EObject ruleInsert() throws RecognitionException {
EObject current = null;
@@ -890,7 +892,7 @@ public final EObject ruleInsert() throws RecognitionException {
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_7=null;
- AntlrDatatypeRuleToken lv_category_1_0 = null;
+ Enumerator lv_category_1_0 = null;
AntlrDatatypeRuleToken lv_obj_2_0 = null;
@@ -905,11 +907,11 @@ public final EObject ruleInsert() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:311:2: ( (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) )
- // InternalTqcl.g:312:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? )
+ // InternalTqcl.g:312:2: ( (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) )
+ // InternalTqcl.g:313:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? )
{
- // InternalTqcl.g:312:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? )
- // InternalTqcl.g:313:3: otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )?
+ // InternalTqcl.g:313:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? )
+ // InternalTqcl.g:314:3: otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= ruleNamedObj ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )?
{
otherlv_0=(Token)match(input,13,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -917,23 +919,23 @@ public final EObject ruleInsert() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getInsertAccess().getInsertKeyword_0());
}
- // InternalTqcl.g:317:3: ( (lv_category_1_0= ruleCategory ) )?
+ // InternalTqcl.g:318:3: ( (lv_category_1_0= ruleCategory ) )?
int alt4=2;
int LA4_0 = input.LA(1);
- if ( ((LA4_0>=23 && LA4_0<=26)) ) {
+ if ( ((LA4_0>=40 && LA4_0<=43)) ) {
alt4=1;
}
switch (alt4) {
case 1 :
- // InternalTqcl.g:318:4: (lv_category_1_0= ruleCategory )
+ // InternalTqcl.g:319:4: (lv_category_1_0= ruleCategory )
{
- // InternalTqcl.g:318:4: (lv_category_1_0= ruleCategory )
- // InternalTqcl.g:319:5: lv_category_1_0= ruleCategory
+ // InternalTqcl.g:319:4: (lv_category_1_0= ruleCategory )
+ // InternalTqcl.g:320:5: lv_category_1_0= ruleCategory
{
if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getInsertAccess().getCategoryCategoryParserRuleCall_1_0());
+ newCompositeNode(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0());
}
pushFollow(FOLLOW_8);
@@ -963,11 +965,11 @@ public final EObject ruleInsert() throws RecognitionException {
}
- // InternalTqcl.g:336:3: ( (lv_obj_2_0= ruleNamedObj ) )
- // InternalTqcl.g:337:4: (lv_obj_2_0= ruleNamedObj )
+ // InternalTqcl.g:337:3: ( (lv_obj_2_0= ruleNamedObj ) )
+ // InternalTqcl.g:338:4: (lv_obj_2_0= ruleNamedObj )
{
- // InternalTqcl.g:337:4: (lv_obj_2_0= ruleNamedObj )
- // InternalTqcl.g:338:5: lv_obj_2_0= ruleNamedObj
+ // InternalTqcl.g:338:4: (lv_obj_2_0= ruleNamedObj )
+ // InternalTqcl.g:339:5: lv_obj_2_0= ruleNamedObj
{
if ( state.backtracking==0 ) {
@@ -1004,11 +1006,11 @@ public final EObject ruleInsert() throws RecognitionException {
newLeafNode(otherlv_3, grammarAccess.getInsertAccess().getAsKeyword_3());
}
- // InternalTqcl.g:359:3: ( (lv_name_4_0= ruleNamedObj ) )
- // InternalTqcl.g:360:4: (lv_name_4_0= ruleNamedObj )
+ // InternalTqcl.g:360:3: ( (lv_name_4_0= ruleNamedObj ) )
+ // InternalTqcl.g:361:4: (lv_name_4_0= ruleNamedObj )
{
- // InternalTqcl.g:360:4: (lv_name_4_0= ruleNamedObj )
- // InternalTqcl.g:361:5: lv_name_4_0= ruleNamedObj
+ // InternalTqcl.g:361:4: (lv_name_4_0= ruleNamedObj )
+ // InternalTqcl.g:362:5: lv_name_4_0= ruleNamedObj
{
if ( state.backtracking==0 ) {
@@ -1039,7 +1041,7 @@ public final EObject ruleInsert() throws RecognitionException {
}
- // InternalTqcl.g:378:3: (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )?
+ // InternalTqcl.g:379:3: (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -1048,7 +1050,7 @@ public final EObject ruleInsert() throws RecognitionException {
}
switch (alt6) {
case 1 :
- // InternalTqcl.g:379:4: otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )*
+ // InternalTqcl.g:380:4: otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )*
{
otherlv_5=(Token)match(input,15,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1056,11 +1058,11 @@ public final EObject ruleInsert() throws RecognitionException {
newLeafNode(otherlv_5, grammarAccess.getInsertAccess().getWithKeyword_5_0());
}
- // InternalTqcl.g:383:4: ( (lv_parameters_6_0= ruleParameter ) )
- // InternalTqcl.g:384:5: (lv_parameters_6_0= ruleParameter )
+ // InternalTqcl.g:384:4: ( (lv_parameters_6_0= ruleParameter ) )
+ // InternalTqcl.g:385:5: (lv_parameters_6_0= ruleParameter )
{
- // InternalTqcl.g:384:5: (lv_parameters_6_0= ruleParameter )
- // InternalTqcl.g:385:6: lv_parameters_6_0= ruleParameter
+ // InternalTqcl.g:385:5: (lv_parameters_6_0= ruleParameter )
+ // InternalTqcl.g:386:6: lv_parameters_6_0= ruleParameter
{
if ( state.backtracking==0 ) {
@@ -1091,7 +1093,7 @@ public final EObject ruleInsert() throws RecognitionException {
}
- // InternalTqcl.g:402:4: (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )*
+ // InternalTqcl.g:403:4: (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )*
loop5:
do {
int alt5=2;
@@ -1104,7 +1106,7 @@ public final EObject ruleInsert() throws RecognitionException {
switch (alt5) {
case 1 :
- // InternalTqcl.g:403:5: otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) )
+ // InternalTqcl.g:404:5: otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) )
{
otherlv_7=(Token)match(input,16,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1112,11 +1114,11 @@ public final EObject ruleInsert() throws RecognitionException {
newLeafNode(otherlv_7, grammarAccess.getInsertAccess().getCommaKeyword_5_2_0());
}
- // InternalTqcl.g:407:5: ( (lv_parameters_8_0= ruleParameter ) )
- // InternalTqcl.g:408:6: (lv_parameters_8_0= ruleParameter )
+ // InternalTqcl.g:408:5: ( (lv_parameters_8_0= ruleParameter ) )
+ // InternalTqcl.g:409:6: (lv_parameters_8_0= ruleParameter )
{
- // InternalTqcl.g:408:6: (lv_parameters_8_0= ruleParameter )
- // InternalTqcl.g:409:7: lv_parameters_8_0= ruleParameter
+ // InternalTqcl.g:409:6: (lv_parameters_8_0= ruleParameter )
+ // InternalTqcl.g:410:7: lv_parameters_8_0= ruleParameter
{
if ( state.backtracking==0 ) {
@@ -1187,7 +1189,7 @@ public final EObject ruleInsert() throws RecognitionException {
// $ANTLR start "entryRuleSet"
- // InternalTqcl.g:432:1: entryRuleSet returns [EObject current=null] : iv_ruleSet= ruleSet EOF ;
+ // InternalTqcl.g:433:1: entryRuleSet returns [EObject current=null] : iv_ruleSet= ruleSet EOF ;
public final EObject entryRuleSet() throws RecognitionException {
EObject current = null;
@@ -1195,8 +1197,8 @@ public final EObject entryRuleSet() throws RecognitionException {
try {
- // InternalTqcl.g:432:44: (iv_ruleSet= ruleSet EOF )
- // InternalTqcl.g:433:2: iv_ruleSet= ruleSet EOF
+ // InternalTqcl.g:433:44: (iv_ruleSet= ruleSet EOF )
+ // InternalTqcl.g:434:2: iv_ruleSet= ruleSet EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getSetRule());
@@ -1227,7 +1229,7 @@ public final EObject entryRuleSet() throws RecognitionException {
// $ANTLR start "ruleSet"
- // InternalTqcl.g:439:1: ruleSet returns [EObject current=null] : (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) ;
+ // InternalTqcl.g:440:1: ruleSet returns [EObject current=null] : (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) ;
public final EObject ruleSet() throws RecognitionException {
EObject current = null;
@@ -1239,11 +1241,11 @@ public final EObject ruleSet() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:445:2: ( (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) )
- // InternalTqcl.g:446:2: (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) )
+ // InternalTqcl.g:446:2: ( (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) )
+ // InternalTqcl.g:447:2: (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) )
{
- // InternalTqcl.g:446:2: (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) )
- // InternalTqcl.g:447:3: otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) )
+ // InternalTqcl.g:447:2: (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) )
+ // InternalTqcl.g:448:3: otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) )
{
otherlv_0=(Token)match(input,17,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1251,11 +1253,11 @@ public final EObject ruleSet() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getSetAccess().getSetKeyword_0());
}
- // InternalTqcl.g:451:3: ( (lv_param_1_0= ruleParameter ) )
- // InternalTqcl.g:452:4: (lv_param_1_0= ruleParameter )
+ // InternalTqcl.g:452:3: ( (lv_param_1_0= ruleParameter ) )
+ // InternalTqcl.g:453:4: (lv_param_1_0= ruleParameter )
{
- // InternalTqcl.g:452:4: (lv_param_1_0= ruleParameter )
- // InternalTqcl.g:453:5: lv_param_1_0= ruleParameter
+ // InternalTqcl.g:453:4: (lv_param_1_0= ruleParameter )
+ // InternalTqcl.g:454:5: lv_param_1_0= ruleParameter
{
if ( state.backtracking==0 ) {
@@ -1311,7 +1313,7 @@ public final EObject ruleSet() throws RecognitionException {
// $ANTLR start "entryRuleConnect"
- // InternalTqcl.g:474:1: entryRuleConnect returns [EObject current=null] : iv_ruleConnect= ruleConnect EOF ;
+ // InternalTqcl.g:475:1: entryRuleConnect returns [EObject current=null] : iv_ruleConnect= ruleConnect EOF ;
public final EObject entryRuleConnect() throws RecognitionException {
EObject current = null;
@@ -1319,8 +1321,8 @@ public final EObject entryRuleConnect() throws RecognitionException {
try {
- // InternalTqcl.g:474:48: (iv_ruleConnect= ruleConnect EOF )
- // InternalTqcl.g:475:2: iv_ruleConnect= ruleConnect EOF
+ // InternalTqcl.g:475:48: (iv_ruleConnect= ruleConnect EOF )
+ // InternalTqcl.g:476:2: iv_ruleConnect= ruleConnect EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getConnectRule());
@@ -1351,7 +1353,7 @@ public final EObject entryRuleConnect() throws RecognitionException {
// $ANTLR start "ruleConnect"
- // InternalTqcl.g:481:1: ruleConnect returns [EObject current=null] : (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* ) ;
+ // InternalTqcl.g:482:1: ruleConnect returns [EObject current=null] : (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* ) ;
public final EObject ruleConnect() throws RecognitionException {
EObject current = null;
@@ -1372,11 +1374,11 @@ public final EObject ruleConnect() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:487:2: ( (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* ) )
- // InternalTqcl.g:488:2: (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* )
+ // InternalTqcl.g:488:2: ( (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* ) )
+ // InternalTqcl.g:489:2: (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* )
{
- // InternalTqcl.g:488:2: (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* )
- // InternalTqcl.g:489:3: otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )*
+ // InternalTqcl.g:489:2: (otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* )
+ // InternalTqcl.g:490:3: otherlv_0= 'connect' ( (lv_from_1_0= ruleConnectionPort ) ) (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* otherlv_4= 'to' ( (lv_to_5_0= ruleConnectionPort ) ) (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )*
{
otherlv_0=(Token)match(input,18,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1384,11 +1386,11 @@ public final EObject ruleConnect() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getConnectAccess().getConnectKeyword_0());
}
- // InternalTqcl.g:493:3: ( (lv_from_1_0= ruleConnectionPort ) )
- // InternalTqcl.g:494:4: (lv_from_1_0= ruleConnectionPort )
+ // InternalTqcl.g:494:3: ( (lv_from_1_0= ruleConnectionPort ) )
+ // InternalTqcl.g:495:4: (lv_from_1_0= ruleConnectionPort )
{
- // InternalTqcl.g:494:4: (lv_from_1_0= ruleConnectionPort )
- // InternalTqcl.g:495:5: lv_from_1_0= ruleConnectionPort
+ // InternalTqcl.g:495:4: (lv_from_1_0= ruleConnectionPort )
+ // InternalTqcl.g:496:5: lv_from_1_0= ruleConnectionPort
{
if ( state.backtracking==0 ) {
@@ -1419,7 +1421,7 @@ public final EObject ruleConnect() throws RecognitionException {
}
- // InternalTqcl.g:512:3: (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )*
+ // InternalTqcl.g:513:3: (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )*
loop7:
do {
int alt7=2;
@@ -1432,7 +1434,7 @@ public final EObject ruleConnect() throws RecognitionException {
switch (alt7) {
case 1 :
- // InternalTqcl.g:513:4: otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) )
+ // InternalTqcl.g:514:4: otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) )
{
otherlv_2=(Token)match(input,16,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1440,11 +1442,11 @@ public final EObject ruleConnect() throws RecognitionException {
newLeafNode(otherlv_2, grammarAccess.getConnectAccess().getCommaKeyword_2_0());
}
- // InternalTqcl.g:517:4: ( (lv_from_3_0= ruleConnectionPort ) )
- // InternalTqcl.g:518:5: (lv_from_3_0= ruleConnectionPort )
+ // InternalTqcl.g:518:4: ( (lv_from_3_0= ruleConnectionPort ) )
+ // InternalTqcl.g:519:5: (lv_from_3_0= ruleConnectionPort )
{
- // InternalTqcl.g:518:5: (lv_from_3_0= ruleConnectionPort )
- // InternalTqcl.g:519:6: lv_from_3_0= ruleConnectionPort
+ // InternalTqcl.g:519:5: (lv_from_3_0= ruleConnectionPort )
+ // InternalTqcl.g:520:6: lv_from_3_0= ruleConnectionPort
{
if ( state.backtracking==0 ) {
@@ -1490,11 +1492,11 @@ public final EObject ruleConnect() throws RecognitionException {
newLeafNode(otherlv_4, grammarAccess.getConnectAccess().getToKeyword_3());
}
- // InternalTqcl.g:541:3: ( (lv_to_5_0= ruleConnectionPort ) )
- // InternalTqcl.g:542:4: (lv_to_5_0= ruleConnectionPort )
+ // InternalTqcl.g:542:3: ( (lv_to_5_0= ruleConnectionPort ) )
+ // InternalTqcl.g:543:4: (lv_to_5_0= ruleConnectionPort )
{
- // InternalTqcl.g:542:4: (lv_to_5_0= ruleConnectionPort )
- // InternalTqcl.g:543:5: lv_to_5_0= ruleConnectionPort
+ // InternalTqcl.g:543:4: (lv_to_5_0= ruleConnectionPort )
+ // InternalTqcl.g:544:5: lv_to_5_0= ruleConnectionPort
{
if ( state.backtracking==0 ) {
@@ -1525,7 +1527,7 @@ public final EObject ruleConnect() throws RecognitionException {
}
- // InternalTqcl.g:560:3: (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )*
+ // InternalTqcl.g:561:3: (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )*
loop8:
do {
int alt8=2;
@@ -1538,7 +1540,7 @@ public final EObject ruleConnect() throws RecognitionException {
switch (alt8) {
case 1 :
- // InternalTqcl.g:561:4: otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) )
+ // InternalTqcl.g:562:4: otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) )
{
otherlv_6=(Token)match(input,16,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1546,11 +1548,11 @@ public final EObject ruleConnect() throws RecognitionException {
newLeafNode(otherlv_6, grammarAccess.getConnectAccess().getCommaKeyword_5_0());
}
- // InternalTqcl.g:565:4: ( (lv_to_7_0= ruleConnectionPort ) )
- // InternalTqcl.g:566:5: (lv_to_7_0= ruleConnectionPort )
+ // InternalTqcl.g:566:4: ( (lv_to_7_0= ruleConnectionPort ) )
+ // InternalTqcl.g:567:5: (lv_to_7_0= ruleConnectionPort )
{
- // InternalTqcl.g:566:5: (lv_to_7_0= ruleConnectionPort )
- // InternalTqcl.g:567:6: lv_to_7_0= ruleConnectionPort
+ // InternalTqcl.g:567:5: (lv_to_7_0= ruleConnectionPort )
+ // InternalTqcl.g:568:6: lv_to_7_0= ruleConnectionPort
{
if ( state.backtracking==0 ) {
@@ -1615,7 +1617,7 @@ public final EObject ruleConnect() throws RecognitionException {
// $ANTLR start "entryRuleGoInto"
- // InternalTqcl.g:589:1: entryRuleGoInto returns [EObject current=null] : iv_ruleGoInto= ruleGoInto EOF ;
+ // InternalTqcl.g:590:1: entryRuleGoInto returns [EObject current=null] : iv_ruleGoInto= ruleGoInto EOF ;
public final EObject entryRuleGoInto() throws RecognitionException {
EObject current = null;
@@ -1623,8 +1625,8 @@ public final EObject entryRuleGoInto() throws RecognitionException {
try {
- // InternalTqcl.g:589:47: (iv_ruleGoInto= ruleGoInto EOF )
- // InternalTqcl.g:590:2: iv_ruleGoInto= ruleGoInto EOF
+ // InternalTqcl.g:590:47: (iv_ruleGoInto= ruleGoInto EOF )
+ // InternalTqcl.g:591:2: iv_ruleGoInto= ruleGoInto EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGoIntoRule());
@@ -1655,7 +1657,7 @@ public final EObject entryRuleGoInto() throws RecognitionException {
// $ANTLR start "ruleGoInto"
- // InternalTqcl.g:596:1: ruleGoInto returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) ;
+ // InternalTqcl.g:597:1: ruleGoInto returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) ;
public final EObject ruleGoInto() throws RecognitionException {
EObject current = null;
@@ -1668,11 +1670,11 @@ public final EObject ruleGoInto() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:602:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) )
- // InternalTqcl.g:603:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) )
+ // InternalTqcl.g:603:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) )
+ // InternalTqcl.g:604:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) )
{
- // InternalTqcl.g:603:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) )
- // InternalTqcl.g:604:3: otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) )
+ // InternalTqcl.g:604:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) )
+ // InternalTqcl.g:605:3: otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) )
{
otherlv_0=(Token)match(input,20,FOLLOW_13); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1680,11 +1682,11 @@ public final EObject ruleGoInto() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getGoIntoAccess().getGoKeyword_0());
}
- // InternalTqcl.g:608:3: ( (lv_direction_1_0= 'into' ) )
- // InternalTqcl.g:609:4: (lv_direction_1_0= 'into' )
+ // InternalTqcl.g:609:3: ( (lv_direction_1_0= 'into' ) )
+ // InternalTqcl.g:610:4: (lv_direction_1_0= 'into' )
{
- // InternalTqcl.g:609:4: (lv_direction_1_0= 'into' )
- // InternalTqcl.g:610:5: lv_direction_1_0= 'into'
+ // InternalTqcl.g:610:4: (lv_direction_1_0= 'into' )
+ // InternalTqcl.g:611:5: lv_direction_1_0= 'into'
{
lv_direction_1_0=(Token)match(input,21,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1706,11 +1708,11 @@ public final EObject ruleGoInto() throws RecognitionException {
}
- // InternalTqcl.g:622:3: ( (lv_obj_2_0= ruleNamedObj ) )
- // InternalTqcl.g:623:4: (lv_obj_2_0= ruleNamedObj )
+ // InternalTqcl.g:623:3: ( (lv_obj_2_0= ruleNamedObj ) )
+ // InternalTqcl.g:624:4: (lv_obj_2_0= ruleNamedObj )
{
- // InternalTqcl.g:623:4: (lv_obj_2_0= ruleNamedObj )
- // InternalTqcl.g:624:5: lv_obj_2_0= ruleNamedObj
+ // InternalTqcl.g:624:4: (lv_obj_2_0= ruleNamedObj )
+ // InternalTqcl.g:625:5: lv_obj_2_0= ruleNamedObj
{
if ( state.backtracking==0 ) {
@@ -1766,7 +1768,7 @@ public final EObject ruleGoInto() throws RecognitionException {
// $ANTLR start "entryRuleGoOut"
- // InternalTqcl.g:645:1: entryRuleGoOut returns [EObject current=null] : iv_ruleGoOut= ruleGoOut EOF ;
+ // InternalTqcl.g:646:1: entryRuleGoOut returns [EObject current=null] : iv_ruleGoOut= ruleGoOut EOF ;
public final EObject entryRuleGoOut() throws RecognitionException {
EObject current = null;
@@ -1774,8 +1776,8 @@ public final EObject entryRuleGoOut() throws RecognitionException {
try {
- // InternalTqcl.g:645:46: (iv_ruleGoOut= ruleGoOut EOF )
- // InternalTqcl.g:646:2: iv_ruleGoOut= ruleGoOut EOF
+ // InternalTqcl.g:646:46: (iv_ruleGoOut= ruleGoOut EOF )
+ // InternalTqcl.g:647:2: iv_ruleGoOut= ruleGoOut EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getGoOutRule());
@@ -1806,7 +1808,7 @@ public final EObject entryRuleGoOut() throws RecognitionException {
// $ANTLR start "ruleGoOut"
- // InternalTqcl.g:652:1: ruleGoOut returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) ;
+ // InternalTqcl.g:653:1: ruleGoOut returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) ;
public final EObject ruleGoOut() throws RecognitionException {
EObject current = null;
@@ -1817,11 +1819,11 @@ public final EObject ruleGoOut() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:658:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) )
- // InternalTqcl.g:659:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) )
+ // InternalTqcl.g:659:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) )
+ // InternalTqcl.g:660:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) )
{
- // InternalTqcl.g:659:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) )
- // InternalTqcl.g:660:3: otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) )
+ // InternalTqcl.g:660:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) )
+ // InternalTqcl.g:661:3: otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) )
{
otherlv_0=(Token)match(input,20,FOLLOW_14); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1829,11 +1831,11 @@ public final EObject ruleGoOut() throws RecognitionException {
newLeafNode(otherlv_0, grammarAccess.getGoOutAccess().getGoKeyword_0());
}
- // InternalTqcl.g:664:3: ( (lv_direction_1_0= 'out' ) )
- // InternalTqcl.g:665:4: (lv_direction_1_0= 'out' )
+ // InternalTqcl.g:665:3: ( (lv_direction_1_0= 'out' ) )
+ // InternalTqcl.g:666:4: (lv_direction_1_0= 'out' )
{
- // InternalTqcl.g:665:4: (lv_direction_1_0= 'out' )
- // InternalTqcl.g:666:5: lv_direction_1_0= 'out'
+ // InternalTqcl.g:666:4: (lv_direction_1_0= 'out' )
+ // InternalTqcl.g:667:5: lv_direction_1_0= 'out'
{
lv_direction_1_0=(Token)match(input,22,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -1879,170 +1881,8 @@ public final EObject ruleGoOut() throws RecognitionException {
// $ANTLR end "ruleGoOut"
- // $ANTLR start "entryRuleCategory"
- // InternalTqcl.g:682:1: entryRuleCategory returns [String current=null] : iv_ruleCategory= ruleCategory EOF ;
- public final String entryRuleCategory() throws RecognitionException {
- String current = null;
-
- AntlrDatatypeRuleToken iv_ruleCategory = null;
-
-
- try {
- // InternalTqcl.g:682:48: (iv_ruleCategory= ruleCategory EOF )
- // InternalTqcl.g:683:2: iv_ruleCategory= ruleCategory EOF
- {
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getCategoryRule());
- }
- pushFollow(FOLLOW_1);
- iv_ruleCategory=ruleCategory();
-
- state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleCategory.getText();
- }
- match(input,EOF,FOLLOW_2); if (state.failed) return current;
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "entryRuleCategory"
-
-
- // $ANTLR start "ruleCategory"
- // InternalTqcl.g:689:1: ruleCategory returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'actor' | kw= 'parameter' | kw= 'port' | kw= 'director' ) ;
- public final AntlrDatatypeRuleToken ruleCategory() throws RecognitionException {
- AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
-
- Token kw=null;
-
-
- enterRule();
-
- try {
- // InternalTqcl.g:695:2: ( (kw= 'actor' | kw= 'parameter' | kw= 'port' | kw= 'director' ) )
- // InternalTqcl.g:696:2: (kw= 'actor' | kw= 'parameter' | kw= 'port' | kw= 'director' )
- {
- // InternalTqcl.g:696:2: (kw= 'actor' | kw= 'parameter' | kw= 'port' | kw= 'director' )
- int alt9=4;
- switch ( input.LA(1) ) {
- case 23:
- {
- alt9=1;
- }
- break;
- case 24:
- {
- alt9=2;
- }
- break;
- case 25:
- {
- alt9=3;
- }
- break;
- case 26:
- {
- alt9=4;
- }
- break;
- default:
- if (state.backtracking>0) {state.failed=true; return current;}
- NoViableAltException nvae =
- new NoViableAltException("", 9, 0, input);
-
- throw nvae;
- }
-
- switch (alt9) {
- case 1 :
- // InternalTqcl.g:697:3: kw= 'actor'
- {
- kw=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getCategoryAccess().getActorKeyword_0());
-
- }
-
- }
- break;
- case 2 :
- // InternalTqcl.g:703:3: kw= 'parameter'
- {
- kw=(Token)match(input,24,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getCategoryAccess().getParameterKeyword_1());
-
- }
-
- }
- break;
- case 3 :
- // InternalTqcl.g:709:3: kw= 'port'
- {
- kw=(Token)match(input,25,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getCategoryAccess().getPortKeyword_2());
-
- }
-
- }
- break;
- case 4 :
- // InternalTqcl.g:715:3: kw= 'director'
- {
- kw=(Token)match(input,26,FOLLOW_2); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getCategoryAccess().getDirectorKeyword_3());
-
- }
-
- }
- break;
-
- }
-
-
- }
-
- if ( state.backtracking==0 ) {
-
- leaveRule();
-
- }
- }
-
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
- finally {
- }
- return current;
- }
- // $ANTLR end "ruleCategory"
-
-
// $ANTLR start "entryRuleParameter"
- // InternalTqcl.g:724:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ;
+ // InternalTqcl.g:683:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ;
public final EObject entryRuleParameter() throws RecognitionException {
EObject current = null;
@@ -2050,8 +1890,8 @@ public final EObject entryRuleParameter() throws RecognitionException {
try {
- // InternalTqcl.g:724:50: (iv_ruleParameter= ruleParameter EOF )
- // InternalTqcl.g:725:2: iv_ruleParameter= ruleParameter EOF
+ // InternalTqcl.g:683:50: (iv_ruleParameter= ruleParameter EOF )
+ // InternalTqcl.g:684:2: iv_ruleParameter= ruleParameter EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getParameterRule());
@@ -2082,7 +1922,7 @@ public final EObject entryRuleParameter() throws RecognitionException {
// $ANTLR start "ruleParameter"
- // InternalTqcl.g:731:1: ruleParameter returns [EObject current=null] : ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
+ // InternalTqcl.g:690:1: ruleParameter returns [EObject current=null] : ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
public final EObject ruleParameter() throws RecognitionException {
EObject current = null;
@@ -2095,17 +1935,17 @@ public final EObject ruleParameter() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:737:2: ( ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
- // InternalTqcl.g:738:2: ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
+ // InternalTqcl.g:696:2: ( ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
+ // InternalTqcl.g:697:2: ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
{
- // InternalTqcl.g:738:2: ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
- // InternalTqcl.g:739:3: ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
+ // InternalTqcl.g:697:2: ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
+ // InternalTqcl.g:698:3: ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
{
- // InternalTqcl.g:739:3: ( (lv_id_0_0= ruleNamedObj ) )
- // InternalTqcl.g:740:4: (lv_id_0_0= ruleNamedObj )
+ // InternalTqcl.g:698:3: ( (lv_id_0_0= ruleNamedObj ) )
+ // InternalTqcl.g:699:4: (lv_id_0_0= ruleNamedObj )
{
- // InternalTqcl.g:740:4: (lv_id_0_0= ruleNamedObj )
- // InternalTqcl.g:741:5: lv_id_0_0= ruleNamedObj
+ // InternalTqcl.g:699:4: (lv_id_0_0= ruleNamedObj )
+ // InternalTqcl.g:700:5: lv_id_0_0= ruleNamedObj
{
if ( state.backtracking==0 ) {
@@ -2136,17 +1976,17 @@ public final EObject ruleParameter() throws RecognitionException {
}
- otherlv_1=(Token)match(input,27,FOLLOW_6); if (state.failed) return current;
+ otherlv_1=(Token)match(input,23,FOLLOW_6); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getParameterAccess().getEqualsSignKeyword_1());
}
- // InternalTqcl.g:762:3: ( (lv_value_2_0= RULE_STRING ) )
- // InternalTqcl.g:763:4: (lv_value_2_0= RULE_STRING )
+ // InternalTqcl.g:721:3: ( (lv_value_2_0= RULE_STRING ) )
+ // InternalTqcl.g:722:4: (lv_value_2_0= RULE_STRING )
{
- // InternalTqcl.g:763:4: (lv_value_2_0= RULE_STRING )
- // InternalTqcl.g:764:5: lv_value_2_0= RULE_STRING
+ // InternalTqcl.g:722:4: (lv_value_2_0= RULE_STRING )
+ // InternalTqcl.g:723:5: lv_value_2_0= RULE_STRING
{
lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -2197,7 +2037,7 @@ public final EObject ruleParameter() throws RecognitionException {
// $ANTLR start "entryRuleNamedObj"
- // InternalTqcl.g:784:1: entryRuleNamedObj returns [String current=null] : iv_ruleNamedObj= ruleNamedObj EOF ;
+ // InternalTqcl.g:743:1: entryRuleNamedObj returns [String current=null] : iv_ruleNamedObj= ruleNamedObj EOF ;
public final String entryRuleNamedObj() throws RecognitionException {
String current = null;
@@ -2205,8 +2045,8 @@ public final String entryRuleNamedObj() throws RecognitionException {
try {
- // InternalTqcl.g:784:48: (iv_ruleNamedObj= ruleNamedObj EOF )
- // InternalTqcl.g:785:2: iv_ruleNamedObj= ruleNamedObj EOF
+ // InternalTqcl.g:743:48: (iv_ruleNamedObj= ruleNamedObj EOF )
+ // InternalTqcl.g:744:2: iv_ruleNamedObj= ruleNamedObj EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getNamedObjRule());
@@ -2237,7 +2077,7 @@ public final String entryRuleNamedObj() throws RecognitionException {
// $ANTLR start "ruleNamedObj"
- // InternalTqcl.g:791:1: ruleNamedObj returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) ;
+ // InternalTqcl.g:750:1: ruleNamedObj returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) ;
public final AntlrDatatypeRuleToken ruleNamedObj() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2249,29 +2089,29 @@ public final AntlrDatatypeRuleToken ruleNamedObj() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:797:2: ( (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) )
- // InternalTqcl.g:798:2: (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING )
+ // InternalTqcl.g:756:2: ( (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) )
+ // InternalTqcl.g:757:2: (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING )
{
- // InternalTqcl.g:798:2: (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING )
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // InternalTqcl.g:757:2: (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
- if ( (LA10_0==RULE_ID) ) {
- alt10=1;
+ if ( (LA9_0==RULE_ID) ) {
+ alt9=1;
}
- else if ( (LA10_0==RULE_STRING) ) {
- alt10=2;
+ else if ( (LA9_0==RULE_STRING) ) {
+ alt9=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 10, 0, input);
+ new NoViableAltException("", 9, 0, input);
throw nvae;
}
- switch (alt10) {
+ switch (alt9) {
case 1 :
- // InternalTqcl.g:799:3: this_QualifiedName_0= ruleQualifiedName
+ // InternalTqcl.g:758:3: this_QualifiedName_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
@@ -2297,7 +2137,7 @@ else if ( (LA10_0==RULE_STRING) ) {
}
break;
case 2 :
- // InternalTqcl.g:810:3: this_STRING_1= RULE_STRING
+ // InternalTqcl.g:769:3: this_STRING_1= RULE_STRING
{
this_STRING_1=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -2338,7 +2178,7 @@ else if ( (LA10_0==RULE_STRING) ) {
// $ANTLR start "entryRuleConnectionPort"
- // InternalTqcl.g:821:1: entryRuleConnectionPort returns [EObject current=null] : iv_ruleConnectionPort= ruleConnectionPort EOF ;
+ // InternalTqcl.g:780:1: entryRuleConnectionPort returns [EObject current=null] : iv_ruleConnectionPort= ruleConnectionPort EOF ;
public final EObject entryRuleConnectionPort() throws RecognitionException {
EObject current = null;
@@ -2346,8 +2186,8 @@ public final EObject entryRuleConnectionPort() throws RecognitionException {
try {
- // InternalTqcl.g:821:55: (iv_ruleConnectionPort= ruleConnectionPort EOF )
- // InternalTqcl.g:822:2: iv_ruleConnectionPort= ruleConnectionPort EOF
+ // InternalTqcl.g:780:55: (iv_ruleConnectionPort= ruleConnectionPort EOF )
+ // InternalTqcl.g:781:2: iv_ruleConnectionPort= ruleConnectionPort EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getConnectionPortRule());
@@ -2378,7 +2218,7 @@ public final EObject entryRuleConnectionPort() throws RecognitionException {
// $ANTLR start "ruleConnectionPort"
- // InternalTqcl.g:828:1: ruleConnectionPort returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) ;
+ // InternalTqcl.g:787:1: ruleConnectionPort returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) ;
public final EObject ruleConnectionPort() throws RecognitionException {
EObject current = null;
@@ -2391,17 +2231,17 @@ public final EObject ruleConnectionPort() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:834:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) )
- // InternalTqcl.g:835:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) )
+ // InternalTqcl.g:793:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) )
+ // InternalTqcl.g:794:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) )
{
- // InternalTqcl.g:835:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) )
- // InternalTqcl.g:836:3: ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) )
+ // InternalTqcl.g:794:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) )
+ // InternalTqcl.g:795:3: ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) )
{
- // InternalTqcl.g:836:3: ( (otherlv_0= RULE_ID ) )
- // InternalTqcl.g:837:4: (otherlv_0= RULE_ID )
+ // InternalTqcl.g:795:3: ( (otherlv_0= RULE_ID ) )
+ // InternalTqcl.g:796:4: (otherlv_0= RULE_ID )
{
- // InternalTqcl.g:837:4: (otherlv_0= RULE_ID )
- // InternalTqcl.g:838:5: otherlv_0= RULE_ID
+ // InternalTqcl.g:796:4: (otherlv_0= RULE_ID )
+ // InternalTqcl.g:797:5: otherlv_0= RULE_ID
{
if ( state.backtracking==0 ) {
@@ -2422,17 +2262,17 @@ public final EObject ruleConnectionPort() throws RecognitionException {
}
- otherlv_1=(Token)match(input,28,FOLLOW_8); if (state.failed) return current;
+ otherlv_1=(Token)match(input,24,FOLLOW_8); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getConnectionPortAccess().getFullStopKeyword_1());
}
- // InternalTqcl.g:853:3: ( (lv_port_2_0= ruleNamedObj ) )
- // InternalTqcl.g:854:4: (lv_port_2_0= ruleNamedObj )
+ // InternalTqcl.g:812:3: ( (lv_port_2_0= ruleNamedObj ) )
+ // InternalTqcl.g:813:4: (lv_port_2_0= ruleNamedObj )
{
- // InternalTqcl.g:854:4: (lv_port_2_0= ruleNamedObj )
- // InternalTqcl.g:855:5: lv_port_2_0= ruleNamedObj
+ // InternalTqcl.g:813:4: (lv_port_2_0= ruleNamedObj )
+ // InternalTqcl.g:814:5: lv_port_2_0= ruleNamedObj
{
if ( state.backtracking==0 ) {
@@ -2488,7 +2328,7 @@ public final EObject ruleConnectionPort() throws RecognitionException {
// $ANTLR start "entryRuleJvmTypeReference"
- // InternalTqcl.g:876:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ;
+ // InternalTqcl.g:835:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ;
public final EObject entryRuleJvmTypeReference() throws RecognitionException {
EObject current = null;
@@ -2496,8 +2336,8 @@ public final EObject entryRuleJvmTypeReference() throws RecognitionException {
try {
- // InternalTqcl.g:876:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
- // InternalTqcl.g:877:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
+ // InternalTqcl.g:835:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF )
+ // InternalTqcl.g:836:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmTypeReferenceRule());
@@ -2528,7 +2368,7 @@ public final EObject entryRuleJvmTypeReference() throws RecognitionException {
// $ANTLR start "ruleJvmTypeReference"
- // InternalTqcl.g:883:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ;
+ // InternalTqcl.g:842:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ;
public final EObject ruleJvmTypeReference() throws RecognitionException {
EObject current = null;
@@ -2541,32 +2381,32 @@ public final EObject ruleJvmTypeReference() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:889:2: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) )
- // InternalTqcl.g:890:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
+ // InternalTqcl.g:848:2: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) )
+ // InternalTqcl.g:849:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
{
- // InternalTqcl.g:890:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // InternalTqcl.g:849:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef )
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA12_0==RULE_ID) ) {
- alt12=1;
+ if ( (LA11_0==RULE_ID) ) {
+ alt11=1;
}
- else if ( (LA12_0==31||LA12_0==33) ) {
- alt12=2;
+ else if ( (LA11_0==27||LA11_0==29) ) {
+ alt11=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 12, 0, input);
+ new NoViableAltException("", 11, 0, input);
throw nvae;
}
- switch (alt12) {
+ switch (alt11) {
case 1 :
- // InternalTqcl.g:891:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
+ // InternalTqcl.g:850:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
{
- // InternalTqcl.g:891:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
- // InternalTqcl.g:892:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
+ // InternalTqcl.g:850:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* )
+ // InternalTqcl.g:851:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
{
if ( state.backtracking==0 ) {
@@ -2584,26 +2424,26 @@ else if ( (LA12_0==31||LA12_0==33) ) {
afterParserOrEnumRuleCall();
}
- // InternalTqcl.g:900:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
- loop11:
+ // InternalTqcl.g:859:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )*
+ loop10:
do {
- int alt11=2;
- int LA11_0 = input.LA(1);
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA11_0==29) && (synpred1_InternalTqcl())) {
- alt11=1;
+ if ( (LA10_0==25) && (synpred1_InternalTqcl())) {
+ alt10=1;
}
- switch (alt11) {
+ switch (alt10) {
case 1 :
- // InternalTqcl.g:901:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets )
+ // InternalTqcl.g:860:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets )
{
- // InternalTqcl.g:907:5: ( () ruleArrayBrackets )
- // InternalTqcl.g:908:6: () ruleArrayBrackets
+ // InternalTqcl.g:866:5: ( () ruleArrayBrackets )
+ // InternalTqcl.g:867:6: () ruleArrayBrackets
{
- // InternalTqcl.g:908:6: ()
- // InternalTqcl.g:909:7:
+ // InternalTqcl.g:867:6: ()
+ // InternalTqcl.g:868:7:
{
if ( state.backtracking==0 ) {
@@ -2638,7 +2478,7 @@ else if ( (LA12_0==31||LA12_0==33) ) {
break;
default :
- break loop11;
+ break loop10;
}
} while (true);
@@ -2649,7 +2489,7 @@ else if ( (LA12_0==31||LA12_0==33) ) {
}
break;
case 2 :
- // InternalTqcl.g:926:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef
+ // InternalTqcl.g:885:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef
{
if ( state.backtracking==0 ) {
@@ -2695,7 +2535,7 @@ else if ( (LA12_0==31||LA12_0==33) ) {
// $ANTLR start "entryRuleArrayBrackets"
- // InternalTqcl.g:938:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ;
+ // InternalTqcl.g:897:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ;
public final String entryRuleArrayBrackets() throws RecognitionException {
String current = null;
@@ -2703,8 +2543,8 @@ public final String entryRuleArrayBrackets() throws RecognitionException {
try {
- // InternalTqcl.g:938:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF )
- // InternalTqcl.g:939:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF
+ // InternalTqcl.g:897:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF )
+ // InternalTqcl.g:898:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getArrayBracketsRule());
@@ -2735,7 +2575,7 @@ public final String entryRuleArrayBrackets() throws RecognitionException {
// $ANTLR start "ruleArrayBrackets"
- // InternalTqcl.g:945:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ;
+ // InternalTqcl.g:904:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ;
public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2745,20 +2585,20 @@ public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionExcept
enterRule();
try {
- // InternalTqcl.g:951:2: ( (kw= '[' kw= ']' ) )
- // InternalTqcl.g:952:2: (kw= '[' kw= ']' )
+ // InternalTqcl.g:910:2: ( (kw= '[' kw= ']' ) )
+ // InternalTqcl.g:911:2: (kw= '[' kw= ']' )
{
- // InternalTqcl.g:952:2: (kw= '[' kw= ']' )
- // InternalTqcl.g:953:3: kw= '[' kw= ']'
+ // InternalTqcl.g:911:2: (kw= '[' kw= ']' )
+ // InternalTqcl.g:912:3: kw= '[' kw= ']'
{
- kw=(Token)match(input,29,FOLLOW_18); if (state.failed) return current;
+ kw=(Token)match(input,25,FOLLOW_18); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0());
}
- kw=(Token)match(input,30,FOLLOW_2); if (state.failed) return current;
+ kw=(Token)match(input,26,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
@@ -2790,7 +2630,7 @@ public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionExcept
// $ANTLR start "entryRuleXFunctionTypeRef"
- // InternalTqcl.g:967:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ;
+ // InternalTqcl.g:926:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ;
public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
@@ -2798,8 +2638,8 @@ public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
try {
- // InternalTqcl.g:967:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
- // InternalTqcl.g:968:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
+ // InternalTqcl.g:926:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF )
+ // InternalTqcl.g:927:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXFunctionTypeRefRule());
@@ -2830,7 +2670,7 @@ public final EObject entryRuleXFunctionTypeRef() throws RecognitionException {
// $ANTLR start "ruleXFunctionTypeRef"
- // InternalTqcl.g:974:1: ruleXFunctionTypeRef returns [EObject current=null] : ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ;
+ // InternalTqcl.g:933:1: ruleXFunctionTypeRef returns [EObject current=null] : ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleXFunctionTypeRef() throws RecognitionException {
EObject current = null;
@@ -2849,45 +2689,45 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:980:2: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) )
- // InternalTqcl.g:981:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:939:2: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) )
+ // InternalTqcl.g:940:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
{
- // InternalTqcl.g:981:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
- // InternalTqcl.g:982:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:940:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:941:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) )
{
- // InternalTqcl.g:982:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // InternalTqcl.g:941:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA15_0==31) ) {
- alt15=1;
+ if ( (LA14_0==27) ) {
+ alt14=1;
}
- switch (alt15) {
+ switch (alt14) {
case 1 :
- // InternalTqcl.g:983:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
+ // InternalTqcl.g:942:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')'
{
- otherlv_0=(Token)match(input,31,FOLLOW_19); if (state.failed) return current;
+ otherlv_0=(Token)match(input,27,FOLLOW_19); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0());
}
- // InternalTqcl.g:987:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
- int alt14=2;
- int LA14_0 = input.LA(1);
+ // InternalTqcl.g:946:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA14_0==RULE_ID||LA14_0==31||LA14_0==33) ) {
- alt14=1;
+ if ( (LA13_0==RULE_ID||LA13_0==27||LA13_0==29) ) {
+ alt13=1;
}
- switch (alt14) {
+ switch (alt13) {
case 1 :
- // InternalTqcl.g:988:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
+ // InternalTqcl.g:947:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
{
- // InternalTqcl.g:988:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:989:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:947:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:948:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:989:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
- // InternalTqcl.g:990:7: lv_paramTypes_1_0= ruleJvmTypeReference
+ // InternalTqcl.g:948:6: (lv_paramTypes_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:949:7: lv_paramTypes_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -2918,20 +2758,20 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
}
- // InternalTqcl.g:1007:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
- loop13:
+ // InternalTqcl.g:966:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )*
+ loop12:
do {
- int alt13=2;
- int LA13_0 = input.LA(1);
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA13_0==16) ) {
- alt13=1;
+ if ( (LA12_0==16) ) {
+ alt12=1;
}
- switch (alt13) {
+ switch (alt12) {
case 1 :
- // InternalTqcl.g:1008:6: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:967:6: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
{
otherlv_2=(Token)match(input,16,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -2939,11 +2779,11 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0());
}
- // InternalTqcl.g:1012:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1013:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
+ // InternalTqcl.g:971:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:972:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1013:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
- // InternalTqcl.g:1014:8: lv_paramTypes_3_0= ruleJvmTypeReference
+ // InternalTqcl.g:972:7: (lv_paramTypes_3_0= ruleJvmTypeReference )
+ // InternalTqcl.g:973:8: lv_paramTypes_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -2979,7 +2819,7 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
break;
default :
- break loop13;
+ break loop12;
}
} while (true);
@@ -2989,7 +2829,7 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
}
- otherlv_4=(Token)match(input,32,FOLLOW_22); if (state.failed) return current;
+ otherlv_4=(Token)match(input,28,FOLLOW_22); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2());
@@ -3001,17 +2841,17 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
}
- otherlv_5=(Token)match(input,33,FOLLOW_21); if (state.failed) return current;
+ otherlv_5=(Token)match(input,29,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1());
}
- // InternalTqcl.g:1042:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1043:4: (lv_returnType_6_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1001:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1002:4: (lv_returnType_6_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1043:4: (lv_returnType_6_0= ruleJvmTypeReference )
- // InternalTqcl.g:1044:5: lv_returnType_6_0= ruleJvmTypeReference
+ // InternalTqcl.g:1002:4: (lv_returnType_6_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1003:5: lv_returnType_6_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -3067,7 +2907,7 @@ public final EObject ruleXFunctionTypeRef() throws RecognitionException {
// $ANTLR start "entryRuleJvmParameterizedTypeReference"
- // InternalTqcl.g:1065:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ;
+ // InternalTqcl.g:1024:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ;
public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
@@ -3075,8 +2915,8 @@ public final EObject entryRuleJvmParameterizedTypeReference() throws Recognition
try {
- // InternalTqcl.g:1065:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
- // InternalTqcl.g:1066:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
+ // InternalTqcl.g:1024:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF )
+ // InternalTqcl.g:1025:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule());
@@ -3107,7 +2947,7 @@ public final EObject entryRuleJvmParameterizedTypeReference() throws Recognition
// $ANTLR start "ruleJvmParameterizedTypeReference"
- // InternalTqcl.g:1072:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ;
+ // InternalTqcl.g:1031:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ;
public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException {
EObject current = null;
@@ -3131,17 +2971,17 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
enterRule();
try {
- // InternalTqcl.g:1078:2: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) )
- // InternalTqcl.g:1079:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
+ // InternalTqcl.g:1037:2: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) )
+ // InternalTqcl.g:1038:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
{
- // InternalTqcl.g:1079:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
- // InternalTqcl.g:1080:3: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
+ // InternalTqcl.g:1038:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? )
+ // InternalTqcl.g:1039:3: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
{
- // InternalTqcl.g:1080:3: ( ( ruleQualifiedName ) )
- // InternalTqcl.g:1081:4: ( ruleQualifiedName )
+ // InternalTqcl.g:1039:3: ( ( ruleQualifiedName ) )
+ // InternalTqcl.g:1040:4: ( ruleQualifiedName )
{
- // InternalTqcl.g:1081:4: ( ruleQualifiedName )
- // InternalTqcl.g:1082:5: ruleQualifiedName
+ // InternalTqcl.g:1040:4: ( ruleQualifiedName )
+ // InternalTqcl.g:1041:5: ruleQualifiedName
{
if ( state.backtracking==0 ) {
@@ -3171,21 +3011,21 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1096:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // InternalTqcl.g:1055:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?
+ int alt19=2;
+ int LA19_0 = input.LA(1);
- if ( (LA20_0==34) && (synpred2_InternalTqcl())) {
- alt20=1;
+ if ( (LA19_0==30) && (synpred2_InternalTqcl())) {
+ alt19=1;
}
- switch (alt20) {
+ switch (alt19) {
case 1 :
- // InternalTqcl.g:1097:4: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
+ // InternalTqcl.g:1056:4: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
{
- // InternalTqcl.g:1097:4: ( ( '<' )=>otherlv_1= '<' )
- // InternalTqcl.g:1098:5: ( '<' )=>otherlv_1= '<'
+ // InternalTqcl.g:1056:4: ( ( '<' )=>otherlv_1= '<' )
+ // InternalTqcl.g:1057:5: ( '<' )=>otherlv_1= '<'
{
- otherlv_1=(Token)match(input,34,FOLLOW_24); if (state.failed) return current;
+ otherlv_1=(Token)match(input,30,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0());
@@ -3194,11 +3034,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1104:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
- // InternalTqcl.g:1105:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1063:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1064:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
{
- // InternalTqcl.g:1105:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
- // InternalTqcl.g:1106:6: lv_arguments_2_0= ruleJvmArgumentTypeReference
+ // InternalTqcl.g:1064:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1065:6: lv_arguments_2_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
@@ -3229,20 +3069,20 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1123:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
- loop16:
+ // InternalTqcl.g:1082:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )*
+ loop15:
do {
- int alt16=2;
- int LA16_0 = input.LA(1);
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA16_0==16) ) {
- alt16=1;
+ if ( (LA15_0==16) ) {
+ alt15=1;
}
- switch (alt16) {
+ switch (alt15) {
case 1 :
- // InternalTqcl.g:1124:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1083:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
{
otherlv_3=(Token)match(input,16,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -3250,11 +3090,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0());
}
- // InternalTqcl.g:1128:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
- // InternalTqcl.g:1129:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1087:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1088:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
{
- // InternalTqcl.g:1129:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
- // InternalTqcl.g:1130:7: lv_arguments_4_0= ruleJvmArgumentTypeReference
+ // InternalTqcl.g:1088:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1089:7: lv_arguments_4_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
@@ -3290,39 +3130,39 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
break;
default :
- break loop16;
+ break loop15;
}
} while (true);
- otherlv_5=(Token)match(input,35,FOLLOW_26); if (state.failed) return current;
+ otherlv_5=(Token)match(input,31,FOLLOW_26); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3());
}
- // InternalTqcl.g:1152:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
- loop19:
+ // InternalTqcl.g:1111:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )*
+ loop18:
do {
- int alt19=2;
- int LA19_0 = input.LA(1);
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA19_0==28) && (synpred3_InternalTqcl())) {
- alt19=1;
+ if ( (LA18_0==24) && (synpred3_InternalTqcl())) {
+ alt18=1;
}
- switch (alt19) {
+ switch (alt18) {
case 1 :
- // InternalTqcl.g:1153:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
+ // InternalTqcl.g:1112:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
{
- // InternalTqcl.g:1153:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) )
- // InternalTqcl.g:1154:6: ( ( () '.' ) )=> ( () otherlv_7= '.' )
+ // InternalTqcl.g:1112:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) )
+ // InternalTqcl.g:1113:6: ( ( () '.' ) )=> ( () otherlv_7= '.' )
{
- // InternalTqcl.g:1160:6: ( () otherlv_7= '.' )
- // InternalTqcl.g:1161:7: () otherlv_7= '.'
+ // InternalTqcl.g:1119:6: ( () otherlv_7= '.' )
+ // InternalTqcl.g:1120:7: () otherlv_7= '.'
{
- // InternalTqcl.g:1161:7: ()
- // InternalTqcl.g:1162:8:
+ // InternalTqcl.g:1120:7: ()
+ // InternalTqcl.g:1121:8:
{
if ( state.backtracking==0 ) {
@@ -3334,7 +3174,7 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- otherlv_7=(Token)match(input,28,FOLLOW_7); if (state.failed) return current;
+ otherlv_7=(Token)match(input,24,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1());
@@ -3346,11 +3186,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1174:5: ( ( ruleValidID ) )
- // InternalTqcl.g:1175:6: ( ruleValidID )
+ // InternalTqcl.g:1133:5: ( ( ruleValidID ) )
+ // InternalTqcl.g:1134:6: ( ruleValidID )
{
- // InternalTqcl.g:1175:6: ( ruleValidID )
- // InternalTqcl.g:1176:7: ruleValidID
+ // InternalTqcl.g:1134:6: ( ruleValidID )
+ // InternalTqcl.g:1135:7: ruleValidID
{
if ( state.backtracking==0 ) {
@@ -3380,21 +3220,21 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1190:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
- int alt18=2;
- int LA18_0 = input.LA(1);
+ // InternalTqcl.g:1149:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA18_0==34) && (synpred4_InternalTqcl())) {
- alt18=1;
+ if ( (LA17_0==30) && (synpred4_InternalTqcl())) {
+ alt17=1;
}
- switch (alt18) {
+ switch (alt17) {
case 1 :
- // InternalTqcl.g:1191:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>'
+ // InternalTqcl.g:1150:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>'
{
- // InternalTqcl.g:1191:6: ( ( '<' )=>otherlv_9= '<' )
- // InternalTqcl.g:1192:7: ( '<' )=>otherlv_9= '<'
+ // InternalTqcl.g:1150:6: ( ( '<' )=>otherlv_9= '<' )
+ // InternalTqcl.g:1151:7: ( '<' )=>otherlv_9= '<'
{
- otherlv_9=(Token)match(input,34,FOLLOW_24); if (state.failed) return current;
+ otherlv_9=(Token)match(input,30,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0());
@@ -3403,11 +3243,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1198:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) )
- // InternalTqcl.g:1199:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1157:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1158:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
{
- // InternalTqcl.g:1199:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
- // InternalTqcl.g:1200:8: lv_arguments_10_0= ruleJvmArgumentTypeReference
+ // InternalTqcl.g:1158:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1159:8: lv_arguments_10_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
@@ -3438,20 +3278,20 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
}
- // InternalTqcl.g:1217:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )*
- loop17:
+ // InternalTqcl.g:1176:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )*
+ loop16:
do {
- int alt17=2;
- int LA17_0 = input.LA(1);
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA17_0==16) ) {
- alt17=1;
+ if ( (LA16_0==16) ) {
+ alt16=1;
}
- switch (alt17) {
+ switch (alt16) {
case 1 :
- // InternalTqcl.g:1218:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1177:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
{
otherlv_11=(Token)match(input,16,FOLLOW_24); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -3459,11 +3299,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0());
}
- // InternalTqcl.g:1222:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
- // InternalTqcl.g:1223:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1181:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) )
+ // InternalTqcl.g:1182:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
{
- // InternalTqcl.g:1223:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
- // InternalTqcl.g:1224:9: lv_arguments_12_0= ruleJvmArgumentTypeReference
+ // InternalTqcl.g:1182:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference )
+ // InternalTqcl.g:1183:9: lv_arguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
@@ -3499,11 +3339,11 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
break;
default :
- break loop17;
+ break loop16;
}
} while (true);
- otherlv_13=(Token)match(input,35,FOLLOW_26); if (state.failed) return current;
+ otherlv_13=(Token)match(input,31,FOLLOW_26); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3());
@@ -3520,7 +3360,7 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
break;
default :
- break loop19;
+ break loop18;
}
} while (true);
@@ -3555,7 +3395,7 @@ public final EObject ruleJvmParameterizedTypeReference() throws RecognitionExcep
// $ANTLR start "entryRuleJvmArgumentTypeReference"
- // InternalTqcl.g:1253:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ;
+ // InternalTqcl.g:1212:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ;
public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
@@ -3563,8 +3403,8 @@ public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionExcep
try {
- // InternalTqcl.g:1253:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
- // InternalTqcl.g:1254:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
+ // InternalTqcl.g:1212:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF )
+ // InternalTqcl.g:1213:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule());
@@ -3595,7 +3435,7 @@ public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionExcep
// $ANTLR start "ruleJvmArgumentTypeReference"
- // InternalTqcl.g:1260:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ;
+ // InternalTqcl.g:1219:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ;
public final EObject ruleJvmArgumentTypeReference() throws RecognitionException {
EObject current = null;
@@ -3608,29 +3448,29 @@ public final EObject ruleJvmArgumentTypeReference() throws RecognitionException
enterRule();
try {
- // InternalTqcl.g:1266:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
- // InternalTqcl.g:1267:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
+ // InternalTqcl.g:1225:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) )
+ // InternalTqcl.g:1226:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
{
- // InternalTqcl.g:1267:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
- int alt21=2;
- int LA21_0 = input.LA(1);
+ // InternalTqcl.g:1226:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference )
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA21_0==RULE_ID||LA21_0==31||LA21_0==33) ) {
- alt21=1;
+ if ( (LA20_0==RULE_ID||LA20_0==27||LA20_0==29) ) {
+ alt20=1;
}
- else if ( (LA21_0==36) ) {
- alt21=2;
+ else if ( (LA20_0==32) ) {
+ alt20=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt20) {
case 1 :
- // InternalTqcl.g:1268:3: this_JvmTypeReference_0= ruleJvmTypeReference
+ // InternalTqcl.g:1227:3: this_JvmTypeReference_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -3652,7 +3492,7 @@ else if ( (LA21_0==36) ) {
}
break;
case 2 :
- // InternalTqcl.g:1277:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
+ // InternalTqcl.g:1236:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference
{
if ( state.backtracking==0 ) {
@@ -3698,7 +3538,7 @@ else if ( (LA21_0==36) ) {
// $ANTLR start "entryRuleJvmWildcardTypeReference"
- // InternalTqcl.g:1289:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ;
+ // InternalTqcl.g:1248:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ;
public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
@@ -3706,8 +3546,8 @@ public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionExcep
try {
- // InternalTqcl.g:1289:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
- // InternalTqcl.g:1290:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
+ // InternalTqcl.g:1248:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF )
+ // InternalTqcl.g:1249:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule());
@@ -3738,7 +3578,7 @@ public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionExcep
// $ANTLR start "ruleJvmWildcardTypeReference"
- // InternalTqcl.g:1296:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ;
+ // InternalTqcl.g:1255:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ;
public final EObject ruleJvmWildcardTypeReference() throws RecognitionException {
EObject current = null;
@@ -3756,14 +3596,14 @@ public final EObject ruleJvmWildcardTypeReference() throws RecognitionException
enterRule();
try {
- // InternalTqcl.g:1302:2: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) )
- // InternalTqcl.g:1303:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
+ // InternalTqcl.g:1261:2: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) )
+ // InternalTqcl.g:1262:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
{
- // InternalTqcl.g:1303:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
- // InternalTqcl.g:1304:3: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
+ // InternalTqcl.g:1262:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? )
+ // InternalTqcl.g:1263:3: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
{
- // InternalTqcl.g:1304:3: ()
- // InternalTqcl.g:1305:4:
+ // InternalTqcl.g:1263:3: ()
+ // InternalTqcl.g:1264:4:
{
if ( state.backtracking==0 ) {
@@ -3775,34 +3615,34 @@ public final EObject ruleJvmWildcardTypeReference() throws RecognitionException
}
- otherlv_1=(Token)match(input,36,FOLLOW_28); if (state.failed) return current;
+ otherlv_1=(Token)match(input,32,FOLLOW_28); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1());
}
- // InternalTqcl.g:1315:3: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
- int alt24=3;
- int LA24_0 = input.LA(1);
+ // InternalTqcl.g:1274:3: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )?
+ int alt23=3;
+ int LA23_0 = input.LA(1);
- if ( (LA24_0==37) ) {
- alt24=1;
+ if ( (LA23_0==33) ) {
+ alt23=1;
}
- else if ( (LA24_0==39) ) {
- alt24=2;
+ else if ( (LA23_0==35) ) {
+ alt23=2;
}
- switch (alt24) {
+ switch (alt23) {
case 1 :
- // InternalTqcl.g:1316:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
+ // InternalTqcl.g:1275:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
{
- // InternalTqcl.g:1316:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
- // InternalTqcl.g:1317:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
+ // InternalTqcl.g:1275:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* )
+ // InternalTqcl.g:1276:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
{
- // InternalTqcl.g:1317:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
- // InternalTqcl.g:1318:6: (lv_constraints_2_0= ruleJvmUpperBound )
+ // InternalTqcl.g:1276:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) )
+ // InternalTqcl.g:1277:6: (lv_constraints_2_0= ruleJvmUpperBound )
{
- // InternalTqcl.g:1318:6: (lv_constraints_2_0= ruleJvmUpperBound )
- // InternalTqcl.g:1319:7: lv_constraints_2_0= ruleJvmUpperBound
+ // InternalTqcl.g:1277:6: (lv_constraints_2_0= ruleJvmUpperBound )
+ // InternalTqcl.g:1278:7: lv_constraints_2_0= ruleJvmUpperBound
{
if ( state.backtracking==0 ) {
@@ -3833,23 +3673,23 @@ else if ( (LA24_0==39) ) {
}
- // InternalTqcl.g:1336:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
- loop22:
+ // InternalTqcl.g:1295:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )*
+ loop21:
do {
- int alt22=2;
- int LA22_0 = input.LA(1);
+ int alt21=2;
+ int LA21_0 = input.LA(1);
- if ( (LA22_0==38) ) {
- alt22=1;
+ if ( (LA21_0==34) ) {
+ alt21=1;
}
- switch (alt22) {
+ switch (alt21) {
case 1 :
- // InternalTqcl.g:1337:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
+ // InternalTqcl.g:1296:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
{
- // InternalTqcl.g:1337:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
- // InternalTqcl.g:1338:7: lv_constraints_3_0= ruleJvmUpperBoundAnded
+ // InternalTqcl.g:1296:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded )
+ // InternalTqcl.g:1297:7: lv_constraints_3_0= ruleJvmUpperBoundAnded
{
if ( state.backtracking==0 ) {
@@ -3882,7 +3722,7 @@ else if ( (LA24_0==39) ) {
break;
default :
- break loop22;
+ break loop21;
}
} while (true);
@@ -3893,16 +3733,16 @@ else if ( (LA24_0==39) ) {
}
break;
case 2 :
- // InternalTqcl.g:1357:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
+ // InternalTqcl.g:1316:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
{
- // InternalTqcl.g:1357:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
- // InternalTqcl.g:1358:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
+ // InternalTqcl.g:1316:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* )
+ // InternalTqcl.g:1317:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
{
- // InternalTqcl.g:1358:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) )
- // InternalTqcl.g:1359:6: (lv_constraints_4_0= ruleJvmLowerBound )
+ // InternalTqcl.g:1317:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) )
+ // InternalTqcl.g:1318:6: (lv_constraints_4_0= ruleJvmLowerBound )
{
- // InternalTqcl.g:1359:6: (lv_constraints_4_0= ruleJvmLowerBound )
- // InternalTqcl.g:1360:7: lv_constraints_4_0= ruleJvmLowerBound
+ // InternalTqcl.g:1318:6: (lv_constraints_4_0= ruleJvmLowerBound )
+ // InternalTqcl.g:1319:7: lv_constraints_4_0= ruleJvmLowerBound
{
if ( state.backtracking==0 ) {
@@ -3933,23 +3773,23 @@ else if ( (LA24_0==39) ) {
}
- // InternalTqcl.g:1377:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
- loop23:
+ // InternalTqcl.g:1336:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )*
+ loop22:
do {
- int alt23=2;
- int LA23_0 = input.LA(1);
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA23_0==38) ) {
- alt23=1;
+ if ( (LA22_0==34) ) {
+ alt22=1;
}
- switch (alt23) {
+ switch (alt22) {
case 1 :
- // InternalTqcl.g:1378:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
+ // InternalTqcl.g:1337:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
{
- // InternalTqcl.g:1378:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
- // InternalTqcl.g:1379:7: lv_constraints_5_0= ruleJvmLowerBoundAnded
+ // InternalTqcl.g:1337:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded )
+ // InternalTqcl.g:1338:7: lv_constraints_5_0= ruleJvmLowerBoundAnded
{
if ( state.backtracking==0 ) {
@@ -3982,7 +3822,7 @@ else if ( (LA24_0==39) ) {
break;
default :
- break loop23;
+ break loop22;
}
} while (true);
@@ -4020,7 +3860,7 @@ else if ( (LA24_0==39) ) {
// $ANTLR start "entryRuleJvmUpperBound"
- // InternalTqcl.g:1402:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ;
+ // InternalTqcl.g:1361:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ;
public final EObject entryRuleJvmUpperBound() throws RecognitionException {
EObject current = null;
@@ -4028,8 +3868,8 @@ public final EObject entryRuleJvmUpperBound() throws RecognitionException {
try {
- // InternalTqcl.g:1402:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
- // InternalTqcl.g:1403:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
+ // InternalTqcl.g:1361:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF )
+ // InternalTqcl.g:1362:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundRule());
@@ -4060,7 +3900,7 @@ public final EObject entryRuleJvmUpperBound() throws RecognitionException {
// $ANTLR start "ruleJvmUpperBound"
- // InternalTqcl.g:1409:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
+ // InternalTqcl.g:1368:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBound() throws RecognitionException {
EObject current = null;
@@ -4072,23 +3912,23 @@ public final EObject ruleJvmUpperBound() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1415:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
- // InternalTqcl.g:1416:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1374:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
+ // InternalTqcl.g:1375:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
- // InternalTqcl.g:1416:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
- // InternalTqcl.g:1417:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1375:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1376:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
- otherlv_0=(Token)match(input,37,FOLLOW_21); if (state.failed) return current;
+ otherlv_0=(Token)match(input,33,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0());
}
- // InternalTqcl.g:1421:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1422:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1380:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1381:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1422:4: (lv_typeReference_1_0= ruleJvmTypeReference )
- // InternalTqcl.g:1423:5: lv_typeReference_1_0= ruleJvmTypeReference
+ // InternalTqcl.g:1381:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1382:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -4144,7 +3984,7 @@ public final EObject ruleJvmUpperBound() throws RecognitionException {
// $ANTLR start "entryRuleJvmUpperBoundAnded"
- // InternalTqcl.g:1444:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ;
+ // InternalTqcl.g:1403:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ;
public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
@@ -4152,8 +3992,8 @@ public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
try {
- // InternalTqcl.g:1444:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
- // InternalTqcl.g:1445:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
+ // InternalTqcl.g:1403:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF )
+ // InternalTqcl.g:1404:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule());
@@ -4184,7 +4024,7 @@ public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException {
// $ANTLR start "ruleJvmUpperBoundAnded"
- // InternalTqcl.g:1451:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
+ // InternalTqcl.g:1410:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmUpperBoundAnded() throws RecognitionException {
EObject current = null;
@@ -4196,23 +4036,23 @@ public final EObject ruleJvmUpperBoundAnded() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1457:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
- // InternalTqcl.g:1458:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1416:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
+ // InternalTqcl.g:1417:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
- // InternalTqcl.g:1458:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
- // InternalTqcl.g:1459:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1417:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1418:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
- otherlv_0=(Token)match(input,38,FOLLOW_21); if (state.failed) return current;
+ otherlv_0=(Token)match(input,34,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0());
}
- // InternalTqcl.g:1463:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1464:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1422:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1423:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1464:4: (lv_typeReference_1_0= ruleJvmTypeReference )
- // InternalTqcl.g:1465:5: lv_typeReference_1_0= ruleJvmTypeReference
+ // InternalTqcl.g:1423:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1424:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -4268,7 +4108,7 @@ public final EObject ruleJvmUpperBoundAnded() throws RecognitionException {
// $ANTLR start "entryRuleJvmLowerBound"
- // InternalTqcl.g:1486:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ;
+ // InternalTqcl.g:1445:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ;
public final EObject entryRuleJvmLowerBound() throws RecognitionException {
EObject current = null;
@@ -4276,8 +4116,8 @@ public final EObject entryRuleJvmLowerBound() throws RecognitionException {
try {
- // InternalTqcl.g:1486:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
- // InternalTqcl.g:1487:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
+ // InternalTqcl.g:1445:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF )
+ // InternalTqcl.g:1446:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundRule());
@@ -4308,7 +4148,7 @@ public final EObject entryRuleJvmLowerBound() throws RecognitionException {
// $ANTLR start "ruleJvmLowerBound"
- // InternalTqcl.g:1493:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
+ // InternalTqcl.g:1452:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBound() throws RecognitionException {
EObject current = null;
@@ -4320,23 +4160,23 @@ public final EObject ruleJvmLowerBound() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1499:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
- // InternalTqcl.g:1500:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1458:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
+ // InternalTqcl.g:1459:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
- // InternalTqcl.g:1500:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
- // InternalTqcl.g:1501:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1459:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1460:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
- otherlv_0=(Token)match(input,39,FOLLOW_21); if (state.failed) return current;
+ otherlv_0=(Token)match(input,35,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0());
}
- // InternalTqcl.g:1505:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1506:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1464:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1465:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1506:4: (lv_typeReference_1_0= ruleJvmTypeReference )
- // InternalTqcl.g:1507:5: lv_typeReference_1_0= ruleJvmTypeReference
+ // InternalTqcl.g:1465:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1466:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -4392,7 +4232,7 @@ public final EObject ruleJvmLowerBound() throws RecognitionException {
// $ANTLR start "entryRuleJvmLowerBoundAnded"
- // InternalTqcl.g:1528:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ;
+ // InternalTqcl.g:1487:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ;
public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
@@ -4400,8 +4240,8 @@ public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
try {
- // InternalTqcl.g:1528:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF )
- // InternalTqcl.g:1529:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF
+ // InternalTqcl.g:1487:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF )
+ // InternalTqcl.g:1488:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule());
@@ -4432,7 +4272,7 @@ public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException {
// $ANTLR start "ruleJvmLowerBoundAnded"
- // InternalTqcl.g:1535:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
+ // InternalTqcl.g:1494:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
EObject current = null;
@@ -4444,23 +4284,23 @@ public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1541:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
- // InternalTqcl.g:1542:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1500:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) )
+ // InternalTqcl.g:1501:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
{
- // InternalTqcl.g:1542:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
- // InternalTqcl.g:1543:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1501:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) )
+ // InternalTqcl.g:1502:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
{
- otherlv_0=(Token)match(input,38,FOLLOW_21); if (state.failed) return current;
+ otherlv_0=(Token)match(input,34,FOLLOW_21); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0());
}
- // InternalTqcl.g:1547:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
- // InternalTqcl.g:1548:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1506:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) )
+ // InternalTqcl.g:1507:4: (lv_typeReference_1_0= ruleJvmTypeReference )
{
- // InternalTqcl.g:1548:4: (lv_typeReference_1_0= ruleJvmTypeReference )
- // InternalTqcl.g:1549:5: lv_typeReference_1_0= ruleJvmTypeReference
+ // InternalTqcl.g:1507:4: (lv_typeReference_1_0= ruleJvmTypeReference )
+ // InternalTqcl.g:1508:5: lv_typeReference_1_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
@@ -4516,7 +4356,7 @@ public final EObject ruleJvmLowerBoundAnded() throws RecognitionException {
// $ANTLR start "entryRuleQualifiedName"
- // InternalTqcl.g:1570:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ // InternalTqcl.g:1529:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
@@ -4524,8 +4364,8 @@ public final String entryRuleQualifiedName() throws RecognitionException {
try {
- // InternalTqcl.g:1570:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
- // InternalTqcl.g:1571:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ // InternalTqcl.g:1529:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
+ // InternalTqcl.g:1530:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
@@ -4556,7 +4396,7 @@ public final String entryRuleQualifiedName() throws RecognitionException {
// $ANTLR start "ruleQualifiedName"
- // InternalTqcl.g:1577:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* ) ;
+ // InternalTqcl.g:1536:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4570,11 +4410,11 @@ public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionExcept
enterRule();
try {
- // InternalTqcl.g:1583:2: ( (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* ) )
- // InternalTqcl.g:1584:2: (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* )
+ // InternalTqcl.g:1542:2: ( (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* ) )
+ // InternalTqcl.g:1543:2: (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* )
{
- // InternalTqcl.g:1584:2: (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* )
- // InternalTqcl.g:1585:3: this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )*
+ // InternalTqcl.g:1543:2: (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* )
+ // InternalTqcl.g:1544:3: this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
@@ -4596,28 +4436,28 @@ public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionExcept
afterParserOrEnumRuleCall();
}
- // InternalTqcl.g:1595:3: (kw= '.' this_ValidID_2= ruleValidID )*
- loop25:
+ // InternalTqcl.g:1554:3: (kw= '.' this_ValidID_2= ruleValidID )*
+ loop24:
do {
- int alt25=2;
- int LA25_0 = input.LA(1);
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( (LA25_0==28) ) {
- int LA25_2 = input.LA(2);
+ if ( (LA24_0==24) ) {
+ int LA24_2 = input.LA(2);
- if ( (LA25_2==RULE_ID) ) {
- alt25=1;
+ if ( (LA24_2==RULE_ID) ) {
+ alt24=1;
}
}
- switch (alt25) {
+ switch (alt24) {
case 1 :
- // InternalTqcl.g:1596:4: kw= '.' this_ValidID_2= ruleValidID
+ // InternalTqcl.g:1555:4: kw= '.' this_ValidID_2= ruleValidID
{
- kw=(Token)match(input,28,FOLLOW_7); if (state.failed) return current;
+ kw=(Token)match(input,24,FOLLOW_7); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
@@ -4649,7 +4489,7 @@ public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionExcept
break;
default :
- break loop25;
+ break loop24;
}
} while (true);
@@ -4678,7 +4518,7 @@ public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionExcept
// $ANTLR start "entryRuleQualifiedNameWithWildcard"
- // InternalTqcl.g:1616:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
+ // InternalTqcl.g:1575:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
String current = null;
@@ -4686,8 +4526,8 @@ public final String entryRuleQualifiedNameWithWildcard() throws RecognitionExcep
try {
- // InternalTqcl.g:1616:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
- // InternalTqcl.g:1617:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
+ // InternalTqcl.g:1575:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
+ // InternalTqcl.g:1576:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
@@ -4718,7 +4558,7 @@ public final String entryRuleQualifiedNameWithWildcard() throws RecognitionExcep
// $ANTLR start "ruleQualifiedNameWithWildcard"
- // InternalTqcl.g:1623:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
+ // InternalTqcl.g:1582:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ;
public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4730,11 +4570,11 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws Recog
enterRule();
try {
- // InternalTqcl.g:1629:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
- // InternalTqcl.g:1630:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
+ // InternalTqcl.g:1588:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) )
+ // InternalTqcl.g:1589:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
{
- // InternalTqcl.g:1630:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
- // InternalTqcl.g:1631:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
+ // InternalTqcl.g:1589:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' )
+ // InternalTqcl.g:1590:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*'
{
if ( state.backtracking==0 ) {
@@ -4756,14 +4596,14 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws Recog
afterParserOrEnumRuleCall();
}
- kw=(Token)match(input,28,FOLLOW_30); if (state.failed) return current;
+ kw=(Token)match(input,24,FOLLOW_30); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1());
}
- kw=(Token)match(input,40,FOLLOW_2); if (state.failed) return current;
+ kw=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
@@ -4795,7 +4635,7 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws Recog
// $ANTLR start "entryRuleValidID"
- // InternalTqcl.g:1655:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
+ // InternalTqcl.g:1614:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
public final String entryRuleValidID() throws RecognitionException {
String current = null;
@@ -4803,8 +4643,8 @@ public final String entryRuleValidID() throws RecognitionException {
try {
- // InternalTqcl.g:1655:47: (iv_ruleValidID= ruleValidID EOF )
- // InternalTqcl.g:1656:2: iv_ruleValidID= ruleValidID EOF
+ // InternalTqcl.g:1614:47: (iv_ruleValidID= ruleValidID EOF )
+ // InternalTqcl.g:1615:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
@@ -4835,7 +4675,7 @@ public final String entryRuleValidID() throws RecognitionException {
// $ANTLR start "ruleValidID"
- // InternalTqcl.g:1662:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
+ // InternalTqcl.g:1621:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4845,8 +4685,8 @@ public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1668:2: (this_ID_0= RULE_ID )
- // InternalTqcl.g:1669:2: this_ID_0= RULE_ID
+ // InternalTqcl.g:1627:2: (this_ID_0= RULE_ID )
+ // InternalTqcl.g:1628:2: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -4881,7 +4721,7 @@ public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
// $ANTLR start "entryRuleXImportDeclaration"
- // InternalTqcl.g:1679:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ;
+ // InternalTqcl.g:1638:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ;
public final EObject entryRuleXImportDeclaration() throws RecognitionException {
EObject current = null;
@@ -4889,8 +4729,8 @@ public final EObject entryRuleXImportDeclaration() throws RecognitionException {
try {
- // InternalTqcl.g:1679:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
- // InternalTqcl.g:1680:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
+ // InternalTqcl.g:1638:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
+ // InternalTqcl.g:1639:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationRule());
@@ -4921,7 +4761,7 @@ public final EObject entryRuleXImportDeclaration() throws RecognitionException {
// $ANTLR start "ruleXImportDeclaration"
- // InternalTqcl.g:1686:1: ruleXImportDeclaration returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) ;
+ // InternalTqcl.g:1645:1: ruleXImportDeclaration returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) ;
public final EObject ruleXImportDeclaration() throws RecognitionException {
EObject current = null;
@@ -4939,35 +4779,35 @@ public final EObject ruleXImportDeclaration() throws RecognitionException {
enterRule();
try {
- // InternalTqcl.g:1692:2: ( (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) )
- // InternalTqcl.g:1693:2: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
+ // InternalTqcl.g:1651:2: ( (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? ) )
+ // InternalTqcl.g:1652:2: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
{
- // InternalTqcl.g:1693:2: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
- // InternalTqcl.g:1694:3: otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )?
+ // InternalTqcl.g:1652:2: (otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )? )
+ // InternalTqcl.g:1653:3: otherlv_0= 'import' ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) ) (otherlv_8= ';' )?
{
- otherlv_0=(Token)match(input,11,FOLLOW_31); if (state.failed) return current;
+ otherlv_0=(Token)match(input,37,FOLLOW_31); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0());
}
- // InternalTqcl.g:1698:3: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )
- int alt28=3;
- alt28 = dfa28.predict(input);
- switch (alt28) {
+ // InternalTqcl.g:1657:3: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )
+ int alt27=3;
+ alt27 = dfa27.predict(input);
+ switch (alt27) {
case 1 :
- // InternalTqcl.g:1699:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
+ // InternalTqcl.g:1658:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
{
- // InternalTqcl.g:1699:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
- // InternalTqcl.g:1700:5: ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
+ // InternalTqcl.g:1658:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) )
+ // InternalTqcl.g:1659:5: ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
{
- // InternalTqcl.g:1700:5: ( (lv_static_1_0= 'static' ) )
- // InternalTqcl.g:1701:6: (lv_static_1_0= 'static' )
+ // InternalTqcl.g:1659:5: ( (lv_static_1_0= 'static' ) )
+ // InternalTqcl.g:1660:6: (lv_static_1_0= 'static' )
{
- // InternalTqcl.g:1701:6: (lv_static_1_0= 'static' )
- // InternalTqcl.g:1702:7: lv_static_1_0= 'static'
+ // InternalTqcl.g:1660:6: (lv_static_1_0= 'static' )
+ // InternalTqcl.g:1661:7: lv_static_1_0= 'static'
{
- lv_static_1_0=(Token)match(input,41,FOLLOW_32); if (state.failed) return current;
+ lv_static_1_0=(Token)match(input,38,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_1_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0());
@@ -4987,21 +4827,21 @@ public final EObject ruleXImportDeclaration() throws RecognitionException {
}
- // InternalTqcl.g:1714:5: ( (lv_extension_2_0= 'extension' ) )?
- int alt26=2;
- int LA26_0 = input.LA(1);
+ // InternalTqcl.g:1673:5: ( (lv_extension_2_0= 'extension' ) )?
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA26_0==42) ) {
- alt26=1;
+ if ( (LA25_0==39) ) {
+ alt25=1;
}
- switch (alt26) {
+ switch (alt25) {
case 1 :
- // InternalTqcl.g:1715:6: (lv_extension_2_0= 'extension' )
+ // InternalTqcl.g:1674:6: (lv_extension_2_0= 'extension' )
{
- // InternalTqcl.g:1715:6: (lv_extension_2_0= 'extension' )
- // InternalTqcl.g:1716:7: lv_extension_2_0= 'extension'
+ // InternalTqcl.g:1674:6: (lv_extension_2_0= 'extension' )
+ // InternalTqcl.g:1675:7: lv_extension_2_0= 'extension'
{
- lv_extension_2_0=(Token)match(input,42,FOLLOW_32); if (state.failed) return current;
+ lv_extension_2_0=(Token)match(input,39,FOLLOW_32); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_2_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0());
@@ -5024,11 +4864,11 @@ public final EObject ruleXImportDeclaration() throws RecognitionException {
}
- // InternalTqcl.g:1728:5: ( ( ruleQualifiedNameInStaticImport ) )
- // InternalTqcl.g:1729:6: ( ruleQualifiedNameInStaticImport )
+ // InternalTqcl.g:1687:5: ( ( ruleQualifiedNameInStaticImport ) )
+ // InternalTqcl.g:1688:6: ( ruleQualifiedNameInStaticImport )
{
- // InternalTqcl.g:1729:6: ( ruleQualifiedNameInStaticImport )
- // InternalTqcl.g:1730:7: ruleQualifiedNameInStaticImport
+ // InternalTqcl.g:1688:6: ( ruleQualifiedNameInStaticImport )
+ // InternalTqcl.g:1689:7: ruleQualifiedNameInStaticImport
{
if ( state.backtracking==0 ) {
@@ -5058,34 +4898,34 @@ public final EObject ruleXImportDeclaration() throws RecognitionException {
}
- // InternalTqcl.g:1744:5: ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
- int alt27=2;
- int LA27_0 = input.LA(1);
+ // InternalTqcl.g:1703:5: ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) )
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA27_0==40) ) {
- alt27=1;
+ if ( (LA26_0==36) ) {
+ alt26=1;
}
- else if ( (LA27_0==RULE_ID) ) {
- alt27=2;
+ else if ( (LA26_0==RULE_ID) ) {
+ alt26=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
- new NoViableAltException("", 27, 0, input);
+ new NoViableAltException("", 26, 0, input);
throw nvae;
}
- switch (alt27) {
+ switch (alt26) {
case 1 :
- // InternalTqcl.g:1745:6: ( (lv_wildcard_4_0= '*' ) )
+ // InternalTqcl.g:1704:6: ( (lv_wildcard_4_0= '*' ) )
{
- // InternalTqcl.g:1745:6: ( (lv_wildcard_4_0= '*' ) )
- // InternalTqcl.g:1746:7: (lv_wildcard_4_0= '*' )
+ // InternalTqcl.g:1704:6: ( (lv_wildcard_4_0= '*' ) )
+ // InternalTqcl.g:1705:7: (lv_wildcard_4_0= '*' )
{
- // InternalTqcl.g:1746:7: (lv_wildcard_4_0= '*' )
- // InternalTqcl.g:1747:8: lv_wildcard_4_0= '*'
+ // InternalTqcl.g:1705:7: (lv_wildcard_4_0= '*' )
+ // InternalTqcl.g:1706:8: lv_wildcard_4_0= '*'
{
- lv_wildcard_4_0=(Token)match(input,40,FOLLOW_34); if (state.failed) return current;
+ lv_wildcard_4_0=(Token)match(input,36,FOLLOW_34); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_wildcard_4_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0());
@@ -5109,13 +4949,13 @@ else if ( (LA27_0==RULE_ID) ) {
}
break;
case 2 :
- // InternalTqcl.g:1760:6: ( (lv_memberName_5_0= ruleValidID ) )
+ // InternalTqcl.g:1719:6: ( (lv_memberName_5_0= ruleValidID ) )
{
- // InternalTqcl.g:1760:6: ( (lv_memberName_5_0= ruleValidID ) )
- // InternalTqcl.g:1761:7: (lv_memberName_5_0= ruleValidID )
+ // InternalTqcl.g:1719:6: ( (lv_memberName_5_0= ruleValidID ) )
+ // InternalTqcl.g:1720:7: (lv_memberName_5_0= ruleValidID )
{
- // InternalTqcl.g:1761:7: (lv_memberName_5_0= ruleValidID )
- // InternalTqcl.g:1762:8: lv_memberName_5_0= ruleValidID
+ // InternalTqcl.g:1720:7: (lv_memberName_5_0= ruleValidID )
+ // InternalTqcl.g:1721:8: lv_memberName_5_0= ruleValidID
{
if ( state.backtracking==0 ) {
@@ -5159,13 +4999,13 @@ else if ( (LA27_0==RULE_ID) ) {
}
break;
case 2 :
- // InternalTqcl.g:1782:4: ( ( ruleQualifiedName ) )
+ // InternalTqcl.g:1741:4: ( ( ruleQualifiedName ) )
{
- // InternalTqcl.g:1782:4: ( ( ruleQualifiedName ) )
- // InternalTqcl.g:1783:5: ( ruleQualifiedName )
+ // InternalTqcl.g:1741:4: ( ( ruleQualifiedName ) )
+ // InternalTqcl.g:1742:5: ( ruleQualifiedName )
{
- // InternalTqcl.g:1783:5: ( ruleQualifiedName )
- // InternalTqcl.g:1784:6: ruleQualifiedName
+ // InternalTqcl.g:1742:5: ( ruleQualifiedName )
+ // InternalTqcl.g:1743:6: ruleQualifiedName
{
if ( state.backtracking==0 ) {
@@ -5199,13 +5039,13 @@ else if ( (LA27_0==RULE_ID) ) {
}
break;
case 3 :
- // InternalTqcl.g:1799:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
+ // InternalTqcl.g:1758:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
{
- // InternalTqcl.g:1799:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
- // InternalTqcl.g:1800:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
+ // InternalTqcl.g:1758:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) )
+ // InternalTqcl.g:1759:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
{
- // InternalTqcl.g:1800:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
- // InternalTqcl.g:1801:6: lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard
+ // InternalTqcl.g:1759:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard )
+ // InternalTqcl.g:1760:6: lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard
{
if ( state.backtracking==0 ) {
@@ -5242,16 +5082,16 @@ else if ( (LA27_0==RULE_ID) ) {
}
- // InternalTqcl.g:1819:3: (otherlv_8= ';' )?
- int alt29=2;
- int LA29_0 = input.LA(1);
+ // InternalTqcl.g:1778:3: (otherlv_8= ';' )?
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA29_0==10) ) {
- alt29=1;
+ if ( (LA28_0==10) ) {
+ alt28=1;
}
- switch (alt29) {
+ switch (alt28) {
case 1 :
- // InternalTqcl.g:1820:4: otherlv_8= ';'
+ // InternalTqcl.g:1779:4: otherlv_8= ';'
{
otherlv_8=(Token)match(input,10,FOLLOW_2); if (state.failed) return current;
if ( state.backtracking==0 ) {
@@ -5290,7 +5130,7 @@ else if ( (LA27_0==RULE_ID) ) {
// $ANTLR start "entryRuleQualifiedNameInStaticImport"
- // InternalTqcl.g:1829:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ;
+ // InternalTqcl.g:1788:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ;
public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException {
String current = null;
@@ -5298,8 +5138,8 @@ public final String entryRuleQualifiedNameInStaticImport() throws RecognitionExc
try {
- // InternalTqcl.g:1829:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF )
- // InternalTqcl.g:1830:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF
+ // InternalTqcl.g:1788:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF )
+ // InternalTqcl.g:1789:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule());
@@ -5330,7 +5170,7 @@ public final String entryRuleQualifiedNameInStaticImport() throws RecognitionExc
// $ANTLR start "ruleQualifiedNameInStaticImport"
- // InternalTqcl.g:1836:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ;
+ // InternalTqcl.g:1795:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ;
public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5342,30 +5182,30 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws Rec
enterRule();
try {
- // InternalTqcl.g:1842:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ )
- // InternalTqcl.g:1843:2: (this_ValidID_0= ruleValidID kw= '.' )+
+ // InternalTqcl.g:1801:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ )
+ // InternalTqcl.g:1802:2: (this_ValidID_0= ruleValidID kw= '.' )+
{
- // InternalTqcl.g:1843:2: (this_ValidID_0= ruleValidID kw= '.' )+
- int cnt30=0;
- loop30:
+ // InternalTqcl.g:1802:2: (this_ValidID_0= ruleValidID kw= '.' )+
+ int cnt29=0;
+ loop29:
do {
- int alt30=2;
- int LA30_0 = input.LA(1);
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA30_0==RULE_ID) ) {
- int LA30_2 = input.LA(2);
+ if ( (LA29_0==RULE_ID) ) {
+ int LA29_2 = input.LA(2);
- if ( (LA30_2==28) ) {
- alt30=1;
+ if ( (LA29_2==24) ) {
+ alt29=1;
}
}
- switch (alt30) {
+ switch (alt29) {
case 1 :
- // InternalTqcl.g:1844:3: this_ValidID_0= ruleValidID kw= '.'
+ // InternalTqcl.g:1803:3: this_ValidID_0= ruleValidID kw= '.'
{
if ( state.backtracking==0 ) {
@@ -5387,7 +5227,7 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws Rec
afterParserOrEnumRuleCall();
}
- kw=(Token)match(input,28,FOLLOW_35); if (state.failed) return current;
+ kw=(Token)match(input,24,FOLLOW_35); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
@@ -5399,13 +5239,13 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws Rec
break;
default :
- if ( cnt30 >= 1 ) break loop30;
+ if ( cnt29 >= 1 ) break loop29;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
- new EarlyExitException(30, input);
+ new EarlyExitException(29, input);
throw eee;
}
- cnt30++;
+ cnt29++;
} while (true);
@@ -5428,16 +5268,165 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws Rec
}
// $ANTLR end "ruleQualifiedNameInStaticImport"
+
+ // $ANTLR start "ruleCategory"
+ // InternalTqcl.g:1822:1: ruleCategory returns [Enumerator current=null] : ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) ) ;
+ public final Enumerator ruleCategory() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+ Token enumLiteral_2=null;
+ Token enumLiteral_3=null;
+
+
+ enterRule();
+
+ try {
+ // InternalTqcl.g:1828:2: ( ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) ) )
+ // InternalTqcl.g:1829:2: ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) )
+ {
+ // InternalTqcl.g:1829:2: ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) )
+ int alt30=4;
+ switch ( input.LA(1) ) {
+ case 40:
+ {
+ alt30=1;
+ }
+ break;
+ case 41:
+ {
+ alt30=2;
+ }
+ break;
+ case 42:
+ {
+ alt30=3;
+ }
+ break;
+ case 43:
+ {
+ alt30=4;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 30, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt30) {
+ case 1 :
+ // InternalTqcl.g:1830:3: (enumLiteral_0= 'actor' )
+ {
+ // InternalTqcl.g:1830:3: (enumLiteral_0= 'actor' )
+ // InternalTqcl.g:1831:4: enumLiteral_0= 'actor'
+ {
+ enumLiteral_0=(Token)match(input,40,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalTqcl.g:1838:3: (enumLiteral_1= 'parameter' )
+ {
+ // InternalTqcl.g:1838:3: (enumLiteral_1= 'parameter' )
+ // InternalTqcl.g:1839:4: enumLiteral_1= 'parameter'
+ {
+ enumLiteral_1=(Token)match(input,41,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalTqcl.g:1846:3: (enumLiteral_2= 'port' )
+ {
+ // InternalTqcl.g:1846:3: (enumLiteral_2= 'port' )
+ // InternalTqcl.g:1847:4: enumLiteral_2= 'port'
+ {
+ enumLiteral_2=(Token)match(input,42,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalTqcl.g:1854:3: (enumLiteral_3= 'director' )
+ {
+ // InternalTqcl.g:1854:3: (enumLiteral_3= 'director' )
+ // InternalTqcl.g:1855:4: enumLiteral_3= 'director'
+ {
+ enumLiteral_3=(Token)match(input,43,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCategory"
+
// $ANTLR start synpred1_InternalTqcl
public final void synpred1_InternalTqcl_fragment() throws RecognitionException {
- // InternalTqcl.g:901:5: ( ( () ruleArrayBrackets ) )
- // InternalTqcl.g:901:6: ( () ruleArrayBrackets )
+ // InternalTqcl.g:860:5: ( ( () ruleArrayBrackets ) )
+ // InternalTqcl.g:860:6: ( () ruleArrayBrackets )
{
- // InternalTqcl.g:901:6: ( () ruleArrayBrackets )
- // InternalTqcl.g:902:6: () ruleArrayBrackets
+ // InternalTqcl.g:860:6: ( () ruleArrayBrackets )
+ // InternalTqcl.g:861:6: () ruleArrayBrackets
{
- // InternalTqcl.g:902:6: ()
- // InternalTqcl.g:903:6:
+ // InternalTqcl.g:861:6: ()
+ // InternalTqcl.g:862:6:
{
}
@@ -5456,10 +5445,10 @@ public final void synpred1_InternalTqcl_fragment() throws RecognitionException {
// $ANTLR start synpred2_InternalTqcl
public final void synpred2_InternalTqcl_fragment() throws RecognitionException {
- // InternalTqcl.g:1098:5: ( '<' )
- // InternalTqcl.g:1098:6: '<'
+ // InternalTqcl.g:1057:5: ( '<' )
+ // InternalTqcl.g:1057:6: '<'
{
- match(input,34,FOLLOW_2); if (state.failed) return ;
+ match(input,30,FOLLOW_2); if (state.failed) return ;
}
}
@@ -5467,18 +5456,18 @@ public final void synpred2_InternalTqcl_fragment() throws RecognitionException {
// $ANTLR start synpred3_InternalTqcl
public final void synpred3_InternalTqcl_fragment() throws RecognitionException {
- // InternalTqcl.g:1154:6: ( ( () '.' ) )
- // InternalTqcl.g:1154:7: ( () '.' )
+ // InternalTqcl.g:1113:6: ( ( () '.' ) )
+ // InternalTqcl.g:1113:7: ( () '.' )
{
- // InternalTqcl.g:1154:7: ( () '.' )
- // InternalTqcl.g:1155:7: () '.'
+ // InternalTqcl.g:1113:7: ( () '.' )
+ // InternalTqcl.g:1114:7: () '.'
{
- // InternalTqcl.g:1155:7: ()
- // InternalTqcl.g:1156:7:
+ // InternalTqcl.g:1114:7: ()
+ // InternalTqcl.g:1115:7:
{
}
- match(input,28,FOLLOW_2); if (state.failed) return ;
+ match(input,24,FOLLOW_2); if (state.failed) return ;
}
@@ -5489,10 +5478,10 @@ public final void synpred3_InternalTqcl_fragment() throws RecognitionException {
// $ANTLR start synpred4_InternalTqcl
public final void synpred4_InternalTqcl_fragment() throws RecognitionException {
- // InternalTqcl.g:1192:7: ( '<' )
- // InternalTqcl.g:1192:8: '<'
+ // InternalTqcl.g:1151:7: ( '<' )
+ // InternalTqcl.g:1151:8: '<'
{
- match(input,34,FOLLOW_2); if (state.failed) return ;
+ match(input,30,FOLLOW_2); if (state.failed) return ;
}
}
@@ -5558,21 +5547,21 @@ public final boolean synpred4_InternalTqcl() {
}
- protected DFA28 dfa28 = new DFA28(this);
+ protected DFA27 dfa27 = new DFA27(this);
static final String dfa_1s = "\7\uffff";
- static final String dfa_2s = "\2\uffff\1\4\2\uffff\1\4\1\uffff";
- static final String dfa_3s = "\1\5\1\uffff\1\12\1\5\1\uffff\1\12\1\uffff";
- static final String dfa_4s = "\1\51\1\uffff\1\34\1\50\1\uffff\1\34\1\uffff";
- static final String dfa_5s = "\1\uffff\1\1\2\uffff\1\2\1\uffff\1\3";
+ static final String dfa_2s = "\2\uffff\1\4\3\uffff\1\4";
+ static final String dfa_3s = "\1\5\1\uffff\1\12\1\5\2\uffff\1\12";
+ static final String dfa_4s = "\1\46\1\uffff\1\30\1\44\2\uffff\1\30";
+ static final String dfa_5s = "\1\uffff\1\1\2\uffff\1\2\1\3\1\uffff";
static final String dfa_6s = "\7\uffff}>";
static final String[] dfa_7s = {
- "\1\2\43\uffff\1\1",
+ "\1\2\40\uffff\1\1",
+ "",
+ "\1\4\15\uffff\1\3",
+ "\1\6\36\uffff\1\5",
"",
- "\1\4\21\uffff\1\3",
- "\1\5\42\uffff\1\6",
"",
- "\1\4\21\uffff\1\3",
- ""
+ "\1\4\15\uffff\1\3"
};
static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
@@ -5583,11 +5572,11 @@ public final boolean synpred4_InternalTqcl() {
static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s);
static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s);
- class DFA28 extends DFA {
+ class DFA27 extends DFA {
- public DFA28(BaseRecognizer recognizer) {
+ public DFA27(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 28;
+ this.decisionNumber = 27;
this.eot = dfa_1;
this.eof = dfa_2;
this.min = dfa_3;
@@ -5597,7 +5586,7 @@ public DFA28(BaseRecognizer recognizer) {
this.transition = dfa_7;
}
public String getDescription() {
- return "1698:3: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )";
+ return "1657:3: ( ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) )";
}
}
@@ -5609,32 +5598,32 @@ public String getDescription() {
public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000400L});
public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000007800030L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000F0000000030L});
public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000008002L});
public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010002L});
public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000090000L});
public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200000L});
public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000008000000L});
- public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000010000000L});
- public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000380000020L});
- public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000100010000L});
- public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000280000020L});
- public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000200000000L});
- public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000400000002L});
- public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001280000020L});
- public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000800010000L});
- public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000010000002L});
- public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000410000002L});
- public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x000000A000000002L});
- public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000004000000002L});
- public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000010000000000L});
- public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000020000000020L});
- public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000020L});
- public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000010000000020L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000800000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000001000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000002L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000038000020L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010010000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000028000020L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000020000000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000128000020L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000080010000L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000001000002L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000041000002L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000A00000002L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000400000002L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000004000000020L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000008000000020L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000001000000020L});
public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000000402L});
public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000000000000022L});
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSemanticSequencer.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSemanticSequencer.java
index 7cab5df0..5cab60ac 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSemanticSequencer.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSemanticSequencer.java
@@ -20,7 +20,7 @@
import org.eclipse.triquetrum.commands.tqcl.Connect;
import org.eclipse.triquetrum.commands.tqcl.ConnectionPort;
import org.eclipse.triquetrum.commands.tqcl.Go;
-import org.eclipse.triquetrum.commands.tqcl.Import;
+import org.eclipse.triquetrum.commands.tqcl.Include;
import org.eclipse.triquetrum.commands.tqcl.Insert;
import org.eclipse.triquetrum.commands.tqcl.Library;
import org.eclipse.triquetrum.commands.tqcl.TqclPackage;
@@ -79,8 +79,8 @@ else if (rule == grammarAccess.getGoOutRule()) {
return;
}
else break;
- case TqclPackage.IMPORT:
- sequence_Import(context, (Import) semanticObject);
+ case TqclPackage.INCLUDE:
+ sequence_Include(context, (Include) semanticObject);
return;
case TqclPackage.INSERT:
sequence_Insert(context, (Insert) semanticObject);
@@ -249,19 +249,19 @@ protected void sequence_GoOut(ISerializationContext context, Go semanticObject)
/**
* Contexts:
- * Command returns Import
- * Import returns Import
+ * Command returns Include
+ * Include returns Include
*
* Constraint:
* filename=STRING
*/
- protected void sequence_Import(ISerializationContext context, Import semanticObject) {
+ protected void sequence_Include(ISerializationContext context, Include semanticObject) {
if (errorAcceptor != null) {
- if (transientValues.isValueTransient(semanticObject, TqclPackage.Literals.IMPORT__FILENAME) == ValueTransient.YES)
- errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TqclPackage.Literals.IMPORT__FILENAME));
+ if (transientValues.isValueTransient(semanticObject, TqclPackage.Literals.INCLUDE__FILENAME) == ValueTransient.YES)
+ errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TqclPackage.Literals.INCLUDE__FILENAME));
}
SequenceFeeder feeder = createSequencerFeeder(context, semanticObject);
- feeder.accept(grammarAccess.getImportAccess().getFilenameSTRINGTerminalRuleCall_1_0(), semanticObject.getFilename());
+ feeder.accept(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0(), semanticObject.getFilename());
feeder.finish();
}
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/services/TqclGrammarAccess.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/services/TqclGrammarAccess.java
index 8215b3e1..62ad907a 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/services/TqclGrammarAccess.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/services/TqclGrammarAccess.java
@@ -18,6 +18,8 @@
import org.eclipse.xtext.Alternatives;
import org.eclipse.xtext.Assignment;
import org.eclipse.xtext.CrossReference;
+import org.eclipse.xtext.EnumLiteralDeclaration;
+import org.eclipse.xtext.EnumRule;
import org.eclipse.xtext.Grammar;
import org.eclipse.xtext.GrammarUtil;
import org.eclipse.xtext.Group;
@@ -25,6 +27,7 @@
import org.eclipse.xtext.ParserRule;
import org.eclipse.xtext.RuleCall;
import org.eclipse.xtext.TerminalRule;
+import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder;
import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder;
import org.eclipse.xtext.service.GrammarProvider;
import org.eclipse.xtext.xbase.services.XtypeGrammarAccess;
@@ -69,17 +72,17 @@ public class CommandElements extends AbstractParserRuleElementFinder {
private final RuleCall cSetParserRuleCall_0_2 = (RuleCall)cAlternatives_0.eContents().get(2);
private final RuleCall cGoIntoParserRuleCall_0_3 = (RuleCall)cAlternatives_0.eContents().get(3);
private final RuleCall cGoOutParserRuleCall_0_4 = (RuleCall)cAlternatives_0.eContents().get(4);
- private final RuleCall cImportParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5);
+ private final RuleCall cIncludeParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5);
private final Keyword cSemicolonKeyword_1 = (Keyword)cGroup.eContents().get(1);
//Command:
- // (Insert | Connect | Set | GoInto | GoOut | Import) ";";
+ // (Insert | Connect | Set | GoInto | GoOut | Include) ";";
@Override public ParserRule getRule() { return rule; }
- //(Insert | Connect | Set | GoInto | GoOut | Import) ";"
+ //(Insert | Connect | Set | GoInto | GoOut | Include) ";"
public Group getGroup() { return cGroup; }
- //(Insert | Connect | Set | GoInto | GoOut | Import)
+ //(Insert | Connect | Set | GoInto | GoOut | Include)
public Alternatives getAlternatives_0() { return cAlternatives_0; }
//Insert
@@ -97,29 +100,29 @@ public class CommandElements extends AbstractParserRuleElementFinder {
//GoOut
public RuleCall getGoOutParserRuleCall_0_4() { return cGoOutParserRuleCall_0_4; }
- //Import
- public RuleCall getImportParserRuleCall_0_5() { return cImportParserRuleCall_0_5; }
+ //Include
+ public RuleCall getIncludeParserRuleCall_0_5() { return cIncludeParserRuleCall_0_5; }
//";"
public Keyword getSemicolonKeyword_1() { return cSemicolonKeyword_1; }
}
- public class ImportElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Import");
+ public class IncludeElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Include");
private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Keyword cIncludeKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cFilenameAssignment_1 = (Assignment)cGroup.eContents().get(1);
private final RuleCall cFilenameSTRINGTerminalRuleCall_1_0 = (RuleCall)cFilenameAssignment_1.eContents().get(0);
private final Keyword cSemicolonKeyword_2 = (Keyword)cGroup.eContents().get(2);
- //Import:
- // "import" filename=STRING ";";
+ //Include:
+ // "include" filename=STRING ";";
@Override public ParserRule getRule() { return rule; }
- //"import" filename=STRING ";"
+ //"include" filename=STRING ";"
public Group getGroup() { return cGroup; }
- //"import"
- public Keyword getImportKeyword_0() { return cImportKeyword_0; }
+ //"include"
+ public Keyword getIncludeKeyword_0() { return cIncludeKeyword_0; }
//filename=STRING
public Assignment getFilenameAssignment_1() { return cFilenameAssignment_1; }
@@ -162,7 +165,7 @@ public class InsertElements extends AbstractParserRuleElementFinder {
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cInsertKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cCategoryAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cCategoryCategoryParserRuleCall_1_0 = (RuleCall)cCategoryAssignment_1.eContents().get(0);
+ private final RuleCall cCategoryCategoryEnumRuleCall_1_0 = (RuleCall)cCategoryAssignment_1.eContents().get(0);
private final Assignment cObjAssignment_2 = (Assignment)cGroup.eContents().get(2);
private final RuleCall cObjNamedObjParserRuleCall_2_0 = (RuleCall)cObjAssignment_2.eContents().get(0);
private final Keyword cAsKeyword_3 = (Keyword)cGroup.eContents().get(3);
@@ -192,7 +195,7 @@ public class InsertElements extends AbstractParserRuleElementFinder {
public Assignment getCategoryAssignment_1() { return cCategoryAssignment_1; }
//Category
- public RuleCall getCategoryCategoryParserRuleCall_1_0() { return cCategoryCategoryParserRuleCall_1_0; }
+ public RuleCall getCategoryCategoryEnumRuleCall_1_0() { return cCategoryCategoryEnumRuleCall_1_0; }
//obj=NamedObj
public Assignment getObjAssignment_2() { return cObjAssignment_2; }
@@ -377,33 +380,6 @@ public class GoOutElements extends AbstractParserRuleElementFinder {
//"out"
public Keyword getDirectionOutKeyword_1_0() { return cDirectionOutKeyword_1_0; }
}
- public class CategoryElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Category");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final Keyword cActorKeyword_0 = (Keyword)cAlternatives.eContents().get(0);
- private final Keyword cParameterKeyword_1 = (Keyword)cAlternatives.eContents().get(1);
- private final Keyword cPortKeyword_2 = (Keyword)cAlternatives.eContents().get(2);
- private final Keyword cDirectorKeyword_3 = (Keyword)cAlternatives.eContents().get(3);
-
- //Category:
- // "actor" | "parameter" | "port" | "director";
- @Override public ParserRule getRule() { return rule; }
-
- //"actor" | "parameter" | "port" | "director"
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //"actor"
- public Keyword getActorKeyword_0() { return cActorKeyword_0; }
-
- //"parameter"
- public Keyword getParameterKeyword_1() { return cParameterKeyword_1; }
-
- //"port"
- public Keyword getPortKeyword_2() { return cPortKeyword_2; }
-
- //"director"
- public Keyword getDirectorKeyword_3() { return cDirectorKeyword_3; }
- }
public class ParameterElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Parameter");
private final Group cGroup = (Group)rule.eContents().get(1);
@@ -490,17 +466,60 @@ public class ConnectionPortElements extends AbstractParserRuleElementFinder {
public RuleCall getPortNamedObjParserRuleCall_2_0() { return cPortNamedObjParserRuleCall_2_0; }
}
+ public class CategoryElements extends AbstractEnumRuleElementFinder {
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Category");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final EnumLiteralDeclaration cActorEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
+ private final Keyword cActorActorKeyword_0_0 = (Keyword)cActorEnumLiteralDeclaration_0.eContents().get(0);
+ private final EnumLiteralDeclaration cParameterEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1);
+ private final Keyword cParameterParameterKeyword_1_0 = (Keyword)cParameterEnumLiteralDeclaration_1.eContents().get(0);
+ private final EnumLiteralDeclaration cPortEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2);
+ private final Keyword cPortPortKeyword_2_0 = (Keyword)cPortEnumLiteralDeclaration_2.eContents().get(0);
+ private final EnumLiteralDeclaration cDirectorEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3);
+ private final Keyword cDirectorDirectorKeyword_3_0 = (Keyword)cDirectorEnumLiteralDeclaration_3.eContents().get(0);
+
+ //enum Category:
+ // actor | parameter | port | director;
+ public EnumRule getRule() { return rule; }
+
+ //actor | parameter | port | director
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //actor
+ public EnumLiteralDeclaration getActorEnumLiteralDeclaration_0() { return cActorEnumLiteralDeclaration_0; }
+
+ //"actor"
+ public Keyword getActorActorKeyword_0_0() { return cActorActorKeyword_0_0; }
+
+ //parameter
+ public EnumLiteralDeclaration getParameterEnumLiteralDeclaration_1() { return cParameterEnumLiteralDeclaration_1; }
+
+ //"parameter"
+ public Keyword getParameterParameterKeyword_1_0() { return cParameterParameterKeyword_1_0; }
+
+ //port
+ public EnumLiteralDeclaration getPortEnumLiteralDeclaration_2() { return cPortEnumLiteralDeclaration_2; }
+
+ //"port"
+ public Keyword getPortPortKeyword_2_0() { return cPortPortKeyword_2_0; }
+
+ //director
+ public EnumLiteralDeclaration getDirectorEnumLiteralDeclaration_3() { return cDirectorEnumLiteralDeclaration_3; }
+
+ //"director"
+ public Keyword getDirectorDirectorKeyword_3_0() { return cDirectorDirectorKeyword_3_0; }
+ }
private final TriquetrumScriptElements pTriquetrumScript;
private final CommandElements pCommand;
- private final ImportElements pImport;
+ private final IncludeElements pInclude;
private final LibraryElements pLibrary;
private final InsertElements pInsert;
private final SetElements pSet;
private final ConnectElements pConnect;
private final GoIntoElements pGoInto;
private final GoOutElements pGoOut;
- private final CategoryElements pCategory;
+ private final CategoryElements eCategory;
private final ParameterElements pParameter;
private final NamedObjElements pNamedObj;
private final ConnectionPortElements pConnectionPort;
@@ -516,14 +535,14 @@ public TqclGrammarAccess(GrammarProvider grammarProvider,
this.gaXtype = gaXtype;
this.pTriquetrumScript = new TriquetrumScriptElements();
this.pCommand = new CommandElements();
- this.pImport = new ImportElements();
+ this.pInclude = new IncludeElements();
this.pLibrary = new LibraryElements();
this.pInsert = new InsertElements();
this.pSet = new SetElements();
this.pConnect = new ConnectElements();
this.pGoInto = new GoIntoElements();
this.pGoOut = new GoOutElements();
- this.pCategory = new CategoryElements();
+ this.eCategory = new CategoryElements();
this.pParameter = new ParameterElements();
this.pNamedObj = new NamedObjElements();
this.pConnectionPort = new ConnectionPortElements();
@@ -568,7 +587,7 @@ public ParserRule getTriquetrumScriptRule() {
}
//Command:
- // (Insert | Connect | Set | GoInto | GoOut | Import) ";";
+ // (Insert | Connect | Set | GoInto | GoOut | Include) ";";
public CommandElements getCommandAccess() {
return pCommand;
}
@@ -577,14 +596,14 @@ public ParserRule getCommandRule() {
return getCommandAccess().getRule();
}
- //Import:
- // "import" filename=STRING ";";
- public ImportElements getImportAccess() {
- return pImport;
+ //Include:
+ // "include" filename=STRING ";";
+ public IncludeElements getIncludeAccess() {
+ return pInclude;
}
- public ParserRule getImportRule() {
- return getImportAccess().getRule();
+ public ParserRule getIncludeRule() {
+ return getIncludeAccess().getRule();
}
//Library:
@@ -648,13 +667,13 @@ public ParserRule getGoOutRule() {
return getGoOutAccess().getRule();
}
- //Category:
- // "actor" | "parameter" | "port" | "director";
+ //enum Category:
+ // actor | parameter | port | director;
public CategoryElements getCategoryAccess() {
- return pCategory;
+ return eCategory;
}
- public ParserRule getCategoryRule() {
+ public EnumRule getCategoryRule() {
return getCategoryAccess().getRule();
}
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Category.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Category.java
new file mode 100644
index 00000000..c2da3934
--- /dev/null
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Category.java
@@ -0,0 +1,295 @@
+/**
+ * ******************************************************************************
+ * Copyright (c) 2016 Totaro Rodolfo
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * generated by Xtext 2.10.0
+ * *
+ * Contributors:
+ * Rodolfo Totaro - initial API and implementation and/or initial documentation
+ * ******************************************************************************
+ */
+package org.eclipse.triquetrum.commands.tqcl;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ *
+ * A representation of the literals of the enumeration 'Category',
+ * and utility methods for working with them.
+ *
+ * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getCategory()
+ * @model
+ * @generated
+ */
+public enum Category implements Enumerator
+{
+ /**
+ * The 'Actor' literal object.
+ *
+ *
+ * @see #ACTOR_VALUE
+ * @generated
+ * @ordered
+ */
+ ACTOR(0, "actor", "actor"),
+
+ /**
+ * The 'Parameter' literal object.
+ *
+ *
+ * @see #PARAMETER_VALUE
+ * @generated
+ * @ordered
+ */
+ PARAMETER(1, "parameter", "parameter"),
+
+ /**
+ * The 'Port' literal object.
+ *
+ *
+ * @see #PORT_VALUE
+ * @generated
+ * @ordered
+ */
+ PORT(2, "port", "port"),
+
+ /**
+ * The 'Director' literal object.
+ *
+ *
+ * @see #DIRECTOR_VALUE
+ * @generated
+ * @ordered
+ */
+ DIRECTOR(3, "director", "director");
+
+ /**
+ * The 'Actor' literal value.
+ *
+ *
+ * If the meaning of 'Actor' literal object isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @see #ACTOR
+ * @model name="actor"
+ * @generated
+ * @ordered
+ */
+ public static final int ACTOR_VALUE = 0;
+
+ /**
+ * The 'Parameter' literal value.
+ *
+ *
+ * If the meaning of 'Parameter' literal object isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @see #PARAMETER
+ * @model name="parameter"
+ * @generated
+ * @ordered
+ */
+ public static final int PARAMETER_VALUE = 1;
+
+ /**
+ * The 'Port' literal value.
+ *
+ *
+ * If the meaning of 'Port' literal object isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @see #PORT
+ * @model name="port"
+ * @generated
+ * @ordered
+ */
+ public static final int PORT_VALUE = 2;
+
+ /**
+ * The 'Director' literal value.
+ *
+ *
+ * If the meaning of 'Director' literal object isn't clear,
+ * there really should be more of a description here...
+ *
+ *
+ * @see #DIRECTOR
+ * @model name="director"
+ * @generated
+ * @ordered
+ */
+ public static final int DIRECTOR_VALUE = 3;
+
+ /**
+ * An array of all the 'Category' enumerators.
+ *
+ *
+ * @generated
+ */
+ private static final Category[] VALUES_ARRAY =
+ new Category[]
+ {
+ ACTOR,
+ PARAMETER,
+ PORT,
+ DIRECTOR,
+ };
+
+ /**
+ * A public read-only list of all the 'Category' enumerators.
+ *
+ *
+ * @generated
+ */
+ public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the 'Category' literal with the specified literal value.
+ *
+ *
+ * @param literal the literal.
+ * @return the matching enumerator or null
.
+ * @generated
+ */
+ public static Category get(String literal)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ Category result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the 'Category' literal with the specified name.
+ *
+ *
+ * @param name the name.
+ * @return the matching enumerator or null
.
+ * @generated
+ */
+ public static Category getByName(String name)
+ {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i)
+ {
+ Category result = VALUES_ARRAY[i];
+ if (result.getName().equals(name))
+ {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the 'Category' literal with the specified integer value.
+ *
+ *
+ * @param value the integer value.
+ * @return the matching enumerator or null
.
+ * @generated
+ */
+ public static Category get(int value)
+ {
+ switch (value)
+ {
+ case ACTOR_VALUE: return ACTOR;
+ case PARAMETER_VALUE: return PARAMETER;
+ case PORT_VALUE: return PORT;
+ case DIRECTOR_VALUE: return DIRECTOR;
+ }
+ return null;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private final int value;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private final String name;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ *
+ *
+ * @generated
+ */
+ private Category(int value, String name, String literal)
+ {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getValue()
+ {
+ return value;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getLiteral()
+ {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ return literal;
+ }
+
+} //Category
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Import.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Include.java
similarity index 77%
rename from org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Import.java
rename to org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Include.java
index 72c35fb9..2efeb8b4 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Import.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Include.java
@@ -17,21 +17,21 @@
/**
*
- * A representation of the model object 'Import'.
+ * A representation of the model object 'Include'.
*
*
*
* The following features are supported:
*
*
- * - {@link org.eclipse.triquetrum.commands.tqcl.Import#getFilename Filename}
+ * - {@link org.eclipse.triquetrum.commands.tqcl.Include#getFilename Filename}
*
*
- * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getImport()
+ * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getInclude()
* @model
* @generated
*/
-public interface Import extends Command
+public interface Include extends Command
{
/**
* Returns the value of the 'Filename' attribute.
@@ -43,14 +43,14 @@ public interface Import extends Command
*
* @return the value of the 'Filename' attribute.
* @see #setFilename(String)
- * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getImport_Filename()
+ * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getInclude_Filename()
* @model
* @generated
*/
String getFilename();
/**
- * Sets the value of the '{@link org.eclipse.triquetrum.commands.tqcl.Import#getFilename Filename}' attribute.
+ * Sets the value of the '{@link org.eclipse.triquetrum.commands.tqcl.Include#getFilename Filename}' attribute.
*
*
* @param value the new value of the 'Filename' attribute.
@@ -59,4 +59,4 @@ public interface Import extends Command
*/
void setFilename(String value);
-} // Import
+} // Include
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Insert.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Insert.java
index 7a76e633..9f957253 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Insert.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/Insert.java
@@ -39,6 +39,7 @@ public interface Insert extends Command
{
/**
* Returns the value of the 'Category' attribute.
+ * The literals are from the enumeration {@link org.eclipse.triquetrum.commands.tqcl.Category}.
*
*
* If the meaning of the 'Category' attribute isn't clear,
@@ -46,22 +47,24 @@ public interface Insert extends Command
*
*
* @return the value of the 'Category' attribute.
- * @see #setCategory(String)
+ * @see org.eclipse.triquetrum.commands.tqcl.Category
+ * @see #setCategory(Category)
* @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getInsert_Category()
* @model
* @generated
*/
- String getCategory();
+ Category getCategory();
/**
* Sets the value of the '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getCategory Category}' attribute.
*
*
* @param value the new value of the 'Category' attribute.
+ * @see org.eclipse.triquetrum.commands.tqcl.Category
* @see #getCategory()
* @generated
*/
- void setCategory(String value);
+ void setCategory(Category value);
/**
* Returns the value of the 'Obj' attribute.
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclFactory.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclFactory.java
index 93a2d80a..0bb368d9 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclFactory.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclFactory.java
@@ -53,13 +53,13 @@ public interface TqclFactory extends EFactory
Command createCommand();
/**
- * Returns a new object of class 'Import'.
+ * Returns a new object of class 'Include'.
*
*
- * @return a new object of class 'Import'.
+ * @return a new object of class 'Include'.
* @generated
*/
- Import createImport();
+ Include createInclude();
/**
* Returns a new object of class 'Library'.
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclPackage.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclPackage.java
index ff98efe2..f6ac6064 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclPackage.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/TqclPackage.java
@@ -16,6 +16,7 @@
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
@@ -125,14 +126,14 @@ public interface TqclPackage extends EPackage
int COMMAND_FEATURE_COUNT = 0;
/**
- * The meta object id for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.ImportImpl Import}' class.
+ * The meta object id for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.IncludeImpl Include}' class.
*
*
- * @see org.eclipse.triquetrum.commands.tqcl.impl.ImportImpl
- * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getImport()
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.IncludeImpl
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getInclude()
* @generated
*/
- int IMPORT = 2;
+ int INCLUDE = 2;
/**
* The feature id for the 'Filename' attribute.
@@ -141,16 +142,16 @@ public interface TqclPackage extends EPackage
* @generated
* @ordered
*/
- int IMPORT__FILENAME = COMMAND_FEATURE_COUNT + 0;
+ int INCLUDE__FILENAME = COMMAND_FEATURE_COUNT + 0;
/**
- * The number of structural features of the 'Import' class.
+ * The number of structural features of the 'Include' class.
*
*
* @generated
* @ordered
*/
- int IMPORT_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 1;
+ int INCLUDE_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.LibraryImpl Library}' class.
@@ -411,6 +412,16 @@ public interface TqclPackage extends EPackage
*/
int CONNECTION_PORT_FEATURE_COUNT = 2;
+ /**
+ * The meta object id for the '{@link org.eclipse.triquetrum.commands.tqcl.Category Category}' enum.
+ *
+ *
+ * @see org.eclipse.triquetrum.commands.tqcl.Category
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getCategory()
+ * @generated
+ */
+ int CATEGORY = 10;
+
/**
* Returns the meta object for class '{@link org.eclipse.triquetrum.commands.tqcl.TriquetrumScript Triquetrum Script}'.
@@ -455,25 +466,25 @@ public interface TqclPackage extends EPackage
EClass getCommand();
/**
- * Returns the meta object for class '{@link org.eclipse.triquetrum.commands.tqcl.Import Import}'.
+ * Returns the meta object for class '{@link org.eclipse.triquetrum.commands.tqcl.Include Include}'.
*
*
- * @return the meta object for class 'Import'.
- * @see org.eclipse.triquetrum.commands.tqcl.Import
+ * @return the meta object for class 'Include'.
+ * @see org.eclipse.triquetrum.commands.tqcl.Include
* @generated
*/
- EClass getImport();
+ EClass getInclude();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.triquetrum.commands.tqcl.Import#getFilename Filename}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.triquetrum.commands.tqcl.Include#getFilename Filename}'.
*
*
* @return the meta object for the attribute 'Filename'.
- * @see org.eclipse.triquetrum.commands.tqcl.Import#getFilename()
- * @see #getImport()
+ * @see org.eclipse.triquetrum.commands.tqcl.Include#getFilename()
+ * @see #getInclude()
* @generated
*/
- EAttribute getImport_Filename();
+ EAttribute getInclude_Filename();
/**
* Returns the meta object for class '{@link org.eclipse.triquetrum.commands.tqcl.Library Library}'.
@@ -699,6 +710,16 @@ public interface TqclPackage extends EPackage
*/
EAttribute getConnectionPort_Port();
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.triquetrum.commands.tqcl.Category Category}'.
+ *
+ *
+ * @return the meta object for enum 'Category'.
+ * @see org.eclipse.triquetrum.commands.tqcl.Category
+ * @generated
+ */
+ EEnum getCategory();
+
/**
* Returns the factory that creates the instances of the model.
*
@@ -759,14 +780,14 @@ interface Literals
EClass COMMAND = eINSTANCE.getCommand();
/**
- * The meta object literal for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.ImportImpl Import}' class.
+ * The meta object literal for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.IncludeImpl Include}' class.
*
*
- * @see org.eclipse.triquetrum.commands.tqcl.impl.ImportImpl
- * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getImport()
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.IncludeImpl
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getInclude()
* @generated
*/
- EClass IMPORT = eINSTANCE.getImport();
+ EClass INCLUDE = eINSTANCE.getInclude();
/**
* The meta object literal for the 'Filename' attribute feature.
@@ -774,7 +795,7 @@ interface Literals
*
* @generated
*/
- EAttribute IMPORT__FILENAME = eINSTANCE.getImport_Filename();
+ EAttribute INCLUDE__FILENAME = eINSTANCE.getInclude_Filename();
/**
* The meta object literal for the '{@link org.eclipse.triquetrum.commands.tqcl.impl.LibraryImpl Library}' class.
@@ -958,6 +979,16 @@ interface Literals
*/
EAttribute CONNECTION_PORT__PORT = eINSTANCE.getConnectionPort_Port();
+ /**
+ * The meta object literal for the '{@link org.eclipse.triquetrum.commands.tqcl.Category Category}' enum.
+ *
+ *
+ * @see org.eclipse.triquetrum.commands.tqcl.Category
+ * @see org.eclipse.triquetrum.commands.tqcl.impl.TqclPackageImpl#getCategory()
+ * @generated
+ */
+ EEnum CATEGORY = eINSTANCE.getCategory();
+
}
} //TqclPackage
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/ImportImpl.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/IncludeImpl.java
similarity index 86%
rename from org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/ImportImpl.java
rename to org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/IncludeImpl.java
index 09073a57..e6b4d516 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/ImportImpl.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/IncludeImpl.java
@@ -20,23 +20,23 @@
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.triquetrum.commands.tqcl.Import;
+import org.eclipse.triquetrum.commands.tqcl.Include;
import org.eclipse.triquetrum.commands.tqcl.TqclPackage;
/**
*
- * An implementation of the model object 'Import'.
+ * An implementation of the model object 'Include'.
*
*
* The following features are implemented:
*
*
- * - {@link org.eclipse.triquetrum.commands.tqcl.impl.ImportImpl#getFilename Filename}
+ * - {@link org.eclipse.triquetrum.commands.tqcl.impl.IncludeImpl#getFilename Filename}
*
*
* @generated
*/
-public class ImportImpl extends CommandImpl implements Import
+public class IncludeImpl extends CommandImpl implements Include
{
/**
* The default value of the '{@link #getFilename() Filename}' attribute.
@@ -63,7 +63,7 @@ public class ImportImpl extends CommandImpl implements Import
*
* @generated
*/
- protected ImportImpl()
+ protected IncludeImpl()
{
super();
}
@@ -76,7 +76,7 @@ protected ImportImpl()
@Override
protected EClass eStaticClass()
{
- return TqclPackage.Literals.IMPORT;
+ return TqclPackage.Literals.INCLUDE;
}
/**
@@ -99,7 +99,7 @@ public void setFilename(String newFilename)
String oldFilename = filename;
filename = newFilename;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TqclPackage.IMPORT__FILENAME, oldFilename, filename));
+ eNotify(new ENotificationImpl(this, Notification.SET, TqclPackage.INCLUDE__FILENAME, oldFilename, filename));
}
/**
@@ -112,7 +112,7 @@ public Object eGet(int featureID, boolean resolve, boolean coreType)
{
switch (featureID)
{
- case TqclPackage.IMPORT__FILENAME:
+ case TqclPackage.INCLUDE__FILENAME:
return getFilename();
}
return super.eGet(featureID, resolve, coreType);
@@ -128,7 +128,7 @@ public void eSet(int featureID, Object newValue)
{
switch (featureID)
{
- case TqclPackage.IMPORT__FILENAME:
+ case TqclPackage.INCLUDE__FILENAME:
setFilename((String)newValue);
return;
}
@@ -145,7 +145,7 @@ public void eUnset(int featureID)
{
switch (featureID)
{
- case TqclPackage.IMPORT__FILENAME:
+ case TqclPackage.INCLUDE__FILENAME:
setFilename(FILENAME_EDEFAULT);
return;
}
@@ -162,7 +162,7 @@ public boolean eIsSet(int featureID)
{
switch (featureID)
{
- case TqclPackage.IMPORT__FILENAME:
+ case TqclPackage.INCLUDE__FILENAME:
return FILENAME_EDEFAULT == null ? filename != null : !FILENAME_EDEFAULT.equals(filename);
}
return super.eIsSet(featureID);
@@ -185,4 +185,4 @@ public String toString()
return result.toString();
}
-} //ImportImpl
+} //IncludeImpl
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/InsertImpl.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/InsertImpl.java
index c3ba04d2..cd020b90 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/InsertImpl.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/InsertImpl.java
@@ -29,6 +29,7 @@
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.triquetrum.commands.tqcl.Category;
import org.eclipse.triquetrum.commands.tqcl.Insert;
import org.eclipse.triquetrum.commands.tqcl.Parameter;
import org.eclipse.triquetrum.commands.tqcl.TqclPackage;
@@ -59,7 +60,7 @@ public class InsertImpl extends CommandImpl implements Insert
* @generated
* @ordered
*/
- protected static final String CATEGORY_EDEFAULT = null;
+ protected static final Category CATEGORY_EDEFAULT = Category.ACTOR;
/**
* The cached value of the '{@link #getCategory() Category}' attribute.
@@ -69,7 +70,7 @@ public class InsertImpl extends CommandImpl implements Insert
* @generated
* @ordered
*/
- protected String category = CATEGORY_EDEFAULT;
+ protected Category category = CATEGORY_EDEFAULT;
/**
* The default value of the '{@link #getObj() Obj}' attribute.
@@ -147,7 +148,7 @@ protected EClass eStaticClass()
*
* @generated
*/
- public String getCategory()
+ public Category getCategory()
{
return category;
}
@@ -157,10 +158,10 @@ public String getCategory()
*
* @generated
*/
- public void setCategory(String newCategory)
+ public void setCategory(Category newCategory)
{
- String oldCategory = category;
- category = newCategory;
+ Category oldCategory = category;
+ category = newCategory == null ? CATEGORY_EDEFAULT : newCategory;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TqclPackage.INSERT__CATEGORY, oldCategory, category));
}
@@ -275,7 +276,7 @@ public void eSet(int featureID, Object newValue)
switch (featureID)
{
case TqclPackage.INSERT__CATEGORY:
- setCategory((String)newValue);
+ setCategory((Category)newValue);
return;
case TqclPackage.INSERT__OBJ:
setObj((String)newValue);
@@ -328,7 +329,7 @@ public boolean eIsSet(int featureID)
switch (featureID)
{
case TqclPackage.INSERT__CATEGORY:
- return CATEGORY_EDEFAULT == null ? category != null : !CATEGORY_EDEFAULT.equals(category);
+ return category != CATEGORY_EDEFAULT;
case TqclPackage.INSERT__OBJ:
return OBJ_EDEFAULT == null ? obj != null : !OBJ_EDEFAULT.equals(obj);
case TqclPackage.INSERT__NAME:
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclFactoryImpl.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclFactoryImpl.java
index 82ebd0bf..7892b723 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclFactoryImpl.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclFactoryImpl.java
@@ -15,6 +15,7 @@
package org.eclipse.triquetrum.commands.tqcl.impl;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
@@ -78,7 +79,7 @@ public EObject create(EClass eClass)
{
case TqclPackage.TRIQUETRUM_SCRIPT: return createTriquetrumScript();
case TqclPackage.COMMAND: return createCommand();
- case TqclPackage.IMPORT: return createImport();
+ case TqclPackage.INCLUDE: return createInclude();
case TqclPackage.LIBRARY: return createLibrary();
case TqclPackage.INSERT: return createInsert();
case TqclPackage.SET: return createSet();
@@ -91,6 +92,40 @@ public EObject create(EClass eClass)
}
}
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case TqclPackage.CATEGORY:
+ return createCategoryFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue)
+ {
+ switch (eDataType.getClassifierID())
+ {
+ case TqclPackage.CATEGORY:
+ return convertCategoryToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
/**
*
*
@@ -118,10 +153,10 @@ public Command createCommand()
*
* @generated
*/
- public Import createImport()
+ public Include createInclude()
{
- ImportImpl import_ = new ImportImpl();
- return import_;
+ IncludeImpl include = new IncludeImpl();
+ return include;
}
/**
@@ -201,6 +236,28 @@ public ConnectionPort createConnectionPort()
return connectionPort;
}
+ /**
+ *
+ *
+ * @generated
+ */
+ public Category createCategoryFromString(EDataType eDataType, String initialValue)
+ {
+ Category result = Category.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String convertCategoryToString(EDataType eDataType, Object instanceValue)
+ {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
/**
*
*
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclPackageImpl.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclPackageImpl.java
index f631d2e1..e907d4dc 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclPackageImpl.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/impl/TqclPackageImpl.java
@@ -16,16 +16,18 @@
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
+import org.eclipse.triquetrum.commands.tqcl.Category;
import org.eclipse.triquetrum.commands.tqcl.Command;
import org.eclipse.triquetrum.commands.tqcl.Connect;
import org.eclipse.triquetrum.commands.tqcl.ConnectionPort;
import org.eclipse.triquetrum.commands.tqcl.Go;
-import org.eclipse.triquetrum.commands.tqcl.Import;
+import org.eclipse.triquetrum.commands.tqcl.Include;
import org.eclipse.triquetrum.commands.tqcl.Insert;
import org.eclipse.triquetrum.commands.tqcl.Library;
import org.eclipse.triquetrum.commands.tqcl.Parameter;
@@ -61,7 +63,7 @@ public class TqclPackageImpl extends EPackageImpl implements TqclPackage
*
* @generated
*/
- private EClass importEClass = null;
+ private EClass includeEClass = null;
/**
*
@@ -112,6 +114,13 @@ public class TqclPackageImpl extends EPackageImpl implements TqclPackage
*/
private EClass connectionPortEClass = null;
+ /**
+ *
+ *
+ * @generated
+ */
+ private EEnum categoryEEnum = null;
+
/**
* Creates an instance of the model Package, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
@@ -220,9 +229,9 @@ public EClass getCommand()
*
* @generated
*/
- public EClass getImport()
+ public EClass getInclude()
{
- return importEClass;
+ return includeEClass;
}
/**
@@ -230,9 +239,9 @@ public EClass getImport()
*
* @generated
*/
- public EAttribute getImport_Filename()
+ public EAttribute getInclude_Filename()
{
- return (EAttribute)importEClass.getEStructuralFeatures().get(0);
+ return (EAttribute)includeEClass.getEStructuralFeatures().get(0);
}
/**
@@ -445,6 +454,16 @@ public EAttribute getConnectionPort_Port()
return (EAttribute)connectionPortEClass.getEStructuralFeatures().get(1);
}
+ /**
+ *
+ *
+ * @generated
+ */
+ public EEnum getCategory()
+ {
+ return categoryEEnum;
+ }
+
/**
*
*
@@ -481,8 +500,8 @@ public void createPackageContents()
commandEClass = createEClass(COMMAND);
- importEClass = createEClass(IMPORT);
- createEAttribute(importEClass, IMPORT__FILENAME);
+ includeEClass = createEClass(INCLUDE);
+ createEAttribute(includeEClass, INCLUDE__FILENAME);
libraryEClass = createEClass(LIBRARY);
createEAttribute(libraryEClass, LIBRARY__NAME);
@@ -511,6 +530,9 @@ public void createPackageContents()
connectionPortEClass = createEClass(CONNECTION_PORT);
createEReference(connectionPortEClass, CONNECTION_PORT__ACTOR);
createEAttribute(connectionPortEClass, CONNECTION_PORT__PORT);
+
+ // Create enums
+ categoryEEnum = createEEnum(CATEGORY);
}
/**
@@ -542,7 +564,7 @@ public void initializePackageContents()
// Set bounds for type parameters
// Add supertypes to classes
- importEClass.getESuperTypes().add(this.getCommand());
+ includeEClass.getESuperTypes().add(this.getCommand());
insertEClass.getESuperTypes().add(this.getCommand());
setEClass.getESuperTypes().add(this.getCommand());
connectEClass.getESuperTypes().add(this.getCommand());
@@ -555,14 +577,14 @@ public void initializePackageContents()
initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getImport_Filename(), ecorePackage.getEString(), "filename", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(includeEClass, Include.class, "Include", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getInclude_Filename(), ecorePackage.getEString(), "filename", null, 0, 1, Include.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(libraryEClass, Library.class, "Library", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getLibrary_Name(), ecorePackage.getEString(), "name", null, 0, 1, Library.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(insertEClass, Insert.class, "Insert", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInsert_Category(), ecorePackage.getEString(), "category", null, 0, 1, Insert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getInsert_Category(), this.getCategory(), "category", null, 0, 1, Insert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getInsert_Obj(), ecorePackage.getEString(), "obj", null, 0, 1, Insert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getInsert_Name(), ecorePackage.getEString(), "name", null, 0, 1, Insert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getInsert_Parameters(), this.getParameter(), null, "parameters", null, 0, -1, Insert.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -586,6 +608,13 @@ public void initializePackageContents()
initEReference(getConnectionPort_Actor(), this.getInsert(), null, "actor", null, 0, 1, ConnectionPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getConnectionPort_Port(), ecorePackage.getEString(), "port", null, 0, 1, ConnectionPort.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ // Initialize enums and add enum literals
+ initEEnum(categoryEEnum, Category.class, "Category");
+ addEEnumLiteral(categoryEEnum, Category.ACTOR);
+ addEEnumLiteral(categoryEEnum, Category.PARAMETER);
+ addEEnumLiteral(categoryEEnum, Category.PORT);
+ addEEnumLiteral(categoryEEnum, Category.DIRECTOR);
+
// Create resource
createResource(eNS_URI);
}
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclAdapterFactory.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclAdapterFactory.java
index 5cfc279e..36bd30e4 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclAdapterFactory.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclAdapterFactory.java
@@ -97,9 +97,9 @@ public Adapter caseCommand(Command object)
return createCommandAdapter();
}
@Override
- public Adapter caseImport(Import object)
+ public Adapter caseInclude(Include object)
{
- return createImportAdapter();
+ return createIncludeAdapter();
}
@Override
public Adapter caseLibrary(Library object)
@@ -189,16 +189,16 @@ public Adapter createCommandAdapter()
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.triquetrum.commands.tqcl.Import Import}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.triquetrum.commands.tqcl.Include Include}'.
*
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
*
* @return the new adapter.
- * @see org.eclipse.triquetrum.commands.tqcl.Import
+ * @see org.eclipse.triquetrum.commands.tqcl.Include
* @generated
*/
- public Adapter createImportAdapter()
+ public Adapter createIncludeAdapter()
{
return null;
}
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclSwitch.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclSwitch.java
index b8caf3d5..6295b463 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclSwitch.java
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/tqcl/util/TqclSwitch.java
@@ -98,11 +98,11 @@ protected T doSwitch(int classifierID, EObject theEObject)
if (result == null) result = defaultCase(theEObject);
return result;
}
- case TqclPackage.IMPORT:
+ case TqclPackage.INCLUDE:
{
- Import import_ = (Import)theEObject;
- T result = caseImport(import_);
- if (result == null) result = caseCommand(import_);
+ Include include = (Include)theEObject;
+ T result = caseInclude(include);
+ if (result == null) result = caseCommand(include);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -196,17 +196,17 @@ public T caseCommand(Command object)
}
/**
- * Returns the result of interpreting the object as an instance of 'Import'.
+ * Returns the result of interpreting the object as an instance of 'Include'.
*
* This implementation returns null;
* returning a non-null result will terminate the switch.
*
* @param object the target of the switch.
- * @return the result of interpreting the object as an instance of 'Import'.
+ * @return the result of interpreting the object as an instance of 'Include'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseImport(Import object)
+ public T caseInclude(Include object)
{
return null;
}
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/Tqcl.xtext b/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/Tqcl.xtext
index cbdf9c3d..df34a3bb 100644
--- a/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/Tqcl.xtext
+++ b/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/Tqcl.xtext
@@ -9,11 +9,11 @@ TriquetrumScript:
Command returns Command:
- (Insert|Connect|Set|GoInto|GoOut|Import) ";"
+ (Insert|Connect|Set|GoInto|GoOut|Include) ";"
;
-Import:
- "import" filename=STRING ";"
+Include:
+ "include" filename=STRING ";"
;
Library:
@@ -35,13 +35,14 @@ GoInto returns Go:
"go" direction="into" obj = NamedObj
;
+
GoOut returns Go:
"go" direction="out"
;
-Category:
- "actor" | "parameter" | "port" | "director";
+enum Category:
+ actor | parameter | port | director;
Parameter:
id=NamedObj "=" value=STRING;
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclRuntimeModule.xtendbin b/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclRuntimeModule.xtendbin
index a3fcc384..675049c0 100644
Binary files a/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclRuntimeModule.xtendbin and b/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclRuntimeModule.xtendbin differ
diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclStandaloneSetup.xtendbin b/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclStandaloneSetup.xtendbin
index a69ced26..99d19003 100644
Binary files a/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclStandaloneSetup.xtendbin and b/org.eclipse.triquetrum.commands.xtext/src/main/xtend-gen/org/eclipse/triquetrum/commands/.TqclStandaloneSetup.xtendbin differ
diff --git a/org.eclipse.triquetrum.workflow.editor/META-INF/MANIFEST.MF b/org.eclipse.triquetrum.workflow.editor/META-INF/MANIFEST.MF
index 7aef5f4b..38083fea 100644
--- a/org.eclipse.triquetrum.workflow.editor/META-INF/MANIFEST.MF
+++ b/org.eclipse.triquetrum.workflow.editor/META-INF/MANIFEST.MF
@@ -10,7 +10,8 @@ Require-Bundle: org.eclipse.graphiti;bundle-version="0.12.0",
org.eclipse.core.commands;bundle-version="3.7.0",
org.eclipse.core.resources;bundle-version="3.10.0",
org.eclipse.core.runtime;bundle-version="3.11.0",
- org.eclipse.ui.views.properties.tabbed;bundle-version="3.6.100"
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.6.100",
+ org.eclipse.triquetrum.commands.api
Import-Package: org.apache.batik.bridge;version="1.6.0",
org.apache.batik.css.engine;version="1.6.0",
org.apache.batik.dom;version="1.6.1",
@@ -106,8 +107,8 @@ Import-Package: org.apache.batik.bridge;version="1.6.0",
ptolemy.vergil.icon;version="11.0.0",
ptolemy.vergil.kernel.attributes;version="11.0.0"
Bundle-Activator: org.eclipse.triquetrum.workflow.editor.TriqEditorPlugin
-Service-Component: OSGI-INF/colorRendererService.xml,
- OSGI-INF/attributesRendererService.xml
+Service-Component: OSGI-INF/colorRendererService.xml,OSGI-INF/attributesRendererService.xml,
+ OSGI-INF/librariesProvider.xml
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.triquetrum.workflow.editor,
org.eclipse.triquetrum.workflow.editor.features
diff --git a/org.eclipse.triquetrum.workflow.editor/OSGI-INF/librariesProvider.xml b/org.eclipse.triquetrum.workflow.editor/OSGI-INF/librariesProvider.xml
new file mode 100644
index 00000000..9c8c1e92
--- /dev/null
+++ b/org.eclipse.triquetrum.workflow.editor/OSGI-INF/librariesProvider.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/org.eclipse.triquetrum.workflow.editor/build.properties b/org.eclipse.triquetrum.workflow.editor/build.properties
index 42cb575b..9aac05c5 100644
--- a/org.eclipse.triquetrum.workflow.editor/build.properties
+++ b/org.eclipse.triquetrum.workflow.editor/build.properties
@@ -1,15 +1,3 @@
-###############################################################################
-# Copyright (c) 2015, 2016 iSencia Belgium NV.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Erwin De Ley - initial API and implementation and/or initial documentation
-###############################################################################
-source.. = src/main/java/,\
- src/main/resources/
output.. = target/classes/
bin.includes = META-INF/,\
.,\
@@ -23,7 +11,8 @@ bin.includes = META-INF/,\
about.properties,\
eclipse32.png,\
schema/,\
- build.properties
+ build.properties,\
+ OSGI-INF/librariesProvider.xml
src.includes = src/,\
schema/,\
plugin_customization.ini,\
@@ -37,3 +26,5 @@ src.includes = src/,\
about.html,\
OSGI-INF/,\
META-INF/
+source.. = src/main/java/,\
+ src/main/resources/
diff --git a/org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/TriquetrumLibraryProvider.java b/org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/TriquetrumLibraryProvider.java
new file mode 100644
index 00000000..8532bac8
--- /dev/null
+++ b/org.eclipse.triquetrum.workflow.editor/src/main/java/org/eclipse/triquetrum/workflow/editor/TriquetrumLibraryProvider.java
@@ -0,0 +1,62 @@
+package org.eclipse.triquetrum.workflow.editor;
+
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import org.eclipse.triquetrum.commands.api.services.TqCLLibraryException;
+import org.eclipse.triquetrum.commands.api.services.TqCLLibraryProvider;
+
+public class TriquetrumLibraryProvider implements TqCLLibraryProvider{
+
+ @Override
+ public List getActors(String library) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return Arrays.asList("a","b","c");
+ }
+
+ @Override
+ public List getDirectors(String library) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public List getParameterTypes(String library) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public List getPortTypes(String library) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public List getActorPorts(String actor) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public List getActorParameters(String actor) throws TqCLLibraryException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ @Override
+ public Set getLibraryNames() {
+ HashSet libraries = new HashSet();
+ libraries.add("Triquetrum");
+ return libraries;
+ }
+
+ @Override
+ public boolean hasElement(String element) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+}