From c4f76c2e722fbaf1d456631b6b4c95e3da808eb9 Mon Sep 17 00:00:00 2001 From: Rodolfo Totaro Date: Fri, 6 Jan 2017 13:42:31 +0100 Subject: [PATCH] #190 In progress TqCL - syntax (insert) and library services --- .../api/services/ModelBuilderService.java | 2 +- .../api/services/TqCLLibraryProvider.java | 2 + .../ide/contentassist/antlr/TqclParser.java | 69 +- .../antlr/internal/InternalTqcl.g | 3805 +---- .../antlr/internal/InternalTqcl.tokens | 81 +- .../antlr/internal/InternalTqclLexer.java | 1317 +- .../antlr/internal/InternalTqclParser.java | 13346 +++------------- .../commands/tests/.TqclParsingTest.xtendbin | Bin 2879 -> 2879 bytes .../commands/ui/AbstractTqclUiModule.java | 14 +- .../AbstractTqclProposalProvider.java | 23 +- .../contentassist/TqclProposalProvider.java | 25 +- .../commands/ui/.TqclUiModule.xtendbin | Bin 2067 -> 2042 bytes .../.TqclDescriptionLabelProvider.xtendbin | Bin 1873 -> 1873 bytes .../ui/labeling/.TqclLabelProvider.xtendbin | Bin 2316 -> 2316 bytes .../outline/.TqclOutlineTreeProvider.xtendbin | Bin 1734 -> 1734 bytes .../quickfix/.TqclQuickfixProvider.xtendbin | Bin 1703 -> 1703 bytes .../model/generated/Tqcl.ecore | 10 +- .../model/generated/Tqcl.genmodel | 10 +- .../commands/AbstractTqclRuntimeModule.java | 16 +- .../eclipse/triquetrum/commands/Tqcl.xtextbin | Bin 5926 -> 3681 bytes .../TqclStandaloneSetupGenerated.java | 4 +- .../parser/antlr/internal/InternalTqcl.g | 1159 +- .../parser/antlr/internal/InternalTqcl.tokens | 79 +- .../antlr/internal/InternalTqclLexer.java | 1307 +- .../antlr/internal/InternalTqclParser.java | 5003 ++---- .../scoping/AbstractTqclScopeProvider.java | 4 +- .../AbstractTqclSemanticSequencer.java | 110 +- .../AbstractTqclSyntacticSequencer.java | 50 +- .../commands/services/TqclGrammarAccess.java | 385 +- .../triquetrum/commands/tqcl/Category.java | 16 +- .../triquetrum/commands/tqcl/Insert.java | 22 +- .../triquetrum/commands/tqcl/TqclPackage.java | 16 +- .../commands/tqcl/impl/InsertImpl.java | 46 +- .../commands/tqcl/impl/TqclPackageImpl.java | 6 +- .../validation/AbstractTqclValidator.java | 8 +- .../eclipse/triquetrum/commands/Tqcl.xtext | 34 +- .../commands/generator/TqclGenerator.java | 180 +- .../commands/.TqclRuntimeModule.xtendbin | Bin 1649 -> 1626 bytes .../commands/.TqclStandaloneSetup.xtendbin | Bin 1900 -> 1900 bytes 39 files changed, 5293 insertions(+), 21856 deletions(-) diff --git a/org.eclipse.triquetrum.commands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ModelBuilderService.java b/org.eclipse.triquetrum.commands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ModelBuilderService.java index 6f9df409..ef08708e 100644 --- a/org.eclipse.triquetrum.commands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ModelBuilderService.java +++ b/org.eclipse.triquetrum.commands.api/src/main/java/org/eclipse/triquetrum/commands/api/services/ModelBuilderService.java @@ -22,6 +22,6 @@ public interface ModelBuilderService getActors(String library) throws TqCLLibraryException; +// public ActorDescriptor getActor(String library,String actorName) throws TqCLLibraryException; + public List getDirectors(String library) throws TqCLLibraryException; public List getParameterTypes(String library) throws TqCLLibraryException; diff --git a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/TqclParser.java b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/TqclParser.java index 87046615..e51bc34e 100644 --- a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/TqclParser.java +++ b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/TqclParser.java @@ -45,12 +45,8 @@ protected String getRuleName(AbstractElement element) { private static final long serialVersionUID = 1L; { put(grammarAccess.getCommandAccess().getAlternatives_0(), "rule__Command__Alternatives_0"); + put(grammarAccess.getParameter_idAccess().getAlternatives(), "rule__Parameter_id__Alternatives"); put(grammarAccess.getNamedObjAccess().getAlternatives(), "rule__NamedObj__Alternatives"); - put(grammarAccess.getJvmTypeReferenceAccess().getAlternatives(), "rule__JvmTypeReference__Alternatives"); - put(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives(), "rule__JvmArgumentTypeReference__Alternatives"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2(), "rule__JvmWildcardTypeReference__Alternatives_2"); - put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1(), "rule__XImportDeclaration__Alternatives_1"); - put(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3(), "rule__XImportDeclaration__Alternatives_1_0_3"); put(grammarAccess.getCategoryAccess().getAlternatives(), "rule__Category__Alternatives"); put(grammarAccess.getTriquetrumScriptAccess().getGroup(), "rule__TriquetrumScript__Group__0"); put(grammarAccess.getCommandAccess().getGroup(), "rule__Command__Group__0"); @@ -65,45 +61,15 @@ protected String getRuleName(AbstractElement element) { put(grammarAccess.getConnectAccess().getGroup_5(), "rule__Connect__Group_5__0"); put(grammarAccess.getGoIntoAccess().getGroup(), "rule__GoInto__Group__0"); put(grammarAccess.getGoOutAccess().getGroup(), "rule__GoOut__Group__0"); + put(grammarAccess.getGoTopAccess().getGroup(), "rule__GoTop__Group__0"); put(grammarAccess.getParameterAccess().getGroup(), "rule__Parameter__Group__0"); put(grammarAccess.getConnectionPortAccess().getGroup(), "rule__ConnectionPort__Group__0"); - put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0(), "rule__JvmTypeReference__Group_0__0"); - put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1(), "rule__JvmTypeReference__Group_0_1__0"); - put(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0(), "rule__JvmTypeReference__Group_0_1_0__0"); - put(grammarAccess.getArrayBracketsAccess().getGroup(), "rule__ArrayBrackets__Group__0"); - put(grammarAccess.getXFunctionTypeRefAccess().getGroup(), "rule__XFunctionTypeRef__Group__0"); - put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0(), "rule__XFunctionTypeRef__Group_0__0"); - put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1(), "rule__XFunctionTypeRef__Group_0_1__0"); - put(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1(), "rule__XFunctionTypeRef__Group_0_1_1__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup(), "rule__JvmParameterizedTypeReference__Group__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1(), "rule__JvmParameterizedTypeReference__Group_1__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2(), "rule__JvmParameterizedTypeReference__Group_1_2__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4(), "rule__JvmParameterizedTypeReference__Group_1_4__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0(), "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2__0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2(), "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup(), "rule__JvmWildcardTypeReference__Group__0"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0(), "rule__JvmWildcardTypeReference__Group_2_0__0"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1(), "rule__JvmWildcardTypeReference__Group_2_1__0"); - put(grammarAccess.getJvmUpperBoundAccess().getGroup(), "rule__JvmUpperBound__Group__0"); - put(grammarAccess.getJvmUpperBoundAndedAccess().getGroup(), "rule__JvmUpperBoundAnded__Group__0"); - put(grammarAccess.getJvmLowerBoundAccess().getGroup(), "rule__JvmLowerBound__Group__0"); - put(grammarAccess.getJvmLowerBoundAndedAccess().getGroup(), "rule__JvmLowerBoundAnded__Group__0"); - put(grammarAccess.getJvmTypeParameterAccess().getGroup(), "rule__JvmTypeParameter__Group__0"); - put(grammarAccess.getJvmTypeParameterAccess().getGroup_1(), "rule__JvmTypeParameter__Group_1__0"); - put(grammarAccess.getQualifiedNameAccess().getGroup(), "rule__QualifiedName__Group__0"); - put(grammarAccess.getQualifiedNameAccess().getGroup_1(), "rule__QualifiedName__Group_1__0"); - put(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup(), "rule__QualifiedNameWithWildcard__Group__0"); - put(grammarAccess.getXImportDeclarationAccess().getGroup(), "rule__XImportDeclaration__Group__0"); - put(grammarAccess.getXImportDeclarationAccess().getGroup_1_0(), "rule__XImportDeclaration__Group_1_0__0"); - put(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup(), "rule__QualifiedNameInStaticImport__Group__0"); put(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0(), "rule__TriquetrumScript__LibrariesAssignment_0"); put(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1(), "rule__TriquetrumScript__CommandsAssignment_1"); put(grammarAccess.getIncludeAccess().getFilenameAssignment_1(), "rule__Include__FilenameAssignment_1"); put(grammarAccess.getLibraryAccess().getNameAssignment_1(), "rule__Library__NameAssignment_1"); put(grammarAccess.getInsertAccess().getCategoryAssignment_1(), "rule__Insert__CategoryAssignment_1"); - put(grammarAccess.getInsertAccess().getObjAssignment_2(), "rule__Insert__ObjAssignment_2"); + put(grammarAccess.getInsertAccess().getEntityClassAssignment_2(), "rule__Insert__EntityClassAssignment_2"); put(grammarAccess.getInsertAccess().getNameAssignment_4(), "rule__Insert__NameAssignment_4"); put(grammarAccess.getInsertAccess().getParametersAssignment_5_1(), "rule__Insert__ParametersAssignment_5_1"); put(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1(), "rule__Insert__ParametersAssignment_5_2_1"); @@ -115,38 +81,11 @@ protected String getRuleName(AbstractElement element) { put(grammarAccess.getGoIntoAccess().getDirectionAssignment_1(), "rule__GoInto__DirectionAssignment_1"); put(grammarAccess.getGoIntoAccess().getObjAssignment_2(), "rule__GoInto__ObjAssignment_2"); put(grammarAccess.getGoOutAccess().getDirectionAssignment_1(), "rule__GoOut__DirectionAssignment_1"); + put(grammarAccess.getGoTopAccess().getDirectionAssignment_1(), "rule__GoTop__DirectionAssignment_1"); put(grammarAccess.getParameterAccess().getIdAssignment_0(), "rule__Parameter__IdAssignment_0"); put(grammarAccess.getParameterAccess().getValueAssignment_2(), "rule__Parameter__ValueAssignment_2"); put(grammarAccess.getConnectionPortAccess().getActorAssignment_0(), "rule__ConnectionPort__ActorAssignment_0"); put(grammarAccess.getConnectionPortAccess().getPortAssignment_2(), "rule__ConnectionPort__PortAssignment_2"); - put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0"); - put(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1(), "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1"); - put(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2(), "rule__XFunctionTypeRef__ReturnTypeAssignment_2"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0(), "rule__JvmParameterizedTypeReference__TypeAssignment_0"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1(), "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1"); - put(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1(), "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0"); - put(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1(), "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1"); - put(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBound__TypeReferenceAssignment_1"); - put(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1"); - put(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBound__TypeReferenceAssignment_1"); - put(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1(), "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1"); - put(grammarAccess.getJvmTypeParameterAccess().getNameAssignment_0(), "rule__JvmTypeParameter__NameAssignment_0"); - put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_0(), "rule__JvmTypeParameter__ConstraintsAssignment_1_0"); - put(grammarAccess.getJvmTypeParameterAccess().getConstraintsAssignment_1_1(), "rule__JvmTypeParameter__ConstraintsAssignment_1_1"); - put(grammarAccess.getXImportSectionAccess().getImportDeclarationsAssignment(), "rule__XImportSection__ImportDeclarationsAssignment"); - put(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0(), "rule__XImportDeclaration__StaticAssignment_1_0_0"); - put(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1(), "rule__XImportDeclaration__ExtensionAssignment_1_0_1"); - put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2(), "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2"); - put(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0(), "rule__XImportDeclaration__WildcardAssignment_1_0_3_0"); - put(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1(), "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1"); - put(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1(), "rule__XImportDeclaration__ImportedTypeAssignment_1_1"); - put(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2(), "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2"); } }; } diff --git a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.g b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.g index 20e27317..04b2a17f 100644 --- a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.g +++ b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.g @@ -14,7 +14,6 @@ grammar InternalTqcl; options { superClass=AbstractInternalContentAssistParser; - backtrack=true; } @lexer::header { @@ -284,2842 +283,320 @@ finally { restoreStackSize(stackSize); } -// Entry rule entryRuleParameter -entryRuleParameter -: -{ before(grammarAccess.getParameterRule()); } - ruleParameter -{ after(grammarAccess.getParameterRule()); } - EOF -; - -// Rule Parameter -ruleParameter - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getParameterAccess().getGroup()); } - (rule__Parameter__Group__0) - { after(grammarAccess.getParameterAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleNamedObj -entryRuleNamedObj -: -{ before(grammarAccess.getNamedObjRule()); } - ruleNamedObj -{ after(grammarAccess.getNamedObjRule()); } - EOF -; - -// Rule NamedObj -ruleNamedObj - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getNamedObjAccess().getAlternatives()); } - (rule__NamedObj__Alternatives) - { after(grammarAccess.getNamedObjAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleConnectionPort -entryRuleConnectionPort -: -{ before(grammarAccess.getConnectionPortRule()); } - ruleConnectionPort -{ after(grammarAccess.getConnectionPortRule()); } - EOF -; - -// Rule ConnectionPort -ruleConnectionPort - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getConnectionPortAccess().getGroup()); } - (rule__ConnectionPort__Group__0) - { after(grammarAccess.getConnectionPortAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmTypeReference -entryRuleJvmTypeReference -: -{ before(grammarAccess.getJvmTypeReferenceRule()); } - ruleJvmTypeReference -{ after(grammarAccess.getJvmTypeReferenceRule()); } - EOF -; - -// Rule JvmTypeReference -ruleJvmTypeReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); } - (rule__JvmTypeReference__Alternatives) - { after(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleArrayBrackets -entryRuleArrayBrackets -: -{ before(grammarAccess.getArrayBracketsRule()); } - ruleArrayBrackets -{ after(grammarAccess.getArrayBracketsRule()); } - EOF -; - -// Rule ArrayBrackets -ruleArrayBrackets - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getArrayBracketsAccess().getGroup()); } - (rule__ArrayBrackets__Group__0) - { after(grammarAccess.getArrayBracketsAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleXFunctionTypeRef -entryRuleXFunctionTypeRef -: -{ before(grammarAccess.getXFunctionTypeRefRule()); } - ruleXFunctionTypeRef -{ after(grammarAccess.getXFunctionTypeRefRule()); } - EOF -; - -// Rule XFunctionTypeRef -ruleXFunctionTypeRef - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getXFunctionTypeRefAccess().getGroup()); } - (rule__XFunctionTypeRef__Group__0) - { after(grammarAccess.getXFunctionTypeRefAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmParameterizedTypeReference -entryRuleJvmParameterizedTypeReference -: -{ before(grammarAccess.getJvmParameterizedTypeReferenceRule()); } - ruleJvmParameterizedTypeReference -{ after(grammarAccess.getJvmParameterizedTypeReferenceRule()); } - EOF -; - -// Rule JvmParameterizedTypeReference -ruleJvmParameterizedTypeReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); } - (rule__JvmParameterizedTypeReference__Group__0) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmArgumentTypeReference -entryRuleJvmArgumentTypeReference -: -{ before(grammarAccess.getJvmArgumentTypeReferenceRule()); } - ruleJvmArgumentTypeReference -{ after(grammarAccess.getJvmArgumentTypeReferenceRule()); } - EOF -; - -// Rule JvmArgumentTypeReference -ruleJvmArgumentTypeReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); } - (rule__JvmArgumentTypeReference__Alternatives) - { after(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmWildcardTypeReference -entryRuleJvmWildcardTypeReference -: -{ before(grammarAccess.getJvmWildcardTypeReferenceRule()); } - ruleJvmWildcardTypeReference -{ after(grammarAccess.getJvmWildcardTypeReferenceRule()); } - EOF -; - -// Rule JvmWildcardTypeReference -ruleJvmWildcardTypeReference - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); } - (rule__JvmWildcardTypeReference__Group__0) - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmUpperBound -entryRuleJvmUpperBound -: -{ before(grammarAccess.getJvmUpperBoundRule()); } - ruleJvmUpperBound -{ after(grammarAccess.getJvmUpperBoundRule()); } - EOF -; - -// Rule JvmUpperBound -ruleJvmUpperBound - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmUpperBoundAccess().getGroup()); } - (rule__JvmUpperBound__Group__0) - { after(grammarAccess.getJvmUpperBoundAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmUpperBoundAnded -entryRuleJvmUpperBoundAnded -: -{ before(grammarAccess.getJvmUpperBoundAndedRule()); } - ruleJvmUpperBoundAnded -{ after(grammarAccess.getJvmUpperBoundAndedRule()); } - EOF -; - -// Rule JvmUpperBoundAnded -ruleJvmUpperBoundAnded - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); } - (rule__JvmUpperBoundAnded__Group__0) - { after(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmLowerBound -entryRuleJvmLowerBound -: -{ before(grammarAccess.getJvmLowerBoundRule()); } - ruleJvmLowerBound -{ after(grammarAccess.getJvmLowerBoundRule()); } - EOF -; - -// Rule JvmLowerBound -ruleJvmLowerBound - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmLowerBoundAccess().getGroup()); } - (rule__JvmLowerBound__Group__0) - { after(grammarAccess.getJvmLowerBoundAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleJvmLowerBoundAnded -entryRuleJvmLowerBoundAnded -: -{ before(grammarAccess.getJvmLowerBoundAndedRule()); } - ruleJvmLowerBoundAnded -{ after(grammarAccess.getJvmLowerBoundAndedRule()); } - EOF -; - -// Rule JvmLowerBoundAnded -ruleJvmLowerBoundAnded - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); } - (rule__JvmLowerBoundAnded__Group__0) - { after(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName -: -{ before(grammarAccess.getQualifiedNameRule()); } - ruleQualifiedName -{ after(grammarAccess.getQualifiedNameRule()); } - EOF -; - -// Rule QualifiedName -ruleQualifiedName - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getQualifiedNameAccess().getGroup()); } - (rule__QualifiedName__Group__0) - { after(grammarAccess.getQualifiedNameAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedNameWithWildcard -entryRuleQualifiedNameWithWildcard -: -{ before(grammarAccess.getQualifiedNameWithWildcardRule()); } - ruleQualifiedNameWithWildcard -{ after(grammarAccess.getQualifiedNameWithWildcardRule()); } - EOF -; - -// Rule QualifiedNameWithWildcard -ruleQualifiedNameWithWildcard - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } - (rule__QualifiedNameWithWildcard__Group__0) - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleValidID -entryRuleValidID -: -{ before(grammarAccess.getValidIDRule()); } - ruleValidID -{ after(grammarAccess.getValidIDRule()); } - EOF -; - -// Rule ValidID -ruleValidID - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } - RULE_ID - { after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleXImportDeclaration -entryRuleXImportDeclaration -: -{ before(grammarAccess.getXImportDeclarationRule()); } - ruleXImportDeclaration -{ after(grammarAccess.getXImportDeclarationRule()); } - EOF -; - -// Rule XImportDeclaration -ruleXImportDeclaration - @init { - int stackSize = keepStackSize(); - } - : - ( - { before(grammarAccess.getXImportDeclarationAccess().getGroup()); } - (rule__XImportDeclaration__Group__0) - { after(grammarAccess.getXImportDeclarationAccess().getGroup()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -// Entry rule entryRuleQualifiedNameInStaticImport -entryRuleQualifiedNameInStaticImport -: -{ before(grammarAccess.getQualifiedNameInStaticImportRule()); } - ruleQualifiedNameInStaticImport -{ after(grammarAccess.getQualifiedNameInStaticImportRule()); } - EOF -; - -// Rule QualifiedNameInStaticImport -ruleQualifiedNameInStaticImport - @init { - int stackSize = keepStackSize(); - } - : - ( - ( - { before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } - (rule__QualifiedNameInStaticImport__Group__0) - { after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } - ) - ( - { before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } - (rule__QualifiedNameInStaticImport__Group__0)* - { after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); } - ) - ) -; -finally { - restoreStackSize(stackSize); -} - -// Rule Category -ruleCategory - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCategoryAccess().getAlternatives()); } - (rule__Category__Alternatives) - { after(grammarAccess.getCategoryAccess().getAlternatives()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Command__Alternatives_0 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); } - ruleInsert - { after(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); } - ruleConnect - { after(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); } - ruleSet - { after(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); } - ruleGoInto - { after(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); } - ruleGoOut - { after(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); } - ) - | - ( - { before(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5()); } - ruleInclude - { after(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__NamedObj__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getNamedObjAccess().getQualifiedNameParserRuleCall_0()); } - ruleQualifiedName - { after(grammarAccess.getNamedObjAccess().getQualifiedNameParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); } - RULE_STRING - { after(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); } - (rule__JvmTypeReference__Group_0__0) - { after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); } - ) - | - ( - { before(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); } - ruleXFunctionTypeRef - { after(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmArgumentTypeReference__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); } - ruleJvmTypeReference - { after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); } - ) - | - ( - { before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); } - ruleJvmWildcardTypeReference - { after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmWildcardTypeReference__Alternatives_2 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); } - (rule__JvmWildcardTypeReference__Group_2_0__0) - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); } - ) - | - ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); } - (rule__JvmWildcardTypeReference__Group_2_1__0) - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__XImportDeclaration__Alternatives_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); } - (rule__XImportDeclaration__Group_1_0__0) - { after(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); } - ) - | - ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); } - (rule__XImportDeclaration__ImportedTypeAssignment_1_1) - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); } - ) - | - ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); } - (rule__XImportDeclaration__ImportedNamespaceAssignment_1_2) - { after(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__XImportDeclaration__Alternatives_1_0_3 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); } - (rule__XImportDeclaration__WildcardAssignment_1_0_3_0) - { after(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); } - ) - | - ( - { before(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); } - (rule__XImportDeclaration__MemberNameAssignment_1_0_3_1) - { after(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__Category__Alternatives - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); } - ('Actor') - { after(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); } - ) - | - ( - { before(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); } - ('Parameter') - { after(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); } - ) - | - ( - { before(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); } - ('Port') - { after(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); } - ) - | - ( - { before(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); } - ('Director') - { after(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); } - ) -; -finally { - restoreStackSize(stackSize); -} - -rule__TriquetrumScript__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__TriquetrumScript__Group__0__Impl - rule__TriquetrumScript__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__TriquetrumScript__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); } - (rule__TriquetrumScript__LibrariesAssignment_0)* - { after(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__TriquetrumScript__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__TriquetrumScript__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__TriquetrumScript__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); } - (rule__TriquetrumScript__CommandsAssignment_1)* - { after(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Command__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Command__Group__0__Impl - rule__Command__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Command__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCommandAccess().getAlternatives_0()); } - (rule__Command__Alternatives_0) - { after(grammarAccess.getCommandAccess().getAlternatives_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Command__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Command__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Command__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); } - ';' - { after(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Include__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Include__Group__0__Impl - rule__Include__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Include__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } - 'include' - { after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Include__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Include__Group__1__Impl - rule__Include__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Include__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); } - (rule__Include__FilenameAssignment_1) - { after(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Include__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Include__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Include__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); } - ';' - { after(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Library__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Library__Group__0__Impl - rule__Library__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Library__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); } - 'library' - { after(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Library__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Library__Group__1__Impl - rule__Library__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Library__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLibraryAccess().getNameAssignment_1()); } - (rule__Library__NameAssignment_1) - { after(grammarAccess.getLibraryAccess().getNameAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Library__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Library__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Library__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); } - ';' - { after(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Insert__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__0__Impl - rule__Insert__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getInsertKeyword_0()); } - 'insert' - { after(grammarAccess.getInsertAccess().getInsertKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__1__Impl - rule__Insert__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getCategoryAssignment_1()); } - (rule__Insert__CategoryAssignment_1)? - { after(grammarAccess.getInsertAccess().getCategoryAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__2__Impl - rule__Insert__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getObjAssignment_2()); } - (rule__Insert__ObjAssignment_2) - { after(grammarAccess.getInsertAccess().getObjAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__3__Impl - rule__Insert__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getAsKeyword_3()); } - 'as' - { after(grammarAccess.getInsertAccess().getAsKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__4__Impl - rule__Insert__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getNameAssignment_4()); } - (rule__Insert__NameAssignment_4) - { after(grammarAccess.getInsertAccess().getNameAssignment_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getGroup_5()); } - (rule__Insert__Group_5__0)? - { after(grammarAccess.getInsertAccess().getGroup_5()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Insert__Group_5__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group_5__0__Impl - rule__Insert__Group_5__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getWithKeyword_5_0()); } - 'with' - { after(grammarAccess.getInsertAccess().getWithKeyword_5_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group_5__1__Impl - rule__Insert__Group_5__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); } - (rule__Insert__ParametersAssignment_5_1) - { after(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group_5__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getGroup_5_2()); } - (rule__Insert__Group_5_2__0)* - { after(grammarAccess.getInsertAccess().getGroup_5_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Insert__Group_5_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group_5_2__0__Impl - rule__Insert__Group_5_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); } - ',' - { after(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Insert__Group_5_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Insert__Group_5_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); } - (rule__Insert__ParametersAssignment_5_2_1) - { after(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Set__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Set__Group__0__Impl - rule__Set__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Set__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getSetAccess().getSetKeyword_0()); } - 'set' - { after(grammarAccess.getSetAccess().getSetKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Set__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Set__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Set__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getSetAccess().getParamAssignment_1()); } - (rule__Set__ParamAssignment_1) - { after(grammarAccess.getSetAccess().getParamAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Connect__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__0__Impl - rule__Connect__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getConnectKeyword_0()); } - 'connect' - { after(grammarAccess.getConnectAccess().getConnectKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__1__Impl - rule__Connect__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getFromAssignment_1()); } - (rule__Connect__FromAssignment_1) - { after(grammarAccess.getConnectAccess().getFromAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__2__Impl - rule__Connect__Group__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getGroup_2()); } - (rule__Connect__Group_2__0)* - { after(grammarAccess.getConnectAccess().getGroup_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__3__Impl - rule__Connect__Group__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getToKeyword_3()); } - 'to' - { after(grammarAccess.getConnectAccess().getToKeyword_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__4__Impl - rule__Connect__Group__5 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getToAssignment_4()); } - (rule__Connect__ToAssignment_4) - { after(grammarAccess.getConnectAccess().getToAssignment_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__5 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group__5__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group__5__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getGroup_5()); } - (rule__Connect__Group_5__0)* - { after(grammarAccess.getConnectAccess().getGroup_5()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Connect__Group_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group_2__0__Impl - rule__Connect__Group_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); } - ',' - { after(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getFromAssignment_2_1()); } - (rule__Connect__FromAssignment_2_1) - { after(grammarAccess.getConnectAccess().getFromAssignment_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Connect__Group_5__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group_5__0__Impl - rule__Connect__Group_5__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_5__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); } - ',' - { after(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_5__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Connect__Group_5__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Connect__Group_5__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectAccess().getToAssignment_5_1()); } - (rule__Connect__ToAssignment_5_1) - { after(grammarAccess.getConnectAccess().getToAssignment_5_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GoInto__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GoInto__Group__0__Impl - rule__GoInto__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GoInto__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGoIntoAccess().getGoKeyword_0()); } - 'go' - { after(grammarAccess.getGoIntoAccess().getGoKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GoInto__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GoInto__Group__1__Impl - rule__GoInto__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__GoInto__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); } - (rule__GoInto__DirectionAssignment_1) - { after(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GoInto__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__GoInto__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GoInto__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGoIntoAccess().getObjAssignment_2()); } - (rule__GoInto__ObjAssignment_2) - { after(grammarAccess.getGoIntoAccess().getObjAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__GoOut__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__GoOut__Group__0__Impl - rule__GoOut__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__GoOut__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGoOutAccess().getGoKeyword_0()); } - 'go' - { after(grammarAccess.getGoOutAccess().getGoKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__GoOut__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__GoOut__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__GoOut__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); } - (rule__GoOut__DirectionAssignment_1) - { after(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__Parameter__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__Parameter__Group__0__Impl - rule__Parameter__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getParameterAccess().getIdAssignment_0()); } - (rule__Parameter__IdAssignment_0) - { after(grammarAccess.getParameterAccess().getIdAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__Parameter__Group__1__Impl - rule__Parameter__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); } - '=' - { after(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__Parameter__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__Parameter__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getParameterAccess().getValueAssignment_2()); } - (rule__Parameter__ValueAssignment_2) - { after(grammarAccess.getParameterAccess().getValueAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ConnectionPort__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConnectionPort__Group__0__Impl - rule__ConnectionPort__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConnectionPort__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); } - (rule__ConnectionPort__ActorAssignment_0) - { after(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConnectionPort__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConnectionPort__Group__1__Impl - rule__ConnectionPort__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__ConnectionPort__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); } - '.' - { after(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ConnectionPort__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__ConnectionPort__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ConnectionPort__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); } - (rule__ConnectionPort__PortAssignment_2) - { after(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmTypeReference__Group_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmTypeReference__Group_0__0__Impl - rule__JvmTypeReference__Group_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); } - ruleJvmParameterizedTypeReference - { after(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmTypeReference__Group_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1()); } - (rule__JvmTypeReference__Group_0_1__0)* - { after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmTypeReference__Group_0_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmTypeReference__Group_0_1__0__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0()); } - (rule__JvmTypeReference__Group_0_1_0__0) - { after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmTypeReference__Group_0_1_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmTypeReference__Group_0_1_0__0__Impl - rule__JvmTypeReference__Group_0_1_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0_1_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()); } - () - { after(grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0_1_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmTypeReference__Group_0_1_0__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmTypeReference__Group_0_1_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); } - ruleArrayBrackets - { after(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__ArrayBrackets__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__ArrayBrackets__Group__0__Impl - rule__ArrayBrackets__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__ArrayBrackets__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); } - '[' - { after(grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__ArrayBrackets__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__ArrayBrackets__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__ArrayBrackets__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); } - ']' - { after(grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__XFunctionTypeRef__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group__0__Impl - rule__XFunctionTypeRef__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0()); } - (rule__XFunctionTypeRef__Group_0__0)? - { after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group__1__Impl - rule__XFunctionTypeRef__Group__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); } - '=>' - { after(grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2()); } - (rule__XFunctionTypeRef__ReturnTypeAssignment_2) - { after(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__XFunctionTypeRef__Group_0__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0__0__Impl - rule__XFunctionTypeRef__Group_0__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); } - '(' - { after(grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0__1__Impl - rule__XFunctionTypeRef__Group_0__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1()); } - (rule__XFunctionTypeRef__Group_0_1__0)? - { after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0__2__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); } - ')' - { after(grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__XFunctionTypeRef__Group_0_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0_1__0__Impl - rule__XFunctionTypeRef__Group_0_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0()); } - (rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0) - { after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1()); } - (rule__XFunctionTypeRef__Group_0_1_1__0)* - { after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__XFunctionTypeRef__Group_0_1_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0_1_1__0__Impl - rule__XFunctionTypeRef__Group_0_1_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); } - ',' - { after(grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__XFunctionTypeRef__Group_0_1_1__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__XFunctionTypeRef__Group_0_1_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1()); } - (rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1) - { after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmParameterizedTypeReference__Group__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group__0__Impl - rule__JvmParameterizedTypeReference__Group__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0()); } - (rule__JvmParameterizedTypeReference__TypeAssignment_0) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1()); } - (rule__JvmParameterizedTypeReference__Group_1__0)? - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmParameterizedTypeReference__Group_1__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1__0__Impl - rule__JvmParameterizedTypeReference__Group_1__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); } - ('<') - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1__1__Impl - rule__JvmParameterizedTypeReference__Group_1__2 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1()); } - (rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__2 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1__2__Impl - rule__JvmParameterizedTypeReference__Group_1__3 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__2__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2()); } - (rule__JvmParameterizedTypeReference__Group_1_2__0)* - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__3 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1__3__Impl - rule__JvmParameterizedTypeReference__Group_1__4 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__3__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); } - '>' - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__4 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1__4__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1__4__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4()); } - (rule__JvmParameterizedTypeReference__Group_1_4__0)* - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmParameterizedTypeReference__Group_1_2__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1_2__0__Impl - rule__JvmParameterizedTypeReference__Group_1_2__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_2__0__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); } - ',' - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); } -) -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_2__1 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1_2__1__Impl -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_2__1__Impl - @init { - int stackSize = keepStackSize(); - } -: -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1()); } - (rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1()); } -) -; -finally { - restoreStackSize(stackSize); -} - - -rule__JvmParameterizedTypeReference__Group_1_4__0 - @init { - int stackSize = keepStackSize(); - } -: - rule__JvmParameterizedTypeReference__Group_1_4__0__Impl - rule__JvmParameterizedTypeReference__Group_1_4__1 -; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_4__0__Impl - @init { - int stackSize = keepStackSize(); - } +// Entry rule entryRuleGoTop +entryRuleGoTop : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0()); } - (rule__JvmParameterizedTypeReference__Group_1_4_0__0) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0()); } -) +{ before(grammarAccess.getGoTopRule()); } + ruleGoTop +{ after(grammarAccess.getGoTopRule()); } + EOF ; -finally { - restoreStackSize(stackSize); -} -rule__JvmParameterizedTypeReference__Group_1_4__1 +// Rule GoTop +ruleGoTop @init { int stackSize = keepStackSize(); } -: - rule__JvmParameterizedTypeReference__Group_1_4__1__Impl - rule__JvmParameterizedTypeReference__Group_1_4__2 + : + ( + { before(grammarAccess.getGoTopAccess().getGroup()); } + (rule__GoTop__Group__0) + { after(grammarAccess.getGoTopAccess().getGroup()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4__1__Impl - @init { - int stackSize = keepStackSize(); - } +// Entry rule entryRuleParameter +entryRuleParameter : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1()); } - (rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1()); } -) +{ before(grammarAccess.getParameterRule()); } + ruleParameter +{ after(grammarAccess.getParameterRule()); } + EOF ; -finally { - restoreStackSize(stackSize); -} -rule__JvmParameterizedTypeReference__Group_1_4__2 +// Rule Parameter +ruleParameter @init { int stackSize = keepStackSize(); } -: - rule__JvmParameterizedTypeReference__Group_1_4__2__Impl + : + ( + { before(grammarAccess.getParameterAccess().getGroup()); } + (rule__Parameter__Group__0) + { after(grammarAccess.getParameterAccess().getGroup()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4__2__Impl - @init { - int stackSize = keepStackSize(); - } +// Entry rule entryRuleParameter_id +entryRuleParameter_id : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2()); } - (rule__JvmParameterizedTypeReference__Group_1_4_2__0)? - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2()); } -) +{ before(grammarAccess.getParameter_idRule()); } + ruleParameter_id +{ after(grammarAccess.getParameter_idRule()); } + EOF ; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_4_0__0 +// Rule Parameter_id +ruleParameter_id @init { int stackSize = keepStackSize(); } -: - rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl + : + ( + { before(grammarAccess.getParameter_idAccess().getAlternatives()); } + (rule__Parameter_id__Alternatives) + { after(grammarAccess.getParameter_idAccess().getAlternatives()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl - @init { - int stackSize = keepStackSize(); - } +// Entry rule entryRuleNamedObj +entryRuleNamedObj : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0()); } - (rule__JvmParameterizedTypeReference__Group_1_4_0_0__0) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0()); } -) +{ before(grammarAccess.getNamedObjRule()); } + ruleNamedObj +{ after(grammarAccess.getNamedObjRule()); } + EOF ; -finally { - restoreStackSize(stackSize); -} - -rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 +// Rule NamedObj +ruleNamedObj @init { int stackSize = keepStackSize(); } -: - rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl - rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 + : + ( + { before(grammarAccess.getNamedObjAccess().getAlternatives()); } + (rule__NamedObj__Alternatives) + { after(grammarAccess.getNamedObjAccess().getAlternatives()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl - @init { - int stackSize = keepStackSize(); - } +// Entry rule entryRuleConnectionPort +entryRuleConnectionPort : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0()); } - () - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0()); } -) +{ before(grammarAccess.getConnectionPortRule()); } + ruleConnectionPort +{ after(grammarAccess.getConnectionPortRule()); } + EOF ; -finally { - restoreStackSize(stackSize); -} -rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 +// Rule ConnectionPort +ruleConnectionPort @init { int stackSize = keepStackSize(); } -: - rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl + : + ( + { before(grammarAccess.getConnectionPortAccess().getGroup()); } + (rule__ConnectionPort__Group__0) + { after(grammarAccess.getConnectionPortAccess().getGroup()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl +// Rule Category +ruleCategory @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); } - '.' - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); } -) + ( + { before(grammarAccess.getCategoryAccess().getAlternatives()); } + (rule__Category__Alternatives) + { after(grammarAccess.getCategoryAccess().getAlternatives()); } + ) ; finally { restoreStackSize(stackSize); } - -rule__JvmParameterizedTypeReference__Group_1_4_2__0 +rule__Command__Alternatives_0 @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl - rule__JvmParameterizedTypeReference__Group_1_4_2__1 + ( + { before(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); } + ruleInsert + { after(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); } + ruleConnect + { after(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); } + ruleSet + { after(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); } + ruleGoInto + { after(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); } + ruleGoOut + { after(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getGoTopParserRuleCall_0_5()); } + ruleGoTop + { after(grammarAccess.getCommandAccess().getGoTopParserRuleCall_0_5()); } + ) + | + ( + { before(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_6()); } + ruleInclude + { after(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_6()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl +rule__Parameter_id__Alternatives @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); } - ('<') - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); } -) + ( + { before(grammarAccess.getParameter_idAccess().getPARAMETER_NAMETerminalRuleCall_0()); } + RULE_PARAMETER_NAME + { after(grammarAccess.getParameter_idAccess().getPARAMETER_NAMETerminalRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getParameter_idAccess().getSTRINGTerminalRuleCall_1()); } + RULE_STRING + { after(grammarAccess.getParameter_idAccess().getSTRINGTerminalRuleCall_1()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__1 +rule__NamedObj__Alternatives @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl - rule__JvmParameterizedTypeReference__Group_1_4_2__2 + ( + { before(grammarAccess.getNamedObjAccess().getIDTerminalRuleCall_0()); } + RULE_ID + { after(grammarAccess.getNamedObjAccess().getIDTerminalRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); } + RULE_STRING + { after(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl +rule__Category__Alternatives @init { int stackSize = keepStackSize(); } : -( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1()); } - (rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1()); } -) + ( + { before(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); } + ('actor') + { after(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); } + ) + | + ( + { before(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); } + ('parameter') + { after(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); } + ) + | + ( + { before(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); } + ('port') + { after(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); } + ) + | + ( + { before(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); } + ('director') + { after(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); } + ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__2 +rule__TriquetrumScript__Group__0 @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl - rule__JvmParameterizedTypeReference__Group_1_4_2__3 + rule__TriquetrumScript__Group__0__Impl + rule__TriquetrumScript__Group__1 ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl +rule__TriquetrumScript__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2()); } - (rule__JvmParameterizedTypeReference__Group_1_4_2_2__0)* - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2()); } + { before(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); } + (rule__TriquetrumScript__LibrariesAssignment_0)* + { after(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__3 +rule__TriquetrumScript__Group__1 @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl + rule__TriquetrumScript__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl +rule__TriquetrumScript__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); } - '>' - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); } + { before(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); } + (rule__TriquetrumScript__CommandsAssignment_1)* + { after(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); } ) ; finally { @@ -3127,53 +604,53 @@ finally { } -rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 +rule__Command__Group__0 @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl - rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 + rule__Command__Group__0__Impl + rule__Command__Group__1 ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl +rule__Command__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); } - ',' - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); } + { before(grammarAccess.getCommandAccess().getAlternatives_0()); } + (rule__Command__Alternatives_0) + { after(grammarAccess.getCommandAccess().getAlternatives_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 +rule__Command__Group__1 @init { int stackSize = keepStackSize(); } : - rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl + rule__Command__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl +rule__Command__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1()); } - (rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1()); } + { before(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); } + ';' + { after(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); } ) ; finally { @@ -3181,80 +658,80 @@ finally { } -rule__JvmWildcardTypeReference__Group__0 +rule__Include__Group__0 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group__0__Impl - rule__JvmWildcardTypeReference__Group__1 + rule__Include__Group__0__Impl + rule__Include__Group__1 ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group__0__Impl +rule__Include__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0()); } - () - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0()); } + { before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } + 'include' + { after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group__1 +rule__Include__Group__1 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group__1__Impl - rule__JvmWildcardTypeReference__Group__2 + rule__Include__Group__1__Impl + rule__Include__Group__2 ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group__1__Impl +rule__Include__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); } - '?' - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); } + { before(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); } + (rule__Include__FilenameAssignment_1) + { after(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group__2 +rule__Include__Group__2 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group__2__Impl + rule__Include__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group__2__Impl +rule__Include__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2()); } - (rule__JvmWildcardTypeReference__Alternatives_2)? - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2()); } + { before(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); } + ';' + { after(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); } ) ; finally { @@ -3262,323 +739,323 @@ finally { } -rule__JvmWildcardTypeReference__Group_2_0__0 +rule__Library__Group__0 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group_2_0__0__Impl - rule__JvmWildcardTypeReference__Group_2_0__1 + rule__Library__Group__0__Impl + rule__Library__Group__1 ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_0__0__Impl +rule__Library__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0()); } - (rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0) - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0()); } + { before(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); } + 'library' + { after(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_0__1 +rule__Library__Group__1 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group_2_0__1__Impl + rule__Library__Group__1__Impl + rule__Library__Group__2 ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_0__1__Impl +rule__Library__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1()); } - (rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1)* - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1()); } + { before(grammarAccess.getLibraryAccess().getNameAssignment_1()); } + (rule__Library__NameAssignment_1) + { after(grammarAccess.getLibraryAccess().getNameAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__JvmWildcardTypeReference__Group_2_1__0 +rule__Library__Group__2 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group_2_1__0__Impl - rule__JvmWildcardTypeReference__Group_2_1__1 + rule__Library__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_1__0__Impl +rule__Library__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0()); } - (rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0) - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0()); } + { before(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); } + ';' + { after(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_1__1 + +rule__Insert__Group__0 @init { int stackSize = keepStackSize(); } : - rule__JvmWildcardTypeReference__Group_2_1__1__Impl + rule__Insert__Group__0__Impl + rule__Insert__Group__1 ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__Group_2_1__1__Impl +rule__Insert__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1()); } - (rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1)* - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1()); } + { before(grammarAccess.getInsertAccess().getInsertKeyword_0()); } + 'insert' + { after(grammarAccess.getInsertAccess().getInsertKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__JvmUpperBound__Group__0 +rule__Insert__Group__1 @init { int stackSize = keepStackSize(); } : - rule__JvmUpperBound__Group__0__Impl - rule__JvmUpperBound__Group__1 + rule__Insert__Group__1__Impl + rule__Insert__Group__2 ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBound__Group__0__Impl +rule__Insert__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); } - 'extends' - { after(grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); } + { before(grammarAccess.getInsertAccess().getCategoryAssignment_1()); } + (rule__Insert__CategoryAssignment_1)? + { after(grammarAccess.getInsertAccess().getCategoryAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBound__Group__1 +rule__Insert__Group__2 @init { int stackSize = keepStackSize(); } : - rule__JvmUpperBound__Group__1__Impl + rule__Insert__Group__2__Impl + rule__Insert__Group__3 ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBound__Group__1__Impl +rule__Insert__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1()); } - (rule__JvmUpperBound__TypeReferenceAssignment_1) - { after(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1()); } + { before(grammarAccess.getInsertAccess().getEntityClassAssignment_2()); } + (rule__Insert__EntityClassAssignment_2) + { after(grammarAccess.getInsertAccess().getEntityClassAssignment_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__JvmUpperBoundAnded__Group__0 +rule__Insert__Group__3 @init { int stackSize = keepStackSize(); } : - rule__JvmUpperBoundAnded__Group__0__Impl - rule__JvmUpperBoundAnded__Group__1 + rule__Insert__Group__3__Impl + rule__Insert__Group__4 ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBoundAnded__Group__0__Impl +rule__Insert__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); } - '&' - { after(grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); } + { before(grammarAccess.getInsertAccess().getAsKeyword_3()); } + 'as' + { after(grammarAccess.getInsertAccess().getAsKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBoundAnded__Group__1 +rule__Insert__Group__4 @init { int stackSize = keepStackSize(); } : - rule__JvmUpperBoundAnded__Group__1__Impl + rule__Insert__Group__4__Impl + rule__Insert__Group__5 ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBoundAnded__Group__1__Impl +rule__Insert__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1()); } - (rule__JvmUpperBoundAnded__TypeReferenceAssignment_1) - { after(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1()); } + { before(grammarAccess.getInsertAccess().getNameAssignment_4()); } + (rule__Insert__NameAssignment_4) + { after(grammarAccess.getInsertAccess().getNameAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } - -rule__JvmLowerBound__Group__0 +rule__Insert__Group__5 @init { int stackSize = keepStackSize(); } : - rule__JvmLowerBound__Group__0__Impl - rule__JvmLowerBound__Group__1 + rule__Insert__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBound__Group__0__Impl +rule__Insert__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); } - 'super' - { after(grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); } + { before(grammarAccess.getInsertAccess().getGroup_5()); } + (rule__Insert__Group_5__0)? + { after(grammarAccess.getInsertAccess().getGroup_5()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBound__Group__1 + +rule__Insert__Group_5__0 @init { int stackSize = keepStackSize(); } : - rule__JvmLowerBound__Group__1__Impl + rule__Insert__Group_5__0__Impl + rule__Insert__Group_5__1 ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBound__Group__1__Impl +rule__Insert__Group_5__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1()); } - (rule__JvmLowerBound__TypeReferenceAssignment_1) - { after(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1()); } + { before(grammarAccess.getInsertAccess().getWithKeyword_5_0()); } + 'with' + { after(grammarAccess.getInsertAccess().getWithKeyword_5_0()); } ) ; finally { restoreStackSize(stackSize); } - -rule__JvmLowerBoundAnded__Group__0 +rule__Insert__Group_5__1 @init { int stackSize = keepStackSize(); } : - rule__JvmLowerBoundAnded__Group__0__Impl - rule__JvmLowerBoundAnded__Group__1 + rule__Insert__Group_5__1__Impl + rule__Insert__Group_5__2 ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBoundAnded__Group__0__Impl +rule__Insert__Group_5__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); } - '&' - { after(grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); } + { before(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); } + (rule__Insert__ParametersAssignment_5_1) + { after(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBoundAnded__Group__1 +rule__Insert__Group_5__2 @init { int stackSize = keepStackSize(); } : - rule__JvmLowerBoundAnded__Group__1__Impl + rule__Insert__Group_5__2__Impl ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBoundAnded__Group__1__Impl +rule__Insert__Group_5__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1()); } - (rule__JvmLowerBoundAnded__TypeReferenceAssignment_1) - { after(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1()); } + { before(grammarAccess.getInsertAccess().getGroup_5_2()); } + (rule__Insert__Group_5_2__0)* + { after(grammarAccess.getInsertAccess().getGroup_5_2()); } ) ; finally { @@ -3586,53 +1063,53 @@ finally { } -rule__QualifiedName__Group__0 +rule__Insert__Group_5_2__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group__0__Impl - rule__QualifiedName__Group__1 + rule__Insert__Group_5_2__0__Impl + rule__Insert__Group_5_2__1 ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__0__Impl +rule__Insert__Group_5_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); } - ruleValidID - { after(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); } + { before(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); } + ',' + { after(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__1 +rule__Insert__Group_5_2__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group__1__Impl + rule__Insert__Group_5_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group__1__Impl +rule__Insert__Group_5_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getGroup_1()); } - (rule__QualifiedName__Group_1__0)* - { after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + { before(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); } + (rule__Insert__ParametersAssignment_5_2_1) + { after(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); } ) ; finally { @@ -3640,53 +1117,53 @@ finally { } -rule__QualifiedName__Group_1__0 +rule__Set__Group__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_1__0__Impl - rule__QualifiedName__Group_1__1 + rule__Set__Group__0__Impl + rule__Set__Group__1 ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__0__Impl +rule__Set__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } - '.' - { after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); } + { before(grammarAccess.getSetAccess().getSetKeyword_0()); } + 'set' + { after(grammarAccess.getSetAccess().getSetKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__1 +rule__Set__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedName__Group_1__1__Impl + rule__Set__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__QualifiedName__Group_1__1__Impl +rule__Set__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); } - ruleValidID - { after(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); } + { before(grammarAccess.getSetAccess().getParamAssignment_1()); } + (rule__Set__ParamAssignment_1) + { after(grammarAccess.getSetAccess().getParamAssignment_1()); } ) ; finally { @@ -3694,161 +1171,161 @@ finally { } -rule__QualifiedNameWithWildcard__Group__0 +rule__Connect__Group__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedNameWithWildcard__Group__0__Impl - rule__QualifiedNameWithWildcard__Group__1 + rule__Connect__Group__0__Impl + rule__Connect__Group__1 ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameWithWildcard__Group__0__Impl +rule__Connect__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); } - ruleQualifiedName - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); } + { before(grammarAccess.getConnectAccess().getConnectKeyword_0()); } + 'connect' + { after(grammarAccess.getConnectAccess().getConnectKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameWithWildcard__Group__1 +rule__Connect__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedNameWithWildcard__Group__1__Impl - rule__QualifiedNameWithWildcard__Group__2 + rule__Connect__Group__1__Impl + rule__Connect__Group__2 ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameWithWildcard__Group__1__Impl +rule__Connect__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); } - '.' - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); } + { before(grammarAccess.getConnectAccess().getFromAssignment_1()); } + (rule__Connect__FromAssignment_1) + { after(grammarAccess.getConnectAccess().getFromAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameWithWildcard__Group__2 +rule__Connect__Group__2 @init { int stackSize = keepStackSize(); } : - rule__QualifiedNameWithWildcard__Group__2__Impl + rule__Connect__Group__2__Impl + rule__Connect__Group__3 ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameWithWildcard__Group__2__Impl +rule__Connect__Group__2__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); } - '*' - { after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); } + { before(grammarAccess.getConnectAccess().getGroup_2()); } + (rule__Connect__Group_2__0)* + { after(grammarAccess.getConnectAccess().getGroup_2()); } ) ; finally { restoreStackSize(stackSize); } - -rule__XImportDeclaration__Group__0 +rule__Connect__Group__3 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group__0__Impl - rule__XImportDeclaration__Group__1 + rule__Connect__Group__3__Impl + rule__Connect__Group__4 ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group__0__Impl +rule__Connect__Group__3__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); } - 'import' - { after(grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); } + { before(grammarAccess.getConnectAccess().getToKeyword_3()); } + 'to' + { after(grammarAccess.getConnectAccess().getToKeyword_3()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group__1 +rule__Connect__Group__4 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group__1__Impl - rule__XImportDeclaration__Group__2 + rule__Connect__Group__4__Impl + rule__Connect__Group__5 ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group__1__Impl +rule__Connect__Group__4__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getAlternatives_1()); } - (rule__XImportDeclaration__Alternatives_1) - { after(grammarAccess.getXImportDeclarationAccess().getAlternatives_1()); } + { before(grammarAccess.getConnectAccess().getToAssignment_4()); } + (rule__Connect__ToAssignment_4) + { after(grammarAccess.getConnectAccess().getToAssignment_4()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group__2 +rule__Connect__Group__5 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group__2__Impl + rule__Connect__Group__5__Impl ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group__2__Impl +rule__Connect__Group__5__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); } - (';')? - { after(grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); } + { before(grammarAccess.getConnectAccess().getGroup_5()); } + (rule__Connect__Group_5__0)* + { after(grammarAccess.getConnectAccess().getGroup_5()); } ) ; finally { @@ -3856,107 +1333,107 @@ finally { } -rule__XImportDeclaration__Group_1_0__0 +rule__Connect__Group_2__0 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group_1_0__0__Impl - rule__XImportDeclaration__Group_1_0__1 + rule__Connect__Group_2__0__Impl + rule__Connect__Group_2__1 ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__0__Impl +rule__Connect__Group_2__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0()); } - (rule__XImportDeclaration__StaticAssignment_1_0_0) - { after(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0()); } + { before(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__1 +rule__Connect__Group_2__1 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group_1_0__1__Impl - rule__XImportDeclaration__Group_1_0__2 + rule__Connect__Group_2__1__Impl ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__1__Impl +rule__Connect__Group_2__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1()); } - (rule__XImportDeclaration__ExtensionAssignment_1_0_1)? - { after(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1()); } + { before(grammarAccess.getConnectAccess().getFromAssignment_2_1()); } + (rule__Connect__FromAssignment_2_1) + { after(grammarAccess.getConnectAccess().getFromAssignment_2_1()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__2 + +rule__Connect__Group_5__0 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group_1_0__2__Impl - rule__XImportDeclaration__Group_1_0__3 + rule__Connect__Group_5__0__Impl + rule__Connect__Group_5__1 ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__2__Impl +rule__Connect__Group_5__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2()); } - (rule__XImportDeclaration__ImportedTypeAssignment_1_0_2) - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2()); } + { before(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); } + ',' + { after(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__3 +rule__Connect__Group_5__1 @init { int stackSize = keepStackSize(); } : - rule__XImportDeclaration__Group_1_0__3__Impl + rule__Connect__Group_5__1__Impl ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__Group_1_0__3__Impl +rule__Connect__Group_5__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3()); } - (rule__XImportDeclaration__Alternatives_1_0_3) - { after(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3()); } + { before(grammarAccess.getConnectAccess().getToAssignment_5_1()); } + (rule__Connect__ToAssignment_5_1) + { after(grammarAccess.getConnectAccess().getToAssignment_5_1()); } ) ; finally { @@ -3964,778 +1441,712 @@ finally { } -rule__QualifiedNameInStaticImport__Group__0 +rule__GoInto__Group__0 @init { int stackSize = keepStackSize(); } : - rule__QualifiedNameInStaticImport__Group__0__Impl - rule__QualifiedNameInStaticImport__Group__1 + rule__GoInto__Group__0__Impl + rule__GoInto__Group__1 ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameInStaticImport__Group__0__Impl +rule__GoInto__Group__0__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); } - ruleValidID - { after(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); } + { before(grammarAccess.getGoIntoAccess().getGoKeyword_0()); } + 'go' + { after(grammarAccess.getGoIntoAccess().getGoKeyword_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameInStaticImport__Group__1 +rule__GoInto__Group__1 @init { int stackSize = keepStackSize(); } : - rule__QualifiedNameInStaticImport__Group__1__Impl + rule__GoInto__Group__1__Impl + rule__GoInto__Group__2 ; finally { restoreStackSize(stackSize); } -rule__QualifiedNameInStaticImport__Group__1__Impl +rule__GoInto__Group__1__Impl @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); } - '.' - { after(grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); } + { before(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); } + (rule__GoInto__DirectionAssignment_1) + { after(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); } ) ; finally { restoreStackSize(stackSize); } - -rule__TriquetrumScript__LibrariesAssignment_0 +rule__GoInto__Group__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); } - ruleLibrary - { after(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); } - ) + rule__GoInto__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__TriquetrumScript__CommandsAssignment_1 +rule__GoInto__Group__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); } - ruleCommand - { after(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); } - ) +( + { before(grammarAccess.getGoIntoAccess().getObjAssignment_2()); } + (rule__GoInto__ObjAssignment_2) + { after(grammarAccess.getGoIntoAccess().getObjAssignment_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__Include__FilenameAssignment_1 - @init { - int stackSize = keepStackSize(); - } -: - ( - { before(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); } - RULE_STRING - { after(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); } - ) -; -finally { - restoreStackSize(stackSize); -} -rule__Library__NameAssignment_1 +rule__GoOut__Group__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); } - RULE_ID - { after(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); } - ) + rule__GoOut__Group__0__Impl + rule__GoOut__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Insert__CategoryAssignment_1 +rule__GoOut__Group__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); } - ruleCategory - { after(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); } - ) +( + { before(grammarAccess.getGoOutAccess().getGoKeyword_0()); } + 'go' + { after(grammarAccess.getGoOutAccess().getGoKeyword_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__Insert__ObjAssignment_2 +rule__GoOut__Group__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInsertAccess().getObjNamedObjParserRuleCall_2_0()); } - ruleNamedObj - { after(grammarAccess.getInsertAccess().getObjNamedObjParserRuleCall_2_0()); } - ) + rule__GoOut__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Insert__NameAssignment_4 +rule__GoOut__Group__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); } - RULE_STRING - { after(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); } - ) +( + { before(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); } + (rule__GoOut__DirectionAssignment_1) + { after(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__Insert__ParametersAssignment_5_1 + +rule__GoTop__Group__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); } - ruleParameter - { after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); } - ) + rule__GoTop__Group__0__Impl + rule__GoTop__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Insert__ParametersAssignment_5_2_1 +rule__GoTop__Group__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); } - ruleParameter - { after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); } - ) +( + { before(grammarAccess.getGoTopAccess().getGoKeyword_0()); } + 'go' + { after(grammarAccess.getGoTopAccess().getGoKeyword_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__Set__ParamAssignment_1 +rule__GoTop__Group__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); } - ruleParameter - { after(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); } - ) + rule__GoTop__Group__1__Impl ; finally { restoreStackSize(stackSize); } -rule__Connect__FromAssignment_1 +rule__GoTop__Group__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); } - ruleConnectionPort - { after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); } - ) +( + { before(grammarAccess.getGoTopAccess().getDirectionAssignment_1()); } + (rule__GoTop__DirectionAssignment_1) + { after(grammarAccess.getGoTopAccess().getDirectionAssignment_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__Connect__FromAssignment_2_1 + +rule__Parameter__Group__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); } - ruleConnectionPort - { after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); } - ) + rule__Parameter__Group__0__Impl + rule__Parameter__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Connect__ToAssignment_4 +rule__Parameter__Group__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); } - ruleConnectionPort - { after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); } - ) +( + { before(grammarAccess.getParameterAccess().getIdAssignment_0()); } + (rule__Parameter__IdAssignment_0) + { after(grammarAccess.getParameterAccess().getIdAssignment_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__Connect__ToAssignment_5_1 +rule__Parameter__Group__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); } - ruleConnectionPort - { after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); } - ) + rule__Parameter__Group__1__Impl + rule__Parameter__Group__2 ; finally { restoreStackSize(stackSize); } -rule__GoInto__DirectionAssignment_1 +rule__Parameter__Group__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } - ( - { before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } - 'into' - { after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } - ) - { after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } - ) +( + { before(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); } + '=' + { after(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__GoInto__ObjAssignment_2 +rule__Parameter__Group__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); } - ruleNamedObj - { after(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); } - ) + rule__Parameter__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__GoOut__DirectionAssignment_1 +rule__Parameter__Group__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } - ( - { before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } - 'out' - { after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } - ) - { after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } - ) +( + { before(grammarAccess.getParameterAccess().getValueAssignment_2()); } + (rule__Parameter__ValueAssignment_2) + { after(grammarAccess.getParameterAccess().getValueAssignment_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__Parameter__IdAssignment_0 + +rule__ConnectionPort__Group__0 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0()); } - ruleNamedObj - { after(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0()); } - ) + rule__ConnectionPort__Group__0__Impl + rule__ConnectionPort__Group__1 ; finally { restoreStackSize(stackSize); } -rule__Parameter__ValueAssignment_2 +rule__ConnectionPort__Group__0__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); } - RULE_STRING - { after(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); } - ) +( + { before(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); } + (rule__ConnectionPort__ActorAssignment_0) + { after(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); } +) ; finally { restoreStackSize(stackSize); } -rule__ConnectionPort__ActorAssignment_0 +rule__ConnectionPort__Group__1 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); } - ( - { before(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); } - RULE_ID - { after(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); } - ) - { after(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); } - ) + rule__ConnectionPort__Group__1__Impl + rule__ConnectionPort__Group__2 ; finally { restoreStackSize(stackSize); } -rule__ConnectionPort__PortAssignment_2 +rule__ConnectionPort__Group__1__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); } - ruleNamedObj - { after(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); } - ) +( + { before(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); } + '.' + { after(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); } +) ; finally { restoreStackSize(stackSize); } -rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 +rule__ConnectionPort__Group__2 @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); } - ruleJvmTypeReference - { after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); } - ) + rule__ConnectionPort__Group__2__Impl ; finally { restoreStackSize(stackSize); } -rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 +rule__ConnectionPort__Group__2__Impl @init { int stackSize = keepStackSize(); } : - ( - { before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); } - ruleJvmTypeReference - { after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); } - ) +( + { before(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); } + (rule__ConnectionPort__PortAssignment_2) + { after(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); } +) ; finally { restoreStackSize(stackSize); } -rule__XFunctionTypeRef__ReturnTypeAssignment_2 + +rule__TriquetrumScript__LibrariesAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); } - ruleJvmTypeReference - { after(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); } + { before(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); } + ruleLibrary + { after(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__TypeAssignment_0 +rule__TriquetrumScript__CommandsAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); } - ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeQualifiedNameParserRuleCall_0_0_1()); } - ruleQualifiedName - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeQualifiedNameParserRuleCall_0_0_1()); } - ) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); } + { before(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); } + ruleCommand + { after(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 +rule__Include__FilenameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); } - ruleJvmArgumentTypeReference - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); } + { before(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); } + RULE_STRING + { after(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 +rule__Library__NameAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); } - ruleJvmArgumentTypeReference - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); } + { before(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 +rule__Insert__CategoryAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); } - ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeValidIDParserRuleCall_1_4_1_0_1()); } - ruleValidID - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeValidIDParserRuleCall_1_4_1_0_1()); } - ) - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); } + { before(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); } + ruleCategory + { after(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 +rule__Insert__EntityClassAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); } - ruleJvmArgumentTypeReference - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); } + { before(grammarAccess.getInsertAccess().getEntityClassENTITY_CLASSTerminalRuleCall_2_0()); } + RULE_ENTITY_CLASS + { after(grammarAccess.getInsertAccess().getEntityClassENTITY_CLASSTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 +rule__Insert__NameAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); } - ruleJvmArgumentTypeReference - { after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); } + { before(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); } + RULE_STRING + { after(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 +rule__Insert__ParametersAssignment_5_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); } - ruleJvmUpperBound - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); } + { before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); } + ruleParameter + { after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 +rule__Insert__ParametersAssignment_5_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); } - ruleJvmUpperBoundAnded - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); } + { before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); } + ruleParameter + { after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 +rule__Set__ParamAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); } - ruleJvmLowerBound - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); } + { before(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); } + ruleParameter + { after(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 +rule__Connect__FromAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); } - ruleJvmLowerBoundAnded - { after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); } + { before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); } + ruleConnectionPort + { after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBound__TypeReferenceAssignment_1 +rule__Connect__FromAssignment_2_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } - ruleJvmTypeReference - { after(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } + { before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); } + ruleConnectionPort + { after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 +rule__Connect__ToAssignment_4 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } - ruleJvmTypeReference - { after(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } + { before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); } + ruleConnectionPort + { after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBound__TypeReferenceAssignment_1 +rule__Connect__ToAssignment_5_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } - ruleJvmTypeReference - { after(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } + { before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); } + ruleConnectionPort + { after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 +rule__GoInto__DirectionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } - ruleJvmTypeReference - { after(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } + { before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } + ( + { before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } + 'into' + { after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } + ) + { after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__StaticAssignment_1_0_0 +rule__GoInto__ObjAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); } - ( - { before(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); } - 'static' - { after(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); } - ) - { after(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); } + { before(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); } + ruleNamedObj + { after(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__ExtensionAssignment_1_0_1 +rule__GoOut__DirectionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); } + { before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } ( - { before(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); } - 'extension' - { after(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); } + { before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } + 'out' + { after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } ) - { after(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); } + { after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 +rule__GoTop__DirectionAssignment_1 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); } + { before(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameInStaticImportParserRuleCall_1_0_2_0_1()); } - ruleQualifiedNameInStaticImport - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameInStaticImportParserRuleCall_1_0_2_0_1()); } + { before(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } + 'top' + { after(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } ) - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); } + { after(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__WildcardAssignment_1_0_3_0 +rule__Parameter__IdAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); } - ( - { before(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); } - '*' - { after(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); } - ) - { after(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); } + { before(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0()); } + ruleParameter_id + { after(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 +rule__Parameter__ValueAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); } - ruleValidID - { after(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); } + { before(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); } + RULE_STRING + { after(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__ImportedTypeAssignment_1_1 +rule__ConnectionPort__ActorAssignment_0 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); } + { before(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); } ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameParserRuleCall_1_1_0_1()); } - ruleQualifiedName - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameParserRuleCall_1_1_0_1()); } + { before(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); } + RULE_ID + { after(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); } ) - { after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); } + { after(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); } ) ; finally { restoreStackSize(stackSize); } -rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 +rule__ConnectionPort__PortAssignment_2 @init { int stackSize = keepStackSize(); } : ( - { before(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); } - ruleQualifiedNameWithWildcard - { after(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); } + { before(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); } + ruleNamedObj + { after(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); } ) ; finally { restoreStackSize(stackSize); } -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'$'|'_') ('a'..'z'|'A'..'Z'|'$'|'_'|'0'..'9')*; +RULE_PARAMETER_NAME : '$' ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_ENTITY_CLASS : '<' ( options {greedy=false;} : . )*'>'; + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'?|'\'' ('\\' .|~(('\\'|'\'')))* '\''?); +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; diff --git a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.tokens b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.tokens index 86ef0a55..386ed29c 100644 --- a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.tokens +++ b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqcl.tokens @@ -1,46 +1,32 @@ -'&'=36 -'('=30 -')'=31 -'*'=38 -','=20 -'.'=26 -';'=14 -'<'=32 -'='=25 -'=>'=29 -'>'=33 -'?'=34 -'Actor'=10 -'Director'=13 -'Parameter'=11 -'Port'=12 -'['=27 -']'=28 -'as'=18 -'connect'=22 -'extends'=35 -'extension'=43 -'go'=24 -'import'=39 -'include'=15 -'insert'=17 -'into'=40 -'library'=16 -'out'=41 -'set'=21 -'static'=42 -'super'=37 -'to'=23 -'with'=19 -RULE_ANY_OTHER=9 -RULE_ID=4 -RULE_ML_COMMENT=6 -RULE_SL_COMMENT=7 +','=23 +'.'=29 +';'=17 +'='=28 +'actor'=13 +'as'=21 +'connect'=25 +'director'=16 +'go'=27 +'include'=18 +'insert'=20 +'into'=30 +'library'=19 +'out'=31 +'parameter'=14 +'port'=15 +'set'=24 +'to'=26 +'top'=32 +'with'=22 +RULE_ANY_OTHER=12 +RULE_ENTITY_CLASS=7 +RULE_ID=6 +RULE_INT=8 +RULE_ML_COMMENT=9 +RULE_PARAMETER_NAME=4 +RULE_SL_COMMENT=10 RULE_STRING=5 -RULE_WS=8 -T__10=10 -T__11=11 -T__12=12 +RULE_WS=11 T__13=13 T__14=14 T__15=15 @@ -61,14 +47,3 @@ T__29=29 T__30=30 T__31=31 T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 diff --git a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclLexer.java b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclLexer.java index cc6b8e99..ba3bdee6 100644 --- a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclLexer.java +++ b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclLexer.java @@ -12,47 +12,36 @@ @SuppressWarnings("all") public class InternalTqclLexer extends Lexer { + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=10; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; - public static final int T__10=10; - public static final int RULE_ID=4; + 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_PARAMETER_NAME=4; + public static final int RULE_ID=6; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int RULE_ENTITY_CLASS=7; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; + public static final int RULE_INT=8; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; + public static final int RULE_ML_COMMENT=9; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; - public static final int RULE_STRING=5; - 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__42=42; - public static final int T__43=43; // delegates // delegators @@ -67,78 +56,15 @@ public InternalTqclLexer(CharStream input, RecognizerSharedState state) { } public String getGrammarFileName() { return "InternalTqcl.g"; } - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:11:7: ( 'Actor' ) - // InternalTqcl.g:11:9: 'Actor' - { - match("Actor"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:12:7: ( 'Parameter' ) - // InternalTqcl.g:12:9: 'Parameter' - { - match("Parameter"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:13:7: ( 'Port' ) - // InternalTqcl.g:13:9: 'Port' - { - match("Port"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - // $ANTLR start "T__13" public final void mT__13() throws RecognitionException { try { int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:14:7: ( 'Director' ) - // InternalTqcl.g:14:9: 'Director' + // InternalTqcl.g:11:7: ( 'actor' ) + // InternalTqcl.g:11:9: 'actor' { - match("Director"); + match("actor"); } @@ -156,10 +82,11 @@ public final void mT__14() throws RecognitionException { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:15:7: ( ';' ) - // InternalTqcl.g:15:9: ';' + // InternalTqcl.g:12:7: ( 'parameter' ) + // InternalTqcl.g:12:9: 'parameter' { - match(';'); + match("parameter"); + } @@ -176,10 +103,10 @@ public final void mT__15() throws RecognitionException { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:16:7: ( 'include' ) - // InternalTqcl.g:16:9: 'include' + // InternalTqcl.g:13:7: ( 'port' ) + // InternalTqcl.g:13:9: 'port' { - match("include"); + match("port"); } @@ -197,10 +124,10 @@ public final void mT__16() throws RecognitionException { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:17:7: ( 'library' ) - // InternalTqcl.g:17:9: 'library' + // InternalTqcl.g:14:7: ( 'director' ) + // InternalTqcl.g:14:9: 'director' { - match("library"); + match("director"); } @@ -218,11 +145,10 @@ public final void mT__17() throws RecognitionException { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:18:7: ( 'insert' ) - // InternalTqcl.g:18:9: 'insert' + // InternalTqcl.g:15:7: ( ';' ) + // InternalTqcl.g:15:9: ';' { - match("insert"); - + match(';'); } @@ -239,10 +165,10 @@ public final void mT__18() throws RecognitionException { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:19:7: ( 'as' ) - // InternalTqcl.g:19:9: 'as' + // InternalTqcl.g:16:7: ( 'include' ) + // InternalTqcl.g:16:9: 'include' { - match("as"); + match("include"); } @@ -260,10 +186,10 @@ public final void mT__19() throws RecognitionException { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:20:7: ( 'with' ) - // InternalTqcl.g:20:9: 'with' + // InternalTqcl.g:17:7: ( 'library' ) + // InternalTqcl.g:17:9: 'library' { - match("with"); + match("library"); } @@ -281,10 +207,11 @@ public final void mT__20() throws RecognitionException { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:21:7: ( ',' ) - // InternalTqcl.g:21:9: ',' + // InternalTqcl.g:18:7: ( 'insert' ) + // InternalTqcl.g:18:9: 'insert' { - match(','); + match("insert"); + } @@ -301,10 +228,10 @@ public final void mT__21() throws RecognitionException { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:22:7: ( 'set' ) - // InternalTqcl.g:22:9: 'set' + // InternalTqcl.g:19:7: ( 'as' ) + // InternalTqcl.g:19:9: 'as' { - match("set"); + match("as"); } @@ -322,10 +249,10 @@ public final void mT__22() throws RecognitionException { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:23:7: ( 'connect' ) - // InternalTqcl.g:23:9: 'connect' + // InternalTqcl.g:20:7: ( 'with' ) + // InternalTqcl.g:20:9: 'with' { - match("connect"); + match("with"); } @@ -343,11 +270,10 @@ public final void mT__23() throws RecognitionException { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:24:7: ( 'to' ) - // InternalTqcl.g:24:9: 'to' + // InternalTqcl.g:21:7: ( ',' ) + // InternalTqcl.g:21:9: ',' { - match("to"); - + match(','); } @@ -364,10 +290,10 @@ public final void mT__24() throws RecognitionException { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:25:7: ( 'go' ) - // InternalTqcl.g:25:9: 'go' + // InternalTqcl.g:22:7: ( 'set' ) + // InternalTqcl.g:22:9: 'set' { - match("go"); + match("set"); } @@ -385,10 +311,11 @@ public final void mT__25() throws RecognitionException { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:26:7: ( '=' ) - // InternalTqcl.g:26:9: '=' + // InternalTqcl.g:23:7: ( 'connect' ) + // InternalTqcl.g:23:9: 'connect' { - match('='); + match("connect"); + } @@ -405,10 +332,11 @@ public final void mT__26() throws RecognitionException { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:27:7: ( '.' ) - // InternalTqcl.g:27:9: '.' + // InternalTqcl.g:24:7: ( 'to' ) + // InternalTqcl.g:24:9: 'to' { - match('.'); + match("to"); + } @@ -425,10 +353,11 @@ public final void mT__27() throws RecognitionException { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:28:7: ( '[' ) - // InternalTqcl.g:28:9: '[' + // InternalTqcl.g:25:7: ( 'go' ) + // InternalTqcl.g:25:9: 'go' { - match('['); + match("go"); + } @@ -445,10 +374,10 @@ public final void mT__28() throws RecognitionException { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:29:7: ( ']' ) - // InternalTqcl.g:29:9: ']' + // InternalTqcl.g:26:7: ( '=' ) + // InternalTqcl.g:26:9: '=' { - match(']'); + match('='); } @@ -465,11 +394,10 @@ public final void mT__29() throws RecognitionException { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:30:7: ( '=>' ) - // InternalTqcl.g:30:9: '=>' + // InternalTqcl.g:27:7: ( '.' ) + // InternalTqcl.g:27:9: '.' { - match("=>"); - + match('.'); } @@ -486,10 +414,11 @@ public final void mT__30() throws RecognitionException { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:31:7: ( '(' ) - // InternalTqcl.g:31:9: '(' + // InternalTqcl.g:28:7: ( 'into' ) + // InternalTqcl.g:28:9: 'into' { - match('('); + match("into"); + } @@ -506,10 +435,11 @@ public final void mT__31() throws RecognitionException { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:32:7: ( ')' ) - // InternalTqcl.g:32:9: ')' + // InternalTqcl.g:29:7: ( 'out' ) + // InternalTqcl.g:29:9: 'out' { - match(')'); + match("out"); + } @@ -526,111 +456,10 @@ public final void mT__32() throws RecognitionException { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:33:7: ( '<' ) - // InternalTqcl.g:33:9: '<' - { - match('<'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:34:7: ( '>' ) - // InternalTqcl.g:34:9: '>' - { - match('>'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:35:7: ( '?' ) - // InternalTqcl.g:35:9: '?' - { - match('?'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:36:7: ( 'extends' ) - // InternalTqcl.g:36:9: 'extends' - { - match("extends"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" - - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:37:7: ( '&' ) - // InternalTqcl.g:37:9: '&' + // InternalTqcl.g:30:7: ( 'top' ) + // InternalTqcl.g:30:9: 'top' { - match('&'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__36" - - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { - try { - int _type = T__37; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:38:7: ( 'super' ) - // InternalTqcl.g:38:9: 'super' - { - match("super"); + match("top"); } @@ -641,79 +470,58 @@ public final void mT__37() throws RecognitionException { finally { } } - // $ANTLR end "T__37" + // $ANTLR end "T__32" - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { + // $ANTLR start "RULE_PARAMETER_NAME" + public final void mRULE_PARAMETER_NAME() throws RecognitionException { try { - int _type = T__38; + int _type = RULE_PARAMETER_NAME; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:39:7: ( '*' ) - // InternalTqcl.g:39:9: '*' + // InternalTqcl.g:2141:21: ( '$' ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalTqcl.g:2141:23: '$' ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - match('*'); + match('$'); + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" - - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:40:7: ( 'import' ) - // InternalTqcl.g:40:9: 'import' - { - match("import"); - - - } + // InternalTqcl.g:2141:51: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" + if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { + alt1=1; + } - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:41:7: ( 'into' ) - // InternalTqcl.g:41:9: 'into' - { - match("into"); + switch (alt1) { + case 1 : + // InternalTqcl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); - } + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__40" - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { - try { - int _type = T__41; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:42:7: ( 'out' ) - // InternalTqcl.g:42:9: 'out' - { - match("out"); + } + break; + + default : + break loop1; + } + } while (true); } @@ -724,39 +532,46 @@ public final void mT__41() throws RecognitionException { finally { } } - // $ANTLR end "T__41" + // $ANTLR end "RULE_PARAMETER_NAME" - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { + // $ANTLR start "RULE_ENTITY_CLASS" + public final void mRULE_ENTITY_CLASS() throws RecognitionException { try { - int _type = T__42; + int _type = RULE_ENTITY_CLASS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:43:7: ( 'static' ) - // InternalTqcl.g:43:9: 'static' + // InternalTqcl.g:2143:19: ( '<' ( options {greedy=false; } : . )* '>' ) + // InternalTqcl.g:2143:21: '<' ( options {greedy=false; } : . )* '>' { - match("static"); + match('<'); + // InternalTqcl.g:2143:25: ( options {greedy=false; } : . )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + if ( (LA2_0=='>') ) { + alt2=2; + } + else if ( ((LA2_0>='\u0000' && LA2_0<='=')||(LA2_0>='?' && LA2_0<='\uFFFF')) ) { + alt2=1; + } - } - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" + switch (alt2) { + case 1 : + // InternalTqcl.g:2143:53: . + { + matchAny(); - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:44:7: ( 'extension' ) - // InternalTqcl.g:44:9: 'extension' - { - match("extension"); + } + break; + + default : + break loop2; + } + } while (true); + match('>'); } @@ -766,26 +581,26 @@ public final void mT__43() throws RecognitionException { finally { } } - // $ANTLR end "T__43" + // $ANTLR end "RULE_ENTITY_CLASS" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4736:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* ) - // InternalTqcl.g:4736:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + // InternalTqcl.g:2145:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalTqcl.g:2145:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalTqcl.g:4736:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); + // InternalTqcl.g:2145:11: ( '^' )? + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA1_0=='^') ) { - alt1=1; + if ( (LA3_0=='^') ) { + alt3=1; } - switch (alt1) { + switch (alt3) { case 1 : - // InternalTqcl.g:4736:11: '^' + // InternalTqcl.g:2145:11: '^' { match('^'); @@ -794,7 +609,7 @@ public final void mRULE_ID() throws RecognitionException { } - if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } @@ -803,22 +618,22 @@ public final void mRULE_ID() throws RecognitionException { recover(mse); throw mse;} - // InternalTqcl.g:4736:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* - loop2: + // InternalTqcl.g:2145:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop4: do { - int alt2=2; - int LA2_0 = input.LA(1); + int alt4=2; + int LA4_0 = input.LA(1); - if ( (LA2_0=='$'||(LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { + alt4=1; } - switch (alt2) { + switch (alt4) { case 1 : // InternalTqcl.g: { - if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } @@ -832,7 +647,7 @@ public final void mRULE_ID() throws RecognitionException { break; default : - break loop2; + break loop4; } } while (true); @@ -847,52 +662,101 @@ public final void mRULE_ID() throws RecognitionException { } // $ANTLR end "RULE_ID" + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalTqcl.g:2147:10: ( ( '0' .. '9' )+ ) + // InternalTqcl.g:2147:12: ( '0' .. '9' )+ + { + // InternalTqcl.g:2147:12: ( '0' .. '9' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='0' && LA5_0<='9')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalTqcl.g:2147:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4738:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) ) - // InternalTqcl.g:4738:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + // InternalTqcl.g:2149:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalTqcl.g:2149:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalTqcl.g:4738:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) - int alt7=2; - int LA7_0 = input.LA(1); + // InternalTqcl.g:2149:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0=='\"') ) { - alt7=1; + if ( (LA8_0=='\"') ) { + alt8=1; } - else if ( (LA7_0=='\'') ) { - alt7=2; + else if ( (LA8_0=='\'') ) { + alt8=2; } else { NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); + new NoViableAltException("", 8, 0, input); throw nvae; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalTqcl.g:4738:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? + // InternalTqcl.g:2149:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalTqcl.g:4738:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop3: + // InternalTqcl.g:2149:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop6: do { - int alt3=3; - int LA3_0 = input.LA(1); + int alt6=3; + int LA6_0 = input.LA(1); - if ( (LA3_0=='\\') ) { - alt3=1; + if ( (LA6_0=='\\') ) { + alt6=1; } - else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { - alt3=2; + else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) { + alt6=2; } - switch (alt3) { + switch (alt6) { case 1 : - // InternalTqcl.g:4738:21: '\\\\' . + // InternalTqcl.g:2149:21: '\\\\' . { match('\\'); matchAny(); @@ -900,7 +764,7 @@ else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>= } break; case 2 : - // InternalTqcl.g:4738:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalTqcl.g:2149:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -916,52 +780,35 @@ else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>= break; default : - break loop3; + break loop6; } } while (true); - // InternalTqcl.g:4738:44: ( '\"' )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\"') ) { - alt4=1; - } - switch (alt4) { - case 1 : - // InternalTqcl.g:4738:44: '\"' - { - match('\"'); - - } - break; - - } - + match('\"'); } break; case 2 : - // InternalTqcl.g:4738:49: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? + // InternalTqcl.g:2149:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalTqcl.g:4738:54: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: + // InternalTqcl.g:2149:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop7: do { - int alt5=3; - int LA5_0 = input.LA(1); + int alt7=3; + int LA7_0 = input.LA(1); - if ( (LA5_0=='\\') ) { - alt5=1; + if ( (LA7_0=='\\') ) { + alt7=1; } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; + else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { + alt7=2; } - switch (alt5) { + switch (alt7) { case 1 : - // InternalTqcl.g:4738:55: '\\\\' . + // InternalTqcl.g:2149:54: '\\\\' . { match('\\'); matchAny(); @@ -969,7 +816,7 @@ else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>= } break; case 2 : - // InternalTqcl.g:4738:62: ~ ( ( '\\\\' | '\\'' ) ) + // InternalTqcl.g:2149:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -985,28 +832,11 @@ else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>= break; default : - break loop5; + break loop7; } } while (true); - // InternalTqcl.g:4738:79: ( '\\'' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\'') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalTqcl.g:4738:79: '\\'' - { - match('\''); - - } - break; - - } - + match('\''); } break; @@ -1029,37 +859,37 @@ public final void mRULE_ML_COMMENT() throws RecognitionException { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4740:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalTqcl.g:4740:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalTqcl.g:2151:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalTqcl.g:2151:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalTqcl.g:4740:24: ( options {greedy=false; } : . )* - loop8: + // InternalTqcl.g:2151:24: ( options {greedy=false; } : . )* + loop9: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA8_0=='*') ) { - int LA8_1 = input.LA(2); + if ( (LA9_0=='*') ) { + int LA9_1 = input.LA(2); - if ( (LA8_1=='/') ) { - alt8=2; + if ( (LA9_1=='/') ) { + alt9=2; } - else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFF')) ) { - alt8=1; + else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { + alt9=1; } } - else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { - alt8=1; + else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { + alt9=1; } - switch (alt8) { + switch (alt9) { case 1 : - // InternalTqcl.g:4740:52: . + // InternalTqcl.g:2151:52: . { matchAny(); @@ -1067,7 +897,7 @@ else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { break; default : - break loop8; + break loop9; } } while (true); @@ -1089,25 +919,25 @@ public final void mRULE_SL_COMMENT() throws RecognitionException { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4742:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalTqcl.g:4742:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalTqcl.g:2153:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalTqcl.g:2153:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalTqcl.g:4742:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop9: + // InternalTqcl.g:2153:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop10: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); - if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) { - alt9=1; + if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) { + alt10=1; } - switch (alt9) { + switch (alt10) { case 1 : - // InternalTqcl.g:4742:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalTqcl.g:2153:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1123,31 +953,31 @@ public final void mRULE_SL_COMMENT() throws RecognitionException { break; default : - break loop9; + break loop10; } } while (true); - // InternalTqcl.g:4742:40: ( ( '\\r' )? '\\n' )? - int alt11=2; - int LA11_0 = input.LA(1); + // InternalTqcl.g:2153:40: ( ( '\\r' )? '\\n' )? + int alt12=2; + int LA12_0 = input.LA(1); - if ( (LA11_0=='\n'||LA11_0=='\r') ) { - alt11=1; + if ( (LA12_0=='\n'||LA12_0=='\r') ) { + alt12=1; } - switch (alt11) { + switch (alt12) { case 1 : - // InternalTqcl.g:4742:41: ( '\\r' )? '\\n' + // InternalTqcl.g:2153:41: ( '\\r' )? '\\n' { - // InternalTqcl.g:4742:41: ( '\\r' )? - int alt10=2; - int LA10_0 = input.LA(1); + // InternalTqcl.g:2153:41: ( '\\r' )? + int alt11=2; + int LA11_0 = input.LA(1); - if ( (LA10_0=='\r') ) { - alt10=1; + if ( (LA11_0=='\r') ) { + alt11=1; } - switch (alt10) { + switch (alt11) { case 1 : - // InternalTqcl.g:4742:41: '\\r' + // InternalTqcl.g:2153:41: '\\r' { match('\r'); @@ -1179,22 +1009,22 @@ public final void mRULE_WS() throws RecognitionException { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4744:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalTqcl.g:4744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalTqcl.g:2155:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalTqcl.g:2155:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalTqcl.g:4744:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt12=0; - loop12: + // InternalTqcl.g:2155:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt13=0; + loop13: do { - int alt12=2; - int LA12_0 = input.LA(1); + int alt13=2; + int LA13_0 = input.LA(1); - if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) { - alt12=1; + if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) { + alt13=1; } - switch (alt12) { + switch (alt13) { case 1 : // InternalTqcl.g: { @@ -1212,12 +1042,12 @@ public final void mRULE_WS() throws RecognitionException { break; default : - if ( cnt12 >= 1 ) break loop12; + if ( cnt13 >= 1 ) break loop13; EarlyExitException eee = - new EarlyExitException(12, input); + new EarlyExitException(13, input); throw eee; } - cnt12++; + cnt13++; } while (true); @@ -1236,8 +1066,8 @@ public final void mRULE_ANY_OTHER() throws RecognitionException { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:4746:16: ( . ) - // InternalTqcl.g:4746:18: . + // InternalTqcl.g:2157:16: ( . ) + // InternalTqcl.g:2157:18: . { matchAny(); @@ -1252,285 +1082,208 @@ public final void mRULE_ANY_OTHER() throws RecognitionException { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalTqcl.g:1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt13=40; - alt13 = dfa13.predict(input); - switch (alt13) { + // InternalTqcl.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_PARAMETER_NAME | RULE_ENTITY_CLASS | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt14=29; + alt14 = dfa14.predict(input); + switch (alt14) { case 1 : - // InternalTqcl.g:1:10: T__10 + // InternalTqcl.g:1:10: T__13 { - mT__10(); + mT__13(); } break; case 2 : - // InternalTqcl.g:1:16: T__11 + // InternalTqcl.g:1:16: T__14 { - mT__11(); + mT__14(); } break; case 3 : - // InternalTqcl.g:1:22: T__12 + // InternalTqcl.g:1:22: T__15 { - mT__12(); + mT__15(); } break; case 4 : - // InternalTqcl.g:1:28: T__13 + // InternalTqcl.g:1:28: T__16 { - mT__13(); + mT__16(); } break; case 5 : - // InternalTqcl.g:1:34: T__14 + // InternalTqcl.g:1:34: T__17 { - mT__14(); + mT__17(); } break; case 6 : - // InternalTqcl.g:1:40: T__15 + // InternalTqcl.g:1:40: T__18 { - mT__15(); + mT__18(); } break; case 7 : - // InternalTqcl.g:1:46: T__16 + // InternalTqcl.g:1:46: T__19 { - mT__16(); + mT__19(); } break; case 8 : - // InternalTqcl.g:1:52: T__17 + // InternalTqcl.g:1:52: T__20 { - mT__17(); + mT__20(); } break; case 9 : - // InternalTqcl.g:1:58: T__18 + // InternalTqcl.g:1:58: T__21 { - mT__18(); + mT__21(); } break; case 10 : - // InternalTqcl.g:1:64: T__19 + // InternalTqcl.g:1:64: T__22 { - mT__19(); + mT__22(); } break; case 11 : - // InternalTqcl.g:1:70: T__20 + // InternalTqcl.g:1:70: T__23 { - mT__20(); + mT__23(); } break; case 12 : - // InternalTqcl.g:1:76: T__21 + // InternalTqcl.g:1:76: T__24 { - mT__21(); + mT__24(); } break; case 13 : - // InternalTqcl.g:1:82: T__22 + // InternalTqcl.g:1:82: T__25 { - mT__22(); + mT__25(); } break; case 14 : - // InternalTqcl.g:1:88: T__23 + // InternalTqcl.g:1:88: T__26 { - mT__23(); + mT__26(); } break; case 15 : - // InternalTqcl.g:1:94: T__24 + // InternalTqcl.g:1:94: T__27 { - mT__24(); + mT__27(); } break; case 16 : - // InternalTqcl.g:1:100: T__25 + // InternalTqcl.g:1:100: T__28 { - mT__25(); + mT__28(); } break; case 17 : - // InternalTqcl.g:1:106: T__26 + // InternalTqcl.g:1:106: T__29 { - mT__26(); + mT__29(); } break; case 18 : - // InternalTqcl.g:1:112: T__27 + // InternalTqcl.g:1:112: T__30 { - mT__27(); + mT__30(); } break; case 19 : - // InternalTqcl.g:1:118: T__28 + // InternalTqcl.g:1:118: T__31 { - mT__28(); + mT__31(); } break; case 20 : - // InternalTqcl.g:1:124: T__29 + // InternalTqcl.g:1:124: T__32 { - mT__29(); + mT__32(); } break; case 21 : - // InternalTqcl.g:1:130: T__30 + // InternalTqcl.g:1:130: RULE_PARAMETER_NAME { - mT__30(); + mRULE_PARAMETER_NAME(); } break; case 22 : - // InternalTqcl.g:1:136: T__31 + // InternalTqcl.g:1:150: RULE_ENTITY_CLASS { - mT__31(); + mRULE_ENTITY_CLASS(); } break; case 23 : - // InternalTqcl.g:1:142: T__32 + // InternalTqcl.g:1:168: RULE_ID { - mT__32(); + mRULE_ID(); } break; case 24 : - // InternalTqcl.g:1:148: T__33 + // InternalTqcl.g:1:176: RULE_INT { - mT__33(); + mRULE_INT(); } break; case 25 : - // InternalTqcl.g:1:154: T__34 - { - mT__34(); - - } - break; - case 26 : - // InternalTqcl.g:1:160: T__35 - { - mT__35(); - - } - break; - case 27 : - // InternalTqcl.g:1:166: T__36 - { - mT__36(); - - } - break; - case 28 : - // InternalTqcl.g:1:172: T__37 - { - mT__37(); - - } - break; - case 29 : - // InternalTqcl.g:1:178: T__38 - { - mT__38(); - - } - break; - case 30 : - // InternalTqcl.g:1:184: T__39 - { - mT__39(); - - } - break; - case 31 : - // InternalTqcl.g:1:190: T__40 - { - mT__40(); - - } - break; - case 32 : - // InternalTqcl.g:1:196: T__41 - { - mT__41(); - - } - break; - case 33 : - // InternalTqcl.g:1:202: T__42 - { - mT__42(); - - } - break; - case 34 : - // InternalTqcl.g:1:208: T__43 - { - mT__43(); - - } - break; - case 35 : - // InternalTqcl.g:1:214: RULE_ID - { - mRULE_ID(); - - } - break; - case 36 : - // InternalTqcl.g:1:222: RULE_STRING + // InternalTqcl.g:1:185: RULE_STRING { mRULE_STRING(); } break; - case 37 : - // InternalTqcl.g:1:234: RULE_ML_COMMENT + case 26 : + // InternalTqcl.g:1:197: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 38 : - // InternalTqcl.g:1:250: RULE_SL_COMMENT + case 27 : + // InternalTqcl.g:1:213: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 39 : - // InternalTqcl.g:1:266: RULE_WS + case 28 : + // InternalTqcl.g:1:229: RULE_WS { mRULE_WS(); } break; - case 40 : - // InternalTqcl.g:1:274: RULE_ANY_OTHER + case 29 : + // InternalTqcl.g:1:237: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1542,286 +1295,258 @@ public void mTokens() throws RecognitionException { } - protected DFA13 dfa13 = new DFA13(this); - static final String DFA13_eotS = - "\1\uffff\3\43\1\uffff\4\43\1\uffff\4\43\1\65\10\uffff\1\43\2\uffff\1\43\1\41\3\uffff\1\41\2\uffff\1\43\1\uffff\3\43\1\uffff\3\43\1\117\1\43\1\uffff\4\43\1\125\1\126\12\uffff\1\43\2\uffff\1\43\4\uffff\11\43\1\uffff\1\43\1\143\3\43\2\uffff\1\43\1\150\2\43\1\153\3\43\1\157\2\43\1\162\1\uffff\4\43\1\uffff\1\167\1\43\1\uffff\3\43\1\uffff\2\43\1\uffff\1\176\3\43\1\uffff\3\43\1\u0086\1\u0087\1\43\1\uffff\1\u0089\5\43\1\u008f\2\uffff\1\u0090\1\uffff\1\u0091\1\u0092\2\43\1\u0095\4\uffff\1\43\1\u0097\1\uffff\1\u0098\2\uffff"; - static final String DFA13_eofS = - "\u0099\uffff"; - static final String DFA13_minS = - "\1\0\1\143\1\141\1\151\1\uffff\1\155\1\151\1\163\1\151\1\uffff\1\145\3\157\1\76\10\uffff\1\170\2\uffff\1\165\1\44\3\uffff\1\52\2\uffff\1\164\1\uffff\3\162\1\uffff\1\143\1\160\1\142\1\44\1\164\1\uffff\1\164\1\160\1\141\1\156\2\44\12\uffff\1\164\2\uffff\1\164\4\uffff\1\157\1\141\1\164\1\145\1\154\1\145\2\157\1\162\1\uffff\1\150\1\44\1\145\1\164\1\156\2\uffff\1\145\1\44\1\162\1\155\1\44\1\143\1\165\1\162\1\44\1\162\1\141\1\44\1\uffff\1\162\1\151\1\145\1\156\1\uffff\1\44\1\145\1\uffff\1\164\1\144\1\164\1\uffff\1\164\1\162\1\uffff\1\44\2\143\1\144\1\uffff\1\164\1\157\1\145\2\44\1\171\1\uffff\1\44\1\164\1\163\1\151\1\145\1\162\1\44\2\uffff\1\44\1\uffff\2\44\1\157\1\162\1\44\4\uffff\1\156\1\44\1\uffff\1\44\2\uffff"; - static final String DFA13_maxS = - "\1\uffff\1\143\1\157\1\151\1\uffff\1\156\1\151\1\163\1\151\1\uffff\1\165\3\157\1\76\10\uffff\1\170\2\uffff\1\165\1\172\3\uffff\1\57\2\uffff\1\164\1\uffff\3\162\1\uffff\1\164\1\160\1\142\1\172\1\164\1\uffff\1\164\1\160\1\141\1\156\2\172\12\uffff\1\164\2\uffff\1\164\4\uffff\1\157\1\141\1\164\1\145\1\154\1\145\2\157\1\162\1\uffff\1\150\1\172\1\145\1\164\1\156\2\uffff\1\145\1\172\1\162\1\155\1\172\1\143\1\165\1\162\1\172\1\162\1\141\1\172\1\uffff\1\162\1\151\1\145\1\156\1\uffff\1\172\1\145\1\uffff\1\164\1\144\1\164\1\uffff\1\164\1\162\1\uffff\1\172\2\143\1\163\1\uffff\1\164\1\157\1\145\2\172\1\171\1\uffff\1\172\1\164\1\163\1\151\1\145\1\162\1\172\2\uffff\1\172\1\uffff\2\172\1\157\1\162\1\172\4\uffff\1\156\1\172\1\uffff\1\172\2\uffff"; - static final String DFA13_acceptS = - "\4\uffff\1\5\4\uffff\1\13\5\uffff\1\21\1\22\1\23\1\25\1\26\1\27\1\30\1\31\1\uffff\1\33\1\35\2\uffff\1\43\2\44\1\uffff\1\47\1\50\1\uffff\1\43\3\uffff\1\5\5\uffff\1\13\6\uffff\1\24\1\20\1\21\1\22\1\23\1\25\1\26\1\27\1\30\1\31\1\uffff\1\33\1\35\1\uffff\1\44\1\45\1\46\1\47\11\uffff\1\11\5\uffff\1\16\1\17\14\uffff\1\14\4\uffff\1\40\2\uffff\1\3\3\uffff\1\37\2\uffff\1\12\4\uffff\1\1\6\uffff\1\34\7\uffff\1\10\1\36\1\uffff\1\41\5\uffff\1\6\1\7\1\15\1\32\2\uffff\1\4\1\uffff\1\2\1\42"; - static final String DFA13_specialS = - "\1\0\u0098\uffff}>"; - static final String[] DFA13_transitionS = { - "\11\41\2\40\2\41\1\40\22\41\1\40\1\41\1\35\1\41\1\34\1\41\1\30\1\36\1\22\1\23\1\31\1\41\1\11\1\41\1\17\1\37\13\41\1\4\1\24\1\16\1\25\1\26\1\41\1\1\2\34\1\3\13\34\1\2\12\34\1\20\1\41\1\21\1\33\1\34\1\41\1\7\1\34\1\13\1\34\1\27\1\34\1\15\1\34\1\5\2\34\1\6\2\34\1\32\3\34\1\12\1\14\2\34\1\10\3\34\uff85\41", + protected DFA14 dfa14 = new DFA14(this); + static final String DFA14_eotS = + "\1\uffff\3\34\1\uffff\3\34\1\uffff\4\34\2\uffff\1\34\3\31\2\uffff\3\31\2\uffff\1\34\1\64\1\uffff\3\34\1\uffff\3\34\1\uffff\2\34\1\100\1\101\2\uffff\1\34\7\uffff\1\34\1\uffff\10\34\1\114\1\34\1\116\2\uffff\1\117\2\34\1\122\3\34\1\126\1\34\1\130\1\uffff\1\34\2\uffff\1\132\1\34\1\uffff\3\34\1\uffff\1\34\1\uffff\1\34\1\uffff\3\34\1\144\4\34\1\151\1\uffff\1\152\1\153\1\34\1\155\3\uffff\1\156\2\uffff"; + static final String DFA14_eofS = + "\157\uffff"; + static final String DFA14_minS = + "\1\0\1\143\1\141\1\151\1\uffff\1\156\2\151\1\uffff\1\145\3\157\2\uffff\1\165\1\101\1\0\1\101\2\uffff\2\0\1\52\2\uffff\1\164\1\60\1\uffff\3\162\1\uffff\1\143\1\142\1\164\1\uffff\1\164\1\156\2\60\2\uffff\1\164\7\uffff\1\157\1\uffff\1\141\1\164\1\145\1\154\1\145\1\157\1\162\1\150\1\60\1\156\1\60\2\uffff\1\60\1\162\1\155\1\60\1\143\1\165\1\162\1\60\1\141\1\60\1\uffff\1\145\2\uffff\1\60\1\145\1\uffff\1\164\1\144\1\164\1\uffff\1\162\1\uffff\1\143\1\uffff\1\164\1\157\1\145\1\60\1\171\1\164\1\145\1\162\1\60\1\uffff\2\60\1\162\1\60\3\uffff\1\60\2\uffff"; + static final String DFA14_maxS = + "\1\uffff\1\163\1\157\1\151\1\uffff\1\156\2\151\1\uffff\1\145\3\157\2\uffff\1\165\1\172\1\uffff\1\172\2\uffff\2\uffff\1\57\2\uffff\1\164\1\172\1\uffff\3\162\1\uffff\1\164\1\142\1\164\1\uffff\1\164\1\156\2\172\2\uffff\1\164\7\uffff\1\157\1\uffff\1\141\1\164\1\145\1\154\1\145\1\157\1\162\1\150\1\172\1\156\1\172\2\uffff\1\172\1\162\1\155\1\172\1\143\1\165\1\162\1\172\1\141\1\172\1\uffff\1\145\2\uffff\1\172\1\145\1\uffff\1\164\1\144\1\164\1\uffff\1\162\1\uffff\1\143\1\uffff\1\164\1\157\1\145\1\172\1\171\1\164\1\145\1\162\1\172\1\uffff\2\172\1\162\1\172\3\uffff\1\172\2\uffff"; + static final String DFA14_acceptS = + "\4\uffff\1\5\3\uffff\1\13\4\uffff\1\20\1\21\4\uffff\1\27\1\30\3\uffff\1\34\1\35\2\uffff\1\27\3\uffff\1\5\3\uffff\1\13\4\uffff\1\20\1\21\1\uffff\1\25\1\26\1\30\1\31\1\32\1\33\1\34\1\uffff\1\11\13\uffff\1\16\1\17\12\uffff\1\14\1\uffff\1\24\1\23\2\uffff\1\3\3\uffff\1\22\1\uffff\1\12\1\uffff\1\1\11\uffff\1\10\4\uffff\1\6\1\7\1\15\1\uffff\1\4\1\2"; + static final String DFA14_specialS = + "\1\2\20\uffff\1\1\3\uffff\1\0\1\3\130\uffff}>"; + static final String[] DFA14_transitionS = { + "\11\31\2\30\2\31\1\30\22\31\1\30\1\31\1\25\1\31\1\20\2\31\1\26\4\31\1\10\1\31\1\16\1\27\12\24\1\31\1\4\1\21\1\15\3\31\32\23\3\31\1\22\1\23\1\31\1\1\1\23\1\12\1\3\2\23\1\14\1\23\1\5\2\23\1\6\2\23\1\17\1\2\2\23\1\11\1\13\2\23\1\7\3\23\uff85\31", + "\1\32\17\uffff\1\33", + "\1\35\15\uffff\1\36", + "\1\37", + "", + "\1\41", "\1\42", - "\1\44\15\uffff\1\45", + "\1\43", + "", + "\1\45", "\1\46", + "\1\47", + "\1\50", + "", "", - "\1\51\1\50", - "\1\52", "\1\53", - "\1\54", + "\32\54\4\uffff\1\54\1\uffff\32\54", + "\0\55", + "\32\34\4\uffff\1\34\1\uffff\32\34", "", - "\1\56\16\uffff\1\60\1\57", - "\1\61", - "\1\62", - "\1\63", - "\1\64", "", + "\0\57", + "\0\57", + "\1\60\4\uffff\1\61", "", "", + "\1\63", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "", + "\1\65", + "\1\66", + "\1\67", "", + "\1\70\17\uffff\1\71\1\72", + "\1\73", + "\1\74", "", + "\1\75", + "\1\76", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\17\34\1\77\12\34", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", "", + "\1\102", "", - "\1\76", "", "", - "\1\101", - "\1\43\34\uffff\32\43\4\uffff\1\43\1\uffff\32\43", "", "", "", - "\1\103\4\uffff\1\104", "", + "\1\103", "", + "\1\104", + "\1\105", "\1\106", - "", "\1\107", "\1\110", "\1\111", - "", - "\1\112\17\uffff\1\113\1\114", + "\1\112", + "\1\113", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\115", - "\1\116", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\120", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "", "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\120", "\1\121", - "\1\122", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\123", "\1\124", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", + "\1\125", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\127", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", - "", - "\1\130", - "", - "", + "\1\131", "", "", - "\1\131", - "\1\132", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\133", + "", "\1\134", "\1\135", "\1\136", + "", "\1\137", + "", "\1\140", - "\1\141", "", + "\1\141", "\1\142", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\144", + "\1\143", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\145", "\1\146", - "", - "", "\1\147", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\151", - "\1\152", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\154", - "\1\155", - "\1\156", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\160", - "\1\161", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "", - "\1\163", - "\1\164", - "\1\165", - "\1\166", - "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\170", - "", - "\1\171", - "\1\172", - "\1\173", - "", - "\1\174", - "\1\175", - "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\177", - "\1\u0080", - "\1\u0081\16\uffff\1\u0082", - "", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\u0088", - "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\u008a", - "\1\u008b", - "\1\u008c", - "\1\u008d", - "\1\u008e", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "", - "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "\1\u0093", - "\1\u0094", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", - "", + "\1\150", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\154", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", "", - "\1\u0096", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", "", - "\1\43\13\uffff\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", "" }; - static final short[] DFA13_eot = DFA.unpackEncodedString(DFA13_eotS); - static final short[] DFA13_eof = DFA.unpackEncodedString(DFA13_eofS); - static final char[] DFA13_min = DFA.unpackEncodedStringToUnsignedChars(DFA13_minS); - static final char[] DFA13_max = DFA.unpackEncodedStringToUnsignedChars(DFA13_maxS); - static final short[] DFA13_accept = DFA.unpackEncodedString(DFA13_acceptS); - static final short[] DFA13_special = DFA.unpackEncodedString(DFA13_specialS); - static final short[][] DFA13_transition; + static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS); + static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS); + static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS); + static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS); + static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS); + static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS); + static final short[][] DFA14_transition; static { - int numStates = DFA13_transitionS.length; - DFA13_transition = new short[numStates][]; + int numStates = DFA14_transitionS.length; + DFA14_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA14_21<='\uFFFF')) ) {s = 47;} - else if ( (LA13_0=='P') ) {s = 2;} + else s = 25; + + if ( s>=0 ) return s; + break; + case 1 : + int LA14_17 = input.LA(1); - else if ( (LA13_0=='D') ) {s = 3;} + s = -1; + if ( ((LA14_17>='\u0000' && LA14_17<='\uFFFF')) ) {s = 45;} - else if ( (LA13_0==';') ) {s = 4;} + else s = 25; - else if ( (LA13_0=='i') ) {s = 5;} + if ( s>=0 ) return s; + break; + case 2 : + int LA14_0 = input.LA(1); - else if ( (LA13_0=='l') ) {s = 6;} + s = -1; + if ( (LA14_0=='a') ) {s = 1;} - else if ( (LA13_0=='a') ) {s = 7;} + else if ( (LA14_0=='p') ) {s = 2;} - else if ( (LA13_0=='w') ) {s = 8;} + else if ( (LA14_0=='d') ) {s = 3;} - else if ( (LA13_0==',') ) {s = 9;} + else if ( (LA14_0==';') ) {s = 4;} - else if ( (LA13_0=='s') ) {s = 10;} + else if ( (LA14_0=='i') ) {s = 5;} - else if ( (LA13_0=='c') ) {s = 11;} + else if ( (LA14_0=='l') ) {s = 6;} - else if ( (LA13_0=='t') ) {s = 12;} + else if ( (LA14_0=='w') ) {s = 7;} - else if ( (LA13_0=='g') ) {s = 13;} + else if ( (LA14_0==',') ) {s = 8;} - else if ( (LA13_0=='=') ) {s = 14;} + else if ( (LA14_0=='s') ) {s = 9;} - else if ( (LA13_0=='.') ) {s = 15;} + else if ( (LA14_0=='c') ) {s = 10;} - else if ( (LA13_0=='[') ) {s = 16;} + else if ( (LA14_0=='t') ) {s = 11;} - else if ( (LA13_0==']') ) {s = 17;} + else if ( (LA14_0=='g') ) {s = 12;} - else if ( (LA13_0=='(') ) {s = 18;} + else if ( (LA14_0=='=') ) {s = 13;} - else if ( (LA13_0==')') ) {s = 19;} + else if ( (LA14_0=='.') ) {s = 14;} - else if ( (LA13_0=='<') ) {s = 20;} + else if ( (LA14_0=='o') ) {s = 15;} - else if ( (LA13_0=='>') ) {s = 21;} + else if ( (LA14_0=='$') ) {s = 16;} - else if ( (LA13_0=='?') ) {s = 22;} + else if ( (LA14_0=='<') ) {s = 17;} - else if ( (LA13_0=='e') ) {s = 23;} + else if ( (LA14_0=='^') ) {s = 18;} - else if ( (LA13_0=='&') ) {s = 24;} + else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||LA14_0=='b'||(LA14_0>='e' && LA14_0<='f')||LA14_0=='h'||(LA14_0>='j' && LA14_0<='k')||(LA14_0>='m' && LA14_0<='n')||(LA14_0>='q' && LA14_0<='r')||(LA14_0>='u' && LA14_0<='v')||(LA14_0>='x' && LA14_0<='z')) ) {s = 19;} - else if ( (LA13_0=='*') ) {s = 25;} + else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 20;} - else if ( (LA13_0=='o') ) {s = 26;} + else if ( (LA14_0=='\"') ) {s = 21;} - else if ( (LA13_0=='^') ) {s = 27;} + else if ( (LA14_0=='\'') ) {s = 22;} - else if ( (LA13_0=='$'||(LA13_0>='B' && LA13_0<='C')||(LA13_0>='E' && LA13_0<='O')||(LA13_0>='Q' && LA13_0<='Z')||LA13_0=='_'||LA13_0=='b'||LA13_0=='d'||LA13_0=='f'||LA13_0=='h'||(LA13_0>='j' && LA13_0<='k')||(LA13_0>='m' && LA13_0<='n')||(LA13_0>='p' && LA13_0<='r')||(LA13_0>='u' && LA13_0<='v')||(LA13_0>='x' && LA13_0<='z')) ) {s = 28;} + else if ( (LA14_0=='/') ) {s = 23;} - else if ( (LA13_0=='\"') ) {s = 29;} + else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 24;} - else if ( (LA13_0=='\'') ) {s = 30;} + else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||LA14_0=='#'||(LA14_0>='%' && LA14_0<='&')||(LA14_0>='(' && LA14_0<='+')||LA14_0=='-'||LA14_0==':'||(LA14_0>='>' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='\uFFFF')) ) {s = 25;} - else if ( (LA13_0=='/') ) {s = 31;} + if ( s>=0 ) return s; + break; + case 3 : + int LA14_22 = input.LA(1); - else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 32;} + s = -1; + if ( ((LA14_22>='\u0000' && LA14_22<='\uFFFF')) ) {s = 47;} - else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='!'||LA13_0=='#'||LA13_0=='%'||LA13_0=='+'||LA13_0=='-'||(LA13_0>='0' && LA13_0<=':')||LA13_0=='@'||LA13_0=='\\'||LA13_0=='`'||(LA13_0>='{' && LA13_0<='\uFFFF')) ) {s = 33;} + else s = 25; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 13, _s, input); + new NoViableAltException(getDescription(), 14, _s, input); error(nvae); throw nvae; } diff --git a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclParser.java b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclParser.java index 745b6d57..7be4c480 100644 --- a/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclParser.java +++ b/org.eclipse.triquetrum.commands.xtext.ide/src/main/java-gen/org/eclipse/triquetrum/commands/ide/contentassist/antlr/internal/InternalTqclParser.java @@ -18,8 +18,7 @@ import java.util.Stack; import java.util.List; import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; + /******************************************************************************* * Copyright (c) 2016 Totaro Rodolfo * All rights reserved. This program and the accompanying materials @@ -35,49 +34,38 @@ @SuppressWarnings("all") public class InternalTqclParser extends AbstractInternalContentAssistParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'Actor'", "'Parameter'", "'Port'", "'Director'", "';'", "'include'", "'library'", "'insert'", "'as'", "'with'", "','", "'set'", "'connect'", "'to'", "'go'", "'='", "'.'", "'['", "']'", "'=>'", "'('", "')'", "'<'", "'>'", "'?'", "'extends'", "'&'", "'super'", "'*'", "'import'", "'into'", "'out'", "'static'", "'extension'" + "", "", "", "", "RULE_PARAMETER_NAME", "RULE_STRING", "RULE_ID", "RULE_ENTITY_CLASS", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'actor'", "'parameter'", "'port'", "'director'", "';'", "'include'", "'library'", "'insert'", "'as'", "'with'", "','", "'set'", "'connect'", "'to'", "'go'", "'='", "'.'", "'into'", "'out'", "'top'" }; + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=10; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; - public static final int T__10=10; - public static final int RULE_ID=4; + 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_PARAMETER_NAME=4; + public static final int RULE_ID=6; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int RULE_ENTITY_CLASS=7; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; + public static final int RULE_INT=8; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; + public static final int RULE_ML_COMMENT=9; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; - public static final int RULE_STRING=5; - 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__42=42; - public static final int T__43=43; // delegates // delegators @@ -115,24 +103,20 @@ protected String getValueForTokenName(String tokenName) { // $ANTLR start "entryRuleTriquetrumScript" - // InternalTqcl.g:63:1: entryRuleTriquetrumScript : ruleTriquetrumScript EOF ; + // InternalTqcl.g:62:1: entryRuleTriquetrumScript : ruleTriquetrumScript EOF ; public final void entryRuleTriquetrumScript() throws RecognitionException { try { - // InternalTqcl.g:64:1: ( ruleTriquetrumScript EOF ) - // InternalTqcl.g:65:1: ruleTriquetrumScript EOF + // InternalTqcl.g:63:1: ( ruleTriquetrumScript EOF ) + // InternalTqcl.g:64:1: ruleTriquetrumScript EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptRule()); - } + before(grammarAccess.getTriquetrumScriptRule()); pushFollow(FOLLOW_1); ruleTriquetrumScript(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getTriquetrumScriptRule()); + match(input,EOF,FOLLOW_2); } @@ -149,36 +133,32 @@ public final void entryRuleTriquetrumScript() throws RecognitionException { // $ANTLR start "ruleTriquetrumScript" - // InternalTqcl.g:72:1: ruleTriquetrumScript : ( ( rule__TriquetrumScript__Group__0 ) ) ; + // InternalTqcl.g:71:1: ruleTriquetrumScript : ( ( rule__TriquetrumScript__Group__0 ) ) ; public final void ruleTriquetrumScript() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:76:2: ( ( ( rule__TriquetrumScript__Group__0 ) ) ) - // InternalTqcl.g:77:2: ( ( rule__TriquetrumScript__Group__0 ) ) + // InternalTqcl.g:75:2: ( ( ( rule__TriquetrumScript__Group__0 ) ) ) + // InternalTqcl.g:76:2: ( ( rule__TriquetrumScript__Group__0 ) ) { - // InternalTqcl.g:77:2: ( ( rule__TriquetrumScript__Group__0 ) ) - // InternalTqcl.g:78:3: ( rule__TriquetrumScript__Group__0 ) + // InternalTqcl.g:76:2: ( ( rule__TriquetrumScript__Group__0 ) ) + // InternalTqcl.g:77:3: ( rule__TriquetrumScript__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptAccess().getGroup()); - } - // InternalTqcl.g:79:3: ( rule__TriquetrumScript__Group__0 ) - // InternalTqcl.g:79:4: rule__TriquetrumScript__Group__0 + before(grammarAccess.getTriquetrumScriptAccess().getGroup()); + // InternalTqcl.g:78:3: ( rule__TriquetrumScript__Group__0 ) + // InternalTqcl.g:78:4: rule__TriquetrumScript__Group__0 { pushFollow(FOLLOW_2); rule__TriquetrumScript__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptAccess().getGroup()); } + after(grammarAccess.getTriquetrumScriptAccess().getGroup()); + } @@ -200,24 +180,20 @@ public final void ruleTriquetrumScript() throws RecognitionException { // $ANTLR start "entryRuleCommand" - // InternalTqcl.g:88:1: entryRuleCommand : ruleCommand EOF ; + // InternalTqcl.g:87:1: entryRuleCommand : ruleCommand EOF ; public final void entryRuleCommand() throws RecognitionException { try { - // InternalTqcl.g:89:1: ( ruleCommand EOF ) - // InternalTqcl.g:90:1: ruleCommand EOF + // InternalTqcl.g:88:1: ( ruleCommand EOF ) + // InternalTqcl.g:89:1: ruleCommand EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandRule()); - } + before(grammarAccess.getCommandRule()); pushFollow(FOLLOW_1); ruleCommand(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getCommandRule()); + match(input,EOF,FOLLOW_2); } @@ -234,36 +210,32 @@ public final void entryRuleCommand() throws RecognitionException { // $ANTLR start "ruleCommand" - // InternalTqcl.g:97:1: ruleCommand : ( ( rule__Command__Group__0 ) ) ; + // InternalTqcl.g:96:1: ruleCommand : ( ( rule__Command__Group__0 ) ) ; public final void ruleCommand() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:101:2: ( ( ( rule__Command__Group__0 ) ) ) - // InternalTqcl.g:102:2: ( ( rule__Command__Group__0 ) ) + // InternalTqcl.g:100:2: ( ( ( rule__Command__Group__0 ) ) ) + // InternalTqcl.g:101:2: ( ( rule__Command__Group__0 ) ) { - // InternalTqcl.g:102:2: ( ( rule__Command__Group__0 ) ) - // InternalTqcl.g:103:3: ( rule__Command__Group__0 ) + // InternalTqcl.g:101:2: ( ( rule__Command__Group__0 ) ) + // InternalTqcl.g:102:3: ( rule__Command__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getGroup()); - } - // InternalTqcl.g:104:3: ( rule__Command__Group__0 ) - // InternalTqcl.g:104:4: rule__Command__Group__0 + before(grammarAccess.getCommandAccess().getGroup()); + // InternalTqcl.g:103:3: ( rule__Command__Group__0 ) + // InternalTqcl.g:103:4: rule__Command__Group__0 { pushFollow(FOLLOW_2); rule__Command__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getGroup()); } + after(grammarAccess.getCommandAccess().getGroup()); + } @@ -285,24 +257,20 @@ public final void ruleCommand() throws RecognitionException { // $ANTLR start "entryRuleInclude" - // InternalTqcl.g:113:1: entryRuleInclude : ruleInclude EOF ; + // InternalTqcl.g:112:1: entryRuleInclude : ruleInclude EOF ; public final void entryRuleInclude() throws RecognitionException { try { - // InternalTqcl.g:114:1: ( ruleInclude EOF ) - // InternalTqcl.g:115:1: ruleInclude EOF + // InternalTqcl.g:113:1: ( ruleInclude EOF ) + // InternalTqcl.g:114:1: ruleInclude EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeRule()); - } + before(grammarAccess.getIncludeRule()); pushFollow(FOLLOW_1); ruleInclude(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getIncludeRule()); + match(input,EOF,FOLLOW_2); } @@ -319,36 +287,32 @@ public final void entryRuleInclude() throws RecognitionException { // $ANTLR start "ruleInclude" - // InternalTqcl.g:122:1: ruleInclude : ( ( rule__Include__Group__0 ) ) ; + // InternalTqcl.g:121:1: ruleInclude : ( ( rule__Include__Group__0 ) ) ; public final void ruleInclude() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:126:2: ( ( ( rule__Include__Group__0 ) ) ) - // InternalTqcl.g:127:2: ( ( rule__Include__Group__0 ) ) + // InternalTqcl.g:125:2: ( ( ( rule__Include__Group__0 ) ) ) + // InternalTqcl.g:126:2: ( ( rule__Include__Group__0 ) ) { - // InternalTqcl.g:127:2: ( ( rule__Include__Group__0 ) ) - // InternalTqcl.g:128:3: ( rule__Include__Group__0 ) + // InternalTqcl.g:126:2: ( ( rule__Include__Group__0 ) ) + // InternalTqcl.g:127:3: ( rule__Include__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeAccess().getGroup()); - } - // InternalTqcl.g:129:3: ( rule__Include__Group__0 ) - // InternalTqcl.g:129:4: rule__Include__Group__0 + before(grammarAccess.getIncludeAccess().getGroup()); + // InternalTqcl.g:128:3: ( rule__Include__Group__0 ) + // InternalTqcl.g:128:4: rule__Include__Group__0 { pushFollow(FOLLOW_2); rule__Include__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeAccess().getGroup()); } + after(grammarAccess.getIncludeAccess().getGroup()); + } @@ -370,24 +334,20 @@ public final void ruleInclude() throws RecognitionException { // $ANTLR start "entryRuleLibrary" - // InternalTqcl.g:138:1: entryRuleLibrary : ruleLibrary EOF ; + // InternalTqcl.g:137:1: entryRuleLibrary : ruleLibrary EOF ; public final void entryRuleLibrary() throws RecognitionException { try { - // InternalTqcl.g:139:1: ( ruleLibrary EOF ) - // InternalTqcl.g:140:1: ruleLibrary EOF + // InternalTqcl.g:138:1: ( ruleLibrary EOF ) + // InternalTqcl.g:139:1: ruleLibrary EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryRule()); - } + before(grammarAccess.getLibraryRule()); pushFollow(FOLLOW_1); ruleLibrary(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getLibraryRule()); + match(input,EOF,FOLLOW_2); } @@ -404,36 +364,32 @@ public final void entryRuleLibrary() throws RecognitionException { // $ANTLR start "ruleLibrary" - // InternalTqcl.g:147:1: ruleLibrary : ( ( rule__Library__Group__0 ) ) ; + // InternalTqcl.g:146:1: ruleLibrary : ( ( rule__Library__Group__0 ) ) ; public final void ruleLibrary() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:151:2: ( ( ( rule__Library__Group__0 ) ) ) - // InternalTqcl.g:152:2: ( ( rule__Library__Group__0 ) ) + // InternalTqcl.g:150:2: ( ( ( rule__Library__Group__0 ) ) ) + // InternalTqcl.g:151:2: ( ( rule__Library__Group__0 ) ) { - // InternalTqcl.g:152:2: ( ( rule__Library__Group__0 ) ) - // InternalTqcl.g:153:3: ( rule__Library__Group__0 ) + // InternalTqcl.g:151:2: ( ( rule__Library__Group__0 ) ) + // InternalTqcl.g:152:3: ( rule__Library__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryAccess().getGroup()); - } - // InternalTqcl.g:154:3: ( rule__Library__Group__0 ) - // InternalTqcl.g:154:4: rule__Library__Group__0 + before(grammarAccess.getLibraryAccess().getGroup()); + // InternalTqcl.g:153:3: ( rule__Library__Group__0 ) + // InternalTqcl.g:153:4: rule__Library__Group__0 { pushFollow(FOLLOW_2); rule__Library__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryAccess().getGroup()); } + after(grammarAccess.getLibraryAccess().getGroup()); + } @@ -455,24 +411,20 @@ public final void ruleLibrary() throws RecognitionException { // $ANTLR start "entryRuleInsert" - // InternalTqcl.g:163:1: entryRuleInsert : ruleInsert EOF ; + // InternalTqcl.g:162:1: entryRuleInsert : ruleInsert EOF ; public final void entryRuleInsert() throws RecognitionException { try { - // InternalTqcl.g:164:1: ( ruleInsert EOF ) - // InternalTqcl.g:165:1: ruleInsert EOF + // InternalTqcl.g:163:1: ( ruleInsert EOF ) + // InternalTqcl.g:164:1: ruleInsert EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertRule()); - } + before(grammarAccess.getInsertRule()); pushFollow(FOLLOW_1); ruleInsert(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getInsertRule()); + match(input,EOF,FOLLOW_2); } @@ -489,36 +441,32 @@ public final void entryRuleInsert() throws RecognitionException { // $ANTLR start "ruleInsert" - // InternalTqcl.g:172:1: ruleInsert : ( ( rule__Insert__Group__0 ) ) ; + // InternalTqcl.g:171:1: ruleInsert : ( ( rule__Insert__Group__0 ) ) ; public final void ruleInsert() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:176:2: ( ( ( rule__Insert__Group__0 ) ) ) - // InternalTqcl.g:177:2: ( ( rule__Insert__Group__0 ) ) + // InternalTqcl.g:175:2: ( ( ( rule__Insert__Group__0 ) ) ) + // InternalTqcl.g:176:2: ( ( rule__Insert__Group__0 ) ) { - // InternalTqcl.g:177:2: ( ( rule__Insert__Group__0 ) ) - // InternalTqcl.g:178:3: ( rule__Insert__Group__0 ) + // InternalTqcl.g:176:2: ( ( rule__Insert__Group__0 ) ) + // InternalTqcl.g:177:3: ( rule__Insert__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getGroup()); - } - // InternalTqcl.g:179:3: ( rule__Insert__Group__0 ) - // InternalTqcl.g:179:4: rule__Insert__Group__0 + before(grammarAccess.getInsertAccess().getGroup()); + // InternalTqcl.g:178:3: ( rule__Insert__Group__0 ) + // InternalTqcl.g:178:4: rule__Insert__Group__0 { pushFollow(FOLLOW_2); rule__Insert__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getGroup()); } + after(grammarAccess.getInsertAccess().getGroup()); + } @@ -540,24 +488,20 @@ public final void ruleInsert() throws RecognitionException { // $ANTLR start "entryRuleSet" - // InternalTqcl.g:188:1: entryRuleSet : ruleSet EOF ; + // InternalTqcl.g:187:1: entryRuleSet : ruleSet EOF ; public final void entryRuleSet() throws RecognitionException { try { - // InternalTqcl.g:189:1: ( ruleSet EOF ) - // InternalTqcl.g:190:1: ruleSet EOF + // InternalTqcl.g:188:1: ( ruleSet EOF ) + // InternalTqcl.g:189:1: ruleSet EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getSetRule()); - } + before(grammarAccess.getSetRule()); pushFollow(FOLLOW_1); ruleSet(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getSetRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getSetRule()); + match(input,EOF,FOLLOW_2); } @@ -574,36 +518,32 @@ public final void entryRuleSet() throws RecognitionException { // $ANTLR start "ruleSet" - // InternalTqcl.g:197:1: ruleSet : ( ( rule__Set__Group__0 ) ) ; + // InternalTqcl.g:196:1: ruleSet : ( ( rule__Set__Group__0 ) ) ; public final void ruleSet() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:201:2: ( ( ( rule__Set__Group__0 ) ) ) - // InternalTqcl.g:202:2: ( ( rule__Set__Group__0 ) ) + // InternalTqcl.g:200:2: ( ( ( rule__Set__Group__0 ) ) ) + // InternalTqcl.g:201:2: ( ( rule__Set__Group__0 ) ) { - // InternalTqcl.g:202:2: ( ( rule__Set__Group__0 ) ) - // InternalTqcl.g:203:3: ( rule__Set__Group__0 ) + // InternalTqcl.g:201:2: ( ( rule__Set__Group__0 ) ) + // InternalTqcl.g:202:3: ( rule__Set__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getSetAccess().getGroup()); - } - // InternalTqcl.g:204:3: ( rule__Set__Group__0 ) - // InternalTqcl.g:204:4: rule__Set__Group__0 + before(grammarAccess.getSetAccess().getGroup()); + // InternalTqcl.g:203:3: ( rule__Set__Group__0 ) + // InternalTqcl.g:203:4: rule__Set__Group__0 { pushFollow(FOLLOW_2); rule__Set__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getSetAccess().getGroup()); } + after(grammarAccess.getSetAccess().getGroup()); + } @@ -625,24 +565,20 @@ public final void ruleSet() throws RecognitionException { // $ANTLR start "entryRuleConnect" - // InternalTqcl.g:213:1: entryRuleConnect : ruleConnect EOF ; + // InternalTqcl.g:212:1: entryRuleConnect : ruleConnect EOF ; public final void entryRuleConnect() throws RecognitionException { try { - // InternalTqcl.g:214:1: ( ruleConnect EOF ) - // InternalTqcl.g:215:1: ruleConnect EOF + // InternalTqcl.g:213:1: ( ruleConnect EOF ) + // InternalTqcl.g:214:1: ruleConnect EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectRule()); - } + before(grammarAccess.getConnectRule()); pushFollow(FOLLOW_1); ruleConnect(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getConnectRule()); + match(input,EOF,FOLLOW_2); } @@ -659,36 +595,32 @@ public final void entryRuleConnect() throws RecognitionException { // $ANTLR start "ruleConnect" - // InternalTqcl.g:222:1: ruleConnect : ( ( rule__Connect__Group__0 ) ) ; + // InternalTqcl.g:221:1: ruleConnect : ( ( rule__Connect__Group__0 ) ) ; public final void ruleConnect() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:226:2: ( ( ( rule__Connect__Group__0 ) ) ) - // InternalTqcl.g:227:2: ( ( rule__Connect__Group__0 ) ) + // InternalTqcl.g:225:2: ( ( ( rule__Connect__Group__0 ) ) ) + // InternalTqcl.g:226:2: ( ( rule__Connect__Group__0 ) ) { - // InternalTqcl.g:227:2: ( ( rule__Connect__Group__0 ) ) - // InternalTqcl.g:228:3: ( rule__Connect__Group__0 ) + // InternalTqcl.g:226:2: ( ( rule__Connect__Group__0 ) ) + // InternalTqcl.g:227:3: ( rule__Connect__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getGroup()); - } - // InternalTqcl.g:229:3: ( rule__Connect__Group__0 ) - // InternalTqcl.g:229:4: rule__Connect__Group__0 + before(grammarAccess.getConnectAccess().getGroup()); + // InternalTqcl.g:228:3: ( rule__Connect__Group__0 ) + // InternalTqcl.g:228:4: rule__Connect__Group__0 { pushFollow(FOLLOW_2); rule__Connect__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getGroup()); } + after(grammarAccess.getConnectAccess().getGroup()); + } @@ -710,24 +642,20 @@ public final void ruleConnect() throws RecognitionException { // $ANTLR start "entryRuleGoInto" - // InternalTqcl.g:238:1: entryRuleGoInto : ruleGoInto EOF ; + // InternalTqcl.g:237:1: entryRuleGoInto : ruleGoInto EOF ; public final void entryRuleGoInto() throws RecognitionException { try { - // InternalTqcl.g:239:1: ( ruleGoInto EOF ) - // InternalTqcl.g:240:1: ruleGoInto EOF + // InternalTqcl.g:238:1: ( ruleGoInto EOF ) + // InternalTqcl.g:239:1: ruleGoInto EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoRule()); - } + before(grammarAccess.getGoIntoRule()); pushFollow(FOLLOW_1); ruleGoInto(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getGoIntoRule()); + match(input,EOF,FOLLOW_2); } @@ -744,36 +672,32 @@ public final void entryRuleGoInto() throws RecognitionException { // $ANTLR start "ruleGoInto" - // InternalTqcl.g:247:1: ruleGoInto : ( ( rule__GoInto__Group__0 ) ) ; + // InternalTqcl.g:246:1: ruleGoInto : ( ( rule__GoInto__Group__0 ) ) ; public final void ruleGoInto() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:251:2: ( ( ( rule__GoInto__Group__0 ) ) ) - // InternalTqcl.g:252:2: ( ( rule__GoInto__Group__0 ) ) + // InternalTqcl.g:250:2: ( ( ( rule__GoInto__Group__0 ) ) ) + // InternalTqcl.g:251:2: ( ( rule__GoInto__Group__0 ) ) { - // InternalTqcl.g:252:2: ( ( rule__GoInto__Group__0 ) ) - // InternalTqcl.g:253:3: ( rule__GoInto__Group__0 ) + // InternalTqcl.g:251:2: ( ( rule__GoInto__Group__0 ) ) + // InternalTqcl.g:252:3: ( rule__GoInto__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getGroup()); - } - // InternalTqcl.g:254:3: ( rule__GoInto__Group__0 ) - // InternalTqcl.g:254:4: rule__GoInto__Group__0 + before(grammarAccess.getGoIntoAccess().getGroup()); + // InternalTqcl.g:253:3: ( rule__GoInto__Group__0 ) + // InternalTqcl.g:253:4: rule__GoInto__Group__0 { pushFollow(FOLLOW_2); rule__GoInto__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getGroup()); } + after(grammarAccess.getGoIntoAccess().getGroup()); + } @@ -795,24 +719,20 @@ public final void ruleGoInto() throws RecognitionException { // $ANTLR start "entryRuleGoOut" - // InternalTqcl.g:263:1: entryRuleGoOut : ruleGoOut EOF ; + // InternalTqcl.g:262:1: entryRuleGoOut : ruleGoOut EOF ; public final void entryRuleGoOut() throws RecognitionException { try { - // InternalTqcl.g:264:1: ( ruleGoOut EOF ) - // InternalTqcl.g:265:1: ruleGoOut EOF + // InternalTqcl.g:263:1: ( ruleGoOut EOF ) + // InternalTqcl.g:264:1: ruleGoOut EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutRule()); - } + before(grammarAccess.getGoOutRule()); pushFollow(FOLLOW_1); ruleGoOut(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getGoOutRule()); + match(input,EOF,FOLLOW_2); } @@ -829,36 +749,32 @@ public final void entryRuleGoOut() throws RecognitionException { // $ANTLR start "ruleGoOut" - // InternalTqcl.g:272:1: ruleGoOut : ( ( rule__GoOut__Group__0 ) ) ; + // InternalTqcl.g:271:1: ruleGoOut : ( ( rule__GoOut__Group__0 ) ) ; public final void ruleGoOut() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:276:2: ( ( ( rule__GoOut__Group__0 ) ) ) - // InternalTqcl.g:277:2: ( ( rule__GoOut__Group__0 ) ) + // InternalTqcl.g:275:2: ( ( ( rule__GoOut__Group__0 ) ) ) + // InternalTqcl.g:276:2: ( ( rule__GoOut__Group__0 ) ) { - // InternalTqcl.g:277:2: ( ( rule__GoOut__Group__0 ) ) - // InternalTqcl.g:278:3: ( rule__GoOut__Group__0 ) + // InternalTqcl.g:276:2: ( ( rule__GoOut__Group__0 ) ) + // InternalTqcl.g:277:3: ( rule__GoOut__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutAccess().getGroup()); - } - // InternalTqcl.g:279:3: ( rule__GoOut__Group__0 ) - // InternalTqcl.g:279:4: rule__GoOut__Group__0 + before(grammarAccess.getGoOutAccess().getGroup()); + // InternalTqcl.g:278:3: ( rule__GoOut__Group__0 ) + // InternalTqcl.g:278:4: rule__GoOut__Group__0 { pushFollow(FOLLOW_2); rule__GoOut__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutAccess().getGroup()); } + after(grammarAccess.getGoOutAccess().getGroup()); + } @@ -879,25 +795,21 @@ public final void ruleGoOut() throws RecognitionException { // $ANTLR end "ruleGoOut" - // $ANTLR start "entryRuleParameter" - // InternalTqcl.g:288:1: entryRuleParameter : ruleParameter EOF ; - public final void entryRuleParameter() throws RecognitionException { + // $ANTLR start "entryRuleGoTop" + // InternalTqcl.g:287:1: entryRuleGoTop : ruleGoTop EOF ; + public final void entryRuleGoTop() throws RecognitionException { try { - // InternalTqcl.g:289:1: ( ruleParameter EOF ) - // InternalTqcl.g:290:1: ruleParameter EOF + // InternalTqcl.g:288:1: ( ruleGoTop EOF ) + // InternalTqcl.g:289:1: ruleGoTop EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterRule()); - } + before(grammarAccess.getGoTopRule()); pushFollow(FOLLOW_1); - ruleParameter(); + ruleGoTop(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getGoTopRule()); + match(input,EOF,FOLLOW_2); } @@ -910,40 +822,36 @@ public final void entryRuleParameter() throws RecognitionException { } return ; } - // $ANTLR end "entryRuleParameter" + // $ANTLR end "entryRuleGoTop" - // $ANTLR start "ruleParameter" - // InternalTqcl.g:297:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ; - public final void ruleParameter() throws RecognitionException { + // $ANTLR start "ruleGoTop" + // InternalTqcl.g:296:1: ruleGoTop : ( ( rule__GoTop__Group__0 ) ) ; + public final void ruleGoTop() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:301:2: ( ( ( rule__Parameter__Group__0 ) ) ) - // InternalTqcl.g:302:2: ( ( rule__Parameter__Group__0 ) ) + // InternalTqcl.g:300:2: ( ( ( rule__GoTop__Group__0 ) ) ) + // InternalTqcl.g:301:2: ( ( rule__GoTop__Group__0 ) ) { - // InternalTqcl.g:302:2: ( ( rule__Parameter__Group__0 ) ) - // InternalTqcl.g:303:3: ( rule__Parameter__Group__0 ) + // InternalTqcl.g:301:2: ( ( rule__GoTop__Group__0 ) ) + // InternalTqcl.g:302:3: ( rule__GoTop__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getGroup()); - } - // InternalTqcl.g:304:3: ( rule__Parameter__Group__0 ) - // InternalTqcl.g:304:4: rule__Parameter__Group__0 + before(grammarAccess.getGoTopAccess().getGroup()); + // InternalTqcl.g:303:3: ( rule__GoTop__Group__0 ) + // InternalTqcl.g:303:4: rule__GoTop__Group__0 { pushFollow(FOLLOW_2); - rule__Parameter__Group__0(); + rule__GoTop__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getGroup()); } + after(grammarAccess.getGoTopAccess().getGroup()); + } @@ -961,28 +869,24 @@ public final void ruleParameter() throws RecognitionException { } return ; } - // $ANTLR end "ruleParameter" + // $ANTLR end "ruleGoTop" - // $ANTLR start "entryRuleNamedObj" - // InternalTqcl.g:313:1: entryRuleNamedObj : ruleNamedObj EOF ; - public final void entryRuleNamedObj() throws RecognitionException { + // $ANTLR start "entryRuleParameter" + // InternalTqcl.g:312:1: entryRuleParameter : ruleParameter EOF ; + public final void entryRuleParameter() throws RecognitionException { try { - // InternalTqcl.g:314:1: ( ruleNamedObj EOF ) - // InternalTqcl.g:315:1: ruleNamedObj EOF + // InternalTqcl.g:313:1: ( ruleParameter EOF ) + // InternalTqcl.g:314:1: ruleParameter EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getNamedObjRule()); - } + before(grammarAccess.getParameterRule()); pushFollow(FOLLOW_1); - ruleNamedObj(); + ruleParameter(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getNamedObjRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getParameterRule()); + match(input,EOF,FOLLOW_2); } @@ -995,40 +899,36 @@ public final void entryRuleNamedObj() throws RecognitionException { } return ; } - // $ANTLR end "entryRuleNamedObj" + // $ANTLR end "entryRuleParameter" - // $ANTLR start "ruleNamedObj" - // InternalTqcl.g:322:1: ruleNamedObj : ( ( rule__NamedObj__Alternatives ) ) ; - public final void ruleNamedObj() throws RecognitionException { + // $ANTLR start "ruleParameter" + // InternalTqcl.g:321:1: ruleParameter : ( ( rule__Parameter__Group__0 ) ) ; + public final void ruleParameter() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:326:2: ( ( ( rule__NamedObj__Alternatives ) ) ) - // InternalTqcl.g:327:2: ( ( rule__NamedObj__Alternatives ) ) + // InternalTqcl.g:325:2: ( ( ( rule__Parameter__Group__0 ) ) ) + // InternalTqcl.g:326:2: ( ( rule__Parameter__Group__0 ) ) { - // InternalTqcl.g:327:2: ( ( rule__NamedObj__Alternatives ) ) - // InternalTqcl.g:328:3: ( rule__NamedObj__Alternatives ) + // InternalTqcl.g:326:2: ( ( rule__Parameter__Group__0 ) ) + // InternalTqcl.g:327:3: ( rule__Parameter__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getNamedObjAccess().getAlternatives()); - } - // InternalTqcl.g:329:3: ( rule__NamedObj__Alternatives ) - // InternalTqcl.g:329:4: rule__NamedObj__Alternatives + before(grammarAccess.getParameterAccess().getGroup()); + // InternalTqcl.g:328:3: ( rule__Parameter__Group__0 ) + // InternalTqcl.g:328:4: rule__Parameter__Group__0 { pushFollow(FOLLOW_2); - rule__NamedObj__Alternatives(); + rule__Parameter__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getNamedObjAccess().getAlternatives()); } + after(grammarAccess.getParameterAccess().getGroup()); + } @@ -1046,28 +946,24 @@ public final void ruleNamedObj() throws RecognitionException { } return ; } - // $ANTLR end "ruleNamedObj" + // $ANTLR end "ruleParameter" - // $ANTLR start "entryRuleConnectionPort" - // InternalTqcl.g:338:1: entryRuleConnectionPort : ruleConnectionPort EOF ; - public final void entryRuleConnectionPort() throws RecognitionException { + // $ANTLR start "entryRuleParameter_id" + // InternalTqcl.g:337:1: entryRuleParameter_id : ruleParameter_id EOF ; + public final void entryRuleParameter_id() throws RecognitionException { try { - // InternalTqcl.g:339:1: ( ruleConnectionPort EOF ) - // InternalTqcl.g:340:1: ruleConnectionPort EOF + // InternalTqcl.g:338:1: ( ruleParameter_id EOF ) + // InternalTqcl.g:339:1: ruleParameter_id EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortRule()); - } + before(grammarAccess.getParameter_idRule()); pushFollow(FOLLOW_1); - ruleConnectionPort(); + ruleParameter_id(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getParameter_idRule()); + match(input,EOF,FOLLOW_2); } @@ -1080,40 +976,36 @@ public final void entryRuleConnectionPort() throws RecognitionException { } return ; } - // $ANTLR end "entryRuleConnectionPort" + // $ANTLR end "entryRuleParameter_id" - // $ANTLR start "ruleConnectionPort" - // InternalTqcl.g:347:1: ruleConnectionPort : ( ( rule__ConnectionPort__Group__0 ) ) ; - public final void ruleConnectionPort() throws RecognitionException { + // $ANTLR start "ruleParameter_id" + // InternalTqcl.g:346:1: ruleParameter_id : ( ( rule__Parameter_id__Alternatives ) ) ; + public final void ruleParameter_id() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:351:2: ( ( ( rule__ConnectionPort__Group__0 ) ) ) - // InternalTqcl.g:352:2: ( ( rule__ConnectionPort__Group__0 ) ) + // InternalTqcl.g:350:2: ( ( ( rule__Parameter_id__Alternatives ) ) ) + // InternalTqcl.g:351:2: ( ( rule__Parameter_id__Alternatives ) ) { - // InternalTqcl.g:352:2: ( ( rule__ConnectionPort__Group__0 ) ) - // InternalTqcl.g:353:3: ( rule__ConnectionPort__Group__0 ) + // InternalTqcl.g:351:2: ( ( rule__Parameter_id__Alternatives ) ) + // InternalTqcl.g:352:3: ( rule__Parameter_id__Alternatives ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getGroup()); - } - // InternalTqcl.g:354:3: ( rule__ConnectionPort__Group__0 ) - // InternalTqcl.g:354:4: rule__ConnectionPort__Group__0 + before(grammarAccess.getParameter_idAccess().getAlternatives()); + // InternalTqcl.g:353:3: ( rule__Parameter_id__Alternatives ) + // InternalTqcl.g:353:4: rule__Parameter_id__Alternatives { pushFollow(FOLLOW_2); - rule__ConnectionPort__Group__0(); + rule__Parameter_id__Alternatives(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getGroup()); } + after(grammarAccess.getParameter_idAccess().getAlternatives()); + } @@ -1131,28 +1023,24 @@ public final void ruleConnectionPort() throws RecognitionException { } return ; } - // $ANTLR end "ruleConnectionPort" + // $ANTLR end "ruleParameter_id" - // $ANTLR start "entryRuleJvmTypeReference" - // InternalTqcl.g:363:1: entryRuleJvmTypeReference : ruleJvmTypeReference EOF ; - public final void entryRuleJvmTypeReference() throws RecognitionException { + // $ANTLR start "entryRuleNamedObj" + // InternalTqcl.g:362:1: entryRuleNamedObj : ruleNamedObj EOF ; + public final void entryRuleNamedObj() throws RecognitionException { try { - // InternalTqcl.g:364:1: ( ruleJvmTypeReference EOF ) - // InternalTqcl.g:365:1: ruleJvmTypeReference EOF + // InternalTqcl.g:363:1: ( ruleNamedObj EOF ) + // InternalTqcl.g:364:1: ruleNamedObj EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceRule()); - } + before(grammarAccess.getNamedObjRule()); pushFollow(FOLLOW_1); - ruleJvmTypeReference(); + ruleNamedObj(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getNamedObjRule()); + match(input,EOF,FOLLOW_2); } @@ -1165,40 +1053,36 @@ public final void entryRuleJvmTypeReference() throws RecognitionException { } return ; } - // $ANTLR end "entryRuleJvmTypeReference" + // $ANTLR end "entryRuleNamedObj" - // $ANTLR start "ruleJvmTypeReference" - // InternalTqcl.g:372:1: ruleJvmTypeReference : ( ( rule__JvmTypeReference__Alternatives ) ) ; - public final void ruleJvmTypeReference() throws RecognitionException { + // $ANTLR start "ruleNamedObj" + // InternalTqcl.g:371:1: ruleNamedObj : ( ( rule__NamedObj__Alternatives ) ) ; + public final void ruleNamedObj() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:376:2: ( ( ( rule__JvmTypeReference__Alternatives ) ) ) - // InternalTqcl.g:377:2: ( ( rule__JvmTypeReference__Alternatives ) ) + // InternalTqcl.g:375:2: ( ( ( rule__NamedObj__Alternatives ) ) ) + // InternalTqcl.g:376:2: ( ( rule__NamedObj__Alternatives ) ) { - // InternalTqcl.g:377:2: ( ( rule__JvmTypeReference__Alternatives ) ) - // InternalTqcl.g:378:3: ( rule__JvmTypeReference__Alternatives ) + // InternalTqcl.g:376:2: ( ( rule__NamedObj__Alternatives ) ) + // InternalTqcl.g:377:3: ( rule__NamedObj__Alternatives ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); - } - // InternalTqcl.g:379:3: ( rule__JvmTypeReference__Alternatives ) - // InternalTqcl.g:379:4: rule__JvmTypeReference__Alternatives + before(grammarAccess.getNamedObjAccess().getAlternatives()); + // InternalTqcl.g:378:3: ( rule__NamedObj__Alternatives ) + // InternalTqcl.g:378:4: rule__NamedObj__Alternatives { pushFollow(FOLLOW_2); - rule__JvmTypeReference__Alternatives(); + rule__NamedObj__Alternatives(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getAlternatives()); } + after(grammarAccess.getNamedObjAccess().getAlternatives()); + } @@ -1216,28 +1100,24 @@ public final void ruleJvmTypeReference() throws RecognitionException { } return ; } - // $ANTLR end "ruleJvmTypeReference" + // $ANTLR end "ruleNamedObj" - // $ANTLR start "entryRuleArrayBrackets" - // InternalTqcl.g:388:1: entryRuleArrayBrackets : ruleArrayBrackets EOF ; - public final void entryRuleArrayBrackets() throws RecognitionException { + // $ANTLR start "entryRuleConnectionPort" + // InternalTqcl.g:387:1: entryRuleConnectionPort : ruleConnectionPort EOF ; + public final void entryRuleConnectionPort() throws RecognitionException { try { - // InternalTqcl.g:389:1: ( ruleArrayBrackets EOF ) - // InternalTqcl.g:390:1: ruleArrayBrackets EOF + // InternalTqcl.g:388:1: ( ruleConnectionPort EOF ) + // InternalTqcl.g:389:1: ruleConnectionPort EOF { - if ( state.backtracking==0 ) { - before(grammarAccess.getArrayBracketsRule()); - } + before(grammarAccess.getConnectionPortRule()); pushFollow(FOLLOW_1); - ruleArrayBrackets(); + ruleConnectionPort(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getArrayBracketsRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; + + after(grammarAccess.getConnectionPortRule()); + match(input,EOF,FOLLOW_2); } @@ -1250,40 +1130,36 @@ public final void entryRuleArrayBrackets() throws RecognitionException { } return ; } - // $ANTLR end "entryRuleArrayBrackets" + // $ANTLR end "entryRuleConnectionPort" - // $ANTLR start "ruleArrayBrackets" - // InternalTqcl.g:397:1: ruleArrayBrackets : ( ( rule__ArrayBrackets__Group__0 ) ) ; - public final void ruleArrayBrackets() throws RecognitionException { + // $ANTLR start "ruleConnectionPort" + // InternalTqcl.g:396:1: ruleConnectionPort : ( ( rule__ConnectionPort__Group__0 ) ) ; + public final void ruleConnectionPort() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:401:2: ( ( ( rule__ArrayBrackets__Group__0 ) ) ) - // InternalTqcl.g:402:2: ( ( rule__ArrayBrackets__Group__0 ) ) + // InternalTqcl.g:400:2: ( ( ( rule__ConnectionPort__Group__0 ) ) ) + // InternalTqcl.g:401:2: ( ( rule__ConnectionPort__Group__0 ) ) { - // InternalTqcl.g:402:2: ( ( rule__ArrayBrackets__Group__0 ) ) - // InternalTqcl.g:403:3: ( rule__ArrayBrackets__Group__0 ) + // InternalTqcl.g:401:2: ( ( rule__ConnectionPort__Group__0 ) ) + // InternalTqcl.g:402:3: ( rule__ConnectionPort__Group__0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getArrayBracketsAccess().getGroup()); - } - // InternalTqcl.g:404:3: ( rule__ArrayBrackets__Group__0 ) - // InternalTqcl.g:404:4: rule__ArrayBrackets__Group__0 + before(grammarAccess.getConnectionPortAccess().getGroup()); + // InternalTqcl.g:403:3: ( rule__ConnectionPort__Group__0 ) + // InternalTqcl.g:403:4: rule__ConnectionPort__Group__0 { pushFollow(FOLLOW_2); - rule__ArrayBrackets__Group__0(); + rule__ConnectionPort__Group__0(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getArrayBracketsAccess().getGroup()); } + after(grammarAccess.getConnectionPortAccess().getGroup()); + } @@ -1301,74 +1177,36 @@ public final void ruleArrayBrackets() throws RecognitionException { } return ; } - // $ANTLR end "ruleArrayBrackets" - - - // $ANTLR start "entryRuleXFunctionTypeRef" - // InternalTqcl.g:413:1: entryRuleXFunctionTypeRef : ruleXFunctionTypeRef EOF ; - public final void entryRuleXFunctionTypeRef() throws RecognitionException { - try { - // InternalTqcl.g:414:1: ( ruleXFunctionTypeRef EOF ) - // InternalTqcl.g:415:1: ruleXFunctionTypeRef EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefRule()); - } - pushFollow(FOLLOW_1); - ruleXFunctionTypeRef(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleXFunctionTypeRef" + // $ANTLR end "ruleConnectionPort" - // $ANTLR start "ruleXFunctionTypeRef" - // InternalTqcl.g:422:1: ruleXFunctionTypeRef : ( ( rule__XFunctionTypeRef__Group__0 ) ) ; - public final void ruleXFunctionTypeRef() throws RecognitionException { + // $ANTLR start "ruleCategory" + // InternalTqcl.g:412:1: ruleCategory : ( ( rule__Category__Alternatives ) ) ; + public final void ruleCategory() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:426:2: ( ( ( rule__XFunctionTypeRef__Group__0 ) ) ) - // InternalTqcl.g:427:2: ( ( rule__XFunctionTypeRef__Group__0 ) ) + // InternalTqcl.g:416:1: ( ( ( rule__Category__Alternatives ) ) ) + // InternalTqcl.g:417:2: ( ( rule__Category__Alternatives ) ) { - // InternalTqcl.g:427:2: ( ( rule__XFunctionTypeRef__Group__0 ) ) - // InternalTqcl.g:428:3: ( rule__XFunctionTypeRef__Group__0 ) + // InternalTqcl.g:417:2: ( ( rule__Category__Alternatives ) ) + // InternalTqcl.g:418:3: ( rule__Category__Alternatives ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getGroup()); - } - // InternalTqcl.g:429:3: ( rule__XFunctionTypeRef__Group__0 ) - // InternalTqcl.g:429:4: rule__XFunctionTypeRef__Group__0 + before(grammarAccess.getCategoryAccess().getAlternatives()); + // InternalTqcl.g:419:3: ( rule__Category__Alternatives ) + // InternalTqcl.g:419:4: rule__Category__Alternatives { pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group__0(); + rule__Category__Alternatives(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getGroup()); } + after(grammarAccess.getCategoryAccess().getAlternatives()); + } @@ -1386,8484 +1224,209 @@ public final void ruleXFunctionTypeRef() throws RecognitionException { } return ; } - // $ANTLR end "ruleXFunctionTypeRef" - - - // $ANTLR start "entryRuleJvmParameterizedTypeReference" - // InternalTqcl.g:438:1: entryRuleJvmParameterizedTypeReference : ruleJvmParameterizedTypeReference EOF ; - public final void entryRuleJvmParameterizedTypeReference() throws RecognitionException { - try { - // InternalTqcl.g:439:1: ( ruleJvmParameterizedTypeReference EOF ) - // InternalTqcl.g:440:1: ruleJvmParameterizedTypeReference EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - ruleJvmParameterizedTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmParameterizedTypeReference" + // $ANTLR end "ruleCategory" - // $ANTLR start "ruleJvmParameterizedTypeReference" - // InternalTqcl.g:447:1: ruleJvmParameterizedTypeReference : ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) ; - public final void ruleJvmParameterizedTypeReference() throws RecognitionException { + // $ANTLR start "rule__Command__Alternatives_0" + // InternalTqcl.g:427:1: rule__Command__Alternatives_0 : ( ( ruleInsert ) | ( ruleConnect ) | ( ruleSet ) | ( ruleGoInto ) | ( ruleGoOut ) | ( ruleGoTop ) | ( ruleInclude ) ); + public final void rule__Command__Alternatives_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:451:2: ( ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) ) - // InternalTqcl.g:452:2: ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) - { - // InternalTqcl.g:452:2: ( ( rule__JvmParameterizedTypeReference__Group__0 ) ) - // InternalTqcl.g:453:3: ( rule__JvmParameterizedTypeReference__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); - } - // InternalTqcl.g:454:3: ( rule__JvmParameterizedTypeReference__Group__0 ) - // InternalTqcl.g:454:4: rule__JvmParameterizedTypeReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup()); - } + // InternalTqcl.g:431:1: ( ( ruleInsert ) | ( ruleConnect ) | ( ruleSet ) | ( ruleGoInto ) | ( ruleGoOut ) | ( ruleGoTop ) | ( ruleInclude ) ) + int alt1=7; + switch ( input.LA(1) ) { + case 20: + { + alt1=1; + } + break; + case 25: + { + alt1=2; + } + break; + case 24: + { + alt1=3; + } + break; + case 27: + { + switch ( input.LA(2) ) { + case 32: + { + alt1=6; + } + break; + case 31: + { + alt1=5; + } + break; + case 30: + { + alt1=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 1, 4, input); - } + throw nvae; + } + } + break; + case 18: + { + alt1=7; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 1, 0, input); + throw nvae; } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmParameterizedTypeReference" - - - // $ANTLR start "entryRuleJvmArgumentTypeReference" - // InternalTqcl.g:463:1: entryRuleJvmArgumentTypeReference : ruleJvmArgumentTypeReference EOF ; - public final void entryRuleJvmArgumentTypeReference() throws RecognitionException { - try { - // InternalTqcl.g:464:1: ( ruleJvmArgumentTypeReference EOF ) - // InternalTqcl.g:465:1: ruleJvmArgumentTypeReference EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmArgumentTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmArgumentTypeReferenceRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmArgumentTypeReference" - - - // $ANTLR start "ruleJvmArgumentTypeReference" - // InternalTqcl.g:472:1: ruleJvmArgumentTypeReference : ( ( rule__JvmArgumentTypeReference__Alternatives ) ) ; - public final void ruleJvmArgumentTypeReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:476:2: ( ( ( rule__JvmArgumentTypeReference__Alternatives ) ) ) - // InternalTqcl.g:477:2: ( ( rule__JvmArgumentTypeReference__Alternatives ) ) - { - // InternalTqcl.g:477:2: ( ( rule__JvmArgumentTypeReference__Alternatives ) ) - // InternalTqcl.g:478:3: ( rule__JvmArgumentTypeReference__Alternatives ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); - } - // InternalTqcl.g:479:3: ( rule__JvmArgumentTypeReference__Alternatives ) - // InternalTqcl.g:479:4: rule__JvmArgumentTypeReference__Alternatives - { - pushFollow(FOLLOW_2); - rule__JvmArgumentTypeReference__Alternatives(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmArgumentTypeReferenceAccess().getAlternatives()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmArgumentTypeReference" - - - // $ANTLR start "entryRuleJvmWildcardTypeReference" - // InternalTqcl.g:488:1: entryRuleJvmWildcardTypeReference : ruleJvmWildcardTypeReference EOF ; - public final void entryRuleJvmWildcardTypeReference() throws RecognitionException { - try { - // InternalTqcl.g:489:1: ( ruleJvmWildcardTypeReference EOF ) - // InternalTqcl.g:490:1: ruleJvmWildcardTypeReference EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - ruleJvmWildcardTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmWildcardTypeReference" - - - // $ANTLR start "ruleJvmWildcardTypeReference" - // InternalTqcl.g:497:1: ruleJvmWildcardTypeReference : ( ( rule__JvmWildcardTypeReference__Group__0 ) ) ; - public final void ruleJvmWildcardTypeReference() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:501:2: ( ( ( rule__JvmWildcardTypeReference__Group__0 ) ) ) - // InternalTqcl.g:502:2: ( ( rule__JvmWildcardTypeReference__Group__0 ) ) - { - // InternalTqcl.g:502:2: ( ( rule__JvmWildcardTypeReference__Group__0 ) ) - // InternalTqcl.g:503:3: ( rule__JvmWildcardTypeReference__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); - } - // InternalTqcl.g:504:3: ( rule__JvmWildcardTypeReference__Group__0 ) - // InternalTqcl.g:504:4: rule__JvmWildcardTypeReference__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmWildcardTypeReference" - - - // $ANTLR start "entryRuleJvmUpperBound" - // InternalTqcl.g:513:1: entryRuleJvmUpperBound : ruleJvmUpperBound EOF ; - public final void entryRuleJvmUpperBound() throws RecognitionException { - try { - // InternalTqcl.g:514:1: ( ruleJvmUpperBound EOF ) - // InternalTqcl.g:515:1: ruleJvmUpperBound EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundRule()); - } - pushFollow(FOLLOW_1); - ruleJvmUpperBound(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmUpperBound" - - - // $ANTLR start "ruleJvmUpperBound" - // InternalTqcl.g:522:1: ruleJvmUpperBound : ( ( rule__JvmUpperBound__Group__0 ) ) ; - public final void ruleJvmUpperBound() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:526:2: ( ( ( rule__JvmUpperBound__Group__0 ) ) ) - // InternalTqcl.g:527:2: ( ( rule__JvmUpperBound__Group__0 ) ) - { - // InternalTqcl.g:527:2: ( ( rule__JvmUpperBound__Group__0 ) ) - // InternalTqcl.g:528:3: ( rule__JvmUpperBound__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAccess().getGroup()); - } - // InternalTqcl.g:529:3: ( rule__JvmUpperBound__Group__0 ) - // InternalTqcl.g:529:4: rule__JvmUpperBound__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmUpperBound__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmUpperBound" - - - // $ANTLR start "entryRuleJvmUpperBoundAnded" - // InternalTqcl.g:538:1: entryRuleJvmUpperBoundAnded : ruleJvmUpperBoundAnded EOF ; - public final void entryRuleJvmUpperBoundAnded() throws RecognitionException { - try { - // InternalTqcl.g:539:1: ( ruleJvmUpperBoundAnded EOF ) - // InternalTqcl.g:540:1: ruleJvmUpperBoundAnded EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAndedRule()); - } - pushFollow(FOLLOW_1); - ruleJvmUpperBoundAnded(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAndedRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmUpperBoundAnded" - - - // $ANTLR start "ruleJvmUpperBoundAnded" - // InternalTqcl.g:547:1: ruleJvmUpperBoundAnded : ( ( rule__JvmUpperBoundAnded__Group__0 ) ) ; - public final void ruleJvmUpperBoundAnded() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:551:2: ( ( ( rule__JvmUpperBoundAnded__Group__0 ) ) ) - // InternalTqcl.g:552:2: ( ( rule__JvmUpperBoundAnded__Group__0 ) ) - { - // InternalTqcl.g:552:2: ( ( rule__JvmUpperBoundAnded__Group__0 ) ) - // InternalTqcl.g:553:3: ( rule__JvmUpperBoundAnded__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); - } - // InternalTqcl.g:554:3: ( rule__JvmUpperBoundAnded__Group__0 ) - // InternalTqcl.g:554:4: rule__JvmUpperBoundAnded__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmUpperBoundAnded__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAndedAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmUpperBoundAnded" - - - // $ANTLR start "entryRuleJvmLowerBound" - // InternalTqcl.g:563:1: entryRuleJvmLowerBound : ruleJvmLowerBound EOF ; - public final void entryRuleJvmLowerBound() throws RecognitionException { - try { - // InternalTqcl.g:564:1: ( ruleJvmLowerBound EOF ) - // InternalTqcl.g:565:1: ruleJvmLowerBound EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundRule()); - } - pushFollow(FOLLOW_1); - ruleJvmLowerBound(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmLowerBound" - - - // $ANTLR start "ruleJvmLowerBound" - // InternalTqcl.g:572:1: ruleJvmLowerBound : ( ( rule__JvmLowerBound__Group__0 ) ) ; - public final void ruleJvmLowerBound() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:576:2: ( ( ( rule__JvmLowerBound__Group__0 ) ) ) - // InternalTqcl.g:577:2: ( ( rule__JvmLowerBound__Group__0 ) ) - { - // InternalTqcl.g:577:2: ( ( rule__JvmLowerBound__Group__0 ) ) - // InternalTqcl.g:578:3: ( rule__JvmLowerBound__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAccess().getGroup()); - } - // InternalTqcl.g:579:3: ( rule__JvmLowerBound__Group__0 ) - // InternalTqcl.g:579:4: rule__JvmLowerBound__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmLowerBound__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmLowerBound" - - - // $ANTLR start "entryRuleJvmLowerBoundAnded" - // InternalTqcl.g:588:1: entryRuleJvmLowerBoundAnded : ruleJvmLowerBoundAnded EOF ; - public final void entryRuleJvmLowerBoundAnded() throws RecognitionException { - try { - // InternalTqcl.g:589:1: ( ruleJvmLowerBoundAnded EOF ) - // InternalTqcl.g:590:1: ruleJvmLowerBoundAnded EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAndedRule()); - } - pushFollow(FOLLOW_1); - ruleJvmLowerBoundAnded(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAndedRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleJvmLowerBoundAnded" - - - // $ANTLR start "ruleJvmLowerBoundAnded" - // InternalTqcl.g:597:1: ruleJvmLowerBoundAnded : ( ( rule__JvmLowerBoundAnded__Group__0 ) ) ; - public final void ruleJvmLowerBoundAnded() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:601:2: ( ( ( rule__JvmLowerBoundAnded__Group__0 ) ) ) - // InternalTqcl.g:602:2: ( ( rule__JvmLowerBoundAnded__Group__0 ) ) - { - // InternalTqcl.g:602:2: ( ( rule__JvmLowerBoundAnded__Group__0 ) ) - // InternalTqcl.g:603:3: ( rule__JvmLowerBoundAnded__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); - } - // InternalTqcl.g:604:3: ( rule__JvmLowerBoundAnded__Group__0 ) - // InternalTqcl.g:604:4: rule__JvmLowerBoundAnded__Group__0 - { - pushFollow(FOLLOW_2); - rule__JvmLowerBoundAnded__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAndedAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleJvmLowerBoundAnded" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalTqcl.g:613:1: entryRuleQualifiedName : ruleQualifiedName EOF ; - public final void entryRuleQualifiedName() throws RecognitionException { - try { - // InternalTqcl.g:614:1: ( ruleQualifiedName EOF ) - // InternalTqcl.g:615:1: ruleQualifiedName EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameRule()); - } - pushFollow(FOLLOW_1); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalTqcl.g:622:1: ruleQualifiedName : ( ( rule__QualifiedName__Group__0 ) ) ; - public final void ruleQualifiedName() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:626:2: ( ( ( rule__QualifiedName__Group__0 ) ) ) - // InternalTqcl.g:627:2: ( ( rule__QualifiedName__Group__0 ) ) - { - // InternalTqcl.g:627:2: ( ( rule__QualifiedName__Group__0 ) ) - // InternalTqcl.g:628:3: ( rule__QualifiedName__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameAccess().getGroup()); - } - // InternalTqcl.g:629:3: ( rule__QualifiedName__Group__0 ) - // InternalTqcl.g:629:4: rule__QualifiedName__Group__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedName__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleQualifiedNameWithWildcard" - // InternalTqcl.g:638:1: entryRuleQualifiedNameWithWildcard : ruleQualifiedNameWithWildcard EOF ; - public final void entryRuleQualifiedNameWithWildcard() throws RecognitionException { - try { - // InternalTqcl.g:639:1: ( ruleQualifiedNameWithWildcard EOF ) - // InternalTqcl.g:640:1: ruleQualifiedNameWithWildcard EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameWithWildcardRule()); - } - pushFollow(FOLLOW_1); - ruleQualifiedNameWithWildcard(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameWithWildcardRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedNameWithWildcard" - - - // $ANTLR start "ruleQualifiedNameWithWildcard" - // InternalTqcl.g:647:1: ruleQualifiedNameWithWildcard : ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ; - public final void ruleQualifiedNameWithWildcard() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:651:2: ( ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) ) - // InternalTqcl.g:652:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) - { - // InternalTqcl.g:652:2: ( ( rule__QualifiedNameWithWildcard__Group__0 ) ) - // InternalTqcl.g:653:3: ( rule__QualifiedNameWithWildcard__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); - } - // InternalTqcl.g:654:3: ( rule__QualifiedNameWithWildcard__Group__0 ) - // InternalTqcl.g:654:4: rule__QualifiedNameWithWildcard__Group__0 - { - pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameWithWildcardAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedNameWithWildcard" - - - // $ANTLR start "entryRuleValidID" - // InternalTqcl.g:663:1: entryRuleValidID : ruleValidID EOF ; - public final void entryRuleValidID() throws RecognitionException { - try { - // InternalTqcl.g:664:1: ( ruleValidID EOF ) - // InternalTqcl.g:665:1: ruleValidID EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getValidIDRule()); - } - pushFollow(FOLLOW_1); - ruleValidID(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getValidIDRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleValidID" - - - // $ANTLR start "ruleValidID" - // InternalTqcl.g:672:1: ruleValidID : ( RULE_ID ) ; - public final void ruleValidID() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:676:2: ( ( RULE_ID ) ) - // InternalTqcl.g:677:2: ( RULE_ID ) - { - // InternalTqcl.g:677:2: ( RULE_ID ) - // InternalTqcl.g:678:3: RULE_ID - { - if ( state.backtracking==0 ) { - before(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); - } - match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleValidID" - - - // $ANTLR start "entryRuleXImportDeclaration" - // InternalTqcl.g:688:1: entryRuleXImportDeclaration : ruleXImportDeclaration EOF ; - public final void entryRuleXImportDeclaration() throws RecognitionException { - try { - // InternalTqcl.g:689:1: ( ruleXImportDeclaration EOF ) - // InternalTqcl.g:690:1: ruleXImportDeclaration EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationRule()); - } - pushFollow(FOLLOW_1); - ruleXImportDeclaration(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleXImportDeclaration" - - - // $ANTLR start "ruleXImportDeclaration" - // InternalTqcl.g:697:1: ruleXImportDeclaration : ( ( rule__XImportDeclaration__Group__0 ) ) ; - public final void ruleXImportDeclaration() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:701:2: ( ( ( rule__XImportDeclaration__Group__0 ) ) ) - // InternalTqcl.g:702:2: ( ( rule__XImportDeclaration__Group__0 ) ) - { - // InternalTqcl.g:702:2: ( ( rule__XImportDeclaration__Group__0 ) ) - // InternalTqcl.g:703:3: ( rule__XImportDeclaration__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getGroup()); - } - // InternalTqcl.g:704:3: ( rule__XImportDeclaration__Group__0 ) - // InternalTqcl.g:704:4: rule__XImportDeclaration__Group__0 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getGroup()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleXImportDeclaration" - - - // $ANTLR start "entryRuleQualifiedNameInStaticImport" - // InternalTqcl.g:713:1: entryRuleQualifiedNameInStaticImport : ruleQualifiedNameInStaticImport EOF ; - public final void entryRuleQualifiedNameInStaticImport() throws RecognitionException { - try { - // InternalTqcl.g:714:1: ( ruleQualifiedNameInStaticImport EOF ) - // InternalTqcl.g:715:1: ruleQualifiedNameInStaticImport EOF - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameInStaticImportRule()); - } - pushFollow(FOLLOW_1); - ruleQualifiedNameInStaticImport(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameInStaticImportRule()); - } - match(input,EOF,FOLLOW_2); if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - } - return ; - } - // $ANTLR end "entryRuleQualifiedNameInStaticImport" - - - // $ANTLR start "ruleQualifiedNameInStaticImport" - // InternalTqcl.g:722:1: ruleQualifiedNameInStaticImport : ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) ; - public final void ruleQualifiedNameInStaticImport() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:726:2: ( ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) ) - // InternalTqcl.g:727:2: ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) - { - // InternalTqcl.g:727:2: ( ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) ) - // InternalTqcl.g:728:3: ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) - { - // InternalTqcl.g:728:3: ( ( rule__QualifiedNameInStaticImport__Group__0 ) ) - // InternalTqcl.g:729:4: ( rule__QualifiedNameInStaticImport__Group__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); - } - // InternalTqcl.g:730:4: ( rule__QualifiedNameInStaticImport__Group__0 ) - // InternalTqcl.g:730:5: rule__QualifiedNameInStaticImport__Group__0 - { - pushFollow(FOLLOW_3); - rule__QualifiedNameInStaticImport__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); - } - - } - - // InternalTqcl.g:733:3: ( ( rule__QualifiedNameInStaticImport__Group__0 )* ) - // InternalTqcl.g:734:4: ( rule__QualifiedNameInStaticImport__Group__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); - } - // InternalTqcl.g:735:4: ( rule__QualifiedNameInStaticImport__Group__0 )* - loop1: - do { - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0==RULE_ID) ) { - int LA1_2 = input.LA(2); - - if ( (LA1_2==26) ) { - alt1=1; - } - - - } - - - switch (alt1) { - case 1 : - // InternalTqcl.g:735:5: rule__QualifiedNameInStaticImport__Group__0 - { - pushFollow(FOLLOW_3); - rule__QualifiedNameInStaticImport__Group__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop1; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameInStaticImportAccess().getGroup()); - } - - } - - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleQualifiedNameInStaticImport" - - - // $ANTLR start "ruleCategory" - // InternalTqcl.g:745:1: ruleCategory : ( ( rule__Category__Alternatives ) ) ; - public final void ruleCategory() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:749:1: ( ( ( rule__Category__Alternatives ) ) ) - // InternalTqcl.g:750:2: ( ( rule__Category__Alternatives ) ) - { - // InternalTqcl.g:750:2: ( ( rule__Category__Alternatives ) ) - // InternalTqcl.g:751:3: ( rule__Category__Alternatives ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCategoryAccess().getAlternatives()); - } - // InternalTqcl.g:752:3: ( rule__Category__Alternatives ) - // InternalTqcl.g:752:4: rule__Category__Alternatives - { - pushFollow(FOLLOW_2); - rule__Category__Alternatives(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCategoryAccess().getAlternatives()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "ruleCategory" - - - // $ANTLR start "rule__Command__Alternatives_0" - // InternalTqcl.g:760:1: rule__Command__Alternatives_0 : ( ( ruleInsert ) | ( ruleConnect ) | ( ruleSet ) | ( ruleGoInto ) | ( ruleGoOut ) | ( ruleInclude ) ); - public final void rule__Command__Alternatives_0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:764:1: ( ( ruleInsert ) | ( ruleConnect ) | ( ruleSet ) | ( ruleGoInto ) | ( ruleGoOut ) | ( ruleInclude ) ) - int alt2=6; - switch ( input.LA(1) ) { - case 17: - { - alt2=1; - } - break; - case 22: - { - alt2=2; - } - break; - case 21: - { - alt2=3; - } - break; - case 24: - { - int LA2_4 = input.LA(2); - - if ( (LA2_4==41) ) { - alt2=5; - } - else if ( (LA2_4==40) ) { - alt2=4; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 2, 4, input); - - throw nvae; - } - } - break; - case 15: - { - alt2=6; - } - break; - default: - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 2, 0, input); - - throw nvae; - } - - switch (alt2) { - case 1 : - // InternalTqcl.g:765:2: ( ruleInsert ) - { - // InternalTqcl.g:765:2: ( ruleInsert ) - // InternalTqcl.g:766:3: ruleInsert - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); - } - pushFollow(FOLLOW_2); - ruleInsert(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:771:2: ( ruleConnect ) - { - // InternalTqcl.g:771:2: ( ruleConnect ) - // InternalTqcl.g:772:3: ruleConnect - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); - } - pushFollow(FOLLOW_2); - ruleConnect(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); - } - - } - - - } - break; - case 3 : - // InternalTqcl.g:777:2: ( ruleSet ) - { - // InternalTqcl.g:777:2: ( ruleSet ) - // InternalTqcl.g:778:3: ruleSet - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); - } - pushFollow(FOLLOW_2); - ruleSet(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); - } - - } - - - } - break; - case 4 : - // InternalTqcl.g:783:2: ( ruleGoInto ) - { - // InternalTqcl.g:783:2: ( ruleGoInto ) - // InternalTqcl.g:784:3: ruleGoInto - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); - } - pushFollow(FOLLOW_2); - ruleGoInto(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); - } - - } - - - } - break; - case 5 : - // InternalTqcl.g:789:2: ( ruleGoOut ) - { - // InternalTqcl.g:789:2: ( ruleGoOut ) - // InternalTqcl.g:790:3: ruleGoOut - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); - } - pushFollow(FOLLOW_2); - ruleGoOut(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); - } - - } - - - } - break; - case 6 : - // InternalTqcl.g:795:2: ( ruleInclude ) - { - // InternalTqcl.g:795:2: ( ruleInclude ) - // InternalTqcl.g:796:3: ruleInclude - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5()); - } - pushFollow(FOLLOW_2); - ruleInclude(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Alternatives_0" - - - // $ANTLR start "rule__NamedObj__Alternatives" - // InternalTqcl.g:805:1: rule__NamedObj__Alternatives : ( ( ruleQualifiedName ) | ( RULE_STRING ) ); - public final void rule__NamedObj__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:809:1: ( ( ruleQualifiedName ) | ( RULE_STRING ) ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==RULE_ID) ) { - alt3=1; - } - else if ( (LA3_0==RULE_STRING) ) { - alt3=2; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // InternalTqcl.g:810:2: ( ruleQualifiedName ) - { - // InternalTqcl.g:810:2: ( ruleQualifiedName ) - // InternalTqcl.g:811:3: ruleQualifiedName - { - if ( state.backtracking==0 ) { - before(grammarAccess.getNamedObjAccess().getQualifiedNameParserRuleCall_0()); - } - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getNamedObjAccess().getQualifiedNameParserRuleCall_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:816:2: ( RULE_STRING ) - { - // InternalTqcl.g:816:2: ( RULE_STRING ) - // InternalTqcl.g:817:3: RULE_STRING - { - if ( state.backtracking==0 ) { - before(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); - } - match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__NamedObj__Alternatives" - - - // $ANTLR start "rule__JvmTypeReference__Alternatives" - // InternalTqcl.g:826:1: rule__JvmTypeReference__Alternatives : ( ( ( rule__JvmTypeReference__Group_0__0 ) ) | ( ruleXFunctionTypeRef ) ); - public final void rule__JvmTypeReference__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:830:1: ( ( ( rule__JvmTypeReference__Group_0__0 ) ) | ( ruleXFunctionTypeRef ) ) - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0==RULE_ID) ) { - alt4=1; - } - else if ( ((LA4_0>=29 && LA4_0<=30)) ) { - alt4=2; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 4, 0, input); - - throw nvae; - } - switch (alt4) { - case 1 : - // InternalTqcl.g:831:2: ( ( rule__JvmTypeReference__Group_0__0 ) ) - { - // InternalTqcl.g:831:2: ( ( rule__JvmTypeReference__Group_0__0 ) ) - // InternalTqcl.g:832:3: ( rule__JvmTypeReference__Group_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); - } - // InternalTqcl.g:833:3: ( rule__JvmTypeReference__Group_0__0 ) - // InternalTqcl.g:833:4: rule__JvmTypeReference__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:837:2: ( ruleXFunctionTypeRef ) - { - // InternalTqcl.g:837:2: ( ruleXFunctionTypeRef ) - // InternalTqcl.g:838:3: ruleXFunctionTypeRef - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); - } - pushFollow(FOLLOW_2); - ruleXFunctionTypeRef(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Alternatives" - - - // $ANTLR start "rule__JvmArgumentTypeReference__Alternatives" - // InternalTqcl.g:847:1: rule__JvmArgumentTypeReference__Alternatives : ( ( ruleJvmTypeReference ) | ( ruleJvmWildcardTypeReference ) ); - public final void rule__JvmArgumentTypeReference__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:851:1: ( ( ruleJvmTypeReference ) | ( ruleJvmWildcardTypeReference ) ) - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==RULE_ID||(LA5_0>=29 && LA5_0<=30)) ) { - alt5=1; - } - else if ( (LA5_0==34) ) { - alt5=2; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // InternalTqcl.g:852:2: ( ruleJvmTypeReference ) - { - // InternalTqcl.g:852:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:853:3: ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); - } - pushFollow(FOLLOW_2); - ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:858:2: ( ruleJvmWildcardTypeReference ) - { - // InternalTqcl.g:858:2: ( ruleJvmWildcardTypeReference ) - // InternalTqcl.g:859:3: ruleJvmWildcardTypeReference - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); - } - pushFollow(FOLLOW_2); - ruleJvmWildcardTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmArgumentTypeReference__Alternatives" - - - // $ANTLR start "rule__JvmWildcardTypeReference__Alternatives_2" - // InternalTqcl.g:868:1: rule__JvmWildcardTypeReference__Alternatives_2 : ( ( ( rule__JvmWildcardTypeReference__Group_2_0__0 ) ) | ( ( rule__JvmWildcardTypeReference__Group_2_1__0 ) ) ); - public final void rule__JvmWildcardTypeReference__Alternatives_2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:872:1: ( ( ( rule__JvmWildcardTypeReference__Group_2_0__0 ) ) | ( ( rule__JvmWildcardTypeReference__Group_2_1__0 ) ) ) - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0==35) ) { - alt6=1; - } - else if ( (LA6_0==37) ) { - alt6=2; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); - - throw nvae; - } - switch (alt6) { - case 1 : - // InternalTqcl.g:873:2: ( ( rule__JvmWildcardTypeReference__Group_2_0__0 ) ) - { - // InternalTqcl.g:873:2: ( ( rule__JvmWildcardTypeReference__Group_2_0__0 ) ) - // InternalTqcl.g:874:3: ( rule__JvmWildcardTypeReference__Group_2_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); - } - // InternalTqcl.g:875:3: ( rule__JvmWildcardTypeReference__Group_2_0__0 ) - // InternalTqcl.g:875:4: rule__JvmWildcardTypeReference__Group_2_0__0 - { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:879:2: ( ( rule__JvmWildcardTypeReference__Group_2_1__0 ) ) - { - // InternalTqcl.g:879:2: ( ( rule__JvmWildcardTypeReference__Group_2_1__0 ) ) - // InternalTqcl.g:880:3: ( rule__JvmWildcardTypeReference__Group_2_1__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); - } - // InternalTqcl.g:881:3: ( rule__JvmWildcardTypeReference__Group_2_1__0 ) - // InternalTqcl.g:881:4: rule__JvmWildcardTypeReference__Group_2_1__0 - { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_1__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getGroup_2_1()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmWildcardTypeReference__Alternatives_2" - - - // $ANTLR start "rule__XImportDeclaration__Alternatives_1" - // InternalTqcl.g:889:1: rule__XImportDeclaration__Alternatives_1 : ( ( ( rule__XImportDeclaration__Group_1_0__0 ) ) | ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) ) | ( ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) ) ); - public final void rule__XImportDeclaration__Alternatives_1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:893:1: ( ( ( rule__XImportDeclaration__Group_1_0__0 ) ) | ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) ) | ( ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) ) ) - int alt7=3; - alt7 = dfa7.predict(input); - switch (alt7) { - case 1 : - // InternalTqcl.g:894:2: ( ( rule__XImportDeclaration__Group_1_0__0 ) ) - { - // InternalTqcl.g:894:2: ( ( rule__XImportDeclaration__Group_1_0__0 ) ) - // InternalTqcl.g:895:3: ( rule__XImportDeclaration__Group_1_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); - } - // InternalTqcl.g:896:3: ( rule__XImportDeclaration__Group_1_0__0 ) - // InternalTqcl.g:896:4: rule__XImportDeclaration__Group_1_0__0 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group_1_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getGroup_1_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:900:2: ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) ) - { - // InternalTqcl.g:900:2: ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) ) - // InternalTqcl.g:901:3: ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); - } - // InternalTqcl.g:902:3: ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) - // InternalTqcl.g:902:4: rule__XImportDeclaration__ImportedTypeAssignment_1_1 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__ImportedTypeAssignment_1_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_1()); - } - - } - - - } - break; - case 3 : - // InternalTqcl.g:906:2: ( ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) ) - { - // InternalTqcl.g:906:2: ( ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) ) - // InternalTqcl.g:907:3: ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); - } - // InternalTqcl.g:908:3: ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) - // InternalTqcl.g:908:4: rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__ImportedNamespaceAssignment_1_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceAssignment_1_2()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XImportDeclaration__Alternatives_1" - - - // $ANTLR start "rule__XImportDeclaration__Alternatives_1_0_3" - // InternalTqcl.g:916:1: rule__XImportDeclaration__Alternatives_1_0_3 : ( ( ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) ) | ( ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) ) ); - public final void rule__XImportDeclaration__Alternatives_1_0_3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:920:1: ( ( ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) ) | ( ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) ) ) - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==38) ) { - alt8=1; - } - else if ( (LA8_0==RULE_ID) ) { - alt8=2; - } - else { - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); - - throw nvae; - } - switch (alt8) { - case 1 : - // InternalTqcl.g:921:2: ( ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) ) - { - // InternalTqcl.g:921:2: ( ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) ) - // InternalTqcl.g:922:3: ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); - } - // InternalTqcl.g:923:3: ( rule__XImportDeclaration__WildcardAssignment_1_0_3_0 ) - // InternalTqcl.g:923:4: rule__XImportDeclaration__WildcardAssignment_1_0_3_0 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__WildcardAssignment_1_0_3_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getWildcardAssignment_1_0_3_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:927:2: ( ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) ) - { - // InternalTqcl.g:927:2: ( ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) ) - // InternalTqcl.g:928:3: ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); - } - // InternalTqcl.g:929:3: ( rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 ) - // InternalTqcl.g:929:4: rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__MemberNameAssignment_1_0_3_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getMemberNameAssignment_1_0_3_1()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XImportDeclaration__Alternatives_1_0_3" - - - // $ANTLR start "rule__Category__Alternatives" - // InternalTqcl.g:937:1: rule__Category__Alternatives : ( ( ( 'Actor' ) ) | ( ( 'Parameter' ) ) | ( ( 'Port' ) ) | ( ( 'Director' ) ) ); - public final void rule__Category__Alternatives() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:941:1: ( ( ( 'Actor' ) ) | ( ( 'Parameter' ) ) | ( ( 'Port' ) ) | ( ( 'Director' ) ) ) - int alt9=4; - switch ( input.LA(1) ) { - case 10: - { - alt9=1; - } - break; - case 11: - { - alt9=2; - } - break; - case 12: - { - alt9=3; - } - break; - case 13: - { - alt9=4; - } - break; - default: - if (state.backtracking>0) {state.failed=true; return ;} - NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); - - throw nvae; - } - - switch (alt9) { - case 1 : - // InternalTqcl.g:942:2: ( ( 'Actor' ) ) - { - // InternalTqcl.g:942:2: ( ( 'Actor' ) ) - // InternalTqcl.g:943:3: ( 'Actor' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); - } - // InternalTqcl.g:944:3: ( 'Actor' ) - // InternalTqcl.g:944:4: 'Actor' - { - match(input,10,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); - } - - } - - - } - break; - case 2 : - // InternalTqcl.g:948:2: ( ( 'Parameter' ) ) - { - // InternalTqcl.g:948:2: ( ( 'Parameter' ) ) - // InternalTqcl.g:949:3: ( 'Parameter' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); - } - // InternalTqcl.g:950:3: ( 'Parameter' ) - // InternalTqcl.g:950:4: 'Parameter' - { - match(input,11,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); - } - - } - - - } - break; - case 3 : - // InternalTqcl.g:954:2: ( ( 'Port' ) ) - { - // InternalTqcl.g:954:2: ( ( 'Port' ) ) - // InternalTqcl.g:955:3: ( 'Port' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); - } - // InternalTqcl.g:956:3: ( 'Port' ) - // InternalTqcl.g:956:4: 'Port' - { - match(input,12,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); - } - - } - - - } - break; - case 4 : - // InternalTqcl.g:960:2: ( ( 'Director' ) ) - { - // InternalTqcl.g:960:2: ( ( 'Director' ) ) - // InternalTqcl.g:961:3: ( 'Director' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); - } - // InternalTqcl.g:962:3: ( 'Director' ) - // InternalTqcl.g:962:4: 'Director' - { - match(input,13,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); - } - - } - - - } - break; - - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Category__Alternatives" - - - // $ANTLR start "rule__TriquetrumScript__Group__0" - // InternalTqcl.g:970:1: rule__TriquetrumScript__Group__0 : rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 ; - public final void rule__TriquetrumScript__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:974:1: ( rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 ) - // InternalTqcl.g:975:2: rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 - { - pushFollow(FOLLOW_4); - rule__TriquetrumScript__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__TriquetrumScript__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TriquetrumScript__Group__0" - - - // $ANTLR start "rule__TriquetrumScript__Group__0__Impl" - // InternalTqcl.g:982:1: rule__TriquetrumScript__Group__0__Impl : ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) ; - public final void rule__TriquetrumScript__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:986:1: ( ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) ) - // InternalTqcl.g:987:1: ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) - { - // InternalTqcl.g:987:1: ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) - // InternalTqcl.g:988:2: ( rule__TriquetrumScript__LibrariesAssignment_0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); - } - // InternalTqcl.g:989:2: ( rule__TriquetrumScript__LibrariesAssignment_0 )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==16) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalTqcl.g:989:3: rule__TriquetrumScript__LibrariesAssignment_0 - { - pushFollow(FOLLOW_5); - rule__TriquetrumScript__LibrariesAssignment_0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop10; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TriquetrumScript__Group__0__Impl" - - - // $ANTLR start "rule__TriquetrumScript__Group__1" - // InternalTqcl.g:997:1: rule__TriquetrumScript__Group__1 : rule__TriquetrumScript__Group__1__Impl ; - public final void rule__TriquetrumScript__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1001:1: ( rule__TriquetrumScript__Group__1__Impl ) - // InternalTqcl.g:1002:2: rule__TriquetrumScript__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__TriquetrumScript__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TriquetrumScript__Group__1" - - - // $ANTLR start "rule__TriquetrumScript__Group__1__Impl" - // InternalTqcl.g:1008:1: rule__TriquetrumScript__Group__1__Impl : ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) ; - public final void rule__TriquetrumScript__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1012:1: ( ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) ) - // InternalTqcl.g:1013:1: ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) - { - // InternalTqcl.g:1013:1: ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) - // InternalTqcl.g:1014:2: ( rule__TriquetrumScript__CommandsAssignment_1 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); - } - // InternalTqcl.g:1015:2: ( rule__TriquetrumScript__CommandsAssignment_1 )* - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==15||LA11_0==17||(LA11_0>=21 && LA11_0<=22)||LA11_0==24) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // InternalTqcl.g:1015:3: rule__TriquetrumScript__CommandsAssignment_1 - { - pushFollow(FOLLOW_6); - rule__TriquetrumScript__CommandsAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop11; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__TriquetrumScript__Group__1__Impl" - - - // $ANTLR start "rule__Command__Group__0" - // InternalTqcl.g:1024:1: rule__Command__Group__0 : rule__Command__Group__0__Impl rule__Command__Group__1 ; - public final void rule__Command__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1028:1: ( rule__Command__Group__0__Impl rule__Command__Group__1 ) - // InternalTqcl.g:1029:2: rule__Command__Group__0__Impl rule__Command__Group__1 - { - pushFollow(FOLLOW_7); - rule__Command__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Command__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Group__0" - - - // $ANTLR start "rule__Command__Group__0__Impl" - // InternalTqcl.g:1036:1: rule__Command__Group__0__Impl : ( ( rule__Command__Alternatives_0 ) ) ; - public final void rule__Command__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1040:1: ( ( ( rule__Command__Alternatives_0 ) ) ) - // InternalTqcl.g:1041:1: ( ( rule__Command__Alternatives_0 ) ) - { - // InternalTqcl.g:1041:1: ( ( rule__Command__Alternatives_0 ) ) - // InternalTqcl.g:1042:2: ( rule__Command__Alternatives_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getAlternatives_0()); - } - // InternalTqcl.g:1043:2: ( rule__Command__Alternatives_0 ) - // InternalTqcl.g:1043:3: rule__Command__Alternatives_0 - { - pushFollow(FOLLOW_2); - rule__Command__Alternatives_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getAlternatives_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Group__0__Impl" - - - // $ANTLR start "rule__Command__Group__1" - // InternalTqcl.g:1051:1: rule__Command__Group__1 : rule__Command__Group__1__Impl ; - public final void rule__Command__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1055:1: ( rule__Command__Group__1__Impl ) - // InternalTqcl.g:1056:2: rule__Command__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Command__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Group__1" - - - // $ANTLR start "rule__Command__Group__1__Impl" - // InternalTqcl.g:1062:1: rule__Command__Group__1__Impl : ( ';' ) ; - public final void rule__Command__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1066:1: ( ( ';' ) ) - // InternalTqcl.g:1067:1: ( ';' ) - { - // InternalTqcl.g:1067:1: ( ';' ) - // InternalTqcl.g:1068:2: ';' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); - } - match(input,14,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Command__Group__1__Impl" - - - // $ANTLR start "rule__Include__Group__0" - // InternalTqcl.g:1078:1: rule__Include__Group__0 : rule__Include__Group__0__Impl rule__Include__Group__1 ; - public final void rule__Include__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1082:1: ( rule__Include__Group__0__Impl rule__Include__Group__1 ) - // InternalTqcl.g:1083:2: rule__Include__Group__0__Impl rule__Include__Group__1 - { - pushFollow(FOLLOW_8); - rule__Include__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Include__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__0" - - - // $ANTLR start "rule__Include__Group__0__Impl" - // InternalTqcl.g:1090:1: rule__Include__Group__0__Impl : ( 'include' ) ; - public final void rule__Include__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1094:1: ( ( 'include' ) ) - // InternalTqcl.g:1095:1: ( 'include' ) - { - // InternalTqcl.g:1095:1: ( 'include' ) - // InternalTqcl.g:1096:2: 'include' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); - } - match(input,15,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__0__Impl" - - - // $ANTLR start "rule__Include__Group__1" - // InternalTqcl.g:1105:1: rule__Include__Group__1 : rule__Include__Group__1__Impl rule__Include__Group__2 ; - public final void rule__Include__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1109:1: ( rule__Include__Group__1__Impl rule__Include__Group__2 ) - // InternalTqcl.g:1110:2: rule__Include__Group__1__Impl rule__Include__Group__2 - { - pushFollow(FOLLOW_7); - rule__Include__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Include__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__1" - - - // $ANTLR start "rule__Include__Group__1__Impl" - // InternalTqcl.g:1117:1: rule__Include__Group__1__Impl : ( ( rule__Include__FilenameAssignment_1 ) ) ; - public final void rule__Include__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1121:1: ( ( ( rule__Include__FilenameAssignment_1 ) ) ) - // InternalTqcl.g:1122:1: ( ( rule__Include__FilenameAssignment_1 ) ) - { - // InternalTqcl.g:1122:1: ( ( rule__Include__FilenameAssignment_1 ) ) - // InternalTqcl.g:1123:2: ( rule__Include__FilenameAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); - } - // InternalTqcl.g:1124:2: ( rule__Include__FilenameAssignment_1 ) - // InternalTqcl.g:1124:3: rule__Include__FilenameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Include__FilenameAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__1__Impl" - - - // $ANTLR start "rule__Include__Group__2" - // InternalTqcl.g:1132:1: rule__Include__Group__2 : rule__Include__Group__2__Impl ; - public final void rule__Include__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1136:1: ( rule__Include__Group__2__Impl ) - // InternalTqcl.g:1137:2: rule__Include__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__Include__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__2" - - - // $ANTLR start "rule__Include__Group__2__Impl" - // InternalTqcl.g:1143:1: rule__Include__Group__2__Impl : ( ';' ) ; - public final void rule__Include__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1147:1: ( ( ';' ) ) - // InternalTqcl.g:1148:1: ( ';' ) - { - // InternalTqcl.g:1148:1: ( ';' ) - // InternalTqcl.g:1149:2: ';' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); - } - match(input,14,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Include__Group__2__Impl" - - - // $ANTLR start "rule__Library__Group__0" - // InternalTqcl.g:1159:1: rule__Library__Group__0 : rule__Library__Group__0__Impl rule__Library__Group__1 ; - public final void rule__Library__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1163:1: ( rule__Library__Group__0__Impl rule__Library__Group__1 ) - // InternalTqcl.g:1164:2: rule__Library__Group__0__Impl rule__Library__Group__1 - { - pushFollow(FOLLOW_9); - rule__Library__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Library__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__0" - - - // $ANTLR start "rule__Library__Group__0__Impl" - // InternalTqcl.g:1171:1: rule__Library__Group__0__Impl : ( 'library' ) ; - public final void rule__Library__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1175:1: ( ( 'library' ) ) - // InternalTqcl.g:1176:1: ( 'library' ) - { - // InternalTqcl.g:1176:1: ( 'library' ) - // InternalTqcl.g:1177:2: 'library' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); - } - match(input,16,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__0__Impl" - - - // $ANTLR start "rule__Library__Group__1" - // InternalTqcl.g:1186:1: rule__Library__Group__1 : rule__Library__Group__1__Impl rule__Library__Group__2 ; - public final void rule__Library__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1190:1: ( rule__Library__Group__1__Impl rule__Library__Group__2 ) - // InternalTqcl.g:1191:2: rule__Library__Group__1__Impl rule__Library__Group__2 - { - pushFollow(FOLLOW_7); - rule__Library__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Library__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__1" - - - // $ANTLR start "rule__Library__Group__1__Impl" - // InternalTqcl.g:1198:1: rule__Library__Group__1__Impl : ( ( rule__Library__NameAssignment_1 ) ) ; - public final void rule__Library__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1202:1: ( ( ( rule__Library__NameAssignment_1 ) ) ) - // InternalTqcl.g:1203:1: ( ( rule__Library__NameAssignment_1 ) ) - { - // InternalTqcl.g:1203:1: ( ( rule__Library__NameAssignment_1 ) ) - // InternalTqcl.g:1204:2: ( rule__Library__NameAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryAccess().getNameAssignment_1()); - } - // InternalTqcl.g:1205:2: ( rule__Library__NameAssignment_1 ) - // InternalTqcl.g:1205:3: rule__Library__NameAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Library__NameAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryAccess().getNameAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__1__Impl" - - - // $ANTLR start "rule__Library__Group__2" - // InternalTqcl.g:1213:1: rule__Library__Group__2 : rule__Library__Group__2__Impl ; - public final void rule__Library__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1217:1: ( rule__Library__Group__2__Impl ) - // InternalTqcl.g:1218:2: rule__Library__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__Library__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__2" - - - // $ANTLR start "rule__Library__Group__2__Impl" - // InternalTqcl.g:1224:1: rule__Library__Group__2__Impl : ( ';' ) ; - public final void rule__Library__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1228:1: ( ( ';' ) ) - // InternalTqcl.g:1229:1: ( ';' ) - { - // InternalTqcl.g:1229:1: ( ';' ) - // InternalTqcl.g:1230:2: ';' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); - } - match(input,14,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Library__Group__2__Impl" - - - // $ANTLR start "rule__Insert__Group__0" - // InternalTqcl.g:1240:1: rule__Insert__Group__0 : rule__Insert__Group__0__Impl rule__Insert__Group__1 ; - public final void rule__Insert__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1244:1: ( rule__Insert__Group__0__Impl rule__Insert__Group__1 ) - // InternalTqcl.g:1245:2: rule__Insert__Group__0__Impl rule__Insert__Group__1 - { - pushFollow(FOLLOW_10); - rule__Insert__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__0" - - - // $ANTLR start "rule__Insert__Group__0__Impl" - // InternalTqcl.g:1252:1: rule__Insert__Group__0__Impl : ( 'insert' ) ; - public final void rule__Insert__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1256:1: ( ( 'insert' ) ) - // InternalTqcl.g:1257:1: ( 'insert' ) - { - // InternalTqcl.g:1257:1: ( 'insert' ) - // InternalTqcl.g:1258:2: 'insert' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getInsertKeyword_0()); - } - match(input,17,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getInsertKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__0__Impl" - - - // $ANTLR start "rule__Insert__Group__1" - // InternalTqcl.g:1267:1: rule__Insert__Group__1 : rule__Insert__Group__1__Impl rule__Insert__Group__2 ; - public final void rule__Insert__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1271:1: ( rule__Insert__Group__1__Impl rule__Insert__Group__2 ) - // InternalTqcl.g:1272:2: rule__Insert__Group__1__Impl rule__Insert__Group__2 - { - pushFollow(FOLLOW_10); - rule__Insert__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__1" - - - // $ANTLR start "rule__Insert__Group__1__Impl" - // InternalTqcl.g:1279:1: rule__Insert__Group__1__Impl : ( ( rule__Insert__CategoryAssignment_1 )? ) ; - public final void rule__Insert__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1283:1: ( ( ( rule__Insert__CategoryAssignment_1 )? ) ) - // InternalTqcl.g:1284:1: ( ( rule__Insert__CategoryAssignment_1 )? ) - { - // InternalTqcl.g:1284:1: ( ( rule__Insert__CategoryAssignment_1 )? ) - // InternalTqcl.g:1285:2: ( rule__Insert__CategoryAssignment_1 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getCategoryAssignment_1()); - } - // InternalTqcl.g:1286:2: ( rule__Insert__CategoryAssignment_1 )? - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>=10 && LA12_0<=13)) ) { - alt12=1; - } - switch (alt12) { - case 1 : - // InternalTqcl.g:1286:3: rule__Insert__CategoryAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Insert__CategoryAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getCategoryAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__1__Impl" - - - // $ANTLR start "rule__Insert__Group__2" - // InternalTqcl.g:1294:1: rule__Insert__Group__2 : rule__Insert__Group__2__Impl rule__Insert__Group__3 ; - public final void rule__Insert__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1298:1: ( rule__Insert__Group__2__Impl rule__Insert__Group__3 ) - // InternalTqcl.g:1299:2: rule__Insert__Group__2__Impl rule__Insert__Group__3 - { - pushFollow(FOLLOW_11); - rule__Insert__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group__3(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__2" - - - // $ANTLR start "rule__Insert__Group__2__Impl" - // InternalTqcl.g:1306:1: rule__Insert__Group__2__Impl : ( ( rule__Insert__ObjAssignment_2 ) ) ; - public final void rule__Insert__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1310:1: ( ( ( rule__Insert__ObjAssignment_2 ) ) ) - // InternalTqcl.g:1311:1: ( ( rule__Insert__ObjAssignment_2 ) ) - { - // InternalTqcl.g:1311:1: ( ( rule__Insert__ObjAssignment_2 ) ) - // InternalTqcl.g:1312:2: ( rule__Insert__ObjAssignment_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getObjAssignment_2()); - } - // InternalTqcl.g:1313:2: ( rule__Insert__ObjAssignment_2 ) - // InternalTqcl.g:1313:3: rule__Insert__ObjAssignment_2 - { - pushFollow(FOLLOW_2); - rule__Insert__ObjAssignment_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getObjAssignment_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__2__Impl" - - - // $ANTLR start "rule__Insert__Group__3" - // InternalTqcl.g:1321:1: rule__Insert__Group__3 : rule__Insert__Group__3__Impl rule__Insert__Group__4 ; - public final void rule__Insert__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1325:1: ( rule__Insert__Group__3__Impl rule__Insert__Group__4 ) - // InternalTqcl.g:1326:2: rule__Insert__Group__3__Impl rule__Insert__Group__4 - { - pushFollow(FOLLOW_8); - rule__Insert__Group__3__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group__4(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__3" - - - // $ANTLR start "rule__Insert__Group__3__Impl" - // InternalTqcl.g:1333:1: rule__Insert__Group__3__Impl : ( 'as' ) ; - public final void rule__Insert__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1337:1: ( ( 'as' ) ) - // InternalTqcl.g:1338:1: ( 'as' ) - { - // InternalTqcl.g:1338:1: ( 'as' ) - // InternalTqcl.g:1339:2: 'as' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getAsKeyword_3()); - } - match(input,18,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getAsKeyword_3()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__3__Impl" - - - // $ANTLR start "rule__Insert__Group__4" - // InternalTqcl.g:1348:1: rule__Insert__Group__4 : rule__Insert__Group__4__Impl rule__Insert__Group__5 ; - public final void rule__Insert__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1352:1: ( rule__Insert__Group__4__Impl rule__Insert__Group__5 ) - // InternalTqcl.g:1353:2: rule__Insert__Group__4__Impl rule__Insert__Group__5 - { - pushFollow(FOLLOW_12); - rule__Insert__Group__4__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group__5(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__4" - - - // $ANTLR start "rule__Insert__Group__4__Impl" - // InternalTqcl.g:1360:1: rule__Insert__Group__4__Impl : ( ( rule__Insert__NameAssignment_4 ) ) ; - public final void rule__Insert__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1364:1: ( ( ( rule__Insert__NameAssignment_4 ) ) ) - // InternalTqcl.g:1365:1: ( ( rule__Insert__NameAssignment_4 ) ) - { - // InternalTqcl.g:1365:1: ( ( rule__Insert__NameAssignment_4 ) ) - // InternalTqcl.g:1366:2: ( rule__Insert__NameAssignment_4 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getNameAssignment_4()); - } - // InternalTqcl.g:1367:2: ( rule__Insert__NameAssignment_4 ) - // InternalTqcl.g:1367:3: rule__Insert__NameAssignment_4 - { - pushFollow(FOLLOW_2); - rule__Insert__NameAssignment_4(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getNameAssignment_4()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__4__Impl" - - - // $ANTLR start "rule__Insert__Group__5" - // InternalTqcl.g:1375:1: rule__Insert__Group__5 : rule__Insert__Group__5__Impl ; - public final void rule__Insert__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1379:1: ( rule__Insert__Group__5__Impl ) - // InternalTqcl.g:1380:2: rule__Insert__Group__5__Impl - { - pushFollow(FOLLOW_2); - rule__Insert__Group__5__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__5" - - - // $ANTLR start "rule__Insert__Group__5__Impl" - // InternalTqcl.g:1386:1: rule__Insert__Group__5__Impl : ( ( rule__Insert__Group_5__0 )? ) ; - public final void rule__Insert__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1390:1: ( ( ( rule__Insert__Group_5__0 )? ) ) - // InternalTqcl.g:1391:1: ( ( rule__Insert__Group_5__0 )? ) - { - // InternalTqcl.g:1391:1: ( ( rule__Insert__Group_5__0 )? ) - // InternalTqcl.g:1392:2: ( rule__Insert__Group_5__0 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getGroup_5()); - } - // InternalTqcl.g:1393:2: ( rule__Insert__Group_5__0 )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==19) ) { - alt13=1; - } - switch (alt13) { - case 1 : - // InternalTqcl.g:1393:3: rule__Insert__Group_5__0 - { - pushFollow(FOLLOW_2); - rule__Insert__Group_5__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getGroup_5()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group__5__Impl" - - - // $ANTLR start "rule__Insert__Group_5__0" - // InternalTqcl.g:1402:1: rule__Insert__Group_5__0 : rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 ; - public final void rule__Insert__Group_5__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1406:1: ( rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 ) - // InternalTqcl.g:1407:2: rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 - { - pushFollow(FOLLOW_10); - rule__Insert__Group_5__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group_5__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__0" - - - // $ANTLR start "rule__Insert__Group_5__0__Impl" - // InternalTqcl.g:1414:1: rule__Insert__Group_5__0__Impl : ( 'with' ) ; - public final void rule__Insert__Group_5__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1418:1: ( ( 'with' ) ) - // InternalTqcl.g:1419:1: ( 'with' ) - { - // InternalTqcl.g:1419:1: ( 'with' ) - // InternalTqcl.g:1420:2: 'with' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getWithKeyword_5_0()); - } - match(input,19,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getWithKeyword_5_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__0__Impl" - - - // $ANTLR start "rule__Insert__Group_5__1" - // InternalTqcl.g:1429:1: rule__Insert__Group_5__1 : rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 ; - public final void rule__Insert__Group_5__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1433:1: ( rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 ) - // InternalTqcl.g:1434:2: rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 - { - pushFollow(FOLLOW_13); - rule__Insert__Group_5__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group_5__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__1" - - - // $ANTLR start "rule__Insert__Group_5__1__Impl" - // InternalTqcl.g:1441:1: rule__Insert__Group_5__1__Impl : ( ( rule__Insert__ParametersAssignment_5_1 ) ) ; - public final void rule__Insert__Group_5__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1445:1: ( ( ( rule__Insert__ParametersAssignment_5_1 ) ) ) - // InternalTqcl.g:1446:1: ( ( rule__Insert__ParametersAssignment_5_1 ) ) - { - // InternalTqcl.g:1446:1: ( ( rule__Insert__ParametersAssignment_5_1 ) ) - // InternalTqcl.g:1447:2: ( rule__Insert__ParametersAssignment_5_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); - } - // InternalTqcl.g:1448:2: ( rule__Insert__ParametersAssignment_5_1 ) - // InternalTqcl.g:1448:3: rule__Insert__ParametersAssignment_5_1 - { - pushFollow(FOLLOW_2); - rule__Insert__ParametersAssignment_5_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__1__Impl" - - - // $ANTLR start "rule__Insert__Group_5__2" - // InternalTqcl.g:1456:1: rule__Insert__Group_5__2 : rule__Insert__Group_5__2__Impl ; - public final void rule__Insert__Group_5__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1460:1: ( rule__Insert__Group_5__2__Impl ) - // InternalTqcl.g:1461:2: rule__Insert__Group_5__2__Impl - { - pushFollow(FOLLOW_2); - rule__Insert__Group_5__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__2" - - - // $ANTLR start "rule__Insert__Group_5__2__Impl" - // InternalTqcl.g:1467:1: rule__Insert__Group_5__2__Impl : ( ( rule__Insert__Group_5_2__0 )* ) ; - public final void rule__Insert__Group_5__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1471:1: ( ( ( rule__Insert__Group_5_2__0 )* ) ) - // InternalTqcl.g:1472:1: ( ( rule__Insert__Group_5_2__0 )* ) - { - // InternalTqcl.g:1472:1: ( ( rule__Insert__Group_5_2__0 )* ) - // InternalTqcl.g:1473:2: ( rule__Insert__Group_5_2__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getGroup_5_2()); - } - // InternalTqcl.g:1474:2: ( rule__Insert__Group_5_2__0 )* - loop14: - do { - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==20) ) { - alt14=1; - } - - - switch (alt14) { - case 1 : - // InternalTqcl.g:1474:3: rule__Insert__Group_5_2__0 - { - pushFollow(FOLLOW_14); - rule__Insert__Group_5_2__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop14; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getGroup_5_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5__2__Impl" - - - // $ANTLR start "rule__Insert__Group_5_2__0" - // InternalTqcl.g:1483:1: rule__Insert__Group_5_2__0 : rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 ; - public final void rule__Insert__Group_5_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1487:1: ( rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 ) - // InternalTqcl.g:1488:2: rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 - { - pushFollow(FOLLOW_10); - rule__Insert__Group_5_2__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Insert__Group_5_2__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5_2__0" - - - // $ANTLR start "rule__Insert__Group_5_2__0__Impl" - // InternalTqcl.g:1495:1: rule__Insert__Group_5_2__0__Impl : ( ',' ) ; - public final void rule__Insert__Group_5_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1499:1: ( ( ',' ) ) - // InternalTqcl.g:1500:1: ( ',' ) - { - // InternalTqcl.g:1500:1: ( ',' ) - // InternalTqcl.g:1501:2: ',' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5_2__0__Impl" - - - // $ANTLR start "rule__Insert__Group_5_2__1" - // InternalTqcl.g:1510:1: rule__Insert__Group_5_2__1 : rule__Insert__Group_5_2__1__Impl ; - public final void rule__Insert__Group_5_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1514:1: ( rule__Insert__Group_5_2__1__Impl ) - // InternalTqcl.g:1515:2: rule__Insert__Group_5_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__Insert__Group_5_2__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5_2__1" - - - // $ANTLR start "rule__Insert__Group_5_2__1__Impl" - // InternalTqcl.g:1521:1: rule__Insert__Group_5_2__1__Impl : ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) ; - public final void rule__Insert__Group_5_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1525:1: ( ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) ) - // InternalTqcl.g:1526:1: ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) - { - // InternalTqcl.g:1526:1: ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) - // InternalTqcl.g:1527:2: ( rule__Insert__ParametersAssignment_5_2_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); - } - // InternalTqcl.g:1528:2: ( rule__Insert__ParametersAssignment_5_2_1 ) - // InternalTqcl.g:1528:3: rule__Insert__ParametersAssignment_5_2_1 - { - pushFollow(FOLLOW_2); - rule__Insert__ParametersAssignment_5_2_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Insert__Group_5_2__1__Impl" - - - // $ANTLR start "rule__Set__Group__0" - // InternalTqcl.g:1537:1: rule__Set__Group__0 : rule__Set__Group__0__Impl rule__Set__Group__1 ; - public final void rule__Set__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1541:1: ( rule__Set__Group__0__Impl rule__Set__Group__1 ) - // InternalTqcl.g:1542:2: rule__Set__Group__0__Impl rule__Set__Group__1 - { - pushFollow(FOLLOW_10); - rule__Set__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Set__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Set__Group__0" - - - // $ANTLR start "rule__Set__Group__0__Impl" - // InternalTqcl.g:1549:1: rule__Set__Group__0__Impl : ( 'set' ) ; - public final void rule__Set__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1553:1: ( ( 'set' ) ) - // InternalTqcl.g:1554:1: ( 'set' ) - { - // InternalTqcl.g:1554:1: ( 'set' ) - // InternalTqcl.g:1555:2: 'set' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getSetAccess().getSetKeyword_0()); - } - match(input,21,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getSetAccess().getSetKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Set__Group__0__Impl" - - - // $ANTLR start "rule__Set__Group__1" - // InternalTqcl.g:1564:1: rule__Set__Group__1 : rule__Set__Group__1__Impl ; - public final void rule__Set__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1568:1: ( rule__Set__Group__1__Impl ) - // InternalTqcl.g:1569:2: rule__Set__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__Set__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Set__Group__1" - - - // $ANTLR start "rule__Set__Group__1__Impl" - // InternalTqcl.g:1575:1: rule__Set__Group__1__Impl : ( ( rule__Set__ParamAssignment_1 ) ) ; - public final void rule__Set__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1579:1: ( ( ( rule__Set__ParamAssignment_1 ) ) ) - // InternalTqcl.g:1580:1: ( ( rule__Set__ParamAssignment_1 ) ) - { - // InternalTqcl.g:1580:1: ( ( rule__Set__ParamAssignment_1 ) ) - // InternalTqcl.g:1581:2: ( rule__Set__ParamAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getSetAccess().getParamAssignment_1()); - } - // InternalTqcl.g:1582:2: ( rule__Set__ParamAssignment_1 ) - // InternalTqcl.g:1582:3: rule__Set__ParamAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Set__ParamAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getSetAccess().getParamAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Set__Group__1__Impl" - - - // $ANTLR start "rule__Connect__Group__0" - // InternalTqcl.g:1591:1: rule__Connect__Group__0 : rule__Connect__Group__0__Impl rule__Connect__Group__1 ; - public final void rule__Connect__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1595:1: ( rule__Connect__Group__0__Impl rule__Connect__Group__1 ) - // InternalTqcl.g:1596:2: rule__Connect__Group__0__Impl rule__Connect__Group__1 - { - pushFollow(FOLLOW_9); - rule__Connect__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__0" - - - // $ANTLR start "rule__Connect__Group__0__Impl" - // InternalTqcl.g:1603:1: rule__Connect__Group__0__Impl : ( 'connect' ) ; - public final void rule__Connect__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1607:1: ( ( 'connect' ) ) - // InternalTqcl.g:1608:1: ( 'connect' ) - { - // InternalTqcl.g:1608:1: ( 'connect' ) - // InternalTqcl.g:1609:2: 'connect' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getConnectKeyword_0()); - } - match(input,22,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getConnectKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__0__Impl" - - - // $ANTLR start "rule__Connect__Group__1" - // InternalTqcl.g:1618:1: rule__Connect__Group__1 : rule__Connect__Group__1__Impl rule__Connect__Group__2 ; - public final void rule__Connect__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1622:1: ( rule__Connect__Group__1__Impl rule__Connect__Group__2 ) - // InternalTqcl.g:1623:2: rule__Connect__Group__1__Impl rule__Connect__Group__2 - { - pushFollow(FOLLOW_15); - rule__Connect__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__1" - - - // $ANTLR start "rule__Connect__Group__1__Impl" - // InternalTqcl.g:1630:1: rule__Connect__Group__1__Impl : ( ( rule__Connect__FromAssignment_1 ) ) ; - public final void rule__Connect__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1634:1: ( ( ( rule__Connect__FromAssignment_1 ) ) ) - // InternalTqcl.g:1635:1: ( ( rule__Connect__FromAssignment_1 ) ) - { - // InternalTqcl.g:1635:1: ( ( rule__Connect__FromAssignment_1 ) ) - // InternalTqcl.g:1636:2: ( rule__Connect__FromAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getFromAssignment_1()); - } - // InternalTqcl.g:1637:2: ( rule__Connect__FromAssignment_1 ) - // InternalTqcl.g:1637:3: rule__Connect__FromAssignment_1 - { - pushFollow(FOLLOW_2); - rule__Connect__FromAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getFromAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__1__Impl" - - - // $ANTLR start "rule__Connect__Group__2" - // InternalTqcl.g:1645:1: rule__Connect__Group__2 : rule__Connect__Group__2__Impl rule__Connect__Group__3 ; - public final void rule__Connect__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1649:1: ( rule__Connect__Group__2__Impl rule__Connect__Group__3 ) - // InternalTqcl.g:1650:2: rule__Connect__Group__2__Impl rule__Connect__Group__3 - { - pushFollow(FOLLOW_15); - rule__Connect__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group__3(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__2" - - - // $ANTLR start "rule__Connect__Group__2__Impl" - // InternalTqcl.g:1657:1: rule__Connect__Group__2__Impl : ( ( rule__Connect__Group_2__0 )* ) ; - public final void rule__Connect__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1661:1: ( ( ( rule__Connect__Group_2__0 )* ) ) - // InternalTqcl.g:1662:1: ( ( rule__Connect__Group_2__0 )* ) - { - // InternalTqcl.g:1662:1: ( ( rule__Connect__Group_2__0 )* ) - // InternalTqcl.g:1663:2: ( rule__Connect__Group_2__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getGroup_2()); - } - // InternalTqcl.g:1664:2: ( rule__Connect__Group_2__0 )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==20) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // InternalTqcl.g:1664:3: rule__Connect__Group_2__0 - { - pushFollow(FOLLOW_14); - rule__Connect__Group_2__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop15; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getGroup_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__2__Impl" - - - // $ANTLR start "rule__Connect__Group__3" - // InternalTqcl.g:1672:1: rule__Connect__Group__3 : rule__Connect__Group__3__Impl rule__Connect__Group__4 ; - public final void rule__Connect__Group__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1676:1: ( rule__Connect__Group__3__Impl rule__Connect__Group__4 ) - // InternalTqcl.g:1677:2: rule__Connect__Group__3__Impl rule__Connect__Group__4 - { - pushFollow(FOLLOW_9); - rule__Connect__Group__3__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group__4(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__3" - - - // $ANTLR start "rule__Connect__Group__3__Impl" - // InternalTqcl.g:1684:1: rule__Connect__Group__3__Impl : ( 'to' ) ; - public final void rule__Connect__Group__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1688:1: ( ( 'to' ) ) - // InternalTqcl.g:1689:1: ( 'to' ) - { - // InternalTqcl.g:1689:1: ( 'to' ) - // InternalTqcl.g:1690:2: 'to' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getToKeyword_3()); - } - match(input,23,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getToKeyword_3()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__3__Impl" - - - // $ANTLR start "rule__Connect__Group__4" - // InternalTqcl.g:1699:1: rule__Connect__Group__4 : rule__Connect__Group__4__Impl rule__Connect__Group__5 ; - public final void rule__Connect__Group__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1703:1: ( rule__Connect__Group__4__Impl rule__Connect__Group__5 ) - // InternalTqcl.g:1704:2: rule__Connect__Group__4__Impl rule__Connect__Group__5 - { - pushFollow(FOLLOW_13); - rule__Connect__Group__4__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group__5(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__4" - - - // $ANTLR start "rule__Connect__Group__4__Impl" - // InternalTqcl.g:1711:1: rule__Connect__Group__4__Impl : ( ( rule__Connect__ToAssignment_4 ) ) ; - public final void rule__Connect__Group__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1715:1: ( ( ( rule__Connect__ToAssignment_4 ) ) ) - // InternalTqcl.g:1716:1: ( ( rule__Connect__ToAssignment_4 ) ) - { - // InternalTqcl.g:1716:1: ( ( rule__Connect__ToAssignment_4 ) ) - // InternalTqcl.g:1717:2: ( rule__Connect__ToAssignment_4 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getToAssignment_4()); - } - // InternalTqcl.g:1718:2: ( rule__Connect__ToAssignment_4 ) - // InternalTqcl.g:1718:3: rule__Connect__ToAssignment_4 - { - pushFollow(FOLLOW_2); - rule__Connect__ToAssignment_4(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getToAssignment_4()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__4__Impl" - - - // $ANTLR start "rule__Connect__Group__5" - // InternalTqcl.g:1726:1: rule__Connect__Group__5 : rule__Connect__Group__5__Impl ; - public final void rule__Connect__Group__5() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1730:1: ( rule__Connect__Group__5__Impl ) - // InternalTqcl.g:1731:2: rule__Connect__Group__5__Impl - { - pushFollow(FOLLOW_2); - rule__Connect__Group__5__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__5" - - - // $ANTLR start "rule__Connect__Group__5__Impl" - // InternalTqcl.g:1737:1: rule__Connect__Group__5__Impl : ( ( rule__Connect__Group_5__0 )* ) ; - public final void rule__Connect__Group__5__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1741:1: ( ( ( rule__Connect__Group_5__0 )* ) ) - // InternalTqcl.g:1742:1: ( ( rule__Connect__Group_5__0 )* ) - { - // InternalTqcl.g:1742:1: ( ( rule__Connect__Group_5__0 )* ) - // InternalTqcl.g:1743:2: ( rule__Connect__Group_5__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getGroup_5()); - } - // InternalTqcl.g:1744:2: ( rule__Connect__Group_5__0 )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==20) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalTqcl.g:1744:3: rule__Connect__Group_5__0 - { - pushFollow(FOLLOW_14); - rule__Connect__Group_5__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop16; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getGroup_5()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group__5__Impl" - - - // $ANTLR start "rule__Connect__Group_2__0" - // InternalTqcl.g:1753:1: rule__Connect__Group_2__0 : rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 ; - public final void rule__Connect__Group_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1757:1: ( rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 ) - // InternalTqcl.g:1758:2: rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 - { - pushFollow(FOLLOW_9); - rule__Connect__Group_2__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group_2__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_2__0" - - - // $ANTLR start "rule__Connect__Group_2__0__Impl" - // InternalTqcl.g:1765:1: rule__Connect__Group_2__0__Impl : ( ',' ) ; - public final void rule__Connect__Group_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1769:1: ( ( ',' ) ) - // InternalTqcl.g:1770:1: ( ',' ) - { - // InternalTqcl.g:1770:1: ( ',' ) - // InternalTqcl.g:1771:2: ',' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_2__0__Impl" - - - // $ANTLR start "rule__Connect__Group_2__1" - // InternalTqcl.g:1780:1: rule__Connect__Group_2__1 : rule__Connect__Group_2__1__Impl ; - public final void rule__Connect__Group_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1784:1: ( rule__Connect__Group_2__1__Impl ) - // InternalTqcl.g:1785:2: rule__Connect__Group_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__Connect__Group_2__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_2__1" - - - // $ANTLR start "rule__Connect__Group_2__1__Impl" - // InternalTqcl.g:1791:1: rule__Connect__Group_2__1__Impl : ( ( rule__Connect__FromAssignment_2_1 ) ) ; - public final void rule__Connect__Group_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1795:1: ( ( ( rule__Connect__FromAssignment_2_1 ) ) ) - // InternalTqcl.g:1796:1: ( ( rule__Connect__FromAssignment_2_1 ) ) - { - // InternalTqcl.g:1796:1: ( ( rule__Connect__FromAssignment_2_1 ) ) - // InternalTqcl.g:1797:2: ( rule__Connect__FromAssignment_2_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getFromAssignment_2_1()); - } - // InternalTqcl.g:1798:2: ( rule__Connect__FromAssignment_2_1 ) - // InternalTqcl.g:1798:3: rule__Connect__FromAssignment_2_1 - { - pushFollow(FOLLOW_2); - rule__Connect__FromAssignment_2_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getFromAssignment_2_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_2__1__Impl" - - - // $ANTLR start "rule__Connect__Group_5__0" - // InternalTqcl.g:1807:1: rule__Connect__Group_5__0 : rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 ; - public final void rule__Connect__Group_5__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1811:1: ( rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 ) - // InternalTqcl.g:1812:2: rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 - { - pushFollow(FOLLOW_9); - rule__Connect__Group_5__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Connect__Group_5__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_5__0" - - - // $ANTLR start "rule__Connect__Group_5__0__Impl" - // InternalTqcl.g:1819:1: rule__Connect__Group_5__0__Impl : ( ',' ) ; - public final void rule__Connect__Group_5__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1823:1: ( ( ',' ) ) - // InternalTqcl.g:1824:1: ( ',' ) - { - // InternalTqcl.g:1824:1: ( ',' ) - // InternalTqcl.g:1825:2: ',' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_5__0__Impl" - - - // $ANTLR start "rule__Connect__Group_5__1" - // InternalTqcl.g:1834:1: rule__Connect__Group_5__1 : rule__Connect__Group_5__1__Impl ; - public final void rule__Connect__Group_5__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1838:1: ( rule__Connect__Group_5__1__Impl ) - // InternalTqcl.g:1839:2: rule__Connect__Group_5__1__Impl - { - pushFollow(FOLLOW_2); - rule__Connect__Group_5__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_5__1" - - - // $ANTLR start "rule__Connect__Group_5__1__Impl" - // InternalTqcl.g:1845:1: rule__Connect__Group_5__1__Impl : ( ( rule__Connect__ToAssignment_5_1 ) ) ; - public final void rule__Connect__Group_5__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1849:1: ( ( ( rule__Connect__ToAssignment_5_1 ) ) ) - // InternalTqcl.g:1850:1: ( ( rule__Connect__ToAssignment_5_1 ) ) - { - // InternalTqcl.g:1850:1: ( ( rule__Connect__ToAssignment_5_1 ) ) - // InternalTqcl.g:1851:2: ( rule__Connect__ToAssignment_5_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getToAssignment_5_1()); - } - // InternalTqcl.g:1852:2: ( rule__Connect__ToAssignment_5_1 ) - // InternalTqcl.g:1852:3: rule__Connect__ToAssignment_5_1 - { - pushFollow(FOLLOW_2); - rule__Connect__ToAssignment_5_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getToAssignment_5_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Connect__Group_5__1__Impl" - - - // $ANTLR start "rule__GoInto__Group__0" - // InternalTqcl.g:1861:1: rule__GoInto__Group__0 : rule__GoInto__Group__0__Impl rule__GoInto__Group__1 ; - public final void rule__GoInto__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1865:1: ( rule__GoInto__Group__0__Impl rule__GoInto__Group__1 ) - // InternalTqcl.g:1866:2: rule__GoInto__Group__0__Impl rule__GoInto__Group__1 - { - pushFollow(FOLLOW_16); - rule__GoInto__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__GoInto__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__0" - - - // $ANTLR start "rule__GoInto__Group__0__Impl" - // InternalTqcl.g:1873:1: rule__GoInto__Group__0__Impl : ( 'go' ) ; - public final void rule__GoInto__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1877:1: ( ( 'go' ) ) - // InternalTqcl.g:1878:1: ( 'go' ) - { - // InternalTqcl.g:1878:1: ( 'go' ) - // InternalTqcl.g:1879:2: 'go' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getGoKeyword_0()); - } - match(input,24,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getGoKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__0__Impl" - - - // $ANTLR start "rule__GoInto__Group__1" - // InternalTqcl.g:1888:1: rule__GoInto__Group__1 : rule__GoInto__Group__1__Impl rule__GoInto__Group__2 ; - public final void rule__GoInto__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1892:1: ( rule__GoInto__Group__1__Impl rule__GoInto__Group__2 ) - // InternalTqcl.g:1893:2: rule__GoInto__Group__1__Impl rule__GoInto__Group__2 - { - pushFollow(FOLLOW_10); - rule__GoInto__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__GoInto__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__1" - - - // $ANTLR start "rule__GoInto__Group__1__Impl" - // InternalTqcl.g:1900:1: rule__GoInto__Group__1__Impl : ( ( rule__GoInto__DirectionAssignment_1 ) ) ; - public final void rule__GoInto__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1904:1: ( ( ( rule__GoInto__DirectionAssignment_1 ) ) ) - // InternalTqcl.g:1905:1: ( ( rule__GoInto__DirectionAssignment_1 ) ) - { - // InternalTqcl.g:1905:1: ( ( rule__GoInto__DirectionAssignment_1 ) ) - // InternalTqcl.g:1906:2: ( rule__GoInto__DirectionAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); - } - // InternalTqcl.g:1907:2: ( rule__GoInto__DirectionAssignment_1 ) - // InternalTqcl.g:1907:3: rule__GoInto__DirectionAssignment_1 - { - pushFollow(FOLLOW_2); - rule__GoInto__DirectionAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__1__Impl" - - - // $ANTLR start "rule__GoInto__Group__2" - // InternalTqcl.g:1915:1: rule__GoInto__Group__2 : rule__GoInto__Group__2__Impl ; - public final void rule__GoInto__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1919:1: ( rule__GoInto__Group__2__Impl ) - // InternalTqcl.g:1920:2: rule__GoInto__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__GoInto__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__2" - - - // $ANTLR start "rule__GoInto__Group__2__Impl" - // InternalTqcl.g:1926:1: rule__GoInto__Group__2__Impl : ( ( rule__GoInto__ObjAssignment_2 ) ) ; - public final void rule__GoInto__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1930:1: ( ( ( rule__GoInto__ObjAssignment_2 ) ) ) - // InternalTqcl.g:1931:1: ( ( rule__GoInto__ObjAssignment_2 ) ) - { - // InternalTqcl.g:1931:1: ( ( rule__GoInto__ObjAssignment_2 ) ) - // InternalTqcl.g:1932:2: ( rule__GoInto__ObjAssignment_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getObjAssignment_2()); - } - // InternalTqcl.g:1933:2: ( rule__GoInto__ObjAssignment_2 ) - // InternalTqcl.g:1933:3: rule__GoInto__ObjAssignment_2 - { - pushFollow(FOLLOW_2); - rule__GoInto__ObjAssignment_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getObjAssignment_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoInto__Group__2__Impl" - - - // $ANTLR start "rule__GoOut__Group__0" - // InternalTqcl.g:1942:1: rule__GoOut__Group__0 : rule__GoOut__Group__0__Impl rule__GoOut__Group__1 ; - public final void rule__GoOut__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1946:1: ( rule__GoOut__Group__0__Impl rule__GoOut__Group__1 ) - // InternalTqcl.g:1947:2: rule__GoOut__Group__0__Impl rule__GoOut__Group__1 - { - pushFollow(FOLLOW_17); - rule__GoOut__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__GoOut__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoOut__Group__0" - - - // $ANTLR start "rule__GoOut__Group__0__Impl" - // InternalTqcl.g:1954:1: rule__GoOut__Group__0__Impl : ( 'go' ) ; - public final void rule__GoOut__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1958:1: ( ( 'go' ) ) - // InternalTqcl.g:1959:1: ( 'go' ) - { - // InternalTqcl.g:1959:1: ( 'go' ) - // InternalTqcl.g:1960:2: 'go' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutAccess().getGoKeyword_0()); - } - match(input,24,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutAccess().getGoKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoOut__Group__0__Impl" - - - // $ANTLR start "rule__GoOut__Group__1" - // InternalTqcl.g:1969:1: rule__GoOut__Group__1 : rule__GoOut__Group__1__Impl ; - public final void rule__GoOut__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1973:1: ( rule__GoOut__Group__1__Impl ) - // InternalTqcl.g:1974:2: rule__GoOut__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__GoOut__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoOut__Group__1" - - - // $ANTLR start "rule__GoOut__Group__1__Impl" - // InternalTqcl.g:1980:1: rule__GoOut__Group__1__Impl : ( ( rule__GoOut__DirectionAssignment_1 ) ) ; - public final void rule__GoOut__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:1984:1: ( ( ( rule__GoOut__DirectionAssignment_1 ) ) ) - // InternalTqcl.g:1985:1: ( ( rule__GoOut__DirectionAssignment_1 ) ) - { - // InternalTqcl.g:1985:1: ( ( rule__GoOut__DirectionAssignment_1 ) ) - // InternalTqcl.g:1986:2: ( rule__GoOut__DirectionAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); - } - // InternalTqcl.g:1987:2: ( rule__GoOut__DirectionAssignment_1 ) - // InternalTqcl.g:1987:3: rule__GoOut__DirectionAssignment_1 - { - pushFollow(FOLLOW_2); - rule__GoOut__DirectionAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__GoOut__Group__1__Impl" - - - // $ANTLR start "rule__Parameter__Group__0" - // InternalTqcl.g:1996:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; - public final void rule__Parameter__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2000:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) - // InternalTqcl.g:2001:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 - { - pushFollow(FOLLOW_18); - rule__Parameter__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Parameter__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__0" - - - // $ANTLR start "rule__Parameter__Group__0__Impl" - // InternalTqcl.g:2008:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__IdAssignment_0 ) ) ; - public final void rule__Parameter__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2012:1: ( ( ( rule__Parameter__IdAssignment_0 ) ) ) - // InternalTqcl.g:2013:1: ( ( rule__Parameter__IdAssignment_0 ) ) - { - // InternalTqcl.g:2013:1: ( ( rule__Parameter__IdAssignment_0 ) ) - // InternalTqcl.g:2014:2: ( rule__Parameter__IdAssignment_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getIdAssignment_0()); - } - // InternalTqcl.g:2015:2: ( rule__Parameter__IdAssignment_0 ) - // InternalTqcl.g:2015:3: rule__Parameter__IdAssignment_0 - { - pushFollow(FOLLOW_2); - rule__Parameter__IdAssignment_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getIdAssignment_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__0__Impl" - - - // $ANTLR start "rule__Parameter__Group__1" - // InternalTqcl.g:2023:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl rule__Parameter__Group__2 ; - public final void rule__Parameter__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2027:1: ( rule__Parameter__Group__1__Impl rule__Parameter__Group__2 ) - // InternalTqcl.g:2028:2: rule__Parameter__Group__1__Impl rule__Parameter__Group__2 - { - pushFollow(FOLLOW_8); - rule__Parameter__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__Parameter__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__1" - - - // $ANTLR start "rule__Parameter__Group__1__Impl" - // InternalTqcl.g:2035:1: rule__Parameter__Group__1__Impl : ( '=' ) ; - public final void rule__Parameter__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2039:1: ( ( '=' ) ) - // InternalTqcl.g:2040:1: ( '=' ) - { - // InternalTqcl.g:2040:1: ( '=' ) - // InternalTqcl.g:2041:2: '=' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); - } - match(input,25,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__1__Impl" - - - // $ANTLR start "rule__Parameter__Group__2" - // InternalTqcl.g:2050:1: rule__Parameter__Group__2 : rule__Parameter__Group__2__Impl ; - public final void rule__Parameter__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2054:1: ( rule__Parameter__Group__2__Impl ) - // InternalTqcl.g:2055:2: rule__Parameter__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__Parameter__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__2" - - - // $ANTLR start "rule__Parameter__Group__2__Impl" - // InternalTqcl.g:2061:1: rule__Parameter__Group__2__Impl : ( ( rule__Parameter__ValueAssignment_2 ) ) ; - public final void rule__Parameter__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2065:1: ( ( ( rule__Parameter__ValueAssignment_2 ) ) ) - // InternalTqcl.g:2066:1: ( ( rule__Parameter__ValueAssignment_2 ) ) - { - // InternalTqcl.g:2066:1: ( ( rule__Parameter__ValueAssignment_2 ) ) - // InternalTqcl.g:2067:2: ( rule__Parameter__ValueAssignment_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getValueAssignment_2()); - } - // InternalTqcl.g:2068:2: ( rule__Parameter__ValueAssignment_2 ) - // InternalTqcl.g:2068:3: rule__Parameter__ValueAssignment_2 - { - pushFollow(FOLLOW_2); - rule__Parameter__ValueAssignment_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getValueAssignment_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__Parameter__Group__2__Impl" - - - // $ANTLR start "rule__ConnectionPort__Group__0" - // InternalTqcl.g:2077:1: rule__ConnectionPort__Group__0 : rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 ; - public final void rule__ConnectionPort__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2081:1: ( rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 ) - // InternalTqcl.g:2082:2: rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 - { - pushFollow(FOLLOW_19); - rule__ConnectionPort__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__ConnectionPort__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__0" - - - // $ANTLR start "rule__ConnectionPort__Group__0__Impl" - // InternalTqcl.g:2089:1: rule__ConnectionPort__Group__0__Impl : ( ( rule__ConnectionPort__ActorAssignment_0 ) ) ; - public final void rule__ConnectionPort__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2093:1: ( ( ( rule__ConnectionPort__ActorAssignment_0 ) ) ) - // InternalTqcl.g:2094:1: ( ( rule__ConnectionPort__ActorAssignment_0 ) ) - { - // InternalTqcl.g:2094:1: ( ( rule__ConnectionPort__ActorAssignment_0 ) ) - // InternalTqcl.g:2095:2: ( rule__ConnectionPort__ActorAssignment_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); - } - // InternalTqcl.g:2096:2: ( rule__ConnectionPort__ActorAssignment_0 ) - // InternalTqcl.g:2096:3: rule__ConnectionPort__ActorAssignment_0 - { - pushFollow(FOLLOW_2); - rule__ConnectionPort__ActorAssignment_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__0__Impl" - - - // $ANTLR start "rule__ConnectionPort__Group__1" - // InternalTqcl.g:2104:1: rule__ConnectionPort__Group__1 : rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 ; - public final void rule__ConnectionPort__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2108:1: ( rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 ) - // InternalTqcl.g:2109:2: rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 - { - pushFollow(FOLLOW_10); - rule__ConnectionPort__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__ConnectionPort__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__1" - - - // $ANTLR start "rule__ConnectionPort__Group__1__Impl" - // InternalTqcl.g:2116:1: rule__ConnectionPort__Group__1__Impl : ( '.' ) ; - public final void rule__ConnectionPort__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2120:1: ( ( '.' ) ) - // InternalTqcl.g:2121:1: ( '.' ) - { - // InternalTqcl.g:2121:1: ( '.' ) - // InternalTqcl.g:2122:2: '.' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); - } - match(input,26,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__1__Impl" - - - // $ANTLR start "rule__ConnectionPort__Group__2" - // InternalTqcl.g:2131:1: rule__ConnectionPort__Group__2 : rule__ConnectionPort__Group__2__Impl ; - public final void rule__ConnectionPort__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2135:1: ( rule__ConnectionPort__Group__2__Impl ) - // InternalTqcl.g:2136:2: rule__ConnectionPort__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__ConnectionPort__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__2" - - - // $ANTLR start "rule__ConnectionPort__Group__2__Impl" - // InternalTqcl.g:2142:1: rule__ConnectionPort__Group__2__Impl : ( ( rule__ConnectionPort__PortAssignment_2 ) ) ; - public final void rule__ConnectionPort__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2146:1: ( ( ( rule__ConnectionPort__PortAssignment_2 ) ) ) - // InternalTqcl.g:2147:1: ( ( rule__ConnectionPort__PortAssignment_2 ) ) - { - // InternalTqcl.g:2147:1: ( ( rule__ConnectionPort__PortAssignment_2 ) ) - // InternalTqcl.g:2148:2: ( rule__ConnectionPort__PortAssignment_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); - } - // InternalTqcl.g:2149:2: ( rule__ConnectionPort__PortAssignment_2 ) - // InternalTqcl.g:2149:3: rule__ConnectionPort__PortAssignment_2 - { - pushFollow(FOLLOW_2); - rule__ConnectionPort__PortAssignment_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ConnectionPort__Group__2__Impl" - - - // $ANTLR start "rule__JvmTypeReference__Group_0__0" - // InternalTqcl.g:2158:1: rule__JvmTypeReference__Group_0__0 : rule__JvmTypeReference__Group_0__0__Impl rule__JvmTypeReference__Group_0__1 ; - public final void rule__JvmTypeReference__Group_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2162:1: ( rule__JvmTypeReference__Group_0__0__Impl rule__JvmTypeReference__Group_0__1 ) - // InternalTqcl.g:2163:2: rule__JvmTypeReference__Group_0__0__Impl rule__JvmTypeReference__Group_0__1 - { - pushFollow(FOLLOW_20); - rule__JvmTypeReference__Group_0__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0__0" - - - // $ANTLR start "rule__JvmTypeReference__Group_0__0__Impl" - // InternalTqcl.g:2170:1: rule__JvmTypeReference__Group_0__0__Impl : ( ruleJvmParameterizedTypeReference ) ; - public final void rule__JvmTypeReference__Group_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2174:1: ( ( ruleJvmParameterizedTypeReference ) ) - // InternalTqcl.g:2175:1: ( ruleJvmParameterizedTypeReference ) - { - // InternalTqcl.g:2175:1: ( ruleJvmParameterizedTypeReference ) - // InternalTqcl.g:2176:2: ruleJvmParameterizedTypeReference - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); - } - pushFollow(FOLLOW_2); - ruleJvmParameterizedTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0__0__Impl" - - - // $ANTLR start "rule__JvmTypeReference__Group_0__1" - // InternalTqcl.g:2185:1: rule__JvmTypeReference__Group_0__1 : rule__JvmTypeReference__Group_0__1__Impl ; - public final void rule__JvmTypeReference__Group_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2189:1: ( rule__JvmTypeReference__Group_0__1__Impl ) - // InternalTqcl.g:2190:2: rule__JvmTypeReference__Group_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0__1" - - - // $ANTLR start "rule__JvmTypeReference__Group_0__1__Impl" - // InternalTqcl.g:2196:1: rule__JvmTypeReference__Group_0__1__Impl : ( ( rule__JvmTypeReference__Group_0_1__0 )* ) ; - public final void rule__JvmTypeReference__Group_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2200:1: ( ( ( rule__JvmTypeReference__Group_0_1__0 )* ) ) - // InternalTqcl.g:2201:1: ( ( rule__JvmTypeReference__Group_0_1__0 )* ) - { - // InternalTqcl.g:2201:1: ( ( rule__JvmTypeReference__Group_0_1__0 )* ) - // InternalTqcl.g:2202:2: ( rule__JvmTypeReference__Group_0_1__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1()); - } - // InternalTqcl.g:2203:2: ( rule__JvmTypeReference__Group_0_1__0 )* - loop17: - do { - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==27) ) { - alt17=1; - } - - - switch (alt17) { - case 1 : - // InternalTqcl.g:2203:3: rule__JvmTypeReference__Group_0_1__0 - { - pushFollow(FOLLOW_21); - rule__JvmTypeReference__Group_0_1__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop17; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0__1__Impl" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1__0" - // InternalTqcl.g:2212:1: rule__JvmTypeReference__Group_0_1__0 : rule__JvmTypeReference__Group_0_1__0__Impl ; - public final void rule__JvmTypeReference__Group_0_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2216:1: ( rule__JvmTypeReference__Group_0_1__0__Impl ) - // InternalTqcl.g:2217:2: rule__JvmTypeReference__Group_0_1__0__Impl - { - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0_1__0__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1__0" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1__0__Impl" - // InternalTqcl.g:2223:1: rule__JvmTypeReference__Group_0_1__0__Impl : ( ( rule__JvmTypeReference__Group_0_1_0__0 ) ) ; - public final void rule__JvmTypeReference__Group_0_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2227:1: ( ( ( rule__JvmTypeReference__Group_0_1_0__0 ) ) ) - // InternalTqcl.g:2228:1: ( ( rule__JvmTypeReference__Group_0_1_0__0 ) ) - { - // InternalTqcl.g:2228:1: ( ( rule__JvmTypeReference__Group_0_1_0__0 ) ) - // InternalTqcl.g:2229:2: ( rule__JvmTypeReference__Group_0_1_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0()); - } - // InternalTqcl.g:2230:2: ( rule__JvmTypeReference__Group_0_1_0__0 ) - // InternalTqcl.g:2230:3: rule__JvmTypeReference__Group_0_1_0__0 - { - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0_1_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getGroup_0_1_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1__0__Impl" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1_0__0" - // InternalTqcl.g:2239:1: rule__JvmTypeReference__Group_0_1_0__0 : rule__JvmTypeReference__Group_0_1_0__0__Impl rule__JvmTypeReference__Group_0_1_0__1 ; - public final void rule__JvmTypeReference__Group_0_1_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2243:1: ( rule__JvmTypeReference__Group_0_1_0__0__Impl rule__JvmTypeReference__Group_0_1_0__1 ) - // InternalTqcl.g:2244:2: rule__JvmTypeReference__Group_0_1_0__0__Impl rule__JvmTypeReference__Group_0_1_0__1 - { - pushFollow(FOLLOW_20); - rule__JvmTypeReference__Group_0_1_0__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0_1_0__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1_0__0" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1_0__0__Impl" - // InternalTqcl.g:2251:1: rule__JvmTypeReference__Group_0_1_0__0__Impl : ( () ) ; - public final void rule__JvmTypeReference__Group_0_1_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2255:1: ( ( () ) ) - // InternalTqcl.g:2256:1: ( () ) - { - // InternalTqcl.g:2256:1: ( () ) - // InternalTqcl.g:2257:2: () - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()); - } - // InternalTqcl.g:2258:2: () - // InternalTqcl.g:2258:3: - { - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()); - } - - } - - - } - - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1_0__0__Impl" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1_0__1" - // InternalTqcl.g:2266:1: rule__JvmTypeReference__Group_0_1_0__1 : rule__JvmTypeReference__Group_0_1_0__1__Impl ; - public final void rule__JvmTypeReference__Group_0_1_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2270:1: ( rule__JvmTypeReference__Group_0_1_0__1__Impl ) - // InternalTqcl.g:2271:2: rule__JvmTypeReference__Group_0_1_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__JvmTypeReference__Group_0_1_0__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1_0__1" - - - // $ANTLR start "rule__JvmTypeReference__Group_0_1_0__1__Impl" - // InternalTqcl.g:2277:1: rule__JvmTypeReference__Group_0_1_0__1__Impl : ( ruleArrayBrackets ) ; - public final void rule__JvmTypeReference__Group_0_1_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2281:1: ( ( ruleArrayBrackets ) ) - // InternalTqcl.g:2282:1: ( ruleArrayBrackets ) - { - // InternalTqcl.g:2282:1: ( ruleArrayBrackets ) - // InternalTqcl.g:2283:2: ruleArrayBrackets - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); - } - pushFollow(FOLLOW_2); - ruleArrayBrackets(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmTypeReference__Group_0_1_0__1__Impl" - - - // $ANTLR start "rule__ArrayBrackets__Group__0" - // InternalTqcl.g:2293:1: rule__ArrayBrackets__Group__0 : rule__ArrayBrackets__Group__0__Impl rule__ArrayBrackets__Group__1 ; - public final void rule__ArrayBrackets__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2297:1: ( rule__ArrayBrackets__Group__0__Impl rule__ArrayBrackets__Group__1 ) - // InternalTqcl.g:2298:2: rule__ArrayBrackets__Group__0__Impl rule__ArrayBrackets__Group__1 - { - pushFollow(FOLLOW_22); - rule__ArrayBrackets__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__ArrayBrackets__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ArrayBrackets__Group__0" - - - // $ANTLR start "rule__ArrayBrackets__Group__0__Impl" - // InternalTqcl.g:2305:1: rule__ArrayBrackets__Group__0__Impl : ( '[' ) ; - public final void rule__ArrayBrackets__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2309:1: ( ( '[' ) ) - // InternalTqcl.g:2310:1: ( '[' ) - { - // InternalTqcl.g:2310:1: ( '[' ) - // InternalTqcl.g:2311:2: '[' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); - } - match(input,27,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ArrayBrackets__Group__0__Impl" - - - // $ANTLR start "rule__ArrayBrackets__Group__1" - // InternalTqcl.g:2320:1: rule__ArrayBrackets__Group__1 : rule__ArrayBrackets__Group__1__Impl ; - public final void rule__ArrayBrackets__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2324:1: ( rule__ArrayBrackets__Group__1__Impl ) - // InternalTqcl.g:2325:2: rule__ArrayBrackets__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__ArrayBrackets__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ArrayBrackets__Group__1" - - - // $ANTLR start "rule__ArrayBrackets__Group__1__Impl" - // InternalTqcl.g:2331:1: rule__ArrayBrackets__Group__1__Impl : ( ']' ) ; - public final void rule__ArrayBrackets__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2335:1: ( ( ']' ) ) - // InternalTqcl.g:2336:1: ( ']' ) - { - // InternalTqcl.g:2336:1: ( ']' ) - // InternalTqcl.g:2337:2: ']' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); - } - match(input,28,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__ArrayBrackets__Group__1__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__0" - // InternalTqcl.g:2347:1: rule__XFunctionTypeRef__Group__0 : rule__XFunctionTypeRef__Group__0__Impl rule__XFunctionTypeRef__Group__1 ; - public final void rule__XFunctionTypeRef__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2351:1: ( rule__XFunctionTypeRef__Group__0__Impl rule__XFunctionTypeRef__Group__1 ) - // InternalTqcl.g:2352:2: rule__XFunctionTypeRef__Group__0__Impl rule__XFunctionTypeRef__Group__1 - { - pushFollow(FOLLOW_23); - rule__XFunctionTypeRef__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__0" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__0__Impl" - // InternalTqcl.g:2359:1: rule__XFunctionTypeRef__Group__0__Impl : ( ( rule__XFunctionTypeRef__Group_0__0 )? ) ; - public final void rule__XFunctionTypeRef__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2363:1: ( ( ( rule__XFunctionTypeRef__Group_0__0 )? ) ) - // InternalTqcl.g:2364:1: ( ( rule__XFunctionTypeRef__Group_0__0 )? ) - { - // InternalTqcl.g:2364:1: ( ( rule__XFunctionTypeRef__Group_0__0 )? ) - // InternalTqcl.g:2365:2: ( rule__XFunctionTypeRef__Group_0__0 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0()); - } - // InternalTqcl.g:2366:2: ( rule__XFunctionTypeRef__Group_0__0 )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==30) ) { - alt18=1; - } - switch (alt18) { - case 1 : - // InternalTqcl.g:2366:3: rule__XFunctionTypeRef__Group_0__0 - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__0__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__1" - // InternalTqcl.g:2374:1: rule__XFunctionTypeRef__Group__1 : rule__XFunctionTypeRef__Group__1__Impl rule__XFunctionTypeRef__Group__2 ; - public final void rule__XFunctionTypeRef__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2378:1: ( rule__XFunctionTypeRef__Group__1__Impl rule__XFunctionTypeRef__Group__2 ) - // InternalTqcl.g:2379:2: rule__XFunctionTypeRef__Group__1__Impl rule__XFunctionTypeRef__Group__2 - { - pushFollow(FOLLOW_24); - rule__XFunctionTypeRef__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__1" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__1__Impl" - // InternalTqcl.g:2386:1: rule__XFunctionTypeRef__Group__1__Impl : ( '=>' ) ; - public final void rule__XFunctionTypeRef__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2390:1: ( ( '=>' ) ) - // InternalTqcl.g:2391:1: ( '=>' ) - { - // InternalTqcl.g:2391:1: ( '=>' ) - // InternalTqcl.g:2392:2: '=>' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); - } - match(input,29,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__1__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__2" - // InternalTqcl.g:2401:1: rule__XFunctionTypeRef__Group__2 : rule__XFunctionTypeRef__Group__2__Impl ; - public final void rule__XFunctionTypeRef__Group__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2405:1: ( rule__XFunctionTypeRef__Group__2__Impl ) - // InternalTqcl.g:2406:2: rule__XFunctionTypeRef__Group__2__Impl - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__2" - - - // $ANTLR start "rule__XFunctionTypeRef__Group__2__Impl" - // InternalTqcl.g:2412:1: rule__XFunctionTypeRef__Group__2__Impl : ( ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) ) ; - public final void rule__XFunctionTypeRef__Group__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2416:1: ( ( ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) ) ) - // InternalTqcl.g:2417:1: ( ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) ) - { - // InternalTqcl.g:2417:1: ( ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) ) - // InternalTqcl.g:2418:2: ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2()); - } - // InternalTqcl.g:2419:2: ( rule__XFunctionTypeRef__ReturnTypeAssignment_2 ) - // InternalTqcl.g:2419:3: rule__XFunctionTypeRef__ReturnTypeAssignment_2 - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__ReturnTypeAssignment_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeAssignment_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group__2__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__0" - // InternalTqcl.g:2428:1: rule__XFunctionTypeRef__Group_0__0 : rule__XFunctionTypeRef__Group_0__0__Impl rule__XFunctionTypeRef__Group_0__1 ; - public final void rule__XFunctionTypeRef__Group_0__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2432:1: ( rule__XFunctionTypeRef__Group_0__0__Impl rule__XFunctionTypeRef__Group_0__1 ) - // InternalTqcl.g:2433:2: rule__XFunctionTypeRef__Group_0__0__Impl rule__XFunctionTypeRef__Group_0__1 - { - pushFollow(FOLLOW_25); - rule__XFunctionTypeRef__Group_0__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__0" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__0__Impl" - // InternalTqcl.g:2440:1: rule__XFunctionTypeRef__Group_0__0__Impl : ( '(' ) ; - public final void rule__XFunctionTypeRef__Group_0__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2444:1: ( ( '(' ) ) - // InternalTqcl.g:2445:1: ( '(' ) - { - // InternalTqcl.g:2445:1: ( '(' ) - // InternalTqcl.g:2446:2: '(' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); - } - match(input,30,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__0__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__1" - // InternalTqcl.g:2455:1: rule__XFunctionTypeRef__Group_0__1 : rule__XFunctionTypeRef__Group_0__1__Impl rule__XFunctionTypeRef__Group_0__2 ; - public final void rule__XFunctionTypeRef__Group_0__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2459:1: ( rule__XFunctionTypeRef__Group_0__1__Impl rule__XFunctionTypeRef__Group_0__2 ) - // InternalTqcl.g:2460:2: rule__XFunctionTypeRef__Group_0__1__Impl rule__XFunctionTypeRef__Group_0__2 - { - pushFollow(FOLLOW_25); - rule__XFunctionTypeRef__Group_0__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__1" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__1__Impl" - // InternalTqcl.g:2467:1: rule__XFunctionTypeRef__Group_0__1__Impl : ( ( rule__XFunctionTypeRef__Group_0_1__0 )? ) ; - public final void rule__XFunctionTypeRef__Group_0__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2471:1: ( ( ( rule__XFunctionTypeRef__Group_0_1__0 )? ) ) - // InternalTqcl.g:2472:1: ( ( rule__XFunctionTypeRef__Group_0_1__0 )? ) - { - // InternalTqcl.g:2472:1: ( ( rule__XFunctionTypeRef__Group_0_1__0 )? ) - // InternalTqcl.g:2473:2: ( rule__XFunctionTypeRef__Group_0_1__0 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1()); - } - // InternalTqcl.g:2474:2: ( rule__XFunctionTypeRef__Group_0_1__0 )? - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==RULE_ID||(LA19_0>=29 && LA19_0<=30)) ) { - alt19=1; - } - switch (alt19) { - case 1 : - // InternalTqcl.g:2474:3: rule__XFunctionTypeRef__Group_0_1__0 - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0_1__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__1__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__2" - // InternalTqcl.g:2482:1: rule__XFunctionTypeRef__Group_0__2 : rule__XFunctionTypeRef__Group_0__2__Impl ; - public final void rule__XFunctionTypeRef__Group_0__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2486:1: ( rule__XFunctionTypeRef__Group_0__2__Impl ) - // InternalTqcl.g:2487:2: rule__XFunctionTypeRef__Group_0__2__Impl - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__2" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0__2__Impl" - // InternalTqcl.g:2493:1: rule__XFunctionTypeRef__Group_0__2__Impl : ( ')' ) ; - public final void rule__XFunctionTypeRef__Group_0__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2497:1: ( ( ')' ) ) - // InternalTqcl.g:2498:1: ( ')' ) - { - // InternalTqcl.g:2498:1: ( ')' ) - // InternalTqcl.g:2499:2: ')' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); - } - match(input,31,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0__2__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1__0" - // InternalTqcl.g:2509:1: rule__XFunctionTypeRef__Group_0_1__0 : rule__XFunctionTypeRef__Group_0_1__0__Impl rule__XFunctionTypeRef__Group_0_1__1 ; - public final void rule__XFunctionTypeRef__Group_0_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2513:1: ( rule__XFunctionTypeRef__Group_0_1__0__Impl rule__XFunctionTypeRef__Group_0_1__1 ) - // InternalTqcl.g:2514:2: rule__XFunctionTypeRef__Group_0_1__0__Impl rule__XFunctionTypeRef__Group_0_1__1 - { - pushFollow(FOLLOW_13); - rule__XFunctionTypeRef__Group_0_1__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0_1__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1__0" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1__0__Impl" - // InternalTqcl.g:2521:1: rule__XFunctionTypeRef__Group_0_1__0__Impl : ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) ) ; - public final void rule__XFunctionTypeRef__Group_0_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2525:1: ( ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) ) ) - // InternalTqcl.g:2526:1: ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) ) - { - // InternalTqcl.g:2526:1: ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) ) - // InternalTqcl.g:2527:2: ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0()); - } - // InternalTqcl.g:2528:2: ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 ) - // InternalTqcl.g:2528:3: rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1__0__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1__1" - // InternalTqcl.g:2536:1: rule__XFunctionTypeRef__Group_0_1__1 : rule__XFunctionTypeRef__Group_0_1__1__Impl ; - public final void rule__XFunctionTypeRef__Group_0_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2540:1: ( rule__XFunctionTypeRef__Group_0_1__1__Impl ) - // InternalTqcl.g:2541:2: rule__XFunctionTypeRef__Group_0_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0_1__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1__1" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1__1__Impl" - // InternalTqcl.g:2547:1: rule__XFunctionTypeRef__Group_0_1__1__Impl : ( ( rule__XFunctionTypeRef__Group_0_1_1__0 )* ) ; - public final void rule__XFunctionTypeRef__Group_0_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2551:1: ( ( ( rule__XFunctionTypeRef__Group_0_1_1__0 )* ) ) - // InternalTqcl.g:2552:1: ( ( rule__XFunctionTypeRef__Group_0_1_1__0 )* ) - { - // InternalTqcl.g:2552:1: ( ( rule__XFunctionTypeRef__Group_0_1_1__0 )* ) - // InternalTqcl.g:2553:2: ( rule__XFunctionTypeRef__Group_0_1_1__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1()); - } - // InternalTqcl.g:2554:2: ( rule__XFunctionTypeRef__Group_0_1_1__0 )* - loop20: - do { - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==20) ) { - alt20=1; - } - - - switch (alt20) { - case 1 : - // InternalTqcl.g:2554:3: rule__XFunctionTypeRef__Group_0_1_1__0 - { - pushFollow(FOLLOW_14); - rule__XFunctionTypeRef__Group_0_1_1__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop20; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getGroup_0_1_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1__1__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1_1__0" - // InternalTqcl.g:2563:1: rule__XFunctionTypeRef__Group_0_1_1__0 : rule__XFunctionTypeRef__Group_0_1_1__0__Impl rule__XFunctionTypeRef__Group_0_1_1__1 ; - public final void rule__XFunctionTypeRef__Group_0_1_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2567:1: ( rule__XFunctionTypeRef__Group_0_1_1__0__Impl rule__XFunctionTypeRef__Group_0_1_1__1 ) - // InternalTqcl.g:2568:2: rule__XFunctionTypeRef__Group_0_1_1__0__Impl rule__XFunctionTypeRef__Group_0_1_1__1 - { - pushFollow(FOLLOW_24); - rule__XFunctionTypeRef__Group_0_1_1__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0_1_1__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1_1__0" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1_1__0__Impl" - // InternalTqcl.g:2575:1: rule__XFunctionTypeRef__Group_0_1_1__0__Impl : ( ',' ) ; - public final void rule__XFunctionTypeRef__Group_0_1_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2579:1: ( ( ',' ) ) - // InternalTqcl.g:2580:1: ( ',' ) - { - // InternalTqcl.g:2580:1: ( ',' ) - // InternalTqcl.g:2581:2: ',' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1_1__0__Impl" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1_1__1" - // InternalTqcl.g:2590:1: rule__XFunctionTypeRef__Group_0_1_1__1 : rule__XFunctionTypeRef__Group_0_1_1__1__Impl ; - public final void rule__XFunctionTypeRef__Group_0_1_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2594:1: ( rule__XFunctionTypeRef__Group_0_1_1__1__Impl ) - // InternalTqcl.g:2595:2: rule__XFunctionTypeRef__Group_0_1_1__1__Impl - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__Group_0_1_1__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1_1__1" - - - // $ANTLR start "rule__XFunctionTypeRef__Group_0_1_1__1__Impl" - // InternalTqcl.g:2601:1: rule__XFunctionTypeRef__Group_0_1_1__1__Impl : ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) ) ; - public final void rule__XFunctionTypeRef__Group_0_1_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2605:1: ( ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) ) ) - // InternalTqcl.g:2606:1: ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) ) - { - // InternalTqcl.g:2606:1: ( ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) ) - // InternalTqcl.g:2607:2: ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1()); - } - // InternalTqcl.g:2608:2: ( rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 ) - // InternalTqcl.g:2608:3: rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 - { - pushFollow(FOLLOW_2); - rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesAssignment_0_1_1_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__XFunctionTypeRef__Group_0_1_1__1__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group__0" - // InternalTqcl.g:2617:1: rule__JvmParameterizedTypeReference__Group__0 : rule__JvmParameterizedTypeReference__Group__0__Impl rule__JvmParameterizedTypeReference__Group__1 ; - public final void rule__JvmParameterizedTypeReference__Group__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2621:1: ( rule__JvmParameterizedTypeReference__Group__0__Impl rule__JvmParameterizedTypeReference__Group__1 ) - // InternalTqcl.g:2622:2: rule__JvmParameterizedTypeReference__Group__0__Impl rule__JvmParameterizedTypeReference__Group__1 - { - pushFollow(FOLLOW_26); - rule__JvmParameterizedTypeReference__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group__0" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group__0__Impl" - // InternalTqcl.g:2629:1: rule__JvmParameterizedTypeReference__Group__0__Impl : ( ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2633:1: ( ( ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) ) ) - // InternalTqcl.g:2634:1: ( ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) ) - { - // InternalTqcl.g:2634:1: ( ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) ) - // InternalTqcl.g:2635:2: ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0()); - } - // InternalTqcl.g:2636:2: ( rule__JvmParameterizedTypeReference__TypeAssignment_0 ) - // InternalTqcl.g:2636:3: rule__JvmParameterizedTypeReference__TypeAssignment_0 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__TypeAssignment_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group__0__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group__1" - // InternalTqcl.g:2644:1: rule__JvmParameterizedTypeReference__Group__1 : rule__JvmParameterizedTypeReference__Group__1__Impl ; - public final void rule__JvmParameterizedTypeReference__Group__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2648:1: ( rule__JvmParameterizedTypeReference__Group__1__Impl ) - // InternalTqcl.g:2649:2: rule__JvmParameterizedTypeReference__Group__1__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group__1" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group__1__Impl" - // InternalTqcl.g:2655:1: rule__JvmParameterizedTypeReference__Group__1__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1__0 )? ) ; - public final void rule__JvmParameterizedTypeReference__Group__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2659:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1__0 )? ) ) - // InternalTqcl.g:2660:1: ( ( rule__JvmParameterizedTypeReference__Group_1__0 )? ) - { - // InternalTqcl.g:2660:1: ( ( rule__JvmParameterizedTypeReference__Group_1__0 )? ) - // InternalTqcl.g:2661:2: ( rule__JvmParameterizedTypeReference__Group_1__0 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1()); - } - // InternalTqcl.g:2662:2: ( rule__JvmParameterizedTypeReference__Group_1__0 )? - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==32) ) { - alt21=1; - } - switch (alt21) { - case 1 : - // InternalTqcl.g:2662:3: rule__JvmParameterizedTypeReference__Group_1__0 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group__1__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__0" - // InternalTqcl.g:2671:1: rule__JvmParameterizedTypeReference__Group_1__0 : rule__JvmParameterizedTypeReference__Group_1__0__Impl rule__JvmParameterizedTypeReference__Group_1__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2675:1: ( rule__JvmParameterizedTypeReference__Group_1__0__Impl rule__JvmParameterizedTypeReference__Group_1__1 ) - // InternalTqcl.g:2676:2: rule__JvmParameterizedTypeReference__Group_1__0__Impl rule__JvmParameterizedTypeReference__Group_1__1 - { - pushFollow(FOLLOW_27); - rule__JvmParameterizedTypeReference__Group_1__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__0" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__0__Impl" - // InternalTqcl.g:2683:1: rule__JvmParameterizedTypeReference__Group_1__0__Impl : ( ( '<' ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2687:1: ( ( ( '<' ) ) ) - // InternalTqcl.g:2688:1: ( ( '<' ) ) - { - // InternalTqcl.g:2688:1: ( ( '<' ) ) - // InternalTqcl.g:2689:2: ( '<' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); - } - // InternalTqcl.g:2690:2: ( '<' ) - // InternalTqcl.g:2690:3: '<' - { - match(input,32,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__0__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__1" - // InternalTqcl.g:2698:1: rule__JvmParameterizedTypeReference__Group_1__1 : rule__JvmParameterizedTypeReference__Group_1__1__Impl rule__JvmParameterizedTypeReference__Group_1__2 ; - public final void rule__JvmParameterizedTypeReference__Group_1__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2702:1: ( rule__JvmParameterizedTypeReference__Group_1__1__Impl rule__JvmParameterizedTypeReference__Group_1__2 ) - // InternalTqcl.g:2703:2: rule__JvmParameterizedTypeReference__Group_1__1__Impl rule__JvmParameterizedTypeReference__Group_1__2 - { - pushFollow(FOLLOW_28); - rule__JvmParameterizedTypeReference__Group_1__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__1" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__1__Impl" - // InternalTqcl.g:2710:1: rule__JvmParameterizedTypeReference__Group_1__1__Impl : ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2714:1: ( ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) ) ) - // InternalTqcl.g:2715:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) ) - { - // InternalTqcl.g:2715:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) ) - // InternalTqcl.g:2716:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1()); - } - // InternalTqcl.g:2717:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 ) - // InternalTqcl.g:2717:3: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__1__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__2" - // InternalTqcl.g:2725:1: rule__JvmParameterizedTypeReference__Group_1__2 : rule__JvmParameterizedTypeReference__Group_1__2__Impl rule__JvmParameterizedTypeReference__Group_1__3 ; - public final void rule__JvmParameterizedTypeReference__Group_1__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2729:1: ( rule__JvmParameterizedTypeReference__Group_1__2__Impl rule__JvmParameterizedTypeReference__Group_1__3 ) - // InternalTqcl.g:2730:2: rule__JvmParameterizedTypeReference__Group_1__2__Impl rule__JvmParameterizedTypeReference__Group_1__3 - { - pushFollow(FOLLOW_28); - rule__JvmParameterizedTypeReference__Group_1__2__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__3(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__2" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__2__Impl" - // InternalTqcl.g:2737:1: rule__JvmParameterizedTypeReference__Group_1__2__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* ) ; - public final void rule__JvmParameterizedTypeReference__Group_1__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2741:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* ) ) - // InternalTqcl.g:2742:1: ( ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* ) - { - // InternalTqcl.g:2742:1: ( ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* ) - // InternalTqcl.g:2743:2: ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2()); - } - // InternalTqcl.g:2744:2: ( rule__JvmParameterizedTypeReference__Group_1_2__0 )* - loop22: - do { - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==20) ) { - alt22=1; - } - - - switch (alt22) { - case 1 : - // InternalTqcl.g:2744:3: rule__JvmParameterizedTypeReference__Group_1_2__0 - { - pushFollow(FOLLOW_14); - rule__JvmParameterizedTypeReference__Group_1_2__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop22; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_2()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__2__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__3" - // InternalTqcl.g:2752:1: rule__JvmParameterizedTypeReference__Group_1__3 : rule__JvmParameterizedTypeReference__Group_1__3__Impl rule__JvmParameterizedTypeReference__Group_1__4 ; - public final void rule__JvmParameterizedTypeReference__Group_1__3() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2756:1: ( rule__JvmParameterizedTypeReference__Group_1__3__Impl rule__JvmParameterizedTypeReference__Group_1__4 ) - // InternalTqcl.g:2757:2: rule__JvmParameterizedTypeReference__Group_1__3__Impl rule__JvmParameterizedTypeReference__Group_1__4 - { - pushFollow(FOLLOW_19); - rule__JvmParameterizedTypeReference__Group_1__3__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__4(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__3" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__3__Impl" - // InternalTqcl.g:2764:1: rule__JvmParameterizedTypeReference__Group_1__3__Impl : ( '>' ) ; - public final void rule__JvmParameterizedTypeReference__Group_1__3__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2768:1: ( ( '>' ) ) - // InternalTqcl.g:2769:1: ( '>' ) - { - // InternalTqcl.g:2769:1: ( '>' ) - // InternalTqcl.g:2770:2: '>' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); - } - match(input,33,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__3__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__4" - // InternalTqcl.g:2779:1: rule__JvmParameterizedTypeReference__Group_1__4 : rule__JvmParameterizedTypeReference__Group_1__4__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1__4() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2783:1: ( rule__JvmParameterizedTypeReference__Group_1__4__Impl ) - // InternalTqcl.g:2784:2: rule__JvmParameterizedTypeReference__Group_1__4__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1__4__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__4" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1__4__Impl" - // InternalTqcl.g:2790:1: rule__JvmParameterizedTypeReference__Group_1__4__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* ) ; - public final void rule__JvmParameterizedTypeReference__Group_1__4__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2794:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* ) ) - // InternalTqcl.g:2795:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* ) - { - // InternalTqcl.g:2795:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* ) - // InternalTqcl.g:2796:2: ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4()); - } - // InternalTqcl.g:2797:2: ( rule__JvmParameterizedTypeReference__Group_1_4__0 )* - loop23: - do { - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==26) ) { - alt23=1; - } - - - switch (alt23) { - case 1 : - // InternalTqcl.g:2797:3: rule__JvmParameterizedTypeReference__Group_1_4__0 - { - pushFollow(FOLLOW_29); - rule__JvmParameterizedTypeReference__Group_1_4__0(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop23; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1__4__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_2__0" - // InternalTqcl.g:2806:1: rule__JvmParameterizedTypeReference__Group_1_2__0 : rule__JvmParameterizedTypeReference__Group_1_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_2__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1_2__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2810:1: ( rule__JvmParameterizedTypeReference__Group_1_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_2__1 ) - // InternalTqcl.g:2811:2: rule__JvmParameterizedTypeReference__Group_1_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_2__1 - { - pushFollow(FOLLOW_27); - rule__JvmParameterizedTypeReference__Group_1_2__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_2__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_2__0" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_2__0__Impl" - // InternalTqcl.g:2818:1: rule__JvmParameterizedTypeReference__Group_1_2__0__Impl : ( ',' ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_2__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2822:1: ( ( ',' ) ) - // InternalTqcl.g:2823:1: ( ',' ) - { - // InternalTqcl.g:2823:1: ( ',' ) - // InternalTqcl.g:2824:2: ',' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_2__0__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_2__1" - // InternalTqcl.g:2833:1: rule__JvmParameterizedTypeReference__Group_1_2__1 : rule__JvmParameterizedTypeReference__Group_1_2__1__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_2__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2837:1: ( rule__JvmParameterizedTypeReference__Group_1_2__1__Impl ) - // InternalTqcl.g:2838:2: rule__JvmParameterizedTypeReference__Group_1_2__1__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_2__1__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_2__1" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_2__1__Impl" - // InternalTqcl.g:2844:1: rule__JvmParameterizedTypeReference__Group_1_2__1__Impl : ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_2__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2848:1: ( ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) ) ) - // InternalTqcl.g:2849:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) ) - { - // InternalTqcl.g:2849:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) ) - // InternalTqcl.g:2850:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1()); - } - // InternalTqcl.g:2851:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 ) - // InternalTqcl.g:2851:3: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_2_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_2__1__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__0" - // InternalTqcl.g:2860:1: rule__JvmParameterizedTypeReference__Group_1_4__0 : rule__JvmParameterizedTypeReference__Group_1_4__0__Impl rule__JvmParameterizedTypeReference__Group_1_4__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__0() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2864:1: ( rule__JvmParameterizedTypeReference__Group_1_4__0__Impl rule__JvmParameterizedTypeReference__Group_1_4__1 ) - // InternalTqcl.g:2865:2: rule__JvmParameterizedTypeReference__Group_1_4__0__Impl rule__JvmParameterizedTypeReference__Group_1_4__1 - { - pushFollow(FOLLOW_9); - rule__JvmParameterizedTypeReference__Group_1_4__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4__1(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__0" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__0__Impl" - // InternalTqcl.g:2872:1: rule__JvmParameterizedTypeReference__Group_1_4__0__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2876:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) ) ) - // InternalTqcl.g:2877:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) ) - { - // InternalTqcl.g:2877:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) ) - // InternalTqcl.g:2878:2: ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0()); - } - // InternalTqcl.g:2879:2: ( rule__JvmParameterizedTypeReference__Group_1_4_0__0 ) - // InternalTqcl.g:2879:3: rule__JvmParameterizedTypeReference__Group_1_4_0__0 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_0__0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__0__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__1" - // InternalTqcl.g:2887:1: rule__JvmParameterizedTypeReference__Group_1_4__1 : rule__JvmParameterizedTypeReference__Group_1_4__1__Impl rule__JvmParameterizedTypeReference__Group_1_4__2 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__1() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2891:1: ( rule__JvmParameterizedTypeReference__Group_1_4__1__Impl rule__JvmParameterizedTypeReference__Group_1_4__2 ) - // InternalTqcl.g:2892:2: rule__JvmParameterizedTypeReference__Group_1_4__1__Impl rule__JvmParameterizedTypeReference__Group_1_4__2 - { - pushFollow(FOLLOW_26); - rule__JvmParameterizedTypeReference__Group_1_4__1__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4__2(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__1" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__1__Impl" - // InternalTqcl.g:2899:1: rule__JvmParameterizedTypeReference__Group_1_4__1__Impl : ( ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__1__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2903:1: ( ( ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) ) ) - // InternalTqcl.g:2904:1: ( ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) ) - { - // InternalTqcl.g:2904:1: ( ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) ) - // InternalTqcl.g:2905:2: ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1()); - } - // InternalTqcl.g:2906:2: ( rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 ) - // InternalTqcl.g:2906:3: rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeAssignment_1_4_1()); - } - - } - - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__1__Impl" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__2" - // InternalTqcl.g:2914:1: rule__JvmParameterizedTypeReference__Group_1_4__2 : rule__JvmParameterizedTypeReference__Group_1_4__2__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__2() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2918:1: ( rule__JvmParameterizedTypeReference__Group_1_4__2__Impl ) - // InternalTqcl.g:2919:2: rule__JvmParameterizedTypeReference__Group_1_4__2__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4__2__Impl(); - - state._fsp--; - if (state.failed) return ; - - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__2" - - - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4__2__Impl" - // InternalTqcl.g:2925:1: rule__JvmParameterizedTypeReference__Group_1_4__2__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4__2__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2929:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? ) ) - // InternalTqcl.g:2930:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? ) - { - // InternalTqcl.g:2930:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? ) - // InternalTqcl.g:2931:2: ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2()); - } - // InternalTqcl.g:2932:2: ( rule__JvmParameterizedTypeReference__Group_1_4_2__0 )? - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==32) ) { - alt24=1; - } - switch (alt24) { + switch (alt1) { case 1 : - // InternalTqcl.g:2932:3: rule__JvmParameterizedTypeReference__Group_1_4_2__0 + // InternalTqcl.g:432:2: ( ruleInsert ) + { + // InternalTqcl.g:432:2: ( ruleInsert ) + // InternalTqcl.g:433:3: ruleInsert { + before(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2__0(); + ruleInsert(); state._fsp--; - if (state.failed) return ; - } - break; + after(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); - } + } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2()); - } - } + } + break; + case 2 : + // InternalTqcl.g:438:2: ( ruleConnect ) + { + // InternalTqcl.g:438:2: ( ruleConnect ) + // InternalTqcl.g:439:3: ruleConnect + { + before(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); + pushFollow(FOLLOW_2); + ruleConnect(); + state._fsp--; - } + after(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4__2__Impl" + } + break; + case 3 : + // InternalTqcl.g:444:2: ( ruleSet ) + { + // InternalTqcl.g:444:2: ( ruleSet ) + // InternalTqcl.g:445:3: ruleSet + { + before(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); + pushFollow(FOLLOW_2); + ruleSet(); + state._fsp--; - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0__0" - // InternalTqcl.g:2941:1: rule__JvmParameterizedTypeReference__Group_1_4_0__0 : rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0__0() throws RecognitionException { + after(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2945:1: ( rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl ) - // InternalTqcl.g:2946:2: rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl(); + } - state._fsp--; - if (state.failed) return ; - } + } + break; + case 4 : + // InternalTqcl.g:450:2: ( ruleGoInto ) + { + // InternalTqcl.g:450:2: ( ruleGoInto ) + // InternalTqcl.g:451:3: ruleGoInto + { + before(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); + pushFollow(FOLLOW_2); + ruleGoInto(); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + state._fsp--; - restoreStackSize(stackSize); + after(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0__0" + } - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl" - // InternalTqcl.g:2952:1: rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl() throws RecognitionException { + } + break; + case 5 : + // InternalTqcl.g:456:2: ( ruleGoOut ) + { + // InternalTqcl.g:456:2: ( ruleGoOut ) + // InternalTqcl.g:457:3: ruleGoOut + { + before(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); + pushFollow(FOLLOW_2); + ruleGoOut(); - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2956:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) ) ) - // InternalTqcl.g:2957:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) ) - { - // InternalTqcl.g:2957:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) ) - // InternalTqcl.g:2958:2: ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0()); - } - // InternalTqcl.g:2959:2: ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 ) - // InternalTqcl.g:2959:3: rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_0_0__0(); + state._fsp--; - state._fsp--; - if (state.failed) return ; + after(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); - } + } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_0_0()); - } - } + } + break; + case 6 : + // InternalTqcl.g:462:2: ( ruleGoTop ) + { + // InternalTqcl.g:462:2: ( ruleGoTop ) + // InternalTqcl.g:463:3: ruleGoTop + { + before(grammarAccess.getCommandAccess().getGoTopParserRuleCall_0_5()); + pushFollow(FOLLOW_2); + ruleGoTop(); + state._fsp--; - } + after(grammarAccess.getCommandAccess().getGoTopParserRuleCall_0_5()); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0__0__Impl" + } + break; + case 7 : + // InternalTqcl.g:468:2: ( ruleInclude ) + { + // InternalTqcl.g:468:2: ( ruleInclude ) + // InternalTqcl.g:469:3: ruleInclude + { + before(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_6()); + pushFollow(FOLLOW_2); + ruleInclude(); + state._fsp--; - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0" - // InternalTqcl.g:2968:1: rule__JvmParameterizedTypeReference__Group_1_4_0_0__0 : rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__0() throws RecognitionException { + after(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_6()); - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2972:1: ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 ) - // InternalTqcl.g:2973:2: rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 - { - pushFollow(FOLLOW_19); - rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl(); + } - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_0_0__1(); - state._fsp--; - if (state.failed) return ; + } + break; } - } catch (RecognitionException re) { reportError(re); @@ -9876,68 +1439,65 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__0() throws } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0" + // $ANTLR end "rule__Command__Alternatives_0" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl" - // InternalTqcl.g:2980:1: rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl : ( () ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Parameter_id__Alternatives" + // InternalTqcl.g:478:1: rule__Parameter_id__Alternatives : ( ( RULE_PARAMETER_NAME ) | ( RULE_STRING ) ); + public final void rule__Parameter_id__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:2984:1: ( ( () ) ) - // InternalTqcl.g:2985:1: ( () ) - { - // InternalTqcl.g:2985:1: ( () ) - // InternalTqcl.g:2986:2: () - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0()); - } - // InternalTqcl.g:2987:2: () - // InternalTqcl.g:2987:3: - { - } + // InternalTqcl.g:482:1: ( ( RULE_PARAMETER_NAME ) | ( RULE_STRING ) ) + int alt2=2; + int LA2_0 = input.LA(1); - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0()); + if ( (LA2_0==RULE_PARAMETER_NAME) ) { + alt2=1; } - + else if ( (LA2_0==RULE_STRING) ) { + alt2=2; } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); - + throw nvae; } + switch (alt2) { + case 1 : + // InternalTqcl.g:483:2: ( RULE_PARAMETER_NAME ) + { + // InternalTqcl.g:483:2: ( RULE_PARAMETER_NAME ) + // InternalTqcl.g:484:3: RULE_PARAMETER_NAME + { + before(grammarAccess.getParameter_idAccess().getPARAMETER_NAMETerminalRuleCall_0()); + match(input,RULE_PARAMETER_NAME,FOLLOW_2); + after(grammarAccess.getParameter_idAccess().getPARAMETER_NAMETerminalRuleCall_0()); - } - finally { - - restoreStackSize(stackSize); + } - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0_0__0__Impl" + } + break; + case 2 : + // InternalTqcl.g:489:2: ( RULE_STRING ) + { + // InternalTqcl.g:489:2: ( RULE_STRING ) + // InternalTqcl.g:490:3: RULE_STRING + { + before(grammarAccess.getParameter_idAccess().getSTRINGTerminalRuleCall_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getParameter_idAccess().getSTRINGTerminalRuleCall_1()); - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0_0__1" - // InternalTqcl.g:2995:1: rule__JvmParameterizedTypeReference__Group_1_4_0_0__1 : rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__1() throws RecognitionException { + } - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:2999:1: ( rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl ) - // InternalTqcl.g:3000:2: rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl(); - state._fsp--; - if (state.failed) return ; + } + break; } - } catch (RecognitionException re) { reportError(re); @@ -9950,73 +1510,65 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__1() throws } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0_0__1" + // $ANTLR end "rule__Parameter_id__Alternatives" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl" - // InternalTqcl.g:3006:1: rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl : ( '.' ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__NamedObj__Alternatives" + // InternalTqcl.g:499:1: rule__NamedObj__Alternatives : ( ( RULE_ID ) | ( RULE_STRING ) ); + public final void rule__NamedObj__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3010:1: ( ( '.' ) ) - // InternalTqcl.g:3011:1: ( '.' ) - { - // InternalTqcl.g:3011:1: ( '.' ) - // InternalTqcl.g:3012:2: '.' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); - } - match(input,26,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); - } + // InternalTqcl.g:503:1: ( ( RULE_ID ) | ( RULE_STRING ) ) + int alt3=2; + int LA3_0 = input.LA(1); + if ( (LA3_0==RULE_ID) ) { + alt3=1; } - - + else if ( (LA3_0==RULE_STRING) ) { + alt3=2; } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); + throw nvae; + } + switch (alt3) { + case 1 : + // InternalTqcl.g:504:2: ( RULE_ID ) + { + // InternalTqcl.g:504:2: ( RULE_ID ) + // InternalTqcl.g:505:3: RULE_ID + { + before(grammarAccess.getNamedObjAccess().getIDTerminalRuleCall_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getNamedObjAccess().getIDTerminalRuleCall_0()); - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_0_0__1__Impl" + } - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__0" - // InternalTqcl.g:3022:1: rule__JvmParameterizedTypeReference__Group_1_4_2__0 : rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__0() throws RecognitionException { + } + break; + case 2 : + // InternalTqcl.g:510:2: ( RULE_STRING ) + { + // InternalTqcl.g:510:2: ( RULE_STRING ) + // InternalTqcl.g:511:3: RULE_STRING + { + before(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:3026:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__1 ) - // InternalTqcl.g:3027:2: rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__1 - { - pushFollow(FOLLOW_27); - rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl(); + } - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2__1(); - state._fsp--; - if (state.failed) return ; + } + break; } - } catch (RecognitionException re) { reportError(re); @@ -10029,130 +1581,133 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__0() throws R } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__0" + // $ANTLR end "rule__NamedObj__Alternatives" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl" - // InternalTqcl.g:3034:1: rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl : ( ( '<' ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Category__Alternatives" + // InternalTqcl.g:520:1: rule__Category__Alternatives : ( ( ( 'actor' ) ) | ( ( 'parameter' ) ) | ( ( 'port' ) ) | ( ( 'director' ) ) ); + public final void rule__Category__Alternatives() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3038:1: ( ( ( '<' ) ) ) - // InternalTqcl.g:3039:1: ( ( '<' ) ) - { - // InternalTqcl.g:3039:1: ( ( '<' ) ) - // InternalTqcl.g:3040:2: ( '<' ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); - } - // InternalTqcl.g:3041:2: ( '<' ) - // InternalTqcl.g:3041:3: '<' - { - match(input,32,FOLLOW_2); if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); - } + // InternalTqcl.g:524:1: ( ( ( 'actor' ) ) | ( ( 'parameter' ) ) | ( ( 'port' ) ) | ( ( 'director' ) ) ) + int alt4=4; + switch ( input.LA(1) ) { + case 13: + { + alt4=1; + } + break; + case 14: + { + alt4=2; + } + break; + case 15: + { + alt4=3; + } + break; + case 16: + { + alt4=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + throw nvae; } + switch (alt4) { + case 1 : + // InternalTqcl.g:525:2: ( ( 'actor' ) ) + { + // InternalTqcl.g:525:2: ( ( 'actor' ) ) + // InternalTqcl.g:526:3: ( 'actor' ) + { + before(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); + // InternalTqcl.g:527:3: ( 'actor' ) + // InternalTqcl.g:527:4: 'actor' + { + match(input,13,FOLLOW_2); - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } - restoreStackSize(stackSize); + after(grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__0__Impl" + } - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__1" - // InternalTqcl.g:3049:1: rule__JvmParameterizedTypeReference__Group_1_4_2__1 : rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__2 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__1() throws RecognitionException { + } + break; + case 2 : + // InternalTqcl.g:531:2: ( ( 'parameter' ) ) + { + // InternalTqcl.g:531:2: ( ( 'parameter' ) ) + // InternalTqcl.g:532:3: ( 'parameter' ) + { + before(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); + // InternalTqcl.g:533:3: ( 'parameter' ) + // InternalTqcl.g:533:4: 'parameter' + { + match(input,14,FOLLOW_2); - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:3053:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__2 ) - // InternalTqcl.g:3054:2: rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__2 - { - pushFollow(FOLLOW_28); - rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl(); + } - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2__2(); + after(grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); - state._fsp--; - if (state.failed) return ; + } - } - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { + } + break; + case 3 : + // InternalTqcl.g:537:2: ( ( 'port' ) ) + { + // InternalTqcl.g:537:2: ( ( 'port' ) ) + // InternalTqcl.g:538:3: ( 'port' ) + { + before(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); + // InternalTqcl.g:539:3: ( 'port' ) + // InternalTqcl.g:539:4: 'port' + { + match(input,15,FOLLOW_2); - restoreStackSize(stackSize); + } - } - return ; - } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__1" + after(grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); + } - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl" - // InternalTqcl.g:3061:1: rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl : ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl() throws RecognitionException { - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:3065:1: ( ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) ) ) - // InternalTqcl.g:3066:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) ) - { - // InternalTqcl.g:3066:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) ) - // InternalTqcl.g:3067:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1()); - } - // InternalTqcl.g:3068:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 ) - // InternalTqcl.g:3068:3: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1(); + } + break; + case 4 : + // InternalTqcl.g:543:2: ( ( 'director' ) ) + { + // InternalTqcl.g:543:2: ( ( 'director' ) ) + // InternalTqcl.g:544:3: ( 'director' ) + { + before(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); + // InternalTqcl.g:545:3: ( 'director' ) + // InternalTqcl.g:545:4: 'director' + { + match(input,16,FOLLOW_2); - state._fsp--; - if (state.failed) return ; + } - } + after(grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_1()); - } + } - } + } + break; } - } catch (RecognitionException re) { reportError(re); @@ -10165,29 +1720,29 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl() th } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__1__Impl" + // $ANTLR end "rule__Category__Alternatives" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__2" - // InternalTqcl.g:3076:1: rule__JvmParameterizedTypeReference__Group_1_4_2__2 : rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__3 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__2() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__Group__0" + // InternalTqcl.g:553:1: rule__TriquetrumScript__Group__0 : rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 ; + public final void rule__TriquetrumScript__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3080:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__3 ) - // InternalTqcl.g:3081:2: rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl rule__JvmParameterizedTypeReference__Group_1_4_2__3 + // InternalTqcl.g:557:1: ( rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 ) + // InternalTqcl.g:558:2: rule__TriquetrumScript__Group__0__Impl rule__TriquetrumScript__Group__1 { - pushFollow(FOLLOW_28); - rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl(); + pushFollow(FOLLOW_3); + rule__TriquetrumScript__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2__3(); + rule__TriquetrumScript__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -10203,57 +1758,53 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__2() throws R } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__2" + // $ANTLR end "rule__TriquetrumScript__Group__0" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl" - // InternalTqcl.g:3088:1: rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl : ( ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__Group__0__Impl" + // InternalTqcl.g:565:1: rule__TriquetrumScript__Group__0__Impl : ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) ; + public final void rule__TriquetrumScript__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3092:1: ( ( ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* ) ) - // InternalTqcl.g:3093:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* ) + // InternalTqcl.g:569:1: ( ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) ) + // InternalTqcl.g:570:1: ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) { - // InternalTqcl.g:3093:1: ( ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* ) - // InternalTqcl.g:3094:2: ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* + // InternalTqcl.g:570:1: ( ( rule__TriquetrumScript__LibrariesAssignment_0 )* ) + // InternalTqcl.g:571:2: ( rule__TriquetrumScript__LibrariesAssignment_0 )* { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2()); - } - // InternalTqcl.g:3095:2: ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 )* - loop25: + before(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); + // InternalTqcl.g:572:2: ( rule__TriquetrumScript__LibrariesAssignment_0 )* + loop5: do { - int alt25=2; - int LA25_0 = input.LA(1); + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA25_0==20) ) { - alt25=1; + if ( (LA5_0==19) ) { + alt5=1; } - switch (alt25) { + switch (alt5) { case 1 : - // InternalTqcl.g:3095:3: rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 + // InternalTqcl.g:572:3: rule__TriquetrumScript__LibrariesAssignment_0 { - pushFollow(FOLLOW_14); - rule__JvmParameterizedTypeReference__Group_1_4_2_2__0(); + pushFollow(FOLLOW_4); + rule__TriquetrumScript__LibrariesAssignment_0(); state._fsp--; - if (state.failed) return ; + } break; default : - break loop25; + break loop5; } } while (true); - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGroup_1_4_2_2()); - } + after(grammarAccess.getTriquetrumScriptAccess().getLibrariesAssignment_0()); } @@ -10272,24 +1823,24 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl() th } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__2__Impl" + // $ANTLR end "rule__TriquetrumScript__Group__0__Impl" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__3" - // InternalTqcl.g:3103:1: rule__JvmParameterizedTypeReference__Group_1_4_2__3 : rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__3() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__Group__1" + // InternalTqcl.g:580:1: rule__TriquetrumScript__Group__1 : rule__TriquetrumScript__Group__1__Impl ; + public final void rule__TriquetrumScript__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3107:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl ) - // InternalTqcl.g:3108:2: rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl + // InternalTqcl.g:584:1: ( rule__TriquetrumScript__Group__1__Impl ) + // InternalTqcl.g:585:2: rule__TriquetrumScript__Group__1__Impl { pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl(); + rule__TriquetrumScript__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -10305,29 +1856,53 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__3() throws R } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__3" + // $ANTLR end "rule__TriquetrumScript__Group__1" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl" - // InternalTqcl.g:3114:1: rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl : ( '>' ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__Group__1__Impl" + // InternalTqcl.g:591:1: rule__TriquetrumScript__Group__1__Impl : ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) ; + public final void rule__TriquetrumScript__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3118:1: ( ( '>' ) ) - // InternalTqcl.g:3119:1: ( '>' ) + // InternalTqcl.g:595:1: ( ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) ) + // InternalTqcl.g:596:1: ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) { - // InternalTqcl.g:3119:1: ( '>' ) - // InternalTqcl.g:3120:2: '>' + // InternalTqcl.g:596:1: ( ( rule__TriquetrumScript__CommandsAssignment_1 )* ) + // InternalTqcl.g:597:2: ( rule__TriquetrumScript__CommandsAssignment_1 )* { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); - } - match(input,33,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); - } + before(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); + // InternalTqcl.g:598:2: ( rule__TriquetrumScript__CommandsAssignment_1 )* + loop6: + do { + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==18||LA6_0==20||(LA6_0>=24 && LA6_0<=25)||LA6_0==27) ) { + alt6=1; + } + + + switch (alt6) { + case 1 : + // InternalTqcl.g:598:3: rule__TriquetrumScript__CommandsAssignment_1 + { + pushFollow(FOLLOW_5); + rule__TriquetrumScript__CommandsAssignment_1(); + + state._fsp--; + + + } + break; + + default : + break loop6; + } + } while (true); + + after(grammarAccess.getTriquetrumScriptAccess().getCommandsAssignment_1()); } @@ -10346,29 +1921,29 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl() th } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2__3__Impl" + // $ANTLR end "rule__TriquetrumScript__Group__1__Impl" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0" - // InternalTqcl.g:3130:1: rule__JvmParameterizedTypeReference__Group_1_4_2_2__0 : rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__0() throws RecognitionException { + // $ANTLR start "rule__Command__Group__0" + // InternalTqcl.g:607:1: rule__Command__Group__0 : rule__Command__Group__0__Impl rule__Command__Group__1 ; + public final void rule__Command__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3134:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 ) - // InternalTqcl.g:3135:2: rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 + // InternalTqcl.g:611:1: ( rule__Command__Group__0__Impl rule__Command__Group__1 ) + // InternalTqcl.g:612:2: rule__Command__Group__0__Impl rule__Command__Group__1 { - pushFollow(FOLLOW_27); - rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl(); + pushFollow(FOLLOW_6); + rule__Command__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2_2__1(); + rule__Command__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -10384,30 +1959,36 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__0() throws } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0" + // $ANTLR end "rule__Command__Group__0" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl" - // InternalTqcl.g:3142:1: rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl : ( ',' ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Command__Group__0__Impl" + // InternalTqcl.g:619:1: rule__Command__Group__0__Impl : ( ( rule__Command__Alternatives_0 ) ) ; + public final void rule__Command__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3146:1: ( ( ',' ) ) - // InternalTqcl.g:3147:1: ( ',' ) + // InternalTqcl.g:623:1: ( ( ( rule__Command__Alternatives_0 ) ) ) + // InternalTqcl.g:624:1: ( ( rule__Command__Alternatives_0 ) ) { - // InternalTqcl.g:3147:1: ( ',' ) - // InternalTqcl.g:3148:2: ',' + // InternalTqcl.g:624:1: ( ( rule__Command__Alternatives_0 ) ) + // InternalTqcl.g:625:2: ( rule__Command__Alternatives_0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); - } - match(input,20,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); + before(grammarAccess.getCommandAccess().getAlternatives_0()); + // InternalTqcl.g:626:2: ( rule__Command__Alternatives_0 ) + // InternalTqcl.g:626:3: rule__Command__Alternatives_0 + { + pushFollow(FOLLOW_2); + rule__Command__Alternatives_0(); + + state._fsp--; + + } + after(grammarAccess.getCommandAccess().getAlternatives_0()); + } @@ -10425,24 +2006,24 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl() } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2_2__0__Impl" + // $ANTLR end "rule__Command__Group__0__Impl" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2_2__1" - // InternalTqcl.g:3157:1: rule__JvmParameterizedTypeReference__Group_1_4_2_2__1 : rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__1() throws RecognitionException { + // $ANTLR start "rule__Command__Group__1" + // InternalTqcl.g:634:1: rule__Command__Group__1 : rule__Command__Group__1__Impl ; + public final void rule__Command__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3161:1: ( rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl ) - // InternalTqcl.g:3162:2: rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl + // InternalTqcl.g:638:1: ( rule__Command__Group__1__Impl ) + // InternalTqcl.g:639:2: rule__Command__Group__1__Impl { pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl(); + rule__Command__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -10458,39 +2039,25 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__1() throws } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2_2__1" + // $ANTLR end "rule__Command__Group__1" - // $ANTLR start "rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl" - // InternalTqcl.g:3168:1: rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl : ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) ) ; - public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Command__Group__1__Impl" + // InternalTqcl.g:645:1: rule__Command__Group__1__Impl : ( ';' ) ; + public final void rule__Command__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3172:1: ( ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) ) ) - // InternalTqcl.g:3173:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) ) + // InternalTqcl.g:649:1: ( ( ';' ) ) + // InternalTqcl.g:650:1: ( ';' ) { - // InternalTqcl.g:3173:1: ( ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) ) - // InternalTqcl.g:3174:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) + // InternalTqcl.g:650:1: ( ';' ) + // InternalTqcl.g:651:2: ';' { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1()); - } - // InternalTqcl.g:3175:2: ( rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 ) - // InternalTqcl.g:3175:3: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 - { - pushFollow(FOLLOW_2); - rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsAssignment_1_4_2_2_1()); - } + before(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); + match(input,17,FOLLOW_2); + after(grammarAccess.getCommandAccess().getSemicolonKeyword_1()); } @@ -10509,29 +2076,29 @@ public final void rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl() } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__Group_1_4_2_2__1__Impl" + // $ANTLR end "rule__Command__Group__1__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__0" - // InternalTqcl.g:3184:1: rule__JvmWildcardTypeReference__Group__0 : rule__JvmWildcardTypeReference__Group__0__Impl rule__JvmWildcardTypeReference__Group__1 ; - public final void rule__JvmWildcardTypeReference__Group__0() throws RecognitionException { + // $ANTLR start "rule__Include__Group__0" + // InternalTqcl.g:661:1: rule__Include__Group__0 : rule__Include__Group__0__Impl rule__Include__Group__1 ; + public final void rule__Include__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3188:1: ( rule__JvmWildcardTypeReference__Group__0__Impl rule__JvmWildcardTypeReference__Group__1 ) - // InternalTqcl.g:3189:2: rule__JvmWildcardTypeReference__Group__0__Impl rule__JvmWildcardTypeReference__Group__1 + // InternalTqcl.g:665:1: ( rule__Include__Group__0__Impl rule__Include__Group__1 ) + // InternalTqcl.g:666:2: rule__Include__Group__0__Impl rule__Include__Group__1 { - pushFollow(FOLLOW_27); - rule__JvmWildcardTypeReference__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Include__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group__1(); + rule__Include__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -10547,33 +2114,25 @@ public final void rule__JvmWildcardTypeReference__Group__0() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__0" + // $ANTLR end "rule__Include__Group__0" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__0__Impl" - // InternalTqcl.g:3196:1: rule__JvmWildcardTypeReference__Group__0__Impl : ( () ) ; - public final void rule__JvmWildcardTypeReference__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Include__Group__0__Impl" + // InternalTqcl.g:673:1: rule__Include__Group__0__Impl : ( 'include' ) ; + public final void rule__Include__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3200:1: ( ( () ) ) - // InternalTqcl.g:3201:1: ( () ) + // InternalTqcl.g:677:1: ( ( 'include' ) ) + // InternalTqcl.g:678:1: ( 'include' ) { - // InternalTqcl.g:3201:1: ( () ) - // InternalTqcl.g:3202:2: () + // InternalTqcl.g:678:1: ( 'include' ) + // InternalTqcl.g:679:2: 'include' { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0()); - } - // InternalTqcl.g:3203:2: () - // InternalTqcl.g:3203:3: - { - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0()); - } + before(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + match(input,18,FOLLOW_2); + after(grammarAccess.getIncludeAccess().getIncludeKeyword_0()); } @@ -10581,6 +2140,10 @@ public final void rule__JvmWildcardTypeReference__Group__0__Impl() throws Recogn } } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } finally { restoreStackSize(stackSize); @@ -10588,29 +2151,29 @@ public final void rule__JvmWildcardTypeReference__Group__0__Impl() throws Recogn } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__0__Impl" + // $ANTLR end "rule__Include__Group__0__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__1" - // InternalTqcl.g:3211:1: rule__JvmWildcardTypeReference__Group__1 : rule__JvmWildcardTypeReference__Group__1__Impl rule__JvmWildcardTypeReference__Group__2 ; - public final void rule__JvmWildcardTypeReference__Group__1() throws RecognitionException { + // $ANTLR start "rule__Include__Group__1" + // InternalTqcl.g:688:1: rule__Include__Group__1 : rule__Include__Group__1__Impl rule__Include__Group__2 ; + public final void rule__Include__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3215:1: ( rule__JvmWildcardTypeReference__Group__1__Impl rule__JvmWildcardTypeReference__Group__2 ) - // InternalTqcl.g:3216:2: rule__JvmWildcardTypeReference__Group__1__Impl rule__JvmWildcardTypeReference__Group__2 + // InternalTqcl.g:692:1: ( rule__Include__Group__1__Impl rule__Include__Group__2 ) + // InternalTqcl.g:693:2: rule__Include__Group__1__Impl rule__Include__Group__2 { - pushFollow(FOLLOW_30); - rule__JvmWildcardTypeReference__Group__1__Impl(); + pushFollow(FOLLOW_6); + rule__Include__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group__2(); + rule__Include__Group__2(); state._fsp--; - if (state.failed) return ; + } @@ -10626,30 +2189,36 @@ public final void rule__JvmWildcardTypeReference__Group__1() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__1" + // $ANTLR end "rule__Include__Group__1" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__1__Impl" - // InternalTqcl.g:3223:1: rule__JvmWildcardTypeReference__Group__1__Impl : ( '?' ) ; - public final void rule__JvmWildcardTypeReference__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Include__Group__1__Impl" + // InternalTqcl.g:700:1: rule__Include__Group__1__Impl : ( ( rule__Include__FilenameAssignment_1 ) ) ; + public final void rule__Include__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3227:1: ( ( '?' ) ) - // InternalTqcl.g:3228:1: ( '?' ) + // InternalTqcl.g:704:1: ( ( ( rule__Include__FilenameAssignment_1 ) ) ) + // InternalTqcl.g:705:1: ( ( rule__Include__FilenameAssignment_1 ) ) { - // InternalTqcl.g:3228:1: ( '?' ) - // InternalTqcl.g:3229:2: '?' + // InternalTqcl.g:705:1: ( ( rule__Include__FilenameAssignment_1 ) ) + // InternalTqcl.g:706:2: ( rule__Include__FilenameAssignment_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); - } - match(input,34,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); + before(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); + // InternalTqcl.g:707:2: ( rule__Include__FilenameAssignment_1 ) + // InternalTqcl.g:707:3: rule__Include__FilenameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Include__FilenameAssignment_1(); + + state._fsp--; + + } + after(grammarAccess.getIncludeAccess().getFilenameAssignment_1()); + } @@ -10667,24 +2236,24 @@ public final void rule__JvmWildcardTypeReference__Group__1__Impl() throws Recogn } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__1__Impl" + // $ANTLR end "rule__Include__Group__1__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__2" - // InternalTqcl.g:3238:1: rule__JvmWildcardTypeReference__Group__2 : rule__JvmWildcardTypeReference__Group__2__Impl ; - public final void rule__JvmWildcardTypeReference__Group__2() throws RecognitionException { + // $ANTLR start "rule__Include__Group__2" + // InternalTqcl.g:715:1: rule__Include__Group__2 : rule__Include__Group__2__Impl ; + public final void rule__Include__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3242:1: ( rule__JvmWildcardTypeReference__Group__2__Impl ) - // InternalTqcl.g:3243:2: rule__JvmWildcardTypeReference__Group__2__Impl + // InternalTqcl.g:719:1: ( rule__Include__Group__2__Impl ) + // InternalTqcl.g:720:2: rule__Include__Group__2__Impl { pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group__2__Impl(); + rule__Include__Group__2__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -10700,50 +2269,25 @@ public final void rule__JvmWildcardTypeReference__Group__2() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__2" + // $ANTLR end "rule__Include__Group__2" - // $ANTLR start "rule__JvmWildcardTypeReference__Group__2__Impl" - // InternalTqcl.g:3249:1: rule__JvmWildcardTypeReference__Group__2__Impl : ( ( rule__JvmWildcardTypeReference__Alternatives_2 )? ) ; - public final void rule__JvmWildcardTypeReference__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Include__Group__2__Impl" + // InternalTqcl.g:726:1: rule__Include__Group__2__Impl : ( ';' ) ; + public final void rule__Include__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3253:1: ( ( ( rule__JvmWildcardTypeReference__Alternatives_2 )? ) ) - // InternalTqcl.g:3254:1: ( ( rule__JvmWildcardTypeReference__Alternatives_2 )? ) + // InternalTqcl.g:730:1: ( ( ';' ) ) + // InternalTqcl.g:731:1: ( ';' ) { - // InternalTqcl.g:3254:1: ( ( rule__JvmWildcardTypeReference__Alternatives_2 )? ) - // InternalTqcl.g:3255:2: ( rule__JvmWildcardTypeReference__Alternatives_2 )? + // InternalTqcl.g:731:1: ( ';' ) + // InternalTqcl.g:732:2: ';' { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2()); - } - // InternalTqcl.g:3256:2: ( rule__JvmWildcardTypeReference__Alternatives_2 )? - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==35||LA26_0==37) ) { - alt26=1; - } - switch (alt26) { - case 1 : - // InternalTqcl.g:3256:3: rule__JvmWildcardTypeReference__Alternatives_2 - { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Alternatives_2(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getAlternatives_2()); - } + before(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); + match(input,17,FOLLOW_2); + after(grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); } @@ -10762,29 +2306,29 @@ public final void rule__JvmWildcardTypeReference__Group__2__Impl() throws Recogn } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group__2__Impl" + // $ANTLR end "rule__Include__Group__2__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_0__0" - // InternalTqcl.g:3265:1: rule__JvmWildcardTypeReference__Group_2_0__0 : rule__JvmWildcardTypeReference__Group_2_0__0__Impl rule__JvmWildcardTypeReference__Group_2_0__1 ; - public final void rule__JvmWildcardTypeReference__Group_2_0__0() throws RecognitionException { + // $ANTLR start "rule__Library__Group__0" + // InternalTqcl.g:742:1: rule__Library__Group__0 : rule__Library__Group__0__Impl rule__Library__Group__1 ; + public final void rule__Library__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3269:1: ( rule__JvmWildcardTypeReference__Group_2_0__0__Impl rule__JvmWildcardTypeReference__Group_2_0__1 ) - // InternalTqcl.g:3270:2: rule__JvmWildcardTypeReference__Group_2_0__0__Impl rule__JvmWildcardTypeReference__Group_2_0__1 + // InternalTqcl.g:746:1: ( rule__Library__Group__0__Impl rule__Library__Group__1 ) + // InternalTqcl.g:747:2: rule__Library__Group__0__Impl rule__Library__Group__1 { - pushFollow(FOLLOW_31); - rule__JvmWildcardTypeReference__Group_2_0__0__Impl(); + pushFollow(FOLLOW_8); + rule__Library__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_0__1(); + rule__Library__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -10800,39 +2344,25 @@ public final void rule__JvmWildcardTypeReference__Group_2_0__0() throws Recognit } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_0__0" + // $ANTLR end "rule__Library__Group__0" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_0__0__Impl" - // InternalTqcl.g:3277:1: rule__JvmWildcardTypeReference__Group_2_0__0__Impl : ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) ) ; - public final void rule__JvmWildcardTypeReference__Group_2_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Library__Group__0__Impl" + // InternalTqcl.g:754:1: rule__Library__Group__0__Impl : ( 'library' ) ; + public final void rule__Library__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3281:1: ( ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) ) ) - // InternalTqcl.g:3282:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) ) + // InternalTqcl.g:758:1: ( ( 'library' ) ) + // InternalTqcl.g:759:1: ( 'library' ) { - // InternalTqcl.g:3282:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) ) - // InternalTqcl.g:3283:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0()); - } - // InternalTqcl.g:3284:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 ) - // InternalTqcl.g:3284:3: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 + // InternalTqcl.g:759:1: ( 'library' ) + // InternalTqcl.g:760:2: 'library' { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_0()); - } + before(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); + match(input,19,FOLLOW_2); + after(grammarAccess.getLibraryAccess().getLibraryKeyword_0()); } @@ -10851,24 +2381,29 @@ public final void rule__JvmWildcardTypeReference__Group_2_0__0__Impl() throws Re } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_0__0__Impl" + // $ANTLR end "rule__Library__Group__0__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_0__1" - // InternalTqcl.g:3292:1: rule__JvmWildcardTypeReference__Group_2_0__1 : rule__JvmWildcardTypeReference__Group_2_0__1__Impl ; - public final void rule__JvmWildcardTypeReference__Group_2_0__1() throws RecognitionException { + // $ANTLR start "rule__Library__Group__1" + // InternalTqcl.g:769:1: rule__Library__Group__1 : rule__Library__Group__1__Impl rule__Library__Group__2 ; + public final void rule__Library__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3296:1: ( rule__JvmWildcardTypeReference__Group_2_0__1__Impl ) - // InternalTqcl.g:3297:2: rule__JvmWildcardTypeReference__Group_2_0__1__Impl + // InternalTqcl.g:773:1: ( rule__Library__Group__1__Impl rule__Library__Group__2 ) + // InternalTqcl.g:774:2: rule__Library__Group__1__Impl rule__Library__Group__2 { + pushFollow(FOLLOW_6); + rule__Library__Group__1__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_0__1__Impl(); + rule__Library__Group__2(); state._fsp--; - if (state.failed) return ; + } @@ -10884,58 +2419,36 @@ public final void rule__JvmWildcardTypeReference__Group_2_0__1() throws Recognit } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_0__1" + // $ANTLR end "rule__Library__Group__1" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_0__1__Impl" - // InternalTqcl.g:3303:1: rule__JvmWildcardTypeReference__Group_2_0__1__Impl : ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* ) ; - public final void rule__JvmWildcardTypeReference__Group_2_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Library__Group__1__Impl" + // InternalTqcl.g:781:1: rule__Library__Group__1__Impl : ( ( rule__Library__NameAssignment_1 ) ) ; + public final void rule__Library__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3307:1: ( ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* ) ) - // InternalTqcl.g:3308:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* ) + // InternalTqcl.g:785:1: ( ( ( rule__Library__NameAssignment_1 ) ) ) + // InternalTqcl.g:786:1: ( ( rule__Library__NameAssignment_1 ) ) { - // InternalTqcl.g:3308:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* ) - // InternalTqcl.g:3309:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* + // InternalTqcl.g:786:1: ( ( rule__Library__NameAssignment_1 ) ) + // InternalTqcl.g:787:2: ( rule__Library__NameAssignment_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1()); - } - // InternalTqcl.g:3310:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 )* - loop27: - do { - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==36) ) { - alt27=1; - } - - - switch (alt27) { - case 1 : - // InternalTqcl.g:3310:3: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 - { - pushFollow(FOLLOW_32); - rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1(); - - state._fsp--; - if (state.failed) return ; + before(grammarAccess.getLibraryAccess().getNameAssignment_1()); + // InternalTqcl.g:788:2: ( rule__Library__NameAssignment_1 ) + // InternalTqcl.g:788:3: rule__Library__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Library__NameAssignment_1(); - } - break; + state._fsp--; - default : - break loop27; - } - } while (true); - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_0_1()); } + after(grammarAccess.getLibraryAccess().getNameAssignment_1()); + } @@ -10953,29 +2466,24 @@ public final void rule__JvmWildcardTypeReference__Group_2_0__1__Impl() throws Re } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_0__1__Impl" + // $ANTLR end "rule__Library__Group__1__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_1__0" - // InternalTqcl.g:3319:1: rule__JvmWildcardTypeReference__Group_2_1__0 : rule__JvmWildcardTypeReference__Group_2_1__0__Impl rule__JvmWildcardTypeReference__Group_2_1__1 ; - public final void rule__JvmWildcardTypeReference__Group_2_1__0() throws RecognitionException { + // $ANTLR start "rule__Library__Group__2" + // InternalTqcl.g:796:1: rule__Library__Group__2 : rule__Library__Group__2__Impl ; + public final void rule__Library__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3323:1: ( rule__JvmWildcardTypeReference__Group_2_1__0__Impl rule__JvmWildcardTypeReference__Group_2_1__1 ) - // InternalTqcl.g:3324:2: rule__JvmWildcardTypeReference__Group_2_1__0__Impl rule__JvmWildcardTypeReference__Group_2_1__1 + // InternalTqcl.g:800:1: ( rule__Library__Group__2__Impl ) + // InternalTqcl.g:801:2: rule__Library__Group__2__Impl { - pushFollow(FOLLOW_31); - rule__JvmWildcardTypeReference__Group_2_1__0__Impl(); - - state._fsp--; - if (state.failed) return ; pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_1__1(); + rule__Library__Group__2__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -10991,39 +2499,25 @@ public final void rule__JvmWildcardTypeReference__Group_2_1__0() throws Recognit } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_1__0" + // $ANTLR end "rule__Library__Group__2" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_1__0__Impl" - // InternalTqcl.g:3331:1: rule__JvmWildcardTypeReference__Group_2_1__0__Impl : ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) ) ; - public final void rule__JvmWildcardTypeReference__Group_2_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Library__Group__2__Impl" + // InternalTqcl.g:807:1: rule__Library__Group__2__Impl : ( ';' ) ; + public final void rule__Library__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3335:1: ( ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) ) ) - // InternalTqcl.g:3336:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) ) - { - // InternalTqcl.g:3336:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) ) - // InternalTqcl.g:3337:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) + // InternalTqcl.g:811:1: ( ( ';' ) ) + // InternalTqcl.g:812:1: ( ';' ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0()); - } - // InternalTqcl.g:3338:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 ) - // InternalTqcl.g:3338:3: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 + // InternalTqcl.g:812:1: ( ';' ) + // InternalTqcl.g:813:2: ';' { - pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_0()); - } + before(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); + match(input,17,FOLLOW_2); + after(grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); } @@ -11042,24 +2536,29 @@ public final void rule__JvmWildcardTypeReference__Group_2_1__0__Impl() throws Re } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_1__0__Impl" + // $ANTLR end "rule__Library__Group__2__Impl" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_1__1" - // InternalTqcl.g:3346:1: rule__JvmWildcardTypeReference__Group_2_1__1 : rule__JvmWildcardTypeReference__Group_2_1__1__Impl ; - public final void rule__JvmWildcardTypeReference__Group_2_1__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__0" + // InternalTqcl.g:823:1: rule__Insert__Group__0 : rule__Insert__Group__0__Impl rule__Insert__Group__1 ; + public final void rule__Insert__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3350:1: ( rule__JvmWildcardTypeReference__Group_2_1__1__Impl ) - // InternalTqcl.g:3351:2: rule__JvmWildcardTypeReference__Group_2_1__1__Impl + // InternalTqcl.g:827:1: ( rule__Insert__Group__0__Impl rule__Insert__Group__1 ) + // InternalTqcl.g:828:2: rule__Insert__Group__0__Impl rule__Insert__Group__1 { + pushFollow(FOLLOW_9); + rule__Insert__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__JvmWildcardTypeReference__Group_2_1__1__Impl(); + rule__Insert__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -11075,57 +2574,25 @@ public final void rule__JvmWildcardTypeReference__Group_2_1__1() throws Recognit } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_1__1" + // $ANTLR end "rule__Insert__Group__0" - // $ANTLR start "rule__JvmWildcardTypeReference__Group_2_1__1__Impl" - // InternalTqcl.g:3357:1: rule__JvmWildcardTypeReference__Group_2_1__1__Impl : ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* ) ; - public final void rule__JvmWildcardTypeReference__Group_2_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__0__Impl" + // InternalTqcl.g:835:1: rule__Insert__Group__0__Impl : ( 'insert' ) ; + public final void rule__Insert__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3361:1: ( ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* ) ) - // InternalTqcl.g:3362:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* ) - { - // InternalTqcl.g:3362:1: ( ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* ) - // InternalTqcl.g:3363:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1()); - } - // InternalTqcl.g:3364:2: ( rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==36) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // InternalTqcl.g:3364:3: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 - { - pushFollow(FOLLOW_32); - rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1(); - - state._fsp--; - if (state.failed) return ; - - } - break; - - default : - break loop28; - } - } while (true); - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsAssignment_2_1_1()); - } + // InternalTqcl.g:839:1: ( ( 'insert' ) ) + // InternalTqcl.g:840:1: ( 'insert' ) + { + // InternalTqcl.g:840:1: ( 'insert' ) + // InternalTqcl.g:841:2: 'insert' + { + before(grammarAccess.getInsertAccess().getInsertKeyword_0()); + match(input,20,FOLLOW_2); + after(grammarAccess.getInsertAccess().getInsertKeyword_0()); } @@ -11144,29 +2611,29 @@ public final void rule__JvmWildcardTypeReference__Group_2_1__1__Impl() throws Re } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__Group_2_1__1__Impl" + // $ANTLR end "rule__Insert__Group__0__Impl" - // $ANTLR start "rule__JvmUpperBound__Group__0" - // InternalTqcl.g:3373:1: rule__JvmUpperBound__Group__0 : rule__JvmUpperBound__Group__0__Impl rule__JvmUpperBound__Group__1 ; - public final void rule__JvmUpperBound__Group__0() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__1" + // InternalTqcl.g:850:1: rule__Insert__Group__1 : rule__Insert__Group__1__Impl rule__Insert__Group__2 ; + public final void rule__Insert__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3377:1: ( rule__JvmUpperBound__Group__0__Impl rule__JvmUpperBound__Group__1 ) - // InternalTqcl.g:3378:2: rule__JvmUpperBound__Group__0__Impl rule__JvmUpperBound__Group__1 + // InternalTqcl.g:854:1: ( rule__Insert__Group__1__Impl rule__Insert__Group__2 ) + // InternalTqcl.g:855:2: rule__Insert__Group__1__Impl rule__Insert__Group__2 { - pushFollow(FOLLOW_24); - rule__JvmUpperBound__Group__0__Impl(); + pushFollow(FOLLOW_9); + rule__Insert__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmUpperBound__Group__1(); + rule__Insert__Group__2(); state._fsp--; - if (state.failed) return ; + } @@ -11182,30 +2649,47 @@ public final void rule__JvmUpperBound__Group__0() throws RecognitionException { } return ; } - // $ANTLR end "rule__JvmUpperBound__Group__0" + // $ANTLR end "rule__Insert__Group__1" - // $ANTLR start "rule__JvmUpperBound__Group__0__Impl" - // InternalTqcl.g:3385:1: rule__JvmUpperBound__Group__0__Impl : ( 'extends' ) ; - public final void rule__JvmUpperBound__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__1__Impl" + // InternalTqcl.g:862:1: rule__Insert__Group__1__Impl : ( ( rule__Insert__CategoryAssignment_1 )? ) ; + public final void rule__Insert__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3389:1: ( ( 'extends' ) ) - // InternalTqcl.g:3390:1: ( 'extends' ) + // InternalTqcl.g:866:1: ( ( ( rule__Insert__CategoryAssignment_1 )? ) ) + // InternalTqcl.g:867:1: ( ( rule__Insert__CategoryAssignment_1 )? ) { - // InternalTqcl.g:3390:1: ( 'extends' ) - // InternalTqcl.g:3391:2: 'extends' + // InternalTqcl.g:867:1: ( ( rule__Insert__CategoryAssignment_1 )? ) + // InternalTqcl.g:868:2: ( rule__Insert__CategoryAssignment_1 )? { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); + before(grammarAccess.getInsertAccess().getCategoryAssignment_1()); + // InternalTqcl.g:869:2: ( rule__Insert__CategoryAssignment_1 )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( ((LA7_0>=13 && LA7_0<=16)) ) { + alt7=1; } - match(input,35,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); + switch (alt7) { + case 1 : + // InternalTqcl.g:869:3: rule__Insert__CategoryAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Insert__CategoryAssignment_1(); + + state._fsp--; + + + } + break; + } + after(grammarAccess.getInsertAccess().getCategoryAssignment_1()); + } @@ -11223,24 +2707,29 @@ public final void rule__JvmUpperBound__Group__0__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__JvmUpperBound__Group__0__Impl" + // $ANTLR end "rule__Insert__Group__1__Impl" - // $ANTLR start "rule__JvmUpperBound__Group__1" - // InternalTqcl.g:3400:1: rule__JvmUpperBound__Group__1 : rule__JvmUpperBound__Group__1__Impl ; - public final void rule__JvmUpperBound__Group__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__2" + // InternalTqcl.g:877:1: rule__Insert__Group__2 : rule__Insert__Group__2__Impl rule__Insert__Group__3 ; + public final void rule__Insert__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3404:1: ( rule__JvmUpperBound__Group__1__Impl ) - // InternalTqcl.g:3405:2: rule__JvmUpperBound__Group__1__Impl + // InternalTqcl.g:881:1: ( rule__Insert__Group__2__Impl rule__Insert__Group__3 ) + // InternalTqcl.g:882:2: rule__Insert__Group__2__Impl rule__Insert__Group__3 { + pushFollow(FOLLOW_10); + rule__Insert__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__JvmUpperBound__Group__1__Impl(); + rule__Insert__Group__3(); state._fsp--; - if (state.failed) return ; + } @@ -11256,40 +2745,36 @@ public final void rule__JvmUpperBound__Group__1() throws RecognitionException { } return ; } - // $ANTLR end "rule__JvmUpperBound__Group__1" + // $ANTLR end "rule__Insert__Group__2" - // $ANTLR start "rule__JvmUpperBound__Group__1__Impl" - // InternalTqcl.g:3411:1: rule__JvmUpperBound__Group__1__Impl : ( ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) ) ; - public final void rule__JvmUpperBound__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__2__Impl" + // InternalTqcl.g:889:1: rule__Insert__Group__2__Impl : ( ( rule__Insert__EntityClassAssignment_2 ) ) ; + public final void rule__Insert__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3415:1: ( ( ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) ) ) - // InternalTqcl.g:3416:1: ( ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) ) + // InternalTqcl.g:893:1: ( ( ( rule__Insert__EntityClassAssignment_2 ) ) ) + // InternalTqcl.g:894:1: ( ( rule__Insert__EntityClassAssignment_2 ) ) { - // InternalTqcl.g:3416:1: ( ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) ) - // InternalTqcl.g:3417:2: ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) + // InternalTqcl.g:894:1: ( ( rule__Insert__EntityClassAssignment_2 ) ) + // InternalTqcl.g:895:2: ( rule__Insert__EntityClassAssignment_2 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1()); - } - // InternalTqcl.g:3418:2: ( rule__JvmUpperBound__TypeReferenceAssignment_1 ) - // InternalTqcl.g:3418:3: rule__JvmUpperBound__TypeReferenceAssignment_1 + before(grammarAccess.getInsertAccess().getEntityClassAssignment_2()); + // InternalTqcl.g:896:2: ( rule__Insert__EntityClassAssignment_2 ) + // InternalTqcl.g:896:3: rule__Insert__EntityClassAssignment_2 { pushFollow(FOLLOW_2); - rule__JvmUpperBound__TypeReferenceAssignment_1(); + rule__Insert__EntityClassAssignment_2(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceAssignment_1()); } + after(grammarAccess.getInsertAccess().getEntityClassAssignment_2()); + } @@ -11307,29 +2792,29 @@ public final void rule__JvmUpperBound__Group__1__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__JvmUpperBound__Group__1__Impl" + // $ANTLR end "rule__Insert__Group__2__Impl" - // $ANTLR start "rule__JvmUpperBoundAnded__Group__0" - // InternalTqcl.g:3427:1: rule__JvmUpperBoundAnded__Group__0 : rule__JvmUpperBoundAnded__Group__0__Impl rule__JvmUpperBoundAnded__Group__1 ; - public final void rule__JvmUpperBoundAnded__Group__0() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__3" + // InternalTqcl.g:904:1: rule__Insert__Group__3 : rule__Insert__Group__3__Impl rule__Insert__Group__4 ; + public final void rule__Insert__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3431:1: ( rule__JvmUpperBoundAnded__Group__0__Impl rule__JvmUpperBoundAnded__Group__1 ) - // InternalTqcl.g:3432:2: rule__JvmUpperBoundAnded__Group__0__Impl rule__JvmUpperBoundAnded__Group__1 + // InternalTqcl.g:908:1: ( rule__Insert__Group__3__Impl rule__Insert__Group__4 ) + // InternalTqcl.g:909:2: rule__Insert__Group__3__Impl rule__Insert__Group__4 { - pushFollow(FOLLOW_24); - rule__JvmUpperBoundAnded__Group__0__Impl(); + pushFollow(FOLLOW_7); + rule__Insert__Group__3__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmUpperBoundAnded__Group__1(); + rule__Insert__Group__4(); state._fsp--; - if (state.failed) return ; + } @@ -11345,29 +2830,25 @@ public final void rule__JvmUpperBoundAnded__Group__0() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__JvmUpperBoundAnded__Group__0" + // $ANTLR end "rule__Insert__Group__3" - // $ANTLR start "rule__JvmUpperBoundAnded__Group__0__Impl" - // InternalTqcl.g:3439:1: rule__JvmUpperBoundAnded__Group__0__Impl : ( '&' ) ; - public final void rule__JvmUpperBoundAnded__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__3__Impl" + // InternalTqcl.g:916:1: rule__Insert__Group__3__Impl : ( 'as' ) ; + public final void rule__Insert__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3443:1: ( ( '&' ) ) - // InternalTqcl.g:3444:1: ( '&' ) + // InternalTqcl.g:920:1: ( ( 'as' ) ) + // InternalTqcl.g:921:1: ( 'as' ) { - // InternalTqcl.g:3444:1: ( '&' ) - // InternalTqcl.g:3445:2: '&' + // InternalTqcl.g:921:1: ( 'as' ) + // InternalTqcl.g:922:2: 'as' { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); - } - match(input,36,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); - } + before(grammarAccess.getInsertAccess().getAsKeyword_3()); + match(input,21,FOLLOW_2); + after(grammarAccess.getInsertAccess().getAsKeyword_3()); } @@ -11386,24 +2867,29 @@ public final void rule__JvmUpperBoundAnded__Group__0__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmUpperBoundAnded__Group__0__Impl" + // $ANTLR end "rule__Insert__Group__3__Impl" - // $ANTLR start "rule__JvmUpperBoundAnded__Group__1" - // InternalTqcl.g:3454:1: rule__JvmUpperBoundAnded__Group__1 : rule__JvmUpperBoundAnded__Group__1__Impl ; - public final void rule__JvmUpperBoundAnded__Group__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__4" + // InternalTqcl.g:931:1: rule__Insert__Group__4 : rule__Insert__Group__4__Impl rule__Insert__Group__5 ; + public final void rule__Insert__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3458:1: ( rule__JvmUpperBoundAnded__Group__1__Impl ) - // InternalTqcl.g:3459:2: rule__JvmUpperBoundAnded__Group__1__Impl + // InternalTqcl.g:935:1: ( rule__Insert__Group__4__Impl rule__Insert__Group__5 ) + // InternalTqcl.g:936:2: rule__Insert__Group__4__Impl rule__Insert__Group__5 { + pushFollow(FOLLOW_11); + rule__Insert__Group__4__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__JvmUpperBoundAnded__Group__1__Impl(); + rule__Insert__Group__5(); state._fsp--; - if (state.failed) return ; + } @@ -11419,40 +2905,36 @@ public final void rule__JvmUpperBoundAnded__Group__1() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__JvmUpperBoundAnded__Group__1" + // $ANTLR end "rule__Insert__Group__4" - // $ANTLR start "rule__JvmUpperBoundAnded__Group__1__Impl" - // InternalTqcl.g:3465:1: rule__JvmUpperBoundAnded__Group__1__Impl : ( ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) ) ; - public final void rule__JvmUpperBoundAnded__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__4__Impl" + // InternalTqcl.g:943:1: rule__Insert__Group__4__Impl : ( ( rule__Insert__NameAssignment_4 ) ) ; + public final void rule__Insert__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3469:1: ( ( ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) ) ) - // InternalTqcl.g:3470:1: ( ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) ) + // InternalTqcl.g:947:1: ( ( ( rule__Insert__NameAssignment_4 ) ) ) + // InternalTqcl.g:948:1: ( ( rule__Insert__NameAssignment_4 ) ) { - // InternalTqcl.g:3470:1: ( ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) ) - // InternalTqcl.g:3471:2: ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) + // InternalTqcl.g:948:1: ( ( rule__Insert__NameAssignment_4 ) ) + // InternalTqcl.g:949:2: ( rule__Insert__NameAssignment_4 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1()); - } - // InternalTqcl.g:3472:2: ( rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 ) - // InternalTqcl.g:3472:3: rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 + before(grammarAccess.getInsertAccess().getNameAssignment_4()); + // InternalTqcl.g:950:2: ( rule__Insert__NameAssignment_4 ) + // InternalTqcl.g:950:3: rule__Insert__NameAssignment_4 { pushFollow(FOLLOW_2); - rule__JvmUpperBoundAnded__TypeReferenceAssignment_1(); + rule__Insert__NameAssignment_4(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceAssignment_1()); } + after(grammarAccess.getInsertAccess().getNameAssignment_4()); + } @@ -11470,29 +2952,24 @@ public final void rule__JvmUpperBoundAnded__Group__1__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmUpperBoundAnded__Group__1__Impl" + // $ANTLR end "rule__Insert__Group__4__Impl" - // $ANTLR start "rule__JvmLowerBound__Group__0" - // InternalTqcl.g:3481:1: rule__JvmLowerBound__Group__0 : rule__JvmLowerBound__Group__0__Impl rule__JvmLowerBound__Group__1 ; - public final void rule__JvmLowerBound__Group__0() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__5" + // InternalTqcl.g:958:1: rule__Insert__Group__5 : rule__Insert__Group__5__Impl ; + public final void rule__Insert__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3485:1: ( rule__JvmLowerBound__Group__0__Impl rule__JvmLowerBound__Group__1 ) - // InternalTqcl.g:3486:2: rule__JvmLowerBound__Group__0__Impl rule__JvmLowerBound__Group__1 + // InternalTqcl.g:962:1: ( rule__Insert__Group__5__Impl ) + // InternalTqcl.g:963:2: rule__Insert__Group__5__Impl { - pushFollow(FOLLOW_24); - rule__JvmLowerBound__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; pushFollow(FOLLOW_2); - rule__JvmLowerBound__Group__1(); + rule__Insert__Group__5__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -11508,30 +2985,47 @@ public final void rule__JvmLowerBound__Group__0() throws RecognitionException { } return ; } - // $ANTLR end "rule__JvmLowerBound__Group__0" + // $ANTLR end "rule__Insert__Group__5" - // $ANTLR start "rule__JvmLowerBound__Group__0__Impl" - // InternalTqcl.g:3493:1: rule__JvmLowerBound__Group__0__Impl : ( 'super' ) ; - public final void rule__JvmLowerBound__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group__5__Impl" + // InternalTqcl.g:969:1: rule__Insert__Group__5__Impl : ( ( rule__Insert__Group_5__0 )? ) ; + public final void rule__Insert__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3497:1: ( ( 'super' ) ) - // InternalTqcl.g:3498:1: ( 'super' ) + // InternalTqcl.g:973:1: ( ( ( rule__Insert__Group_5__0 )? ) ) + // InternalTqcl.g:974:1: ( ( rule__Insert__Group_5__0 )? ) { - // InternalTqcl.g:3498:1: ( 'super' ) - // InternalTqcl.g:3499:2: 'super' + // InternalTqcl.g:974:1: ( ( rule__Insert__Group_5__0 )? ) + // InternalTqcl.g:975:2: ( rule__Insert__Group_5__0 )? { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); + before(grammarAccess.getInsertAccess().getGroup_5()); + // InternalTqcl.g:976:2: ( rule__Insert__Group_5__0 )? + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==22) ) { + alt8=1; } - match(input,37,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); + switch (alt8) { + case 1 : + // InternalTqcl.g:976:3: rule__Insert__Group_5__0 + { + pushFollow(FOLLOW_2); + rule__Insert__Group_5__0(); + + state._fsp--; + + + } + break; + } + after(grammarAccess.getInsertAccess().getGroup_5()); + } @@ -11549,24 +3043,29 @@ public final void rule__JvmLowerBound__Group__0__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__JvmLowerBound__Group__0__Impl" + // $ANTLR end "rule__Insert__Group__5__Impl" - // $ANTLR start "rule__JvmLowerBound__Group__1" - // InternalTqcl.g:3508:1: rule__JvmLowerBound__Group__1 : rule__JvmLowerBound__Group__1__Impl ; - public final void rule__JvmLowerBound__Group__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__0" + // InternalTqcl.g:985:1: rule__Insert__Group_5__0 : rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 ; + public final void rule__Insert__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3512:1: ( rule__JvmLowerBound__Group__1__Impl ) - // InternalTqcl.g:3513:2: rule__JvmLowerBound__Group__1__Impl + // InternalTqcl.g:989:1: ( rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 ) + // InternalTqcl.g:990:2: rule__Insert__Group_5__0__Impl rule__Insert__Group_5__1 { + pushFollow(FOLLOW_12); + rule__Insert__Group_5__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__JvmLowerBound__Group__1__Impl(); + rule__Insert__Group_5__1(); state._fsp--; - if (state.failed) return ; + } @@ -11582,39 +3081,25 @@ public final void rule__JvmLowerBound__Group__1() throws RecognitionException { } return ; } - // $ANTLR end "rule__JvmLowerBound__Group__1" + // $ANTLR end "rule__Insert__Group_5__0" - // $ANTLR start "rule__JvmLowerBound__Group__1__Impl" - // InternalTqcl.g:3519:1: rule__JvmLowerBound__Group__1__Impl : ( ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) ) ; - public final void rule__JvmLowerBound__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__0__Impl" + // InternalTqcl.g:997:1: rule__Insert__Group_5__0__Impl : ( 'with' ) ; + public final void rule__Insert__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3523:1: ( ( ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) ) ) - // InternalTqcl.g:3524:1: ( ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) ) - { - // InternalTqcl.g:3524:1: ( ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) ) - // InternalTqcl.g:3525:2: ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) + // InternalTqcl.g:1001:1: ( ( 'with' ) ) + // InternalTqcl.g:1002:1: ( 'with' ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1()); - } - // InternalTqcl.g:3526:2: ( rule__JvmLowerBound__TypeReferenceAssignment_1 ) - // InternalTqcl.g:3526:3: rule__JvmLowerBound__TypeReferenceAssignment_1 + // InternalTqcl.g:1002:1: ( 'with' ) + // InternalTqcl.g:1003:2: 'with' { - pushFollow(FOLLOW_2); - rule__JvmLowerBound__TypeReferenceAssignment_1(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceAssignment_1()); - } + before(grammarAccess.getInsertAccess().getWithKeyword_5_0()); + match(input,22,FOLLOW_2); + after(grammarAccess.getInsertAccess().getWithKeyword_5_0()); } @@ -11633,29 +3118,29 @@ public final void rule__JvmLowerBound__Group__1__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__JvmLowerBound__Group__1__Impl" + // $ANTLR end "rule__Insert__Group_5__0__Impl" - // $ANTLR start "rule__JvmLowerBoundAnded__Group__0" - // InternalTqcl.g:3535:1: rule__JvmLowerBoundAnded__Group__0 : rule__JvmLowerBoundAnded__Group__0__Impl rule__JvmLowerBoundAnded__Group__1 ; - public final void rule__JvmLowerBoundAnded__Group__0() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__1" + // InternalTqcl.g:1012:1: rule__Insert__Group_5__1 : rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 ; + public final void rule__Insert__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3539:1: ( rule__JvmLowerBoundAnded__Group__0__Impl rule__JvmLowerBoundAnded__Group__1 ) - // InternalTqcl.g:3540:2: rule__JvmLowerBoundAnded__Group__0__Impl rule__JvmLowerBoundAnded__Group__1 + // InternalTqcl.g:1016:1: ( rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 ) + // InternalTqcl.g:1017:2: rule__Insert__Group_5__1__Impl rule__Insert__Group_5__2 { - pushFollow(FOLLOW_24); - rule__JvmLowerBoundAnded__Group__0__Impl(); + pushFollow(FOLLOW_13); + rule__Insert__Group_5__1__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__JvmLowerBoundAnded__Group__1(); + rule__Insert__Group_5__2(); state._fsp--; - if (state.failed) return ; + } @@ -11671,30 +3156,36 @@ public final void rule__JvmLowerBoundAnded__Group__0() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__JvmLowerBoundAnded__Group__0" + // $ANTLR end "rule__Insert__Group_5__1" - // $ANTLR start "rule__JvmLowerBoundAnded__Group__0__Impl" - // InternalTqcl.g:3547:1: rule__JvmLowerBoundAnded__Group__0__Impl : ( '&' ) ; - public final void rule__JvmLowerBoundAnded__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__1__Impl" + // InternalTqcl.g:1024:1: rule__Insert__Group_5__1__Impl : ( ( rule__Insert__ParametersAssignment_5_1 ) ) ; + public final void rule__Insert__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3551:1: ( ( '&' ) ) - // InternalTqcl.g:3552:1: ( '&' ) + // InternalTqcl.g:1028:1: ( ( ( rule__Insert__ParametersAssignment_5_1 ) ) ) + // InternalTqcl.g:1029:1: ( ( rule__Insert__ParametersAssignment_5_1 ) ) { - // InternalTqcl.g:3552:1: ( '&' ) - // InternalTqcl.g:3553:2: '&' + // InternalTqcl.g:1029:1: ( ( rule__Insert__ParametersAssignment_5_1 ) ) + // InternalTqcl.g:1030:2: ( rule__Insert__ParametersAssignment_5_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); - } - match(input,36,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); + before(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); + // InternalTqcl.g:1031:2: ( rule__Insert__ParametersAssignment_5_1 ) + // InternalTqcl.g:1031:3: rule__Insert__ParametersAssignment_5_1 + { + pushFollow(FOLLOW_2); + rule__Insert__ParametersAssignment_5_1(); + + state._fsp--; + + } + after(grammarAccess.getInsertAccess().getParametersAssignment_5_1()); + } @@ -11712,24 +3203,24 @@ public final void rule__JvmLowerBoundAnded__Group__0__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmLowerBoundAnded__Group__0__Impl" + // $ANTLR end "rule__Insert__Group_5__1__Impl" - // $ANTLR start "rule__JvmLowerBoundAnded__Group__1" - // InternalTqcl.g:3562:1: rule__JvmLowerBoundAnded__Group__1 : rule__JvmLowerBoundAnded__Group__1__Impl ; - public final void rule__JvmLowerBoundAnded__Group__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__2" + // InternalTqcl.g:1039:1: rule__Insert__Group_5__2 : rule__Insert__Group_5__2__Impl ; + public final void rule__Insert__Group_5__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3566:1: ( rule__JvmLowerBoundAnded__Group__1__Impl ) - // InternalTqcl.g:3567:2: rule__JvmLowerBoundAnded__Group__1__Impl + // InternalTqcl.g:1043:1: ( rule__Insert__Group_5__2__Impl ) + // InternalTqcl.g:1044:2: rule__Insert__Group_5__2__Impl { pushFollow(FOLLOW_2); - rule__JvmLowerBoundAnded__Group__1__Impl(); + rule__Insert__Group_5__2__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -11745,39 +3236,53 @@ public final void rule__JvmLowerBoundAnded__Group__1() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__JvmLowerBoundAnded__Group__1" + // $ANTLR end "rule__Insert__Group_5__2" - // $ANTLR start "rule__JvmLowerBoundAnded__Group__1__Impl" - // InternalTqcl.g:3573:1: rule__JvmLowerBoundAnded__Group__1__Impl : ( ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) ) ; - public final void rule__JvmLowerBoundAnded__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5__2__Impl" + // InternalTqcl.g:1050:1: rule__Insert__Group_5__2__Impl : ( ( rule__Insert__Group_5_2__0 )* ) ; + public final void rule__Insert__Group_5__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3577:1: ( ( ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) ) ) - // InternalTqcl.g:3578:1: ( ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) ) + // InternalTqcl.g:1054:1: ( ( ( rule__Insert__Group_5_2__0 )* ) ) + // InternalTqcl.g:1055:1: ( ( rule__Insert__Group_5_2__0 )* ) { - // InternalTqcl.g:3578:1: ( ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) ) - // InternalTqcl.g:3579:2: ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1()); - } - // InternalTqcl.g:3580:2: ( rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 ) - // InternalTqcl.g:3580:3: rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 + // InternalTqcl.g:1055:1: ( ( rule__Insert__Group_5_2__0 )* ) + // InternalTqcl.g:1056:2: ( rule__Insert__Group_5_2__0 )* { - pushFollow(FOLLOW_2); - rule__JvmLowerBoundAnded__TypeReferenceAssignment_1(); + before(grammarAccess.getInsertAccess().getGroup_5_2()); + // InternalTqcl.g:1057:2: ( rule__Insert__Group_5_2__0 )* + loop9: + do { + int alt9=2; + int LA9_0 = input.LA(1); - state._fsp--; - if (state.failed) return ; + if ( (LA9_0==23) ) { + alt9=1; + } - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceAssignment_1()); - } + switch (alt9) { + case 1 : + // InternalTqcl.g:1057:3: rule__Insert__Group_5_2__0 + { + pushFollow(FOLLOW_14); + rule__Insert__Group_5_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop9; + } + } while (true); + + after(grammarAccess.getInsertAccess().getGroup_5_2()); } @@ -11796,29 +3301,29 @@ public final void rule__JvmLowerBoundAnded__Group__1__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__JvmLowerBoundAnded__Group__1__Impl" + // $ANTLR end "rule__Insert__Group_5__2__Impl" - // $ANTLR start "rule__QualifiedName__Group__0" - // InternalTqcl.g:3589:1: rule__QualifiedName__Group__0 : rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ; - public final void rule__QualifiedName__Group__0() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5_2__0" + // InternalTqcl.g:1066:1: rule__Insert__Group_5_2__0 : rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 ; + public final void rule__Insert__Group_5_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3593:1: ( rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 ) - // InternalTqcl.g:3594:2: rule__QualifiedName__Group__0__Impl rule__QualifiedName__Group__1 + // InternalTqcl.g:1070:1: ( rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 ) + // InternalTqcl.g:1071:2: rule__Insert__Group_5_2__0__Impl rule__Insert__Group_5_2__1 { - pushFollow(FOLLOW_19); - rule__QualifiedName__Group__0__Impl(); + pushFollow(FOLLOW_12); + rule__Insert__Group_5_2__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1(); + rule__Insert__Group_5_2__1(); state._fsp--; - if (state.failed) return ; + } @@ -11834,33 +3339,25 @@ public final void rule__QualifiedName__Group__0() throws RecognitionException { } return ; } - // $ANTLR end "rule__QualifiedName__Group__0" + // $ANTLR end "rule__Insert__Group_5_2__0" - // $ANTLR start "rule__QualifiedName__Group__0__Impl" - // InternalTqcl.g:3601:1: rule__QualifiedName__Group__0__Impl : ( ruleValidID ) ; - public final void rule__QualifiedName__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5_2__0__Impl" + // InternalTqcl.g:1078:1: rule__Insert__Group_5_2__0__Impl : ( ',' ) ; + public final void rule__Insert__Group_5_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3605:1: ( ( ruleValidID ) ) - // InternalTqcl.g:3606:1: ( ruleValidID ) + // InternalTqcl.g:1082:1: ( ( ',' ) ) + // InternalTqcl.g:1083:1: ( ',' ) { - // InternalTqcl.g:3606:1: ( ruleValidID ) - // InternalTqcl.g:3607:2: ruleValidID + // InternalTqcl.g:1083:1: ( ',' ) + // InternalTqcl.g:1084:2: ',' { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); - } - pushFollow(FOLLOW_2); - ruleValidID(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); - } + before(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); } @@ -11879,24 +3376,24 @@ public final void rule__QualifiedName__Group__0__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__QualifiedName__Group__0__Impl" + // $ANTLR end "rule__Insert__Group_5_2__0__Impl" - // $ANTLR start "rule__QualifiedName__Group__1" - // InternalTqcl.g:3616:1: rule__QualifiedName__Group__1 : rule__QualifiedName__Group__1__Impl ; - public final void rule__QualifiedName__Group__1() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5_2__1" + // InternalTqcl.g:1093:1: rule__Insert__Group_5_2__1 : rule__Insert__Group_5_2__1__Impl ; + public final void rule__Insert__Group_5_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3620:1: ( rule__QualifiedName__Group__1__Impl ) - // InternalTqcl.g:3621:2: rule__QualifiedName__Group__1__Impl + // InternalTqcl.g:1097:1: ( rule__Insert__Group_5_2__1__Impl ) + // InternalTqcl.g:1098:2: rule__Insert__Group_5_2__1__Impl { pushFollow(FOLLOW_2); - rule__QualifiedName__Group__1__Impl(); + rule__Insert__Group_5_2__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -11912,64 +3409,36 @@ public final void rule__QualifiedName__Group__1() throws RecognitionException { } return ; } - // $ANTLR end "rule__QualifiedName__Group__1" + // $ANTLR end "rule__Insert__Group_5_2__1" - // $ANTLR start "rule__QualifiedName__Group__1__Impl" - // InternalTqcl.g:3627:1: rule__QualifiedName__Group__1__Impl : ( ( rule__QualifiedName__Group_1__0 )* ) ; - public final void rule__QualifiedName__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Insert__Group_5_2__1__Impl" + // InternalTqcl.g:1104:1: rule__Insert__Group_5_2__1__Impl : ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) ; + public final void rule__Insert__Group_5_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3631:1: ( ( ( rule__QualifiedName__Group_1__0 )* ) ) - // InternalTqcl.g:3632:1: ( ( rule__QualifiedName__Group_1__0 )* ) + // InternalTqcl.g:1108:1: ( ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) ) + // InternalTqcl.g:1109:1: ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) { - // InternalTqcl.g:3632:1: ( ( rule__QualifiedName__Group_1__0 )* ) - // InternalTqcl.g:3633:2: ( rule__QualifiedName__Group_1__0 )* + // InternalTqcl.g:1109:1: ( ( rule__Insert__ParametersAssignment_5_2_1 ) ) + // InternalTqcl.g:1110:2: ( rule__Insert__ParametersAssignment_5_2_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameAccess().getGroup_1()); - } - // InternalTqcl.g:3634:2: ( rule__QualifiedName__Group_1__0 )* - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==26) ) { - int LA29_2 = input.LA(2); - - if ( (LA29_2==RULE_ID) ) { - alt29=1; - } - - - } - - - switch (alt29) { - case 1 : - // InternalTqcl.g:3634:3: rule__QualifiedName__Group_1__0 - { - pushFollow(FOLLOW_29); - rule__QualifiedName__Group_1__0(); - - state._fsp--; - if (state.failed) return ; + before(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); + // InternalTqcl.g:1111:2: ( rule__Insert__ParametersAssignment_5_2_1 ) + // InternalTqcl.g:1111:3: rule__Insert__ParametersAssignment_5_2_1 + { + pushFollow(FOLLOW_2); + rule__Insert__ParametersAssignment_5_2_1(); - } - break; + state._fsp--; - default : - break loop29; - } - } while (true); - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameAccess().getGroup_1()); } + after(grammarAccess.getInsertAccess().getParametersAssignment_5_2_1()); + } @@ -11987,29 +3456,29 @@ public final void rule__QualifiedName__Group__1__Impl() throws RecognitionExcept } return ; } - // $ANTLR end "rule__QualifiedName__Group__1__Impl" + // $ANTLR end "rule__Insert__Group_5_2__1__Impl" - // $ANTLR start "rule__QualifiedName__Group_1__0" - // InternalTqcl.g:3643:1: rule__QualifiedName__Group_1__0 : rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ; - public final void rule__QualifiedName__Group_1__0() throws RecognitionException { + // $ANTLR start "rule__Set__Group__0" + // InternalTqcl.g:1120:1: rule__Set__Group__0 : rule__Set__Group__0__Impl rule__Set__Group__1 ; + public final void rule__Set__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3647:1: ( rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 ) - // InternalTqcl.g:3648:2: rule__QualifiedName__Group_1__0__Impl rule__QualifiedName__Group_1__1 + // InternalTqcl.g:1124:1: ( rule__Set__Group__0__Impl rule__Set__Group__1 ) + // InternalTqcl.g:1125:2: rule__Set__Group__0__Impl rule__Set__Group__1 { - pushFollow(FOLLOW_9); - rule__QualifiedName__Group_1__0__Impl(); + pushFollow(FOLLOW_12); + rule__Set__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1(); + rule__Set__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -12025,29 +3494,25 @@ public final void rule__QualifiedName__Group_1__0() throws RecognitionException } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__0" + // $ANTLR end "rule__Set__Group__0" - // $ANTLR start "rule__QualifiedName__Group_1__0__Impl" - // InternalTqcl.g:3655:1: rule__QualifiedName__Group_1__0__Impl : ( '.' ) ; - public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Set__Group__0__Impl" + // InternalTqcl.g:1132:1: rule__Set__Group__0__Impl : ( 'set' ) ; + public final void rule__Set__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3659:1: ( ( '.' ) ) - // InternalTqcl.g:3660:1: ( '.' ) + // InternalTqcl.g:1136:1: ( ( 'set' ) ) + // InternalTqcl.g:1137:1: ( 'set' ) { - // InternalTqcl.g:3660:1: ( '.' ) - // InternalTqcl.g:3661:2: '.' + // InternalTqcl.g:1137:1: ( 'set' ) + // InternalTqcl.g:1138:2: 'set' { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - match(input,26,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } + before(grammarAccess.getSetAccess().getSetKeyword_0()); + match(input,24,FOLLOW_2); + after(grammarAccess.getSetAccess().getSetKeyword_0()); } @@ -12066,24 +3531,24 @@ public final void rule__QualifiedName__Group_1__0__Impl() throws RecognitionExce } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__0__Impl" + // $ANTLR end "rule__Set__Group__0__Impl" - // $ANTLR start "rule__QualifiedName__Group_1__1" - // InternalTqcl.g:3670:1: rule__QualifiedName__Group_1__1 : rule__QualifiedName__Group_1__1__Impl ; - public final void rule__QualifiedName__Group_1__1() throws RecognitionException { + // $ANTLR start "rule__Set__Group__1" + // InternalTqcl.g:1147:1: rule__Set__Group__1 : rule__Set__Group__1__Impl ; + public final void rule__Set__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3674:1: ( rule__QualifiedName__Group_1__1__Impl ) - // InternalTqcl.g:3675:2: rule__QualifiedName__Group_1__1__Impl + // InternalTqcl.g:1151:1: ( rule__Set__Group__1__Impl ) + // InternalTqcl.g:1152:2: rule__Set__Group__1__Impl { pushFollow(FOLLOW_2); - rule__QualifiedName__Group_1__1__Impl(); + rule__Set__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -12099,34 +3564,36 @@ public final void rule__QualifiedName__Group_1__1() throws RecognitionException } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__1" + // $ANTLR end "rule__Set__Group__1" - // $ANTLR start "rule__QualifiedName__Group_1__1__Impl" - // InternalTqcl.g:3681:1: rule__QualifiedName__Group_1__1__Impl : ( ruleValidID ) ; - public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Set__Group__1__Impl" + // InternalTqcl.g:1158:1: rule__Set__Group__1__Impl : ( ( rule__Set__ParamAssignment_1 ) ) ; + public final void rule__Set__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3685:1: ( ( ruleValidID ) ) - // InternalTqcl.g:3686:1: ( ruleValidID ) + // InternalTqcl.g:1162:1: ( ( ( rule__Set__ParamAssignment_1 ) ) ) + // InternalTqcl.g:1163:1: ( ( rule__Set__ParamAssignment_1 ) ) { - // InternalTqcl.g:3686:1: ( ruleValidID ) - // InternalTqcl.g:3687:2: ruleValidID + // InternalTqcl.g:1163:1: ( ( rule__Set__ParamAssignment_1 ) ) + // InternalTqcl.g:1164:2: ( rule__Set__ParamAssignment_1 ) + { + before(grammarAccess.getSetAccess().getParamAssignment_1()); + // InternalTqcl.g:1165:2: ( rule__Set__ParamAssignment_1 ) + // InternalTqcl.g:1165:3: rule__Set__ParamAssignment_1 { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); - } pushFollow(FOLLOW_2); - ruleValidID(); + rule__Set__ParamAssignment_1(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); + + } + after(grammarAccess.getSetAccess().getParamAssignment_1()); + } @@ -12144,29 +3611,29 @@ public final void rule__QualifiedName__Group_1__1__Impl() throws RecognitionExce } return ; } - // $ANTLR end "rule__QualifiedName__Group_1__1__Impl" + // $ANTLR end "rule__Set__Group__1__Impl" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0" - // InternalTqcl.g:3697:1: rule__QualifiedNameWithWildcard__Group__0 : rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ; - public final void rule__QualifiedNameWithWildcard__Group__0() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__0" + // InternalTqcl.g:1174:1: rule__Connect__Group__0 : rule__Connect__Group__0__Impl rule__Connect__Group__1 ; + public final void rule__Connect__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3701:1: ( rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 ) - // InternalTqcl.g:3702:2: rule__QualifiedNameWithWildcard__Group__0__Impl rule__QualifiedNameWithWildcard__Group__1 + // InternalTqcl.g:1178:1: ( rule__Connect__Group__0__Impl rule__Connect__Group__1 ) + // InternalTqcl.g:1179:2: rule__Connect__Group__0__Impl rule__Connect__Group__1 { - pushFollow(FOLLOW_19); - rule__QualifiedNameWithWildcard__Group__0__Impl(); + pushFollow(FOLLOW_8); + rule__Connect__Group__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__1(); + rule__Connect__Group__1(); state._fsp--; - if (state.failed) return ; + } @@ -12182,33 +3649,25 @@ public final void rule__QualifiedNameWithWildcard__Group__0() throws Recognition } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0" + // $ANTLR end "rule__Connect__Group__0" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__0__Impl" - // InternalTqcl.g:3709:1: rule__QualifiedNameWithWildcard__Group__0__Impl : ( ruleQualifiedName ) ; - public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__0__Impl" + // InternalTqcl.g:1186:1: rule__Connect__Group__0__Impl : ( 'connect' ) ; + public final void rule__Connect__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3713:1: ( ( ruleQualifiedName ) ) - // InternalTqcl.g:3714:1: ( ruleQualifiedName ) + // InternalTqcl.g:1190:1: ( ( 'connect' ) ) + // InternalTqcl.g:1191:1: ( 'connect' ) { - // InternalTqcl.g:3714:1: ( ruleQualifiedName ) - // InternalTqcl.g:3715:2: ruleQualifiedName + // InternalTqcl.g:1191:1: ( 'connect' ) + // InternalTqcl.g:1192:2: 'connect' { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - } - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - } + before(grammarAccess.getConnectAccess().getConnectKeyword_0()); + match(input,25,FOLLOW_2); + after(grammarAccess.getConnectAccess().getConnectKeyword_0()); } @@ -12227,29 +3686,29 @@ public final void rule__QualifiedNameWithWildcard__Group__0__Impl() throws Recog } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__0__Impl" + // $ANTLR end "rule__Connect__Group__0__Impl" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1" - // InternalTqcl.g:3724:1: rule__QualifiedNameWithWildcard__Group__1 : rule__QualifiedNameWithWildcard__Group__1__Impl rule__QualifiedNameWithWildcard__Group__2 ; - public final void rule__QualifiedNameWithWildcard__Group__1() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__1" + // InternalTqcl.g:1201:1: rule__Connect__Group__1 : rule__Connect__Group__1__Impl rule__Connect__Group__2 ; + public final void rule__Connect__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3728:1: ( rule__QualifiedNameWithWildcard__Group__1__Impl rule__QualifiedNameWithWildcard__Group__2 ) - // InternalTqcl.g:3729:2: rule__QualifiedNameWithWildcard__Group__1__Impl rule__QualifiedNameWithWildcard__Group__2 + // InternalTqcl.g:1205:1: ( rule__Connect__Group__1__Impl rule__Connect__Group__2 ) + // InternalTqcl.g:1206:2: rule__Connect__Group__1__Impl rule__Connect__Group__2 { - pushFollow(FOLLOW_33); - rule__QualifiedNameWithWildcard__Group__1__Impl(); + pushFollow(FOLLOW_15); + rule__Connect__Group__1__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__2(); + rule__Connect__Group__2(); state._fsp--; - if (state.failed) return ; + } @@ -12265,30 +3724,36 @@ public final void rule__QualifiedNameWithWildcard__Group__1() throws Recognition } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1" + // $ANTLR end "rule__Connect__Group__1" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__1__Impl" - // InternalTqcl.g:3736:1: rule__QualifiedNameWithWildcard__Group__1__Impl : ( '.' ) ; - public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__1__Impl" + // InternalTqcl.g:1213:1: rule__Connect__Group__1__Impl : ( ( rule__Connect__FromAssignment_1 ) ) ; + public final void rule__Connect__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3740:1: ( ( '.' ) ) - // InternalTqcl.g:3741:1: ( '.' ) + // InternalTqcl.g:1217:1: ( ( ( rule__Connect__FromAssignment_1 ) ) ) + // InternalTqcl.g:1218:1: ( ( rule__Connect__FromAssignment_1 ) ) { - // InternalTqcl.g:3741:1: ( '.' ) - // InternalTqcl.g:3742:2: '.' + // InternalTqcl.g:1218:1: ( ( rule__Connect__FromAssignment_1 ) ) + // InternalTqcl.g:1219:2: ( rule__Connect__FromAssignment_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); - } - match(input,26,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); + before(grammarAccess.getConnectAccess().getFromAssignment_1()); + // InternalTqcl.g:1220:2: ( rule__Connect__FromAssignment_1 ) + // InternalTqcl.g:1220:3: rule__Connect__FromAssignment_1 + { + pushFollow(FOLLOW_2); + rule__Connect__FromAssignment_1(); + + state._fsp--; + + } + after(grammarAccess.getConnectAccess().getFromAssignment_1()); + } @@ -12306,24 +3771,29 @@ public final void rule__QualifiedNameWithWildcard__Group__1__Impl() throws Recog } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__1__Impl" + // $ANTLR end "rule__Connect__Group__1__Impl" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__2" - // InternalTqcl.g:3751:1: rule__QualifiedNameWithWildcard__Group__2 : rule__QualifiedNameWithWildcard__Group__2__Impl ; - public final void rule__QualifiedNameWithWildcard__Group__2() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__2" + // InternalTqcl.g:1228:1: rule__Connect__Group__2 : rule__Connect__Group__2__Impl rule__Connect__Group__3 ; + public final void rule__Connect__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3755:1: ( rule__QualifiedNameWithWildcard__Group__2__Impl ) - // InternalTqcl.g:3756:2: rule__QualifiedNameWithWildcard__Group__2__Impl + // InternalTqcl.g:1232:1: ( rule__Connect__Group__2__Impl rule__Connect__Group__3 ) + // InternalTqcl.g:1233:2: rule__Connect__Group__2__Impl rule__Connect__Group__3 { + pushFollow(FOLLOW_15); + rule__Connect__Group__2__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - rule__QualifiedNameWithWildcard__Group__2__Impl(); + rule__Connect__Group__3(); state._fsp--; - if (state.failed) return ; + } @@ -12339,29 +3809,53 @@ public final void rule__QualifiedNameWithWildcard__Group__2() throws Recognition } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__2" + // $ANTLR end "rule__Connect__Group__2" - // $ANTLR start "rule__QualifiedNameWithWildcard__Group__2__Impl" - // InternalTqcl.g:3762:1: rule__QualifiedNameWithWildcard__Group__2__Impl : ( '*' ) ; - public final void rule__QualifiedNameWithWildcard__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__2__Impl" + // InternalTqcl.g:1240:1: rule__Connect__Group__2__Impl : ( ( rule__Connect__Group_2__0 )* ) ; + public final void rule__Connect__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3766:1: ( ( '*' ) ) - // InternalTqcl.g:3767:1: ( '*' ) + // InternalTqcl.g:1244:1: ( ( ( rule__Connect__Group_2__0 )* ) ) + // InternalTqcl.g:1245:1: ( ( rule__Connect__Group_2__0 )* ) { - // InternalTqcl.g:3767:1: ( '*' ) - // InternalTqcl.g:3768:2: '*' + // InternalTqcl.g:1245:1: ( ( rule__Connect__Group_2__0 )* ) + // InternalTqcl.g:1246:2: ( rule__Connect__Group_2__0 )* { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); - } - match(input,38,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); - } + before(grammarAccess.getConnectAccess().getGroup_2()); + // InternalTqcl.g:1247:2: ( rule__Connect__Group_2__0 )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==23) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalTqcl.g:1247:3: rule__Connect__Group_2__0 + { + pushFollow(FOLLOW_14); + rule__Connect__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop10; + } + } while (true); + + after(grammarAccess.getConnectAccess().getGroup_2()); } @@ -12380,29 +3874,29 @@ public final void rule__QualifiedNameWithWildcard__Group__2__Impl() throws Recog } return ; } - // $ANTLR end "rule__QualifiedNameWithWildcard__Group__2__Impl" + // $ANTLR end "rule__Connect__Group__2__Impl" - // $ANTLR start "rule__XImportDeclaration__Group__0" - // InternalTqcl.g:3778:1: rule__XImportDeclaration__Group__0 : rule__XImportDeclaration__Group__0__Impl rule__XImportDeclaration__Group__1 ; - public final void rule__XImportDeclaration__Group__0() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__3" + // InternalTqcl.g:1255:1: rule__Connect__Group__3 : rule__Connect__Group__3__Impl rule__Connect__Group__4 ; + public final void rule__Connect__Group__3() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3782:1: ( rule__XImportDeclaration__Group__0__Impl rule__XImportDeclaration__Group__1 ) - // InternalTqcl.g:3783:2: rule__XImportDeclaration__Group__0__Impl rule__XImportDeclaration__Group__1 + // InternalTqcl.g:1259:1: ( rule__Connect__Group__3__Impl rule__Connect__Group__4 ) + // InternalTqcl.g:1260:2: rule__Connect__Group__3__Impl rule__Connect__Group__4 { - pushFollow(FOLLOW_34); - rule__XImportDeclaration__Group__0__Impl(); + pushFollow(FOLLOW_8); + rule__Connect__Group__3__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group__1(); + rule__Connect__Group__4(); state._fsp--; - if (state.failed) return ; + } @@ -12418,29 +3912,25 @@ public final void rule__XImportDeclaration__Group__0() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__0" + // $ANTLR end "rule__Connect__Group__3" - // $ANTLR start "rule__XImportDeclaration__Group__0__Impl" - // InternalTqcl.g:3790:1: rule__XImportDeclaration__Group__0__Impl : ( 'import' ) ; - public final void rule__XImportDeclaration__Group__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__3__Impl" + // InternalTqcl.g:1267:1: rule__Connect__Group__3__Impl : ( 'to' ) ; + public final void rule__Connect__Group__3__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3794:1: ( ( 'import' ) ) - // InternalTqcl.g:3795:1: ( 'import' ) + // InternalTqcl.g:1271:1: ( ( 'to' ) ) + // InternalTqcl.g:1272:1: ( 'to' ) { - // InternalTqcl.g:3795:1: ( 'import' ) - // InternalTqcl.g:3796:2: 'import' + // InternalTqcl.g:1272:1: ( 'to' ) + // InternalTqcl.g:1273:2: 'to' { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); - } - match(input,39,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); - } + before(grammarAccess.getConnectAccess().getToKeyword_3()); + match(input,26,FOLLOW_2); + after(grammarAccess.getConnectAccess().getToKeyword_3()); } @@ -12459,29 +3949,29 @@ public final void rule__XImportDeclaration__Group__0__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__0__Impl" + // $ANTLR end "rule__Connect__Group__3__Impl" - // $ANTLR start "rule__XImportDeclaration__Group__1" - // InternalTqcl.g:3805:1: rule__XImportDeclaration__Group__1 : rule__XImportDeclaration__Group__1__Impl rule__XImportDeclaration__Group__2 ; - public final void rule__XImportDeclaration__Group__1() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__4" + // InternalTqcl.g:1282:1: rule__Connect__Group__4 : rule__Connect__Group__4__Impl rule__Connect__Group__5 ; + public final void rule__Connect__Group__4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3809:1: ( rule__XImportDeclaration__Group__1__Impl rule__XImportDeclaration__Group__2 ) - // InternalTqcl.g:3810:2: rule__XImportDeclaration__Group__1__Impl rule__XImportDeclaration__Group__2 + // InternalTqcl.g:1286:1: ( rule__Connect__Group__4__Impl rule__Connect__Group__5 ) + // InternalTqcl.g:1287:2: rule__Connect__Group__4__Impl rule__Connect__Group__5 { - pushFollow(FOLLOW_7); - rule__XImportDeclaration__Group__1__Impl(); + pushFollow(FOLLOW_13); + rule__Connect__Group__4__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group__2(); + rule__Connect__Group__5(); state._fsp--; - if (state.failed) return ; + } @@ -12497,40 +3987,36 @@ public final void rule__XImportDeclaration__Group__1() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__1" + // $ANTLR end "rule__Connect__Group__4" - // $ANTLR start "rule__XImportDeclaration__Group__1__Impl" - // InternalTqcl.g:3817:1: rule__XImportDeclaration__Group__1__Impl : ( ( rule__XImportDeclaration__Alternatives_1 ) ) ; - public final void rule__XImportDeclaration__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__4__Impl" + // InternalTqcl.g:1294:1: rule__Connect__Group__4__Impl : ( ( rule__Connect__ToAssignment_4 ) ) ; + public final void rule__Connect__Group__4__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3821:1: ( ( ( rule__XImportDeclaration__Alternatives_1 ) ) ) - // InternalTqcl.g:3822:1: ( ( rule__XImportDeclaration__Alternatives_1 ) ) + // InternalTqcl.g:1298:1: ( ( ( rule__Connect__ToAssignment_4 ) ) ) + // InternalTqcl.g:1299:1: ( ( rule__Connect__ToAssignment_4 ) ) { - // InternalTqcl.g:3822:1: ( ( rule__XImportDeclaration__Alternatives_1 ) ) - // InternalTqcl.g:3823:2: ( rule__XImportDeclaration__Alternatives_1 ) + // InternalTqcl.g:1299:1: ( ( rule__Connect__ToAssignment_4 ) ) + // InternalTqcl.g:1300:2: ( rule__Connect__ToAssignment_4 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getAlternatives_1()); - } - // InternalTqcl.g:3824:2: ( rule__XImportDeclaration__Alternatives_1 ) - // InternalTqcl.g:3824:3: rule__XImportDeclaration__Alternatives_1 + before(grammarAccess.getConnectAccess().getToAssignment_4()); + // InternalTqcl.g:1301:2: ( rule__Connect__ToAssignment_4 ) + // InternalTqcl.g:1301:3: rule__Connect__ToAssignment_4 { pushFollow(FOLLOW_2); - rule__XImportDeclaration__Alternatives_1(); + rule__Connect__ToAssignment_4(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getAlternatives_1()); } + after(grammarAccess.getConnectAccess().getToAssignment_4()); + } @@ -12548,24 +4034,24 @@ public final void rule__XImportDeclaration__Group__1__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__1__Impl" + // $ANTLR end "rule__Connect__Group__4__Impl" - // $ANTLR start "rule__XImportDeclaration__Group__2" - // InternalTqcl.g:3832:1: rule__XImportDeclaration__Group__2 : rule__XImportDeclaration__Group__2__Impl ; - public final void rule__XImportDeclaration__Group__2() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__5" + // InternalTqcl.g:1309:1: rule__Connect__Group__5 : rule__Connect__Group__5__Impl ; + public final void rule__Connect__Group__5() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3836:1: ( rule__XImportDeclaration__Group__2__Impl ) - // InternalTqcl.g:3837:2: rule__XImportDeclaration__Group__2__Impl + // InternalTqcl.g:1313:1: ( rule__Connect__Group__5__Impl ) + // InternalTqcl.g:1314:2: rule__Connect__Group__5__Impl { pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group__2__Impl(); + rule__Connect__Group__5__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -12581,46 +4067,53 @@ public final void rule__XImportDeclaration__Group__2() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__2" + // $ANTLR end "rule__Connect__Group__5" - // $ANTLR start "rule__XImportDeclaration__Group__2__Impl" - // InternalTqcl.g:3843:1: rule__XImportDeclaration__Group__2__Impl : ( ( ';' )? ) ; - public final void rule__XImportDeclaration__Group__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group__5__Impl" + // InternalTqcl.g:1320:1: rule__Connect__Group__5__Impl : ( ( rule__Connect__Group_5__0 )* ) ; + public final void rule__Connect__Group__5__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3847:1: ( ( ( ';' )? ) ) - // InternalTqcl.g:3848:1: ( ( ';' )? ) + // InternalTqcl.g:1324:1: ( ( ( rule__Connect__Group_5__0 )* ) ) + // InternalTqcl.g:1325:1: ( ( rule__Connect__Group_5__0 )* ) { - // InternalTqcl.g:3848:1: ( ( ';' )? ) - // InternalTqcl.g:3849:2: ( ';' )? + // InternalTqcl.g:1325:1: ( ( rule__Connect__Group_5__0 )* ) + // InternalTqcl.g:1326:2: ( rule__Connect__Group_5__0 )* { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); - } - // InternalTqcl.g:3850:2: ( ';' )? - int alt30=2; - int LA30_0 = input.LA(1); + before(grammarAccess.getConnectAccess().getGroup_5()); + // InternalTqcl.g:1327:2: ( rule__Connect__Group_5__0 )* + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); - if ( (LA30_0==14) ) { - alt30=1; - } - switch (alt30) { - case 1 : - // InternalTqcl.g:3850:3: ';' - { - match(input,14,FOLLOW_2); if (state.failed) return ; + if ( (LA11_0==23) ) { + alt11=1; + } - } - break; - } + switch (alt11) { + case 1 : + // InternalTqcl.g:1327:3: rule__Connect__Group_5__0 + { + pushFollow(FOLLOW_14); + rule__Connect__Group_5__0(); - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); - } + state._fsp--; + + + } + break; + + default : + break loop11; + } + } while (true); + + after(grammarAccess.getConnectAccess().getGroup_5()); } @@ -12639,29 +4132,29 @@ public final void rule__XImportDeclaration__Group__2__Impl() throws RecognitionE } return ; } - // $ANTLR end "rule__XImportDeclaration__Group__2__Impl" + // $ANTLR end "rule__Connect__Group__5__Impl" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__0" - // InternalTqcl.g:3859:1: rule__XImportDeclaration__Group_1_0__0 : rule__XImportDeclaration__Group_1_0__0__Impl rule__XImportDeclaration__Group_1_0__1 ; - public final void rule__XImportDeclaration__Group_1_0__0() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_2__0" + // InternalTqcl.g:1336:1: rule__Connect__Group_2__0 : rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 ; + public final void rule__Connect__Group_2__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3863:1: ( rule__XImportDeclaration__Group_1_0__0__Impl rule__XImportDeclaration__Group_1_0__1 ) - // InternalTqcl.g:3864:2: rule__XImportDeclaration__Group_1_0__0__Impl rule__XImportDeclaration__Group_1_0__1 + // InternalTqcl.g:1340:1: ( rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 ) + // InternalTqcl.g:1341:2: rule__Connect__Group_2__0__Impl rule__Connect__Group_2__1 { - pushFollow(FOLLOW_35); - rule__XImportDeclaration__Group_1_0__0__Impl(); + pushFollow(FOLLOW_8); + rule__Connect__Group_2__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group_1_0__1(); + rule__Connect__Group_2__1(); state._fsp--; - if (state.failed) return ; + } @@ -12677,39 +4170,25 @@ public final void rule__XImportDeclaration__Group_1_0__0() throws RecognitionExc } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__0" + // $ANTLR end "rule__Connect__Group_2__0" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__0__Impl" - // InternalTqcl.g:3871:1: rule__XImportDeclaration__Group_1_0__0__Impl : ( ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) ) ; - public final void rule__XImportDeclaration__Group_1_0__0__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_2__0__Impl" + // InternalTqcl.g:1348:1: rule__Connect__Group_2__0__Impl : ( ',' ) ; + public final void rule__Connect__Group_2__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3875:1: ( ( ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) ) ) - // InternalTqcl.g:3876:1: ( ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) ) + // InternalTqcl.g:1352:1: ( ( ',' ) ) + // InternalTqcl.g:1353:1: ( ',' ) { - // InternalTqcl.g:3876:1: ( ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) ) - // InternalTqcl.g:3877:2: ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0()); - } - // InternalTqcl.g:3878:2: ( rule__XImportDeclaration__StaticAssignment_1_0_0 ) - // InternalTqcl.g:3878:3: rule__XImportDeclaration__StaticAssignment_1_0_0 + // InternalTqcl.g:1353:1: ( ',' ) + // InternalTqcl.g:1354:2: ',' { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__StaticAssignment_1_0_0(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getStaticAssignment_1_0_0()); - } + before(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getConnectAccess().getCommaKeyword_2_0()); } @@ -12728,29 +4207,24 @@ public final void rule__XImportDeclaration__Group_1_0__0__Impl() throws Recognit } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__0__Impl" + // $ANTLR end "rule__Connect__Group_2__0__Impl" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__1" - // InternalTqcl.g:3886:1: rule__XImportDeclaration__Group_1_0__1 : rule__XImportDeclaration__Group_1_0__1__Impl rule__XImportDeclaration__Group_1_0__2 ; - public final void rule__XImportDeclaration__Group_1_0__1() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_2__1" + // InternalTqcl.g:1363:1: rule__Connect__Group_2__1 : rule__Connect__Group_2__1__Impl ; + public final void rule__Connect__Group_2__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3890:1: ( rule__XImportDeclaration__Group_1_0__1__Impl rule__XImportDeclaration__Group_1_0__2 ) - // InternalTqcl.g:3891:2: rule__XImportDeclaration__Group_1_0__1__Impl rule__XImportDeclaration__Group_1_0__2 + // InternalTqcl.g:1367:1: ( rule__Connect__Group_2__1__Impl ) + // InternalTqcl.g:1368:2: rule__Connect__Group_2__1__Impl { - pushFollow(FOLLOW_35); - rule__XImportDeclaration__Group_1_0__1__Impl(); - - state._fsp--; - if (state.failed) return ; pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group_1_0__2(); + rule__Connect__Group_2__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -12766,50 +4240,35 @@ public final void rule__XImportDeclaration__Group_1_0__1() throws RecognitionExc } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__1" + // $ANTLR end "rule__Connect__Group_2__1" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__1__Impl" - // InternalTqcl.g:3898:1: rule__XImportDeclaration__Group_1_0__1__Impl : ( ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? ) ; - public final void rule__XImportDeclaration__Group_1_0__1__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_2__1__Impl" + // InternalTqcl.g:1374:1: rule__Connect__Group_2__1__Impl : ( ( rule__Connect__FromAssignment_2_1 ) ) ; + public final void rule__Connect__Group_2__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3902:1: ( ( ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? ) ) - // InternalTqcl.g:3903:1: ( ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? ) + // InternalTqcl.g:1378:1: ( ( ( rule__Connect__FromAssignment_2_1 ) ) ) + // InternalTqcl.g:1379:1: ( ( rule__Connect__FromAssignment_2_1 ) ) { - // InternalTqcl.g:3903:1: ( ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? ) - // InternalTqcl.g:3904:2: ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? + // InternalTqcl.g:1379:1: ( ( rule__Connect__FromAssignment_2_1 ) ) + // InternalTqcl.g:1380:2: ( rule__Connect__FromAssignment_2_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1()); - } - // InternalTqcl.g:3905:2: ( rule__XImportDeclaration__ExtensionAssignment_1_0_1 )? - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==43) ) { - alt31=1; - } - switch (alt31) { - case 1 : - // InternalTqcl.g:3905:3: rule__XImportDeclaration__ExtensionAssignment_1_0_1 - { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__ExtensionAssignment_1_0_1(); + before(grammarAccess.getConnectAccess().getFromAssignment_2_1()); + // InternalTqcl.g:1381:2: ( rule__Connect__FromAssignment_2_1 ) + // InternalTqcl.g:1381:3: rule__Connect__FromAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__Connect__FromAssignment_2_1(); - state._fsp--; - if (state.failed) return ; + state._fsp--; - } - break; } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getExtensionAssignment_1_0_1()); - } + after(grammarAccess.getConnectAccess().getFromAssignment_2_1()); } @@ -12828,29 +4287,29 @@ public final void rule__XImportDeclaration__Group_1_0__1__Impl() throws Recognit } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__1__Impl" + // $ANTLR end "rule__Connect__Group_2__1__Impl" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__2" - // InternalTqcl.g:3913:1: rule__XImportDeclaration__Group_1_0__2 : rule__XImportDeclaration__Group_1_0__2__Impl rule__XImportDeclaration__Group_1_0__3 ; - public final void rule__XImportDeclaration__Group_1_0__2() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_5__0" + // InternalTqcl.g:1390:1: rule__Connect__Group_5__0 : rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 ; + public final void rule__Connect__Group_5__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3917:1: ( rule__XImportDeclaration__Group_1_0__2__Impl rule__XImportDeclaration__Group_1_0__3 ) - // InternalTqcl.g:3918:2: rule__XImportDeclaration__Group_1_0__2__Impl rule__XImportDeclaration__Group_1_0__3 + // InternalTqcl.g:1394:1: ( rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 ) + // InternalTqcl.g:1395:2: rule__Connect__Group_5__0__Impl rule__Connect__Group_5__1 { - pushFollow(FOLLOW_36); - rule__XImportDeclaration__Group_1_0__2__Impl(); + pushFollow(FOLLOW_8); + rule__Connect__Group_5__0__Impl(); state._fsp--; - if (state.failed) return ; + pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group_1_0__3(); + rule__Connect__Group_5__1(); state._fsp--; - if (state.failed) return ; + } @@ -12866,39 +4325,25 @@ public final void rule__XImportDeclaration__Group_1_0__2() throws RecognitionExc } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__2" + // $ANTLR end "rule__Connect__Group_5__0" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__2__Impl" - // InternalTqcl.g:3925:1: rule__XImportDeclaration__Group_1_0__2__Impl : ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) ) ; - public final void rule__XImportDeclaration__Group_1_0__2__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_5__0__Impl" + // InternalTqcl.g:1402:1: rule__Connect__Group_5__0__Impl : ( ',' ) ; + public final void rule__Connect__Group_5__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3929:1: ( ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) ) ) - // InternalTqcl.g:3930:1: ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) ) + // InternalTqcl.g:1406:1: ( ( ',' ) ) + // InternalTqcl.g:1407:1: ( ',' ) { - // InternalTqcl.g:3930:1: ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) ) - // InternalTqcl.g:3931:2: ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2()); - } - // InternalTqcl.g:3932:2: ( rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 ) - // InternalTqcl.g:3932:3: rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 + // InternalTqcl.g:1407:1: ( ',' ) + // InternalTqcl.g:1408:2: ',' { - pushFollow(FOLLOW_2); - rule__XImportDeclaration__ImportedTypeAssignment_1_0_2(); - - state._fsp--; - if (state.failed) return ; - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeAssignment_1_0_2()); - } + before(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); + match(input,23,FOLLOW_2); + after(grammarAccess.getConnectAccess().getCommaKeyword_5_0()); } @@ -12917,24 +4362,24 @@ public final void rule__XImportDeclaration__Group_1_0__2__Impl() throws Recognit } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__2__Impl" + // $ANTLR end "rule__Connect__Group_5__0__Impl" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__3" - // InternalTqcl.g:3940:1: rule__XImportDeclaration__Group_1_0__3 : rule__XImportDeclaration__Group_1_0__3__Impl ; - public final void rule__XImportDeclaration__Group_1_0__3() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_5__1" + // InternalTqcl.g:1417:1: rule__Connect__Group_5__1 : rule__Connect__Group_5__1__Impl ; + public final void rule__Connect__Group_5__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3944:1: ( rule__XImportDeclaration__Group_1_0__3__Impl ) - // InternalTqcl.g:3945:2: rule__XImportDeclaration__Group_1_0__3__Impl + // InternalTqcl.g:1421:1: ( rule__Connect__Group_5__1__Impl ) + // InternalTqcl.g:1422:2: rule__Connect__Group_5__1__Impl { pushFollow(FOLLOW_2); - rule__XImportDeclaration__Group_1_0__3__Impl(); + rule__Connect__Group_5__1__Impl(); state._fsp--; - if (state.failed) return ; + } @@ -12950,40 +4395,36 @@ public final void rule__XImportDeclaration__Group_1_0__3() throws RecognitionExc } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__3" + // $ANTLR end "rule__Connect__Group_5__1" - // $ANTLR start "rule__XImportDeclaration__Group_1_0__3__Impl" - // InternalTqcl.g:3951:1: rule__XImportDeclaration__Group_1_0__3__Impl : ( ( rule__XImportDeclaration__Alternatives_1_0_3 ) ) ; - public final void rule__XImportDeclaration__Group_1_0__3__Impl() throws RecognitionException { + // $ANTLR start "rule__Connect__Group_5__1__Impl" + // InternalTqcl.g:1428:1: rule__Connect__Group_5__1__Impl : ( ( rule__Connect__ToAssignment_5_1 ) ) ; + public final void rule__Connect__Group_5__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3955:1: ( ( ( rule__XImportDeclaration__Alternatives_1_0_3 ) ) ) - // InternalTqcl.g:3956:1: ( ( rule__XImportDeclaration__Alternatives_1_0_3 ) ) + // InternalTqcl.g:1432:1: ( ( ( rule__Connect__ToAssignment_5_1 ) ) ) + // InternalTqcl.g:1433:1: ( ( rule__Connect__ToAssignment_5_1 ) ) { - // InternalTqcl.g:3956:1: ( ( rule__XImportDeclaration__Alternatives_1_0_3 ) ) - // InternalTqcl.g:3957:2: ( rule__XImportDeclaration__Alternatives_1_0_3 ) + // InternalTqcl.g:1433:1: ( ( rule__Connect__ToAssignment_5_1 ) ) + // InternalTqcl.g:1434:2: ( rule__Connect__ToAssignment_5_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3()); - } - // InternalTqcl.g:3958:2: ( rule__XImportDeclaration__Alternatives_1_0_3 ) - // InternalTqcl.g:3958:3: rule__XImportDeclaration__Alternatives_1_0_3 + before(grammarAccess.getConnectAccess().getToAssignment_5_1()); + // InternalTqcl.g:1435:2: ( rule__Connect__ToAssignment_5_1 ) + // InternalTqcl.g:1435:3: rule__Connect__ToAssignment_5_1 { pushFollow(FOLLOW_2); - rule__XImportDeclaration__Alternatives_1_0_3(); + rule__Connect__ToAssignment_5_1(); state._fsp--; - if (state.failed) return ; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getAlternatives_1_0_3()); } + after(grammarAccess.getConnectAccess().getToAssignment_5_1()); + } @@ -13001,73 +4442,28 @@ public final void rule__XImportDeclaration__Group_1_0__3__Impl() throws Recognit } return ; } - // $ANTLR end "rule__XImportDeclaration__Group_1_0__3__Impl" + // $ANTLR end "rule__Connect__Group_5__1__Impl" - // $ANTLR start "rule__QualifiedNameInStaticImport__Group__0" - // InternalTqcl.g:3967:1: rule__QualifiedNameInStaticImport__Group__0 : rule__QualifiedNameInStaticImport__Group__0__Impl rule__QualifiedNameInStaticImport__Group__1 ; - public final void rule__QualifiedNameInStaticImport__Group__0() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__0" + // InternalTqcl.g:1444:1: rule__GoInto__Group__0 : rule__GoInto__Group__0__Impl rule__GoInto__Group__1 ; + public final void rule__GoInto__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3971:1: ( rule__QualifiedNameInStaticImport__Group__0__Impl rule__QualifiedNameInStaticImport__Group__1 ) - // InternalTqcl.g:3972:2: rule__QualifiedNameInStaticImport__Group__0__Impl rule__QualifiedNameInStaticImport__Group__1 + // InternalTqcl.g:1448:1: ( rule__GoInto__Group__0__Impl rule__GoInto__Group__1 ) + // InternalTqcl.g:1449:2: rule__GoInto__Group__0__Impl rule__GoInto__Group__1 { - pushFollow(FOLLOW_19); - rule__QualifiedNameInStaticImport__Group__0__Impl(); - - state._fsp--; - if (state.failed) return ; - pushFollow(FOLLOW_2); - rule__QualifiedNameInStaticImport__Group__1(); + pushFollow(FOLLOW_16); + rule__GoInto__Group__0__Impl(); state._fsp--; - if (state.failed) return ; - } - - } - catch (RecognitionException re) { - reportError(re); - recover(input,re); - } - finally { - - restoreStackSize(stackSize); - - } - return ; - } - // $ANTLR end "rule__QualifiedNameInStaticImport__Group__0" - - - // $ANTLR start "rule__QualifiedNameInStaticImport__Group__0__Impl" - // InternalTqcl.g:3979:1: rule__QualifiedNameInStaticImport__Group__0__Impl : ( ruleValidID ) ; - public final void rule__QualifiedNameInStaticImport__Group__0__Impl() throws RecognitionException { - - int stackSize = keepStackSize(); - - try { - // InternalTqcl.g:3983:1: ( ( ruleValidID ) ) - // InternalTqcl.g:3984:1: ( ruleValidID ) - { - // InternalTqcl.g:3984:1: ( ruleValidID ) - // InternalTqcl.g:3985:2: ruleValidID - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); - } pushFollow(FOLLOW_2); - ruleValidID(); + rule__GoInto__Group__1(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); - } - - } } @@ -13084,24 +4480,28 @@ public final void rule__QualifiedNameInStaticImport__Group__0__Impl() throws Rec } return ; } - // $ANTLR end "rule__QualifiedNameInStaticImport__Group__0__Impl" + // $ANTLR end "rule__GoInto__Group__0" - // $ANTLR start "rule__QualifiedNameInStaticImport__Group__1" - // InternalTqcl.g:3994:1: rule__QualifiedNameInStaticImport__Group__1 : rule__QualifiedNameInStaticImport__Group__1__Impl ; - public final void rule__QualifiedNameInStaticImport__Group__1() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__0__Impl" + // InternalTqcl.g:1456:1: rule__GoInto__Group__0__Impl : ( 'go' ) ; + public final void rule__GoInto__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:3998:1: ( rule__QualifiedNameInStaticImport__Group__1__Impl ) - // InternalTqcl.g:3999:2: rule__QualifiedNameInStaticImport__Group__1__Impl + // InternalTqcl.g:1460:1: ( ( 'go' ) ) + // InternalTqcl.g:1461:1: ( 'go' ) { - pushFollow(FOLLOW_2); - rule__QualifiedNameInStaticImport__Group__1__Impl(); + // InternalTqcl.g:1461:1: ( 'go' ) + // InternalTqcl.g:1462:2: 'go' + { + before(grammarAccess.getGoIntoAccess().getGoKeyword_0()); + match(input,27,FOLLOW_2); + after(grammarAccess.getGoIntoAccess().getGoKeyword_0()); + + } - state._fsp--; - if (state.failed) return ; } @@ -13117,31 +4517,28 @@ public final void rule__QualifiedNameInStaticImport__Group__1() throws Recogniti } return ; } - // $ANTLR end "rule__QualifiedNameInStaticImport__Group__1" + // $ANTLR end "rule__GoInto__Group__0__Impl" - // $ANTLR start "rule__QualifiedNameInStaticImport__Group__1__Impl" - // InternalTqcl.g:4005:1: rule__QualifiedNameInStaticImport__Group__1__Impl : ( '.' ) ; - public final void rule__QualifiedNameInStaticImport__Group__1__Impl() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__1" + // InternalTqcl.g:1471:1: rule__GoInto__Group__1 : rule__GoInto__Group__1__Impl rule__GoInto__Group__2 ; + public final void rule__GoInto__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4009:1: ( ( '.' ) ) - // InternalTqcl.g:4010:1: ( '.' ) + // InternalTqcl.g:1475:1: ( rule__GoInto__Group__1__Impl rule__GoInto__Group__2 ) + // InternalTqcl.g:1476:2: rule__GoInto__Group__1__Impl rule__GoInto__Group__2 { - // InternalTqcl.g:4010:1: ( '.' ) - // InternalTqcl.g:4011:2: '.' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); - } - match(input,26,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); - } + pushFollow(FOLLOW_17); + rule__GoInto__Group__1__Impl(); - } + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GoInto__Group__2(); + + state._fsp--; } @@ -13158,34 +4555,36 @@ public final void rule__QualifiedNameInStaticImport__Group__1__Impl() throws Rec } return ; } - // $ANTLR end "rule__QualifiedNameInStaticImport__Group__1__Impl" + // $ANTLR end "rule__GoInto__Group__1" - // $ANTLR start "rule__TriquetrumScript__LibrariesAssignment_0" - // InternalTqcl.g:4021:1: rule__TriquetrumScript__LibrariesAssignment_0 : ( ruleLibrary ) ; - public final void rule__TriquetrumScript__LibrariesAssignment_0() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__1__Impl" + // InternalTqcl.g:1483:1: rule__GoInto__Group__1__Impl : ( ( rule__GoInto__DirectionAssignment_1 ) ) ; + public final void rule__GoInto__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4025:1: ( ( ruleLibrary ) ) - // InternalTqcl.g:4026:2: ( ruleLibrary ) + // InternalTqcl.g:1487:1: ( ( ( rule__GoInto__DirectionAssignment_1 ) ) ) + // InternalTqcl.g:1488:1: ( ( rule__GoInto__DirectionAssignment_1 ) ) { - // InternalTqcl.g:4026:2: ( ruleLibrary ) - // InternalTqcl.g:4027:3: ruleLibrary + // InternalTqcl.g:1488:1: ( ( rule__GoInto__DirectionAssignment_1 ) ) + // InternalTqcl.g:1489:2: ( rule__GoInto__DirectionAssignment_1 ) + { + before(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); + // InternalTqcl.g:1490:2: ( rule__GoInto__DirectionAssignment_1 ) + // InternalTqcl.g:1490:3: rule__GoInto__DirectionAssignment_1 { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); - } pushFollow(FOLLOW_2); - ruleLibrary(); + rule__GoInto__DirectionAssignment_1(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); + + } + after(grammarAccess.getGoIntoAccess().getDirectionAssignment_1()); + } @@ -13203,35 +4602,23 @@ public final void rule__TriquetrumScript__LibrariesAssignment_0() throws Recogni } return ; } - // $ANTLR end "rule__TriquetrumScript__LibrariesAssignment_0" + // $ANTLR end "rule__GoInto__Group__1__Impl" - // $ANTLR start "rule__TriquetrumScript__CommandsAssignment_1" - // InternalTqcl.g:4036:1: rule__TriquetrumScript__CommandsAssignment_1 : ( ruleCommand ) ; - public final void rule__TriquetrumScript__CommandsAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__2" + // InternalTqcl.g:1498:1: rule__GoInto__Group__2 : rule__GoInto__Group__2__Impl ; + public final void rule__GoInto__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4040:1: ( ( ruleCommand ) ) - // InternalTqcl.g:4041:2: ( ruleCommand ) + // InternalTqcl.g:1502:1: ( rule__GoInto__Group__2__Impl ) + // InternalTqcl.g:1503:2: rule__GoInto__Group__2__Impl { - // InternalTqcl.g:4041:2: ( ruleCommand ) - // InternalTqcl.g:4042:3: ruleCommand - { - if ( state.backtracking==0 ) { - before(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); - } pushFollow(FOLLOW_2); - ruleCommand(); + rule__GoInto__Group__2__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); - } - - } } @@ -13248,30 +4635,36 @@ public final void rule__TriquetrumScript__CommandsAssignment_1() throws Recognit } return ; } - // $ANTLR end "rule__TriquetrumScript__CommandsAssignment_1" + // $ANTLR end "rule__GoInto__Group__2" - // $ANTLR start "rule__Include__FilenameAssignment_1" - // InternalTqcl.g:4051:1: rule__Include__FilenameAssignment_1 : ( RULE_STRING ) ; - public final void rule__Include__FilenameAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoInto__Group__2__Impl" + // InternalTqcl.g:1509:1: rule__GoInto__Group__2__Impl : ( ( rule__GoInto__ObjAssignment_2 ) ) ; + public final void rule__GoInto__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4055:1: ( ( RULE_STRING ) ) - // InternalTqcl.g:4056:2: ( RULE_STRING ) + // InternalTqcl.g:1513:1: ( ( ( rule__GoInto__ObjAssignment_2 ) ) ) + // InternalTqcl.g:1514:1: ( ( rule__GoInto__ObjAssignment_2 ) ) { - // InternalTqcl.g:4056:2: ( RULE_STRING ) - // InternalTqcl.g:4057:3: RULE_STRING + // InternalTqcl.g:1514:1: ( ( rule__GoInto__ObjAssignment_2 ) ) + // InternalTqcl.g:1515:2: ( rule__GoInto__ObjAssignment_2 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); - } - match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); + before(grammarAccess.getGoIntoAccess().getObjAssignment_2()); + // InternalTqcl.g:1516:2: ( rule__GoInto__ObjAssignment_2 ) + // InternalTqcl.g:1516:3: rule__GoInto__ObjAssignment_2 + { + pushFollow(FOLLOW_2); + rule__GoInto__ObjAssignment_2(); + + state._fsp--; + + } + after(grammarAccess.getGoIntoAccess().getObjAssignment_2()); + } @@ -13289,31 +4682,28 @@ public final void rule__Include__FilenameAssignment_1() throws RecognitionExcept } return ; } - // $ANTLR end "rule__Include__FilenameAssignment_1" + // $ANTLR end "rule__GoInto__Group__2__Impl" - // $ANTLR start "rule__Library__NameAssignment_1" - // InternalTqcl.g:4066:1: rule__Library__NameAssignment_1 : ( RULE_ID ) ; - public final void rule__Library__NameAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoOut__Group__0" + // InternalTqcl.g:1525:1: rule__GoOut__Group__0 : rule__GoOut__Group__0__Impl rule__GoOut__Group__1 ; + public final void rule__GoOut__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4070:1: ( ( RULE_ID ) ) - // InternalTqcl.g:4071:2: ( RULE_ID ) + // InternalTqcl.g:1529:1: ( rule__GoOut__Group__0__Impl rule__GoOut__Group__1 ) + // InternalTqcl.g:1530:2: rule__GoOut__Group__0__Impl rule__GoOut__Group__1 { - // InternalTqcl.g:4071:2: ( RULE_ID ) - // InternalTqcl.g:4072:3: RULE_ID - { - if ( state.backtracking==0 ) { - before(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); - } - match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); - } + pushFollow(FOLLOW_18); + rule__GoOut__Group__0__Impl(); - } + state._fsp--; + + pushFollow(FOLLOW_2); + rule__GoOut__Group__1(); + + state._fsp--; } @@ -13330,33 +4720,25 @@ public final void rule__Library__NameAssignment_1() throws RecognitionException } return ; } - // $ANTLR end "rule__Library__NameAssignment_1" + // $ANTLR end "rule__GoOut__Group__0" - // $ANTLR start "rule__Insert__CategoryAssignment_1" - // InternalTqcl.g:4081:1: rule__Insert__CategoryAssignment_1 : ( ruleCategory ) ; - public final void rule__Insert__CategoryAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoOut__Group__0__Impl" + // InternalTqcl.g:1537:1: rule__GoOut__Group__0__Impl : ( 'go' ) ; + public final void rule__GoOut__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4085:1: ( ( ruleCategory ) ) - // InternalTqcl.g:4086:2: ( ruleCategory ) + // InternalTqcl.g:1541:1: ( ( 'go' ) ) + // InternalTqcl.g:1542:1: ( 'go' ) { - // InternalTqcl.g:4086:2: ( ruleCategory ) - // InternalTqcl.g:4087:3: ruleCategory + // InternalTqcl.g:1542:1: ( 'go' ) + // InternalTqcl.g:1543:2: 'go' { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); - } - pushFollow(FOLLOW_2); - ruleCategory(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); - } + before(grammarAccess.getGoOutAccess().getGoKeyword_0()); + match(input,27,FOLLOW_2); + after(grammarAccess.getGoOutAccess().getGoKeyword_0()); } @@ -13375,35 +4757,23 @@ public final void rule__Insert__CategoryAssignment_1() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__Insert__CategoryAssignment_1" + // $ANTLR end "rule__GoOut__Group__0__Impl" - // $ANTLR start "rule__Insert__ObjAssignment_2" - // InternalTqcl.g:4096:1: rule__Insert__ObjAssignment_2 : ( ruleNamedObj ) ; - public final void rule__Insert__ObjAssignment_2() throws RecognitionException { + // $ANTLR start "rule__GoOut__Group__1" + // InternalTqcl.g:1552:1: rule__GoOut__Group__1 : rule__GoOut__Group__1__Impl ; + public final void rule__GoOut__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4100:1: ( ( ruleNamedObj ) ) - // InternalTqcl.g:4101:2: ( ruleNamedObj ) + // InternalTqcl.g:1556:1: ( rule__GoOut__Group__1__Impl ) + // InternalTqcl.g:1557:2: rule__GoOut__Group__1__Impl { - // InternalTqcl.g:4101:2: ( ruleNamedObj ) - // InternalTqcl.g:4102:3: ruleNamedObj - { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getObjNamedObjParserRuleCall_2_0()); - } pushFollow(FOLLOW_2); - ruleNamedObj(); + rule__GoOut__Group__1__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getObjNamedObjParserRuleCall_2_0()); - } - - } } @@ -13420,30 +4790,36 @@ public final void rule__Insert__ObjAssignment_2() throws RecognitionException { } return ; } - // $ANTLR end "rule__Insert__ObjAssignment_2" + // $ANTLR end "rule__GoOut__Group__1" - // $ANTLR start "rule__Insert__NameAssignment_4" - // InternalTqcl.g:4111:1: rule__Insert__NameAssignment_4 : ( RULE_STRING ) ; - public final void rule__Insert__NameAssignment_4() throws RecognitionException { + // $ANTLR start "rule__GoOut__Group__1__Impl" + // InternalTqcl.g:1563:1: rule__GoOut__Group__1__Impl : ( ( rule__GoOut__DirectionAssignment_1 ) ) ; + public final void rule__GoOut__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4115:1: ( ( RULE_STRING ) ) - // InternalTqcl.g:4116:2: ( RULE_STRING ) + // InternalTqcl.g:1567:1: ( ( ( rule__GoOut__DirectionAssignment_1 ) ) ) + // InternalTqcl.g:1568:1: ( ( rule__GoOut__DirectionAssignment_1 ) ) { - // InternalTqcl.g:4116:2: ( RULE_STRING ) - // InternalTqcl.g:4117:3: RULE_STRING + // InternalTqcl.g:1568:1: ( ( rule__GoOut__DirectionAssignment_1 ) ) + // InternalTqcl.g:1569:2: ( rule__GoOut__DirectionAssignment_1 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); - } - match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); + before(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); + // InternalTqcl.g:1570:2: ( rule__GoOut__DirectionAssignment_1 ) + // InternalTqcl.g:1570:3: rule__GoOut__DirectionAssignment_1 + { + pushFollow(FOLLOW_2); + rule__GoOut__DirectionAssignment_1(); + + state._fsp--; + + } + after(grammarAccess.getGoOutAccess().getDirectionAssignment_1()); + } @@ -13461,35 +4837,28 @@ public final void rule__Insert__NameAssignment_4() throws RecognitionException { } return ; } - // $ANTLR end "rule__Insert__NameAssignment_4" + // $ANTLR end "rule__GoOut__Group__1__Impl" - // $ANTLR start "rule__Insert__ParametersAssignment_5_1" - // InternalTqcl.g:4126:1: rule__Insert__ParametersAssignment_5_1 : ( ruleParameter ) ; - public final void rule__Insert__ParametersAssignment_5_1() throws RecognitionException { + // $ANTLR start "rule__GoTop__Group__0" + // InternalTqcl.g:1579:1: rule__GoTop__Group__0 : rule__GoTop__Group__0__Impl rule__GoTop__Group__1 ; + public final void rule__GoTop__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4130:1: ( ( ruleParameter ) ) - // InternalTqcl.g:4131:2: ( ruleParameter ) - { - // InternalTqcl.g:4131:2: ( ruleParameter ) - // InternalTqcl.g:4132:3: ruleParameter + // InternalTqcl.g:1583:1: ( rule__GoTop__Group__0__Impl rule__GoTop__Group__1 ) + // InternalTqcl.g:1584:2: rule__GoTop__Group__0__Impl rule__GoTop__Group__1 { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); - } - pushFollow(FOLLOW_2); - ruleParameter(); + pushFollow(FOLLOW_19); + rule__GoTop__Group__0__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); - } - } + pushFollow(FOLLOW_2); + rule__GoTop__Group__1(); + + state._fsp--; } @@ -13506,33 +4875,25 @@ public final void rule__Insert__ParametersAssignment_5_1() throws RecognitionExc } return ; } - // $ANTLR end "rule__Insert__ParametersAssignment_5_1" + // $ANTLR end "rule__GoTop__Group__0" - // $ANTLR start "rule__Insert__ParametersAssignment_5_2_1" - // InternalTqcl.g:4141:1: rule__Insert__ParametersAssignment_5_2_1 : ( ruleParameter ) ; - public final void rule__Insert__ParametersAssignment_5_2_1() throws RecognitionException { + // $ANTLR start "rule__GoTop__Group__0__Impl" + // InternalTqcl.g:1591:1: rule__GoTop__Group__0__Impl : ( 'go' ) ; + public final void rule__GoTop__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4145:1: ( ( ruleParameter ) ) - // InternalTqcl.g:4146:2: ( ruleParameter ) + // InternalTqcl.g:1595:1: ( ( 'go' ) ) + // InternalTqcl.g:1596:1: ( 'go' ) { - // InternalTqcl.g:4146:2: ( ruleParameter ) - // InternalTqcl.g:4147:3: ruleParameter + // InternalTqcl.g:1596:1: ( 'go' ) + // InternalTqcl.g:1597:2: 'go' { - if ( state.backtracking==0 ) { - before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); - } - pushFollow(FOLLOW_2); - ruleParameter(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); - } + before(grammarAccess.getGoTopAccess().getGoKeyword_0()); + match(input,27,FOLLOW_2); + after(grammarAccess.getGoTopAccess().getGoKeyword_0()); } @@ -13551,35 +4912,23 @@ public final void rule__Insert__ParametersAssignment_5_2_1() throws RecognitionE } return ; } - // $ANTLR end "rule__Insert__ParametersAssignment_5_2_1" + // $ANTLR end "rule__GoTop__Group__0__Impl" - // $ANTLR start "rule__Set__ParamAssignment_1" - // InternalTqcl.g:4156:1: rule__Set__ParamAssignment_1 : ( ruleParameter ) ; - public final void rule__Set__ParamAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoTop__Group__1" + // InternalTqcl.g:1606:1: rule__GoTop__Group__1 : rule__GoTop__Group__1__Impl ; + public final void rule__GoTop__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4160:1: ( ( ruleParameter ) ) - // InternalTqcl.g:4161:2: ( ruleParameter ) - { - // InternalTqcl.g:4161:2: ( ruleParameter ) - // InternalTqcl.g:4162:3: ruleParameter + // InternalTqcl.g:1610:1: ( rule__GoTop__Group__1__Impl ) + // InternalTqcl.g:1611:2: rule__GoTop__Group__1__Impl { - if ( state.backtracking==0 ) { - before(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); - } pushFollow(FOLLOW_2); - ruleParameter(); + rule__GoTop__Group__1__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); - } - - } } @@ -13596,34 +4945,36 @@ public final void rule__Set__ParamAssignment_1() throws RecognitionException { } return ; } - // $ANTLR end "rule__Set__ParamAssignment_1" + // $ANTLR end "rule__GoTop__Group__1" - // $ANTLR start "rule__Connect__FromAssignment_1" - // InternalTqcl.g:4171:1: rule__Connect__FromAssignment_1 : ( ruleConnectionPort ) ; - public final void rule__Connect__FromAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoTop__Group__1__Impl" + // InternalTqcl.g:1617:1: rule__GoTop__Group__1__Impl : ( ( rule__GoTop__DirectionAssignment_1 ) ) ; + public final void rule__GoTop__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4175:1: ( ( ruleConnectionPort ) ) - // InternalTqcl.g:4176:2: ( ruleConnectionPort ) + // InternalTqcl.g:1621:1: ( ( ( rule__GoTop__DirectionAssignment_1 ) ) ) + // InternalTqcl.g:1622:1: ( ( rule__GoTop__DirectionAssignment_1 ) ) { - // InternalTqcl.g:4176:2: ( ruleConnectionPort ) - // InternalTqcl.g:4177:3: ruleConnectionPort + // InternalTqcl.g:1622:1: ( ( rule__GoTop__DirectionAssignment_1 ) ) + // InternalTqcl.g:1623:2: ( rule__GoTop__DirectionAssignment_1 ) + { + before(grammarAccess.getGoTopAccess().getDirectionAssignment_1()); + // InternalTqcl.g:1624:2: ( rule__GoTop__DirectionAssignment_1 ) + // InternalTqcl.g:1624:3: rule__GoTop__DirectionAssignment_1 { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); - } pushFollow(FOLLOW_2); - ruleConnectionPort(); + rule__GoTop__DirectionAssignment_1(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); + + } + after(grammarAccess.getGoTopAccess().getDirectionAssignment_1()); + } @@ -13641,35 +4992,28 @@ public final void rule__Connect__FromAssignment_1() throws RecognitionException } return ; } - // $ANTLR end "rule__Connect__FromAssignment_1" + // $ANTLR end "rule__GoTop__Group__1__Impl" - // $ANTLR start "rule__Connect__FromAssignment_2_1" - // InternalTqcl.g:4186:1: rule__Connect__FromAssignment_2_1 : ( ruleConnectionPort ) ; - public final void rule__Connect__FromAssignment_2_1() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__0" + // InternalTqcl.g:1633:1: rule__Parameter__Group__0 : rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ; + public final void rule__Parameter__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4190:1: ( ( ruleConnectionPort ) ) - // InternalTqcl.g:4191:2: ( ruleConnectionPort ) - { - // InternalTqcl.g:4191:2: ( ruleConnectionPort ) - // InternalTqcl.g:4192:3: ruleConnectionPort + // InternalTqcl.g:1637:1: ( rule__Parameter__Group__0__Impl rule__Parameter__Group__1 ) + // InternalTqcl.g:1638:2: rule__Parameter__Group__0__Impl rule__Parameter__Group__1 { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); - } - pushFollow(FOLLOW_2); - ruleConnectionPort(); + pushFollow(FOLLOW_20); + rule__Parameter__Group__0__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); - } - } + pushFollow(FOLLOW_2); + rule__Parameter__Group__1(); + + state._fsp--; } @@ -13686,34 +5030,36 @@ public final void rule__Connect__FromAssignment_2_1() throws RecognitionExceptio } return ; } - // $ANTLR end "rule__Connect__FromAssignment_2_1" + // $ANTLR end "rule__Parameter__Group__0" - // $ANTLR start "rule__Connect__ToAssignment_4" - // InternalTqcl.g:4201:1: rule__Connect__ToAssignment_4 : ( ruleConnectionPort ) ; - public final void rule__Connect__ToAssignment_4() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__0__Impl" + // InternalTqcl.g:1645:1: rule__Parameter__Group__0__Impl : ( ( rule__Parameter__IdAssignment_0 ) ) ; + public final void rule__Parameter__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4205:1: ( ( ruleConnectionPort ) ) - // InternalTqcl.g:4206:2: ( ruleConnectionPort ) + // InternalTqcl.g:1649:1: ( ( ( rule__Parameter__IdAssignment_0 ) ) ) + // InternalTqcl.g:1650:1: ( ( rule__Parameter__IdAssignment_0 ) ) { - // InternalTqcl.g:4206:2: ( ruleConnectionPort ) - // InternalTqcl.g:4207:3: ruleConnectionPort + // InternalTqcl.g:1650:1: ( ( rule__Parameter__IdAssignment_0 ) ) + // InternalTqcl.g:1651:2: ( rule__Parameter__IdAssignment_0 ) + { + before(grammarAccess.getParameterAccess().getIdAssignment_0()); + // InternalTqcl.g:1652:2: ( rule__Parameter__IdAssignment_0 ) + // InternalTqcl.g:1652:3: rule__Parameter__IdAssignment_0 { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); - } pushFollow(FOLLOW_2); - ruleConnectionPort(); + rule__Parameter__IdAssignment_0(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); + + } + after(grammarAccess.getParameterAccess().getIdAssignment_0()); + } @@ -13731,35 +5077,28 @@ public final void rule__Connect__ToAssignment_4() throws RecognitionException { } return ; } - // $ANTLR end "rule__Connect__ToAssignment_4" + // $ANTLR end "rule__Parameter__Group__0__Impl" - // $ANTLR start "rule__Connect__ToAssignment_5_1" - // InternalTqcl.g:4216:1: rule__Connect__ToAssignment_5_1 : ( ruleConnectionPort ) ; - public final void rule__Connect__ToAssignment_5_1() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__1" + // InternalTqcl.g:1660:1: rule__Parameter__Group__1 : rule__Parameter__Group__1__Impl rule__Parameter__Group__2 ; + public final void rule__Parameter__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4220:1: ( ( ruleConnectionPort ) ) - // InternalTqcl.g:4221:2: ( ruleConnectionPort ) + // InternalTqcl.g:1664:1: ( rule__Parameter__Group__1__Impl rule__Parameter__Group__2 ) + // InternalTqcl.g:1665:2: rule__Parameter__Group__1__Impl rule__Parameter__Group__2 { - // InternalTqcl.g:4221:2: ( ruleConnectionPort ) - // InternalTqcl.g:4222:3: ruleConnectionPort - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); - } - pushFollow(FOLLOW_2); - ruleConnectionPort(); + pushFollow(FOLLOW_7); + rule__Parameter__Group__1__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); - } - } + pushFollow(FOLLOW_2); + rule__Parameter__Group__2(); + + state._fsp--; } @@ -13776,41 +5115,25 @@ public final void rule__Connect__ToAssignment_5_1() throws RecognitionException } return ; } - // $ANTLR end "rule__Connect__ToAssignment_5_1" + // $ANTLR end "rule__Parameter__Group__1" - // $ANTLR start "rule__GoInto__DirectionAssignment_1" - // InternalTqcl.g:4231:1: rule__GoInto__DirectionAssignment_1 : ( ( 'into' ) ) ; - public final void rule__GoInto__DirectionAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__1__Impl" + // InternalTqcl.g:1672:1: rule__Parameter__Group__1__Impl : ( '=' ) ; + public final void rule__Parameter__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4235:1: ( ( ( 'into' ) ) ) - // InternalTqcl.g:4236:2: ( ( 'into' ) ) + // InternalTqcl.g:1676:1: ( ( '=' ) ) + // InternalTqcl.g:1677:1: ( '=' ) { - // InternalTqcl.g:4236:2: ( ( 'into' ) ) - // InternalTqcl.g:4237:3: ( 'into' ) + // InternalTqcl.g:1677:1: ( '=' ) + // InternalTqcl.g:1678:2: '=' { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - } - // InternalTqcl.g:4238:3: ( 'into' ) - // InternalTqcl.g:4239:4: 'into' - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - } - match(input,40,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - } - - } - - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - } + before(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); + match(input,28,FOLLOW_2); + after(grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); } @@ -13829,35 +5152,23 @@ public final void rule__GoInto__DirectionAssignment_1() throws RecognitionExcept } return ; } - // $ANTLR end "rule__GoInto__DirectionAssignment_1" + // $ANTLR end "rule__Parameter__Group__1__Impl" - // $ANTLR start "rule__GoInto__ObjAssignment_2" - // InternalTqcl.g:4250:1: rule__GoInto__ObjAssignment_2 : ( ruleNamedObj ) ; - public final void rule__GoInto__ObjAssignment_2() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__2" + // InternalTqcl.g:1687:1: rule__Parameter__Group__2 : rule__Parameter__Group__2__Impl ; + public final void rule__Parameter__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4254:1: ( ( ruleNamedObj ) ) - // InternalTqcl.g:4255:2: ( ruleNamedObj ) + // InternalTqcl.g:1691:1: ( rule__Parameter__Group__2__Impl ) + // InternalTqcl.g:1692:2: rule__Parameter__Group__2__Impl { - // InternalTqcl.g:4255:2: ( ruleNamedObj ) - // InternalTqcl.g:4256:3: ruleNamedObj - { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); - } pushFollow(FOLLOW_2); - ruleNamedObj(); + rule__Parameter__Group__2__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); - } - - } } @@ -13874,42 +5185,36 @@ public final void rule__GoInto__ObjAssignment_2() throws RecognitionException { } return ; } - // $ANTLR end "rule__GoInto__ObjAssignment_2" + // $ANTLR end "rule__Parameter__Group__2" - // $ANTLR start "rule__GoOut__DirectionAssignment_1" - // InternalTqcl.g:4265:1: rule__GoOut__DirectionAssignment_1 : ( ( 'out' ) ) ; - public final void rule__GoOut__DirectionAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Parameter__Group__2__Impl" + // InternalTqcl.g:1698:1: rule__Parameter__Group__2__Impl : ( ( rule__Parameter__ValueAssignment_2 ) ) ; + public final void rule__Parameter__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4269:1: ( ( ( 'out' ) ) ) - // InternalTqcl.g:4270:2: ( ( 'out' ) ) + // InternalTqcl.g:1702:1: ( ( ( rule__Parameter__ValueAssignment_2 ) ) ) + // InternalTqcl.g:1703:1: ( ( rule__Parameter__ValueAssignment_2 ) ) { - // InternalTqcl.g:4270:2: ( ( 'out' ) ) - // InternalTqcl.g:4271:3: ( 'out' ) + // InternalTqcl.g:1703:1: ( ( rule__Parameter__ValueAssignment_2 ) ) + // InternalTqcl.g:1704:2: ( rule__Parameter__ValueAssignment_2 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); - } - // InternalTqcl.g:4272:3: ( 'out' ) - // InternalTqcl.g:4273:4: 'out' + before(grammarAccess.getParameterAccess().getValueAssignment_2()); + // InternalTqcl.g:1705:2: ( rule__Parameter__ValueAssignment_2 ) + // InternalTqcl.g:1705:3: rule__Parameter__ValueAssignment_2 { - if ( state.backtracking==0 ) { - before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); - } - match(input,41,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); - } + pushFollow(FOLLOW_2); + rule__Parameter__ValueAssignment_2(); + + state._fsp--; - } - if ( state.backtracking==0 ) { - after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } + after(grammarAccess.getParameterAccess().getValueAssignment_2()); + } @@ -13927,35 +5232,28 @@ public final void rule__GoOut__DirectionAssignment_1() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__GoOut__DirectionAssignment_1" + // $ANTLR end "rule__Parameter__Group__2__Impl" - // $ANTLR start "rule__Parameter__IdAssignment_0" - // InternalTqcl.g:4284:1: rule__Parameter__IdAssignment_0 : ( ruleNamedObj ) ; - public final void rule__Parameter__IdAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__0" + // InternalTqcl.g:1714:1: rule__ConnectionPort__Group__0 : rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 ; + public final void rule__ConnectionPort__Group__0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4288:1: ( ( ruleNamedObj ) ) - // InternalTqcl.g:4289:2: ( ruleNamedObj ) + // InternalTqcl.g:1718:1: ( rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 ) + // InternalTqcl.g:1719:2: rule__ConnectionPort__Group__0__Impl rule__ConnectionPort__Group__1 { - // InternalTqcl.g:4289:2: ( ruleNamedObj ) - // InternalTqcl.g:4290:3: ruleNamedObj - { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0()); - } + pushFollow(FOLLOW_21); + rule__ConnectionPort__Group__0__Impl(); + + state._fsp--; + pushFollow(FOLLOW_2); - ruleNamedObj(); + rule__ConnectionPort__Group__1(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0()); - } - - } } @@ -13972,30 +5270,36 @@ public final void rule__Parameter__IdAssignment_0() throws RecognitionException } return ; } - // $ANTLR end "rule__Parameter__IdAssignment_0" + // $ANTLR end "rule__ConnectionPort__Group__0" - // $ANTLR start "rule__Parameter__ValueAssignment_2" - // InternalTqcl.g:4299:1: rule__Parameter__ValueAssignment_2 : ( RULE_STRING ) ; - public final void rule__Parameter__ValueAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__0__Impl" + // InternalTqcl.g:1726:1: rule__ConnectionPort__Group__0__Impl : ( ( rule__ConnectionPort__ActorAssignment_0 ) ) ; + public final void rule__ConnectionPort__Group__0__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4303:1: ( ( RULE_STRING ) ) - // InternalTqcl.g:4304:2: ( RULE_STRING ) + // InternalTqcl.g:1730:1: ( ( ( rule__ConnectionPort__ActorAssignment_0 ) ) ) + // InternalTqcl.g:1731:1: ( ( rule__ConnectionPort__ActorAssignment_0 ) ) { - // InternalTqcl.g:4304:2: ( RULE_STRING ) - // InternalTqcl.g:4305:3: RULE_STRING + // InternalTqcl.g:1731:1: ( ( rule__ConnectionPort__ActorAssignment_0 ) ) + // InternalTqcl.g:1732:2: ( rule__ConnectionPort__ActorAssignment_0 ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); - } - match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); + before(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); + // InternalTqcl.g:1733:2: ( rule__ConnectionPort__ActorAssignment_0 ) + // InternalTqcl.g:1733:3: rule__ConnectionPort__ActorAssignment_0 + { + pushFollow(FOLLOW_2); + rule__ConnectionPort__ActorAssignment_0(); + + state._fsp--; + + } + after(grammarAccess.getConnectionPortAccess().getActorAssignment_0()); + } @@ -14013,43 +5317,28 @@ public final void rule__Parameter__ValueAssignment_2() throws RecognitionExcepti } return ; } - // $ANTLR end "rule__Parameter__ValueAssignment_2" + // $ANTLR end "rule__ConnectionPort__Group__0__Impl" - // $ANTLR start "rule__ConnectionPort__ActorAssignment_0" - // InternalTqcl.g:4314:1: rule__ConnectionPort__ActorAssignment_0 : ( ( RULE_ID ) ) ; - public final void rule__ConnectionPort__ActorAssignment_0() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__1" + // InternalTqcl.g:1741:1: rule__ConnectionPort__Group__1 : rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 ; + public final void rule__ConnectionPort__Group__1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4318:1: ( ( ( RULE_ID ) ) ) - // InternalTqcl.g:4319:2: ( ( RULE_ID ) ) - { - // InternalTqcl.g:4319:2: ( ( RULE_ID ) ) - // InternalTqcl.g:4320:3: ( RULE_ID ) - { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); - } - // InternalTqcl.g:4321:3: ( RULE_ID ) - // InternalTqcl.g:4322:4: RULE_ID + // InternalTqcl.g:1745:1: ( rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 ) + // InternalTqcl.g:1746:2: rule__ConnectionPort__Group__1__Impl rule__ConnectionPort__Group__2 { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); - } - match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); - } + pushFollow(FOLLOW_17); + rule__ConnectionPort__Group__1__Impl(); - } + state._fsp--; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); - } + pushFollow(FOLLOW_2); + rule__ConnectionPort__Group__2(); - } + state._fsp--; } @@ -14066,33 +5355,25 @@ public final void rule__ConnectionPort__ActorAssignment_0() throws RecognitionEx } return ; } - // $ANTLR end "rule__ConnectionPort__ActorAssignment_0" + // $ANTLR end "rule__ConnectionPort__Group__1" - // $ANTLR start "rule__ConnectionPort__PortAssignment_2" - // InternalTqcl.g:4333:1: rule__ConnectionPort__PortAssignment_2 : ( ruleNamedObj ) ; - public final void rule__ConnectionPort__PortAssignment_2() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__1__Impl" + // InternalTqcl.g:1753:1: rule__ConnectionPort__Group__1__Impl : ( '.' ) ; + public final void rule__ConnectionPort__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4337:1: ( ( ruleNamedObj ) ) - // InternalTqcl.g:4338:2: ( ruleNamedObj ) + // InternalTqcl.g:1757:1: ( ( '.' ) ) + // InternalTqcl.g:1758:1: ( '.' ) { - // InternalTqcl.g:4338:2: ( ruleNamedObj ) - // InternalTqcl.g:4339:3: ruleNamedObj + // InternalTqcl.g:1758:1: ( '.' ) + // InternalTqcl.g:1759:2: '.' { - if ( state.backtracking==0 ) { - before(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); - } - pushFollow(FOLLOW_2); - ruleNamedObj(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); - } + before(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); + match(input,29,FOLLOW_2); + after(grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); } @@ -14111,35 +5392,23 @@ public final void rule__ConnectionPort__PortAssignment_2() throws RecognitionExc } return ; } - // $ANTLR end "rule__ConnectionPort__PortAssignment_2" + // $ANTLR end "rule__ConnectionPort__Group__1__Impl" - // $ANTLR start "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0" - // InternalTqcl.g:4348:1: rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0 : ( ruleJvmTypeReference ) ; - public final void rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__2" + // InternalTqcl.g:1768:1: rule__ConnectionPort__Group__2 : rule__ConnectionPort__Group__2__Impl ; + public final void rule__ConnectionPort__Group__2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4352:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4353:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1772:1: ( rule__ConnectionPort__Group__2__Impl ) + // InternalTqcl.g:1773:2: rule__ConnectionPort__Group__2__Impl { - // InternalTqcl.g:4353:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4354:3: ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); - } pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + rule__ConnectionPort__Group__2__Impl(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); - } - - } } @@ -14156,34 +5425,36 @@ public final void rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0() throws Re } return ; } - // $ANTLR end "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_0" + // $ANTLR end "rule__ConnectionPort__Group__2" - // $ANTLR start "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1" - // InternalTqcl.g:4363:1: rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1 : ( ruleJvmTypeReference ) ; - public final void rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__Group__2__Impl" + // InternalTqcl.g:1779:1: rule__ConnectionPort__Group__2__Impl : ( ( rule__ConnectionPort__PortAssignment_2 ) ) ; + public final void rule__ConnectionPort__Group__2__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4367:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4368:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1783:1: ( ( ( rule__ConnectionPort__PortAssignment_2 ) ) ) + // InternalTqcl.g:1784:1: ( ( rule__ConnectionPort__PortAssignment_2 ) ) { - // InternalTqcl.g:4368:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4369:3: ruleJvmTypeReference + // InternalTqcl.g:1784:1: ( ( rule__ConnectionPort__PortAssignment_2 ) ) + // InternalTqcl.g:1785:2: ( rule__ConnectionPort__PortAssignment_2 ) + { + before(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); + // InternalTqcl.g:1786:2: ( rule__ConnectionPort__PortAssignment_2 ) + // InternalTqcl.g:1786:3: rule__ConnectionPort__PortAssignment_2 { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); - } pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + rule__ConnectionPort__PortAssignment_2(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); + + } + after(grammarAccess.getConnectionPortAccess().getPortAssignment_2()); + } @@ -14201,33 +5472,29 @@ public final void rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1() throws } return ; } - // $ANTLR end "rule__XFunctionTypeRef__ParamTypesAssignment_0_1_1_1" + // $ANTLR end "rule__ConnectionPort__Group__2__Impl" - // $ANTLR start "rule__XFunctionTypeRef__ReturnTypeAssignment_2" - // InternalTqcl.g:4378:1: rule__XFunctionTypeRef__ReturnTypeAssignment_2 : ( ruleJvmTypeReference ) ; - public final void rule__XFunctionTypeRef__ReturnTypeAssignment_2() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__LibrariesAssignment_0" + // InternalTqcl.g:1795:1: rule__TriquetrumScript__LibrariesAssignment_0 : ( ruleLibrary ) ; + public final void rule__TriquetrumScript__LibrariesAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4382:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4383:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1799:1: ( ( ruleLibrary ) ) + // InternalTqcl.g:1800:2: ( ruleLibrary ) { - // InternalTqcl.g:4383:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4384:3: ruleJvmTypeReference + // InternalTqcl.g:1800:2: ( ruleLibrary ) + // InternalTqcl.g:1801:3: ruleLibrary { - if ( state.backtracking==0 ) { - before(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); - } + before(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + ruleLibrary(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); - } + + after(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); } @@ -14246,45 +5513,29 @@ public final void rule__XFunctionTypeRef__ReturnTypeAssignment_2() throws Recogn } return ; } - // $ANTLR end "rule__XFunctionTypeRef__ReturnTypeAssignment_2" + // $ANTLR end "rule__TriquetrumScript__LibrariesAssignment_0" - // $ANTLR start "rule__JvmParameterizedTypeReference__TypeAssignment_0" - // InternalTqcl.g:4393:1: rule__JvmParameterizedTypeReference__TypeAssignment_0 : ( ( ruleQualifiedName ) ) ; - public final void rule__JvmParameterizedTypeReference__TypeAssignment_0() throws RecognitionException { + // $ANTLR start "rule__TriquetrumScript__CommandsAssignment_1" + // InternalTqcl.g:1810:1: rule__TriquetrumScript__CommandsAssignment_1 : ( ruleCommand ) ; + public final void rule__TriquetrumScript__CommandsAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4397:1: ( ( ( ruleQualifiedName ) ) ) - // InternalTqcl.g:4398:2: ( ( ruleQualifiedName ) ) - { - // InternalTqcl.g:4398:2: ( ( ruleQualifiedName ) ) - // InternalTqcl.g:4399:3: ( ruleQualifiedName ) + // InternalTqcl.g:1814:1: ( ( ruleCommand ) ) + // InternalTqcl.g:1815:2: ( ruleCommand ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); - } - // InternalTqcl.g:4400:3: ( ruleQualifiedName ) - // InternalTqcl.g:4401:4: ruleQualifiedName + // InternalTqcl.g:1815:2: ( ruleCommand ) + // InternalTqcl.g:1816:3: ruleCommand { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeQualifiedNameParserRuleCall_0_0_1()); - } + before(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleQualifiedName(); + ruleCommand(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeQualifiedNameParserRuleCall_0_0_1()); - } - - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); - } + after(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); } @@ -14303,33 +5554,25 @@ public final void rule__JvmParameterizedTypeReference__TypeAssignment_0() throws } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__TypeAssignment_0" + // $ANTLR end "rule__TriquetrumScript__CommandsAssignment_1" - // $ANTLR start "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1" - // InternalTqcl.g:4412:1: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1 : ( ruleJvmArgumentTypeReference ) ; - public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1() throws RecognitionException { + // $ANTLR start "rule__Include__FilenameAssignment_1" + // InternalTqcl.g:1825:1: rule__Include__FilenameAssignment_1 : ( RULE_STRING ) ; + public final void rule__Include__FilenameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4416:1: ( ( ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:4417:2: ( ruleJvmArgumentTypeReference ) + // InternalTqcl.g:1829:1: ( ( RULE_STRING ) ) + // InternalTqcl.g:1830:2: ( RULE_STRING ) { - // InternalTqcl.g:4417:2: ( ruleJvmArgumentTypeReference ) - // InternalTqcl.g:4418:3: ruleJvmArgumentTypeReference + // InternalTqcl.g:1830:2: ( RULE_STRING ) + // InternalTqcl.g:1831:3: RULE_STRING { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); - } - pushFollow(FOLLOW_2); - ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); - } + before(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); } @@ -14348,33 +5591,25 @@ public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1() } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_1" + // $ANTLR end "rule__Include__FilenameAssignment_1" - // $ANTLR start "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1" - // InternalTqcl.g:4427:1: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 : ( ruleJvmArgumentTypeReference ) ; - public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1() throws RecognitionException { + // $ANTLR start "rule__Library__NameAssignment_1" + // InternalTqcl.g:1840:1: rule__Library__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__Library__NameAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4431:1: ( ( ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:4432:2: ( ruleJvmArgumentTypeReference ) + // InternalTqcl.g:1844:1: ( ( RULE_ID ) ) + // InternalTqcl.g:1845:2: ( RULE_ID ) { - // InternalTqcl.g:4432:2: ( ruleJvmArgumentTypeReference ) - // InternalTqcl.g:4433:3: ruleJvmArgumentTypeReference + // InternalTqcl.g:1845:2: ( RULE_ID ) + // InternalTqcl.g:1846:3: RULE_ID { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); - } - pushFollow(FOLLOW_2); - ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); - } + before(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); } @@ -14393,45 +5628,29 @@ public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1 } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_2_1" + // $ANTLR end "rule__Library__NameAssignment_1" - // $ANTLR start "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1" - // InternalTqcl.g:4442:1: rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1 : ( ( ruleValidID ) ) ; - public final void rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1() throws RecognitionException { + // $ANTLR start "rule__Insert__CategoryAssignment_1" + // InternalTqcl.g:1855:1: rule__Insert__CategoryAssignment_1 : ( ruleCategory ) ; + public final void rule__Insert__CategoryAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4446:1: ( ( ( ruleValidID ) ) ) - // InternalTqcl.g:4447:2: ( ( ruleValidID ) ) + // InternalTqcl.g:1859:1: ( ( ruleCategory ) ) + // InternalTqcl.g:1860:2: ( ruleCategory ) { - // InternalTqcl.g:4447:2: ( ( ruleValidID ) ) - // InternalTqcl.g:4448:3: ( ruleValidID ) + // InternalTqcl.g:1860:2: ( ruleCategory ) + // InternalTqcl.g:1861:3: ruleCategory { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); - } - // InternalTqcl.g:4449:3: ( ruleValidID ) - // InternalTqcl.g:4450:4: ruleValidID - { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeValidIDParserRuleCall_1_4_1_0_1()); - } + before(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleValidID(); + ruleCategory(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeValidIDParserRuleCall_1_4_1_0_1()); - } - - } - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); - } + after(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); } @@ -14450,33 +5669,25 @@ public final void rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1() th } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__TypeAssignment_1_4_1" + // $ANTLR end "rule__Insert__CategoryAssignment_1" - // $ANTLR start "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1" - // InternalTqcl.g:4461:1: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1 : ( ruleJvmArgumentTypeReference ) ; - public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1() throws RecognitionException { + // $ANTLR start "rule__Insert__EntityClassAssignment_2" + // InternalTqcl.g:1870:1: rule__Insert__EntityClassAssignment_2 : ( RULE_ENTITY_CLASS ) ; + public final void rule__Insert__EntityClassAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4465:1: ( ( ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:4466:2: ( ruleJvmArgumentTypeReference ) + // InternalTqcl.g:1874:1: ( ( RULE_ENTITY_CLASS ) ) + // InternalTqcl.g:1875:2: ( RULE_ENTITY_CLASS ) { - // InternalTqcl.g:4466:2: ( ruleJvmArgumentTypeReference ) - // InternalTqcl.g:4467:3: ruleJvmArgumentTypeReference + // InternalTqcl.g:1875:2: ( RULE_ENTITY_CLASS ) + // InternalTqcl.g:1876:3: RULE_ENTITY_CLASS { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); - } - pushFollow(FOLLOW_2); - ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); - } + before(grammarAccess.getInsertAccess().getEntityClassENTITY_CLASSTerminalRuleCall_2_0()); + match(input,RULE_ENTITY_CLASS,FOLLOW_2); + after(grammarAccess.getInsertAccess().getEntityClassENTITY_CLASSTerminalRuleCall_2_0()); } @@ -14495,33 +5706,25 @@ public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2 } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_1" + // $ANTLR end "rule__Insert__EntityClassAssignment_2" - // $ANTLR start "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1" - // InternalTqcl.g:4476:1: rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1 : ( ruleJvmArgumentTypeReference ) ; - public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1() throws RecognitionException { + // $ANTLR start "rule__Insert__NameAssignment_4" + // InternalTqcl.g:1885:1: rule__Insert__NameAssignment_4 : ( RULE_STRING ) ; + public final void rule__Insert__NameAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4480:1: ( ( ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:4481:2: ( ruleJvmArgumentTypeReference ) + // InternalTqcl.g:1889:1: ( ( RULE_STRING ) ) + // InternalTqcl.g:1890:2: ( RULE_STRING ) { - // InternalTqcl.g:4481:2: ( ruleJvmArgumentTypeReference ) - // InternalTqcl.g:4482:3: ruleJvmArgumentTypeReference + // InternalTqcl.g:1890:2: ( RULE_STRING ) + // InternalTqcl.g:1891:3: RULE_STRING { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); - } - pushFollow(FOLLOW_2); - ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); - } + before(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); } @@ -14540,33 +5743,29 @@ public final void rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2 } return ; } - // $ANTLR end "rule__JvmParameterizedTypeReference__ArgumentsAssignment_1_4_2_2_1" + // $ANTLR end "rule__Insert__NameAssignment_4" - // $ANTLR start "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0" - // InternalTqcl.g:4491:1: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0 : ( ruleJvmUpperBound ) ; - public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0() throws RecognitionException { + // $ANTLR start "rule__Insert__ParametersAssignment_5_1" + // InternalTqcl.g:1900:1: rule__Insert__ParametersAssignment_5_1 : ( ruleParameter ) ; + public final void rule__Insert__ParametersAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4495:1: ( ( ruleJvmUpperBound ) ) - // InternalTqcl.g:4496:2: ( ruleJvmUpperBound ) + // InternalTqcl.g:1904:1: ( ( ruleParameter ) ) + // InternalTqcl.g:1905:2: ( ruleParameter ) { - // InternalTqcl.g:4496:2: ( ruleJvmUpperBound ) - // InternalTqcl.g:4497:3: ruleJvmUpperBound + // InternalTqcl.g:1905:2: ( ruleParameter ) + // InternalTqcl.g:1906:3: ruleParameter { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); - } + before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); pushFollow(FOLLOW_2); - ruleJvmUpperBound(); + ruleParameter(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); - } + + after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); } @@ -14585,33 +5784,29 @@ public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0() } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_0" + // $ANTLR end "rule__Insert__ParametersAssignment_5_1" - // $ANTLR start "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1" - // InternalTqcl.g:4506:1: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1 : ( ruleJvmUpperBoundAnded ) ; - public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1() throws RecognitionException { + // $ANTLR start "rule__Insert__ParametersAssignment_5_2_1" + // InternalTqcl.g:1915:1: rule__Insert__ParametersAssignment_5_2_1 : ( ruleParameter ) ; + public final void rule__Insert__ParametersAssignment_5_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4510:1: ( ( ruleJvmUpperBoundAnded ) ) - // InternalTqcl.g:4511:2: ( ruleJvmUpperBoundAnded ) + // InternalTqcl.g:1919:1: ( ( ruleParameter ) ) + // InternalTqcl.g:1920:2: ( ruleParameter ) { - // InternalTqcl.g:4511:2: ( ruleJvmUpperBoundAnded ) - // InternalTqcl.g:4512:3: ruleJvmUpperBoundAnded + // InternalTqcl.g:1920:2: ( ruleParameter ) + // InternalTqcl.g:1921:3: ruleParameter { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); - } + before(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); pushFollow(FOLLOW_2); - ruleJvmUpperBoundAnded(); + ruleParameter(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); - } + + after(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); } @@ -14630,33 +5825,29 @@ public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1() } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_0_1" + // $ANTLR end "rule__Insert__ParametersAssignment_5_2_1" - // $ANTLR start "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0" - // InternalTqcl.g:4521:1: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0 : ( ruleJvmLowerBound ) ; - public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0() throws RecognitionException { + // $ANTLR start "rule__Set__ParamAssignment_1" + // InternalTqcl.g:1930:1: rule__Set__ParamAssignment_1 : ( ruleParameter ) ; + public final void rule__Set__ParamAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4525:1: ( ( ruleJvmLowerBound ) ) - // InternalTqcl.g:4526:2: ( ruleJvmLowerBound ) + // InternalTqcl.g:1934:1: ( ( ruleParameter ) ) + // InternalTqcl.g:1935:2: ( ruleParameter ) { - // InternalTqcl.g:4526:2: ( ruleJvmLowerBound ) - // InternalTqcl.g:4527:3: ruleJvmLowerBound + // InternalTqcl.g:1935:2: ( ruleParameter ) + // InternalTqcl.g:1936:3: ruleParameter { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); - } + before(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleJvmLowerBound(); + ruleParameter(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); - } + + after(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); } @@ -14675,33 +5866,29 @@ public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0() } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_0" + // $ANTLR end "rule__Set__ParamAssignment_1" - // $ANTLR start "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1" - // InternalTqcl.g:4536:1: rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1 : ( ruleJvmLowerBoundAnded ) ; - public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1() throws RecognitionException { + // $ANTLR start "rule__Connect__FromAssignment_1" + // InternalTqcl.g:1945:1: rule__Connect__FromAssignment_1 : ( ruleConnectionPort ) ; + public final void rule__Connect__FromAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4540:1: ( ( ruleJvmLowerBoundAnded ) ) - // InternalTqcl.g:4541:2: ( ruleJvmLowerBoundAnded ) + // InternalTqcl.g:1949:1: ( ( ruleConnectionPort ) ) + // InternalTqcl.g:1950:2: ( ruleConnectionPort ) { - // InternalTqcl.g:4541:2: ( ruleJvmLowerBoundAnded ) - // InternalTqcl.g:4542:3: ruleJvmLowerBoundAnded + // InternalTqcl.g:1950:2: ( ruleConnectionPort ) + // InternalTqcl.g:1951:3: ruleConnectionPort { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); - } + before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); pushFollow(FOLLOW_2); - ruleJvmLowerBoundAnded(); + ruleConnectionPort(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); - } + + after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); } @@ -14720,33 +5907,29 @@ public final void rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1() } return ; } - // $ANTLR end "rule__JvmWildcardTypeReference__ConstraintsAssignment_2_1_1" + // $ANTLR end "rule__Connect__FromAssignment_1" - // $ANTLR start "rule__JvmUpperBound__TypeReferenceAssignment_1" - // InternalTqcl.g:4551:1: rule__JvmUpperBound__TypeReferenceAssignment_1 : ( ruleJvmTypeReference ) ; - public final void rule__JvmUpperBound__TypeReferenceAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Connect__FromAssignment_2_1" + // InternalTqcl.g:1960:1: rule__Connect__FromAssignment_2_1 : ( ruleConnectionPort ) ; + public final void rule__Connect__FromAssignment_2_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4555:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4556:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1964:1: ( ( ruleConnectionPort ) ) + // InternalTqcl.g:1965:2: ( ruleConnectionPort ) { - // InternalTqcl.g:4556:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4557:3: ruleJvmTypeReference + // InternalTqcl.g:1965:2: ( ruleConnectionPort ) + // InternalTqcl.g:1966:3: ruleConnectionPort { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + before(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + ruleConnectionPort(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + + after(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); } @@ -14765,33 +5948,29 @@ public final void rule__JvmUpperBound__TypeReferenceAssignment_1() throws Recogn } return ; } - // $ANTLR end "rule__JvmUpperBound__TypeReferenceAssignment_1" + // $ANTLR end "rule__Connect__FromAssignment_2_1" - // $ANTLR start "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1" - // InternalTqcl.g:4566:1: rule__JvmUpperBoundAnded__TypeReferenceAssignment_1 : ( ruleJvmTypeReference ) ; - public final void rule__JvmUpperBoundAnded__TypeReferenceAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Connect__ToAssignment_4" + // InternalTqcl.g:1975:1: rule__Connect__ToAssignment_4 : ( ruleConnectionPort ) ; + public final void rule__Connect__ToAssignment_4() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4570:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4571:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1979:1: ( ( ruleConnectionPort ) ) + // InternalTqcl.g:1980:2: ( ruleConnectionPort ) { - // InternalTqcl.g:4571:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4572:3: ruleJvmTypeReference + // InternalTqcl.g:1980:2: ( ruleConnectionPort ) + // InternalTqcl.g:1981:3: ruleConnectionPort { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + ruleConnectionPort(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + + after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); } @@ -14810,33 +5989,29 @@ public final void rule__JvmUpperBoundAnded__TypeReferenceAssignment_1() throws R } return ; } - // $ANTLR end "rule__JvmUpperBoundAnded__TypeReferenceAssignment_1" + // $ANTLR end "rule__Connect__ToAssignment_4" - // $ANTLR start "rule__JvmLowerBound__TypeReferenceAssignment_1" - // InternalTqcl.g:4581:1: rule__JvmLowerBound__TypeReferenceAssignment_1 : ( ruleJvmTypeReference ) ; - public final void rule__JvmLowerBound__TypeReferenceAssignment_1() throws RecognitionException { + // $ANTLR start "rule__Connect__ToAssignment_5_1" + // InternalTqcl.g:1990:1: rule__Connect__ToAssignment_5_1 : ( ruleConnectionPort ) ; + public final void rule__Connect__ToAssignment_5_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4585:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4586:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:1994:1: ( ( ruleConnectionPort ) ) + // InternalTqcl.g:1995:2: ( ruleConnectionPort ) { - // InternalTqcl.g:4586:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4587:3: ruleJvmTypeReference + // InternalTqcl.g:1995:2: ( ruleConnectionPort ) + // InternalTqcl.g:1996:3: ruleConnectionPort { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + before(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + ruleConnectionPort(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } + + after(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); } @@ -14855,34 +6030,34 @@ public final void rule__JvmLowerBound__TypeReferenceAssignment_1() throws Recogn } return ; } - // $ANTLR end "rule__JvmLowerBound__TypeReferenceAssignment_1" + // $ANTLR end "rule__Connect__ToAssignment_5_1" - // $ANTLR start "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1" - // InternalTqcl.g:4596:1: rule__JvmLowerBoundAnded__TypeReferenceAssignment_1 : ( ruleJvmTypeReference ) ; - public final void rule__JvmLowerBoundAnded__TypeReferenceAssignment_1() throws RecognitionException { + // $ANTLR start "rule__GoInto__DirectionAssignment_1" + // InternalTqcl.g:2005:1: rule__GoInto__DirectionAssignment_1 : ( ( 'into' ) ) ; + public final void rule__GoInto__DirectionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4600:1: ( ( ruleJvmTypeReference ) ) - // InternalTqcl.g:4601:2: ( ruleJvmTypeReference ) + // InternalTqcl.g:2009:1: ( ( ( 'into' ) ) ) + // InternalTqcl.g:2010:2: ( ( 'into' ) ) { - // InternalTqcl.g:4601:2: ( ruleJvmTypeReference ) - // InternalTqcl.g:4602:3: ruleJvmTypeReference + // InternalTqcl.g:2010:2: ( ( 'into' ) ) + // InternalTqcl.g:2011:3: ( 'into' ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } - pushFollow(FOLLOW_2); - ruleJvmTypeReference(); + before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); + // InternalTqcl.g:2012:3: ( 'into' ) + // InternalTqcl.g:2013:4: 'into' + { + before(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); + match(input,30,FOLLOW_2); + after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); } + after(grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); + } @@ -14900,41 +6075,29 @@ public final void rule__JvmLowerBoundAnded__TypeReferenceAssignment_1() throws R } return ; } - // $ANTLR end "rule__JvmLowerBoundAnded__TypeReferenceAssignment_1" + // $ANTLR end "rule__GoInto__DirectionAssignment_1" - // $ANTLR start "rule__XImportDeclaration__StaticAssignment_1_0_0" - // InternalTqcl.g:4611:1: rule__XImportDeclaration__StaticAssignment_1_0_0 : ( ( 'static' ) ) ; - public final void rule__XImportDeclaration__StaticAssignment_1_0_0() throws RecognitionException { + // $ANTLR start "rule__GoInto__ObjAssignment_2" + // InternalTqcl.g:2024:1: rule__GoInto__ObjAssignment_2 : ( ruleNamedObj ) ; + public final void rule__GoInto__ObjAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4615:1: ( ( ( 'static' ) ) ) - // InternalTqcl.g:4616:2: ( ( 'static' ) ) - { - // InternalTqcl.g:4616:2: ( ( 'static' ) ) - // InternalTqcl.g:4617:3: ( 'static' ) + // InternalTqcl.g:2028:1: ( ( ruleNamedObj ) ) + // InternalTqcl.g:2029:2: ( ruleNamedObj ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); - } - // InternalTqcl.g:4618:3: ( 'static' ) - // InternalTqcl.g:4619:4: 'static' + // InternalTqcl.g:2029:2: ( ruleNamedObj ) + // InternalTqcl.g:2030:3: ruleNamedObj { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); - } - match(input,42,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); - } + before(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleNamedObj(); - } + state._fsp--; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); - } + after(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); } @@ -14953,41 +6116,33 @@ public final void rule__XImportDeclaration__StaticAssignment_1_0_0() throws Reco } return ; } - // $ANTLR end "rule__XImportDeclaration__StaticAssignment_1_0_0" + // $ANTLR end "rule__GoInto__ObjAssignment_2" - // $ANTLR start "rule__XImportDeclaration__ExtensionAssignment_1_0_1" - // InternalTqcl.g:4630:1: rule__XImportDeclaration__ExtensionAssignment_1_0_1 : ( ( 'extension' ) ) ; - public final void rule__XImportDeclaration__ExtensionAssignment_1_0_1() throws RecognitionException { + // $ANTLR start "rule__GoOut__DirectionAssignment_1" + // InternalTqcl.g:2039:1: rule__GoOut__DirectionAssignment_1 : ( ( 'out' ) ) ; + public final void rule__GoOut__DirectionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4634:1: ( ( ( 'extension' ) ) ) - // InternalTqcl.g:4635:2: ( ( 'extension' ) ) + // InternalTqcl.g:2043:1: ( ( ( 'out' ) ) ) + // InternalTqcl.g:2044:2: ( ( 'out' ) ) { - // InternalTqcl.g:4635:2: ( ( 'extension' ) ) - // InternalTqcl.g:4636:3: ( 'extension' ) + // InternalTqcl.g:2044:2: ( ( 'out' ) ) + // InternalTqcl.g:2045:3: ( 'out' ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); - } - // InternalTqcl.g:4637:3: ( 'extension' ) - // InternalTqcl.g:4638:4: 'extension' + before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); + // InternalTqcl.g:2046:3: ( 'out' ) + // InternalTqcl.g:2047:4: 'out' { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); - } - match(input,43,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); - } + before(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); + match(input,31,FOLLOW_2); + after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); - } + after(grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); } @@ -15006,45 +6161,33 @@ public final void rule__XImportDeclaration__ExtensionAssignment_1_0_1() throws R } return ; } - // $ANTLR end "rule__XImportDeclaration__ExtensionAssignment_1_0_1" + // $ANTLR end "rule__GoOut__DirectionAssignment_1" - // $ANTLR start "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2" - // InternalTqcl.g:4649:1: rule__XImportDeclaration__ImportedTypeAssignment_1_0_2 : ( ( ruleQualifiedNameInStaticImport ) ) ; - public final void rule__XImportDeclaration__ImportedTypeAssignment_1_0_2() throws RecognitionException { + // $ANTLR start "rule__GoTop__DirectionAssignment_1" + // InternalTqcl.g:2058:1: rule__GoTop__DirectionAssignment_1 : ( ( 'top' ) ) ; + public final void rule__GoTop__DirectionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4653:1: ( ( ( ruleQualifiedNameInStaticImport ) ) ) - // InternalTqcl.g:4654:2: ( ( ruleQualifiedNameInStaticImport ) ) + // InternalTqcl.g:2062:1: ( ( ( 'top' ) ) ) + // InternalTqcl.g:2063:2: ( ( 'top' ) ) { - // InternalTqcl.g:4654:2: ( ( ruleQualifiedNameInStaticImport ) ) - // InternalTqcl.g:4655:3: ( ruleQualifiedNameInStaticImport ) + // InternalTqcl.g:2063:2: ( ( 'top' ) ) + // InternalTqcl.g:2064:3: ( 'top' ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); - } - // InternalTqcl.g:4656:3: ( ruleQualifiedNameInStaticImport ) - // InternalTqcl.g:4657:4: ruleQualifiedNameInStaticImport + before(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); + // InternalTqcl.g:2065:3: ( 'top' ) + // InternalTqcl.g:2066:4: 'top' { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameInStaticImportParserRuleCall_1_0_2_0_1()); - } - pushFollow(FOLLOW_2); - ruleQualifiedNameInStaticImport(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameInStaticImportParserRuleCall_1_0_2_0_1()); - } + before(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); + match(input,32,FOLLOW_2); + after(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); - } + after(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); } @@ -15063,41 +6206,29 @@ public final void rule__XImportDeclaration__ImportedTypeAssignment_1_0_2() throw } return ; } - // $ANTLR end "rule__XImportDeclaration__ImportedTypeAssignment_1_0_2" + // $ANTLR end "rule__GoTop__DirectionAssignment_1" - // $ANTLR start "rule__XImportDeclaration__WildcardAssignment_1_0_3_0" - // InternalTqcl.g:4668:1: rule__XImportDeclaration__WildcardAssignment_1_0_3_0 : ( ( '*' ) ) ; - public final void rule__XImportDeclaration__WildcardAssignment_1_0_3_0() throws RecognitionException { + // $ANTLR start "rule__Parameter__IdAssignment_0" + // InternalTqcl.g:2077:1: rule__Parameter__IdAssignment_0 : ( ruleParameter_id ) ; + public final void rule__Parameter__IdAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4672:1: ( ( ( '*' ) ) ) - // InternalTqcl.g:4673:2: ( ( '*' ) ) - { - // InternalTqcl.g:4673:2: ( ( '*' ) ) - // InternalTqcl.g:4674:3: ( '*' ) + // InternalTqcl.g:2081:1: ( ( ruleParameter_id ) ) + // InternalTqcl.g:2082:2: ( ruleParameter_id ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); - } - // InternalTqcl.g:4675:3: ( '*' ) - // InternalTqcl.g:4676:4: '*' + // InternalTqcl.g:2082:2: ( ruleParameter_id ) + // InternalTqcl.g:2083:3: ruleParameter_id { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); - } - match(input,38,FOLLOW_2); if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); - } + before(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleParameter_id(); - } + state._fsp--; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); - } + after(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0()); } @@ -15116,33 +6247,25 @@ public final void rule__XImportDeclaration__WildcardAssignment_1_0_3_0() throws } return ; } - // $ANTLR end "rule__XImportDeclaration__WildcardAssignment_1_0_3_0" + // $ANTLR end "rule__Parameter__IdAssignment_0" - // $ANTLR start "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1" - // InternalTqcl.g:4687:1: rule__XImportDeclaration__MemberNameAssignment_1_0_3_1 : ( ruleValidID ) ; - public final void rule__XImportDeclaration__MemberNameAssignment_1_0_3_1() throws RecognitionException { + // $ANTLR start "rule__Parameter__ValueAssignment_2" + // InternalTqcl.g:2092:1: rule__Parameter__ValueAssignment_2 : ( RULE_STRING ) ; + public final void rule__Parameter__ValueAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4691:1: ( ( ruleValidID ) ) - // InternalTqcl.g:4692:2: ( ruleValidID ) + // InternalTqcl.g:2096:1: ( ( RULE_STRING ) ) + // InternalTqcl.g:2097:2: ( RULE_STRING ) { - // InternalTqcl.g:4692:2: ( ruleValidID ) - // InternalTqcl.g:4693:3: ruleValidID + // InternalTqcl.g:2097:2: ( RULE_STRING ) + // InternalTqcl.g:2098:3: RULE_STRING { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); - } - pushFollow(FOLLOW_2); - ruleValidID(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); - } + before(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); } @@ -15161,45 +6284,33 @@ public final void rule__XImportDeclaration__MemberNameAssignment_1_0_3_1() throw } return ; } - // $ANTLR end "rule__XImportDeclaration__MemberNameAssignment_1_0_3_1" + // $ANTLR end "rule__Parameter__ValueAssignment_2" - // $ANTLR start "rule__XImportDeclaration__ImportedTypeAssignment_1_1" - // InternalTqcl.g:4702:1: rule__XImportDeclaration__ImportedTypeAssignment_1_1 : ( ( ruleQualifiedName ) ) ; - public final void rule__XImportDeclaration__ImportedTypeAssignment_1_1() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__ActorAssignment_0" + // InternalTqcl.g:2107:1: rule__ConnectionPort__ActorAssignment_0 : ( ( RULE_ID ) ) ; + public final void rule__ConnectionPort__ActorAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4706:1: ( ( ( ruleQualifiedName ) ) ) - // InternalTqcl.g:4707:2: ( ( ruleQualifiedName ) ) + // InternalTqcl.g:2111:1: ( ( ( RULE_ID ) ) ) + // InternalTqcl.g:2112:2: ( ( RULE_ID ) ) { - // InternalTqcl.g:4707:2: ( ( ruleQualifiedName ) ) - // InternalTqcl.g:4708:3: ( ruleQualifiedName ) + // InternalTqcl.g:2112:2: ( ( RULE_ID ) ) + // InternalTqcl.g:2113:3: ( RULE_ID ) { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); - } - // InternalTqcl.g:4709:3: ( ruleQualifiedName ) - // InternalTqcl.g:4710:4: ruleQualifiedName + before(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); + // InternalTqcl.g:2114:3: ( RULE_ID ) + // InternalTqcl.g:2115:4: RULE_ID { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameParserRuleCall_1_1_0_1()); - } - pushFollow(FOLLOW_2); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeQualifiedNameParserRuleCall_1_1_0_1()); - } + before(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getConnectionPortAccess().getActorInsertIDTerminalRuleCall_0_0_1()); } - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); - } + after(grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); } @@ -15218,33 +6329,29 @@ public final void rule__XImportDeclaration__ImportedTypeAssignment_1_1() throws } return ; } - // $ANTLR end "rule__XImportDeclaration__ImportedTypeAssignment_1_1" + // $ANTLR end "rule__ConnectionPort__ActorAssignment_0" - // $ANTLR start "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2" - // InternalTqcl.g:4721:1: rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 : ( ruleQualifiedNameWithWildcard ) ; - public final void rule__XImportDeclaration__ImportedNamespaceAssignment_1_2() throws RecognitionException { + // $ANTLR start "rule__ConnectionPort__PortAssignment_2" + // InternalTqcl.g:2126:1: rule__ConnectionPort__PortAssignment_2 : ( ruleNamedObj ) ; + public final void rule__ConnectionPort__PortAssignment_2() throws RecognitionException { int stackSize = keepStackSize(); try { - // InternalTqcl.g:4725:1: ( ( ruleQualifiedNameWithWildcard ) ) - // InternalTqcl.g:4726:2: ( ruleQualifiedNameWithWildcard ) + // InternalTqcl.g:2130:1: ( ( ruleNamedObj ) ) + // InternalTqcl.g:2131:2: ( ruleNamedObj ) { - // InternalTqcl.g:4726:2: ( ruleQualifiedNameWithWildcard ) - // InternalTqcl.g:4727:3: ruleQualifiedNameWithWildcard + // InternalTqcl.g:2131:2: ( ruleNamedObj ) + // InternalTqcl.g:2132:3: ruleNamedObj { - if ( state.backtracking==0 ) { - before(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); - } + before(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); pushFollow(FOLLOW_2); - ruleQualifiedNameWithWildcard(); + ruleNamedObj(); state._fsp--; - if (state.failed) return ; - if ( state.backtracking==0 ) { - after(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); - } + + after(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); } @@ -15263,90 +6370,33 @@ public final void rule__XImportDeclaration__ImportedNamespaceAssignment_1_2() th } return ; } - // $ANTLR end "rule__XImportDeclaration__ImportedNamespaceAssignment_1_2" + // $ANTLR end "rule__ConnectionPort__PortAssignment_2" // Delegated rules - protected DFA7 dfa7 = new DFA7(this); - static final String dfa_1s = "\7\uffff"; - static final String dfa_2s = "\2\uffff\1\4\3\uffff\1\4"; - static final String dfa_3s = "\1\4\1\uffff\1\16\1\4\2\uffff\1\16"; - static final String dfa_4s = "\1\52\1\uffff\1\32\1\46\2\uffff\1\32"; - 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\45\uffff\1\1", - "", - "\1\4\13\uffff\1\3", - "\1\6\41\uffff\1\5", - "", - "", - "\1\4\13\uffff\1\3" - }; - - static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); - static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s); - static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); - static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s); - static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); - static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s); - static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s); - - class DFA7 extends DFA { - - public DFA7(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 7; - this.eot = dfa_1; - this.eof = dfa_2; - this.min = dfa_3; - this.max = dfa_4; - this.accept = dfa_5; - this.special = dfa_6; - this.transition = dfa_7; - } - public String getDescription() { - return "889:1: rule__XImportDeclaration__Alternatives_1 : ( ( ( rule__XImportDeclaration__Group_1_0__0 ) ) | ( ( rule__XImportDeclaration__ImportedTypeAssignment_1_1 ) ) | ( ( rule__XImportDeclaration__ImportedNamespaceAssignment_1_2 ) ) );"; - } - } public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000012L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000001628000L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000010002L}); - public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000001628002L}); - public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000003C30L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000100000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000100002L}); - public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000900000L}); - public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000008000002L}); - public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000020000000L}); - public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000060000010L}); - public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x00000000E0000010L}); - public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000460000010L}); - public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000200100000L}); - public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000004000002L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000002800000000L}); - public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000001000000002L}); - public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000040000000010L}); - public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000080000000010L}); - public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000004000000010L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000000000B140000L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000080002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000000B140002L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x000000000001E080L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000004800000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000060L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000020000000L}); } \ No newline at end of file diff --git a/org.eclipse.triquetrum.commands.xtext.tests/src/test/xtend-gen/org/eclipse/triquetrum/commands/tests/.TqclParsingTest.xtendbin b/org.eclipse.triquetrum.commands.xtext.tests/src/test/xtend-gen/org/eclipse/triquetrum/commands/tests/.TqclParsingTest.xtendbin index 2acc6028beb838cb8eda7c58463b37d64827e06c..08bbaf6c1f2f7b000c2917f7b94c0797e692810b 100644 GIT binary patch delta 70 zcmdllwqJ}dz?+#xgn@&DgCQhL&1)myZx$91V>2&n1v7-z$?=U5%$nTHWd>pF<+6h? I{&P710CaQ{IsgCw delta 70 zcmdllwqJ}dz?+#xgn@&DgTcpVp65os-z+R3#%5mD3T6nalj9pBm^HbX%M8NU%Vh^) I{O5820J%;Tm;e9( diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/AbstractTqclUiModule.java b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/AbstractTqclUiModule.java index f3777d31..b640d320 100644 --- a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/AbstractTqclUiModule.java +++ b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/AbstractTqclUiModule.java @@ -36,7 +36,6 @@ import org.eclipse.xtext.builder.impl.PersistentDataAwareDirtyResource; import org.eclipse.xtext.builder.nature.NatureAddingEditorCallback; import org.eclipse.xtext.builder.preferences.BuilderPreferenceAccess; -import org.eclipse.xtext.common.types.ui.DefaultCommonTypesUiModule; import org.eclipse.xtext.generator.IContextualOutputConfigurationProvider; import org.eclipse.xtext.ide.LexerIdeBindings; import org.eclipse.xtext.ide.editor.contentassist.antlr.IContentAssistParser; @@ -49,6 +48,7 @@ import org.eclipse.xtext.resource.containers.IAllContainersState; import org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider; import org.eclipse.xtext.service.SingletonBinding; +import org.eclipse.xtext.ui.DefaultUiModule; import org.eclipse.xtext.ui.codetemplates.ui.AccessibleCodetemplatesActivator; import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.IPartialEditingContentAssistContextFactory; import org.eclipse.xtext.ui.codetemplates.ui.partialEditing.PartialEditingContentAssistContextFactory; @@ -89,7 +89,7 @@ * Manual modifications go to {@link TqclUiModule}. */ @SuppressWarnings("all") -public abstract class AbstractTqclUiModule extends DefaultCommonTypesUiModule { +public abstract class AbstractTqclUiModule extends DefaultUiModule { public AbstractTqclUiModule(AbstractUIPlugin plugin) { super(plugin); @@ -141,6 +141,11 @@ public void configureContentAssistLexerProvider(Binder binder) { binder.bind(InternalTqclLexer.class).toProvider(LexerProvider.create(InternalTqclLexer.class)); } + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 + public Class bindPrefixMatcher() { + return FQNPrefixMatcher.class; + } + // contributed by org.eclipse.xtext.xtext.generator.exporting.QualifiedNamesFragment2 public Class bindIDependentElementsCalculator() { return DefaultDependentElementsCalculator.class; @@ -245,11 +250,6 @@ public Class bindIRenameRefactoringProvide return DefaultRenameSupport.Factory.class; } - // contributed by org.eclipse.xtext.xtext.generator.types.TypesGeneratorFragment2 - public Class bindPrefixMatcher() { - return FQNPrefixMatcher.class; - } - // contributed by org.eclipse.xtext.xtext.generator.ui.templates.CodetemplatesGeneratorFragment2 public Provider provideTemplatesLanguageConfiguration() { return AccessibleCodetemplatesActivator.getTemplatesLanguageConfigurationProvider(); diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/contentassist/AbstractTqclProposalProvider.java b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/contentassist/AbstractTqclProposalProvider.java index abc3bf66..d24d24f5 100644 --- a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/contentassist/AbstractTqclProposalProvider.java +++ b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java-gen/org/eclipse/triquetrum/commands/ui/contentassist/AbstractTqclProposalProvider.java @@ -16,16 +16,16 @@ import org.eclipse.xtext.Assignment; import org.eclipse.xtext.CrossReference; import org.eclipse.xtext.RuleCall; +import org.eclipse.xtext.common.ui.contentassist.TerminalsProposalProvider; import org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext; import org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor; -import org.eclipse.xtext.xbase.ui.contentassist.XtypeProposalProvider; /** - * Represents a generated, default implementation of superclass {@link XtypeProposalProvider}. + * Represents a generated, default implementation of superclass {@link TerminalsProposalProvider}. * Methods are dynamically dispatched on the first parameter, i.e., you can override them * with a more concrete subtype. */ -public abstract class AbstractTqclProposalProvider extends XtypeProposalProvider { +public abstract class AbstractTqclProposalProvider extends TerminalsProposalProvider { public void completeTriquetrumScript_Libraries(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); @@ -42,7 +42,7 @@ public void completeLibrary_Name(EObject model, Assignment assignment, ContentAs public void completeInsert_Category(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } - public void completeInsert_Obj(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + public void completeInsert_EntityClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } public void completeInsert_Name(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { @@ -69,6 +69,9 @@ public void completeGoInto_Obj(EObject model, Assignment assignment, ContentAssi public void completeGoOut_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void completeGoTop_Direction(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void completeParameter_Id(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { completeRuleCall(((RuleCall)assignment.getTerminal()), context, acceptor); } @@ -109,15 +112,27 @@ public void complete_GoInto(EObject model, RuleCall ruleCall, ContentAssistConte public void complete_GoOut(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_GoTop(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_Category(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } public void complete_Parameter(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_Parameter_id(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } + public void complete_PARAMETER_NAME(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_NamedObj(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } + public void complete_ENTITY_CLASS(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + // subclasses may override + } public void complete_ConnectionPort(EObject model, RuleCall ruleCall, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { // subclasses may override } diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java/org/eclipse/triquetrum/commands/ui/contentassist/TqclProposalProvider.java b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java/org/eclipse/triquetrum/commands/ui/contentassist/TqclProposalProvider.java index a73f1da7..5452a95d 100644 --- a/org.eclipse.triquetrum.commands.xtext.ui/src/main/java/org/eclipse/triquetrum/commands/ui/contentassist/TqclProposalProvider.java +++ b/org.eclipse.triquetrum.commands.xtext.ui/src/main/java/org/eclipse/triquetrum/commands/ui/contentassist/TqclProposalProvider.java @@ -13,12 +13,10 @@ */ package org.eclipse.triquetrum.commands.ui.contentassist; -import java.text.MessageFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import java.util.Map.Entry; import org.apache.commons.lang.StringUtils; import org.eclipse.emf.common.util.EList; @@ -26,7 +24,6 @@ import org.eclipse.graphiti.features.ICreateFeature; import org.eclipse.jface.text.contentassist.ICompletionProposal; import org.eclipse.triquetrum.commands.api.TqCLServices; -import org.eclipse.triquetrum.commands.api.services.ActorDescriptor; import org.eclipse.triquetrum.commands.api.services.EntityDescriptor; import org.eclipse.triquetrum.commands.api.services.TqCLLibraryException; import org.eclipse.triquetrum.commands.api.services.TqCLLibraryProvider; @@ -47,7 +44,6 @@ import ptolemy.data.expr.Parameter; import ptolemy.kernel.Entity; import ptolemy.kernel.util.Attribute; -import ptolemy.kernel.util.NamedObj; import ptolemy.kernel.util.Settable.Visibility; /** @@ -73,10 +69,11 @@ private void initFeatureMap() { } } - @SuppressWarnings({ "rawtypes", "unchecked" }) @Override - public void completeInsert_Obj(EObject model, Assignment assignment, ContentAssistContext context, + @SuppressWarnings({ "rawtypes", "unchecked" }) + public void completeInsert_EntityClass(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) { + super.completeInsert_EntityClass(model, assignment, context, acceptor); try { Insert insert = (Insert) model; @@ -106,7 +103,7 @@ public void completeInsert_Obj(EObject model, Assignment assignment, ContentAssi } } for (EntityDescriptor key : descriptors) { - ICompletionProposal completionProposal = createCompletionProposal(key.getClazz(), context); + ICompletionProposal completionProposal = createCompletionProposal('<' + key.getClazz() + "> as ",key.getClazz(),null, context); acceptor.accept(completionProposal); } } catch (TqCLLibraryException e) { @@ -121,11 +118,11 @@ public void completeInsert_Name(EObject model, Assignment assignment, ContentAss if (model instanceof Insert) { Insert insert = (Insert) model; - String name = StringUtils.substringAfterLast(insert.getObj(), "."); - if (name.contains(" ")) { - name = "\"" + name + "\""; - } - ICompletionProposal completionProposal = createCompletionProposal(name, context); + String qualifiedName = insert.getEntityClass(); + String name = StringUtils.substringAfterLast(qualifiedName, "."); + name = name.replaceAll("<", ""); + name = name.replaceAll(">", ""); + ICompletionProposal completionProposal = createCompletionProposal('"'+name+'"',name,null , context); acceptor.accept(completionProposal); } } @@ -135,8 +132,8 @@ public void completeInsert_Parameters(EObject model, Assignment assignment, Cont ICompletionProposalAcceptor acceptor) { if (model instanceof Insert) { Insert insert = (Insert) model; - String name = insert.getObj(); - ModelElementCreateFeature modelElementCreateFeature = featuresMap.get(name.replaceAll("\"", "")); + String qualifiedName = insert.getEntityClass(); + ModelElementCreateFeature modelElementCreateFeature = featuresMap.get(qualifiedName.replaceAll("\"", "")); String wrappedClass = modelElementCreateFeature.getWrappedClass(); try { diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/.TqclUiModule.xtendbin b/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/.TqclUiModule.xtendbin index 20cceb4c248f440f7dc2125908b00d7c025ee404..f1833462a624735915ba1d2e7e33d35be0c45037 100644 GIT binary patch delta 876 zcmV-y1C#ud5c&@eP)h>@6aWYa2mpClCQ7jm%mM^?SSCu7-U29p6fqcnVZQ)L5I?vX zQ8xG$x2#J5xrm7%5Q&MRiJt6qy1QLF?a+4EfrCa9e}o7BfoHGA81<}2|9~gY#+&W1 z<8H)7SYw>SJ8d)X^SsZ~C-d?vD1}3vOh&Pdh#D0I zB_e|W3tzX`BZjmhD8Njh2HwQ34Yk@(yA7pn$TqBR5PpZPNk8I=2;l=jpH;WmgSy3= zUV{?TA#S#Bi_ zB{5KFQ5qO(Pi zt-zqETX*Y!lKXLZWdYpN*Br35->vK#Gk2@ z?O|m$j*}+$9MK!_2%L~?A}4D>?8FB0H7RS{s>w6q?%pnf*34-~Ch5o+$T|u3#j&vT zd6|SI{ta?sR95PmHDa);a6p?>_NUC;kZzf-`9~WDn7L$AwIrEBG z2x+j3uP$OjsMb>HeQ@QH1i80|-9BT%3{3u+#K#7=@pB1&t~-7*`-o4gIN~N^`}F(3 zbL^>8_^G}_9SD|epBQ_G-`Mc)7S`36q$wZrsK$hW!`RbC*^oqR=V;eBZaeA98CTA_ za?X{1^Zz6g-K-is2+*E>9ZMA-(6=;D1x?i^BlhHYid5VA-TeyHVc@6aWYa2mpClCQ1Oa83sB51bJ8{N|RRyHVt`LCQ6%|nt@6aWYa2mtn0pGmO}%mM`VR-Z|e-U29p)Ib;>*e^g5Bq#?H zBgzK9V#~S&kc*fI0&!!aXrd>l?d9*`fTx8c6dwAPU`##V6JbgN^zM-6wXjRCXMO;P$MXU%&1ePR9gwiEeK%}Ay2-nwl zh@_a&UF7Z-Y;L*iF0BYJWU&bDA%q6Bx|KfE zt=w`N#DxxVYmGPF{qgsWmbee-*?$%{ZI{q;9Uxe;?PjxoxyNh3VxG8PaC<{j+^cNv z1Vl~S_Qtkd0~!n|pwZ6RBh5J8W?aLnUco`G@a65h$%mgZXmAycFoC^Q z?1GT%Xc+2$+TFTfUKCtiM&=l34(U2*uJj~|>Pe<9&CTP*MRK_`>yX)!S8^7v%#};7 zH(xI4#qvTF#ZBgzP+RCRGD5PkoU8`X69dZEgs3sCCQrHf_WHt4W==aYaYqJF)=1DN zhPkHCi#RONZ;)f7vO?9g5yMr9ebN;25uhGUOAp3)mq!#uTUKZo-$?1l+&i1 zF=e`sm?d#Fw`Ei2`uzxn7^u))X1=wz>jf~ocw*j(+Nt3z<8UhLilhy|w21f?~ G0000Pa+;q2 diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclDescriptionLabelProvider.xtendbin b/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclDescriptionLabelProvider.xtendbin index 4e874605e980ed59afdb88b29041b2fd156284ba..b9421743bf53e8e74824bfb8164d5ae1ff5a17e4 100644 GIT binary patch delta 70 zcmcb}cae`Tz?+#xgn@&DgCQ(T&1)lHJrfIvv3VlX2PmtRm4^{5HhC(W8H913%?`p4 HWOo1nZNL%^ delta 70 zcmcb}cae`Tz?+#xgn@&DgW+4)e9w)1^-L@v#^#AkAE2yORvt#M*yO2fW)Q}CHaiGI Hklg_QHPslN diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclLabelProvider.xtendbin b/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/labeling/.TqclLabelProvider.xtendbin index a630a5c8ab42e8fc44d4eb40b57a4eb3396ac9ed..60500af3888fb2f58416f59d1e63738d56f4348e 100644 GIT binary patch delta 70 zcmeAX>Jj1#@MdNaVc_84U>!LY G91Z|NixJ-d delta 70 zcmeAX>Jj1#@MdNaVc_84VE7g`-*Y2hH!}-}v3V}D8I*OMt&|ZgHaUR948rK*u!Atp Ha5w+}3ZNKo diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/outline/.TqclOutlineTreeProvider.xtendbin b/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/outline/.TqclOutlineTreeProvider.xtendbin index 42aec906275770537b37bfca055ceded706d2ad7..9316df6d30d832f5740b1f16b6b1f186ed821cc6 100644 GIT binary patch delta 70 zcmX@cdyJPaz?+#xgn@&DgCQ(T&1)lH9TN+Pv3UYh8kF^mg@+L=Hkpgf48m|>vx6|& G*c<>)X%RdC delta 70 zcmX@cdyJPaz?+#xgn@&DgW+4)e9w)1bxbTE#^wo3X;9WL79K{h*kmp?GYG?l%?`q7 HV{-ri7k(Ga diff --git a/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/quickfix/.TqclQuickfixProvider.xtendbin b/org.eclipse.triquetrum.commands.xtext.ui/src/main/xtend-gen/org/eclipse/triquetrum/commands/ui/quickfix/.TqclQuickfixProvider.xtendbin index 8147400dc485448d6cf00a272bb8cea44e95ee41..acaa5d4eac1e2a30e185770cbcbaf099b0d151d1 100644 GIT binary patch delta 70 zcmZ3^yPTIVz?+#xgn@&DgCQ(T&1)lHA`=UUvALKj1 - + @@ -37,10 +37,10 @@ - - - - + + + + diff --git a/org.eclipse.triquetrum.commands.xtext/model/generated/Tqcl.genmodel b/org.eclipse.triquetrum.commands.xtext/model/generated/Tqcl.genmodel index db73f875..f907eab0 100644 --- a/org.eclipse.triquetrum.commands.xtext/model/generated/Tqcl.genmodel +++ b/org.eclipse.triquetrum.commands.xtext/model/generated/Tqcl.genmodel @@ -7,10 +7,10 @@ - - - - + + + + @@ -25,7 +25,7 @@ - + diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/AbstractTqclRuntimeModule.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/AbstractTqclRuntimeModule.java index 9f6bb4c1..b7f4e71f 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/AbstractTqclRuntimeModule.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/AbstractTqclRuntimeModule.java @@ -27,8 +27,6 @@ import org.eclipse.triquetrum.commands.validation.TqclValidator; import org.eclipse.xtext.Constants; import org.eclipse.xtext.IGrammarAccess; -import org.eclipse.xtext.common.types.DefaultCommonTypesRuntimeModule; -import org.eclipse.xtext.common.types.xtext.TypesAwareDefaultGlobalScopeProvider; import org.eclipse.xtext.generator.IGenerator2; import org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider; import org.eclipse.xtext.naming.IQualifiedNameProvider; @@ -52,18 +50,20 @@ import org.eclipse.xtext.scoping.IScopeProvider; import org.eclipse.xtext.scoping.IgnoreCaseLinking; import org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider; +import org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider; import org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider; import org.eclipse.xtext.serializer.ISerializer; import org.eclipse.xtext.serializer.impl.Serializer; import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; import org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer; +import org.eclipse.xtext.service.DefaultRuntimeModule; import org.eclipse.xtext.service.SingletonBinding; /** * Manual modifications go to {@link TqclRuntimeModule}. */ @SuppressWarnings("all") -public abstract class AbstractTqclRuntimeModule extends DefaultCommonTypesRuntimeModule { +public abstract class AbstractTqclRuntimeModule extends DefaultRuntimeModule { protected Properties properties = null; @@ -160,6 +160,11 @@ public void configureIScopeProviderDelegate(Binder binder) { binder.bind(IScopeProvider.class).annotatedWith(Names.named(AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(ImportedNamespaceAwareLocalScopeProvider.class); } + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 + public Class bindIGlobalScopeProvider() { + return DefaultGlobalScopeProvider.class; + } + // contributed by org.eclipse.xtext.xtext.generator.scoping.ImportNamespacesScopingFragment2 public void configureIgnoreCaseLinking(Binder binder) { binder.bindConstant().annotatedWith(IgnoreCaseLinking.class).to(false); @@ -195,9 +200,4 @@ public Class bindIGenerator2() { return TqclGenerator.class; } - // contributed by org.eclipse.xtext.xtext.generator.types.TypesGeneratorFragment2 - public Class bindIGlobalScopeProvider() { - return TypesAwareDefaultGlobalScopeProvider.class; - } - } diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/Tqcl.xtextbin b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/Tqcl.xtextbin index 6ecfa34e66a2188e384e2e68520a8aa55c580ea5..0f1eb82c8ebd718f3318a1c1d966d88059dacd83 100644 GIT binary patch literal 3681 zcma)9cYGX26}~rfvsa|EEZa#SKnP9)IcSY(X^!7=K4cL!qzjHi$g#c~oz}kFJ@4*W zR_HyUH`4-y-h1z%hF(nXCG^lC)X?6W-91T8^84klnR)ZxH}8G#&70k;ba$~_Ik}vZ z09%*hxObjyFE1~T>t@I6MS464+xCv_+t0BtiS?2AHmC?2iW8yR?Yf~*zT4Gj5X1m3 z4!uKt9f$qycrzd!zZH$w4>dco(vNg2wTpxR5T~uRJHn?MlfWOZ>#*zjZYRobY3W7J z*U=uY)zW@FIH>&yRAp(+GA}_?GK=|sM<-s%y$e#sD?ObDS*+7IuNOtRt7Eqtv~)*7 zehW!-sQspHO=n_J(sOR}pxf4#IP+H6B0`z59d@l5g!;Cs*-)yb&^aM&X}KNGjV#R= zAcvYAH;TMPPlp8|%C+5Y?6T82QMT>c0OCD~Xf4oYG-T?scNasxjSs$hjwOHuI@a$HXCmUqq^K9wE53&DzAN?ZtP zP#&o+k#UnkpLhMXR;r^HK&UvKuFv&2zHb&Li2~gU1H!psjoIl;ro~@mz`x;NIkXev;C7ALIRf zg~*8l71X33L;f5nucv04IyZ$lFM~Lr016BB`N^3Hc|pd&PA30CrePQBZ3V={Yl#j? zCEkz4mjPB`sI=GXw74(#&AXALsKtZA#;*CR=NRs z+;5WEq)Zf(V^#oLut6C{EU~kI8b;J9l&wY1*7=kOnzvyC--1%cqs9K<5^18x2UnA) zMdE?<;DhPG=>{E4OjDh8sWyt}vtdAng-M@Sk0tg}yF+YOvh74pW+9msFd|~PeTF;?8%s66-(5{(shTRK>03_EIU@2_ja74U$hI@3C1us4Dd|0q^&Zc9Th{2cyigl= z@Cl?_%9bYAfKQ}ypul2!woHK=exJnrUP)KBLa)$deP5$G>MzIYJK zOH2=YDeGNBL66Ki^UidwUYl>s&?xa`1I?Ek^jC1Crvtu{?DF_3>i+m@7SU^gui*(j z7x-Ehzm8Y*VBqU{LN5lsfhY9T;2YDo2H(VrZ)P#uzlA4k|5g^ijaO{{cAl{PJ9yFn zd?#3h;JbN}ygGpINl2zl;CorV6Yzb+NAmGuD0%-t1MmZ!iZQyaA7tIL0Y7w0 zdH67sb2LdV;753MZPE*TpQ=mZN7I~qY|snL24&>q=2Cxx(2LC=5#lH547C^r-6YGO zV!Z1JZ={-N&{x15)wIMxP%;yIBVWgw-z5bZ2Y}xr4Vomhd_UdCA7ns3Oo4v1R_(_b z3?u!77uS=w`2|h<{WJ~uXUv~v+ax5?eomxG`~`vKBNE^*3C=QC&qVwy#z>NlzvlT3 zgjbjd=))zD_?r~+w+yLldmWw5L2mASeGs+xcMs z0kiREKH(S>2KX1A-$1T8v(s;B>Bt1m$)_csZb05q%!XqT zK+#LI!70!QrA4o!`LB%wcZvi_)#A_}LiYAL=Eoo_A@m%94Gi#lycTc38}TMQj7RZm Nyatcql~g$b{twV4KYIWG literal 5926 zcma)AcYGYh71r$B?lqlcSq6*&V~lZ;jn)DTrWnmw7DC37j3lrq##!C1q_yvM&wG28 zWgtKZJrH_NZ={jldrwF&r1ymM-h1-BnY}wn$oX-9Xm@Ac`(A%DPq(|-XW91j^mM12FM8#Q+ZlwD_9+`TZnnoF_h9r4NDP~$`a-8vazexOosxSJAnI^Y z={(O<=sui~o^HmIkF=P2`zJnya^WeAxmByl(vYS{^a3?(9 zt(@-_3a&pI>~sAJGjmh3J`)U9~J7IyG;6*dWdNb`7-ID7^6*JAO)CKO$bPyIy>wr_Ny2c8YVU}s6S(Y9-)=ZBK zV=TuEBRjBTPtVZ6K=0rvZ(-apd6FesS<>nYgKD_}%ol-++a0WprLq_Kkylg!GSg5} zMPo7Tci4bs?Swnhz+FUPg}` zWE{hia~Zl#ek`-*uYvYB%?Tds$a+d_Lp3-doE!L+#B!D}jyG5nUw4=+P`PTWTt(F& zR49oRU^)RziH-l4iE1M7?d{G1=i&j1as|9*(h8Bhm8C0LCcD!KD{k0G=CSE9o`nU1ZYujgFXEV~2WAV(|;#riQXCsM>ZqvAeodfTgTUbkL&lG%= zhl_?Cf6_J0qB{|tOIhVG%L={8si>R24lyPKYcYkSFZ>Z(>E%)^_t48KCbrRY4;Ffv zX&4=*CC(#;K3WEtIG|zY=JR0GU@!s5w5tpd2tzrprDdnEH3_L5DxSUvb$E>@&Vu9M%Jk~1|tJp&!KSqUo zK|(-3i{d04)|!-gs$iWlVmtox72n`l5$g& zOR(#rGLm#_Q1uI3cp7joX|zab)Yyd@`xIsoqEa}@TpWB%lpvucnq5T}vR(Mf4LU3V zYo6PsIu_8WOgim{PVIAal77L3VqvTpl&B~rBC>Zi6V-*qA83eYVp?$=T+kIWB=%73 ziXFjp-4$1AiB~mT(b$C+S1ZhCLkp`?g#($mW?@aPZD=B{gCmfiPY=j*NQ>)Z;~R2f zf^7trB)la67vQoZUgiDgnu6CF-GLK6V3)_o#RCf7M#Vn}4L1?hL%Nzx@i3}cm+&JCSoCOYk$6GP{ujpfzi0vK7uW57 ziMAh-NZ3miGl>x|Q%1j>jDCeS`juq#@yh5v7e;$|8HUcxJlk7vE|voyhXidTjV(;P ziljY8xu+PmqUG*$qY4+V2C%x8h}S4-uO($JW8!u6+^uzD;`PM-IN009&a3*WFT^sr zcmoiYbMZ!~#&K%SCqO2>3CIcYX6?m{0$j<-YPO8Da) zHD|t)*pN)`T8R4Hni}-)A+mLNc`si07Ub3Yh#_=wR{DgmddB-}^yKo##N%tlnAk0* z#C~x|TrWOAmd3|o{aEJWgE|Nwq98Qx2Xz8i`eEh6k3gWh%PUbIg(#$v_*l){k7N7k zb@>U9p;0pN$-`Cdr-)*|3Q3oE0xB+>b3E_zqN!R_=i<}#xPC@?|FdB3V&Ze;9h_F5 zr)LMSHi<6)sdcO$852e$u8J)eU(`YU5(TvlL7lS=L%&Q)t~c8~#WwrGr`!HlNY^KU z+#a*eBH`kz8vSd8encI876~MLU8(&I=$X_)nD{16y@dD{HcattI5Am?aLLSDyc@;) z9ir3=aN>7Kziu<5&W;L>F-`P65H;37_kF{Bw0}g=UaU$^E2!zv zAAU?WJ_Q?(ofC(Ce?+OJUB<;v>XG;$gU@d=+E(W?QDF|_mkqO&EhY(*(FCthx-TnxcF<`xW6g=|E{9;4^nw06aS7mAO_wfm3(UE)9RrJbxPhfH$=kI_-lj?3uoJ3Pm=Qi$vPCXILbZ+7=l+p==#?Wb zkAOmQF_%Xo9ZfW!`4lW6k5X<}s@q4V=#7U?=*8_+9*v;NWx!7DP#ZH`9uq?zOOTiY z;te1jr~JGe{z_?>877ZM!ql6ZTmiVvaO4T(Q=J}irIwto*{3>zJdp&iBEdcSKNwt| z6boJ*3ywD+c#Se)Ey9+R>xi)fjLCitH(>Y)RP(U6P)nWzyCS zAWhfq$snAeYLPV8$S$@x-RoCNjiE5z6BFrSP|}=3zCP7RSiMBrWM*xl&3*k zQ*L7IM-k}`57!N+IIEYL&2D2|o^F^qg&7kznP{&yXd74VAhh6g1tQOYMV4BFt2eWD zQ=VyULl8~~}lE6`Z2?+S8|E6moCOx`A189|WMp znJki#olMgBWzsD{(bLpL4x^t8Y7QyK4%t6f*-$GB$_fa06fhZq0x#N_YP>HG)PSaA zAR49WWHdp+W-ap&eOw6#Bt~3VeO0Xb)nv70+gOCD&xWa7UIVa11qla-Q&FTw=s?h(AnlQ+~00gb?tjW0R=`!vni!j<~SKLEj z_W~@{@8^rvg3IN7G2H!eZp9k_e?S@VAOKRHre^XXNJvk3Mc0on7V=?0Qk}|2Kv?VW fk2c=1vr678m&p!!rQ9vAm$%C - ( - ( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(), - $current); - } - ) - { - newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); - } - ruleArrayBrackets - { - afterParserOrEnumRuleCall(); - } - ) - )* ) | - { - newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); - } - this_XFunctionTypeRef_3=ruleXFunctionTypeRef - { - $current = $this_XFunctionTypeRef_3.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleArrayBrackets -entryRuleArrayBrackets returns [String current=null]: - { newCompositeNode(grammarAccess.getArrayBracketsRule()); } - iv_ruleArrayBrackets=ruleArrayBrackets - { $current=$iv_ruleArrayBrackets.current.getText(); } - EOF; - -// Rule ArrayBrackets -ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - kw='[' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); - } - kw=']' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); - } - ) -; - -// Entry rule entryRuleXFunctionTypeRef -entryRuleXFunctionTypeRef returns [EObject current=null]: - { newCompositeNode(grammarAccess.getXFunctionTypeRefRule()); } - iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef - { $current=$iv_ruleXFunctionTypeRef.current; } - EOF; - -// Rule XFunctionTypeRef -ruleXFunctionTypeRef returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( ( - otherlv_0='(' + enumLiteral_2='port' { - newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); + $current = grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); } - ( - ( - ( - { - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); - } - lv_paramTypes_1_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - add( - $current, - "paramTypes", - lv_paramTypes_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_2=',' - { - newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); - } - lv_paramTypes_3_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - add( - $current, - "paramTypes", - lv_paramTypes_3_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - )? - otherlv_4=')' + ) + | + ( + enumLiteral_3='director' { - newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); + $current = grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); } - )? - otherlv_5='=>' - { - newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); - } - ( - ( - { - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); - } - lv_returnType_6_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - set( - $current, - "returnType", - lv_returnType_6_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) ) ) ; -// Entry rule entryRuleJvmParameterizedTypeReference -entryRuleJvmParameterizedTypeReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule()); } - iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference - { $current=$iv_ruleJvmParameterizedTypeReference.current; } - EOF; +RULE_PARAMETER_NAME : '$' ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; -// Rule JvmParameterizedTypeReference -ruleJvmParameterizedTypeReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - } - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ('<')=> - otherlv_1='<' - { - newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); - } - ) - ( - ( - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); - } - lv_arguments_2_0=ruleJvmArgumentTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - $current, - "arguments", - lv_arguments_2_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_3=',' - { - newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); - } - lv_arguments_4_0=ruleJvmArgumentTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - $current, - "arguments", - lv_arguments_4_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_5='>' - { - newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); - } - ( - ( - (( - ( - ) - '.' - ) - )=> - ( - ( - { - $current = forceCreateModelElementAndSet( - grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(), - $current); - } - ) - otherlv_7='.' - { - newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); - } - ) - ) - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - } - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); - } - ruleValidID - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ('<')=> - otherlv_9='<' - { - newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); - } - ) - ( - ( - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); - } - lv_arguments_10_0=ruleJvmArgumentTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - $current, - "arguments", - lv_arguments_10_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - otherlv_11=',' - { - newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); - } - lv_arguments_12_0=ruleJvmArgumentTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - $current, - "arguments", - lv_arguments_12_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - )* - otherlv_13='>' - { - newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); - } - )? - )* - )? - ) -; - -// Entry rule entryRuleJvmArgumentTypeReference -entryRuleJvmArgumentTypeReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule()); } - iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference - { $current=$iv_ruleJvmArgumentTypeReference.current; } - EOF; - -// Rule JvmArgumentTypeReference -ruleJvmArgumentTypeReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); - } - this_JvmTypeReference_0=ruleJvmTypeReference - { - $current = $this_JvmTypeReference_0.current; - afterParserOrEnumRuleCall(); - } - | - { - newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); - } - this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference - { - $current = $this_JvmWildcardTypeReference_1.current; - afterParserOrEnumRuleCall(); - } - ) -; - -// Entry rule entryRuleJvmWildcardTypeReference -entryRuleJvmWildcardTypeReference returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule()); } - iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference - { $current=$iv_ruleJvmWildcardTypeReference.current; } - EOF; - -// Rule JvmWildcardTypeReference -ruleJvmWildcardTypeReference returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - { - $current = forceCreateModelElement( - grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(), - $current); - } - ) - otherlv_1='?' - { - newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); - } - ( - ( - ( - ( - { - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); - } - lv_constraints_2_0=ruleJvmUpperBound - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - $current, - "constraints", - lv_constraints_2_0, - "org.eclipse.xtext.xbase.Xtype.JvmUpperBound"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); - } - lv_constraints_3_0=ruleJvmUpperBoundAnded - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - $current, - "constraints", - lv_constraints_3_0, - "org.eclipse.xtext.xbase.Xtype.JvmUpperBoundAnded"); - afterParserOrEnumRuleCall(); - } - ) - )* - ) - | - ( - ( - ( - { - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); - } - lv_constraints_4_0=ruleJvmLowerBound - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - $current, - "constraints", - lv_constraints_4_0, - "org.eclipse.xtext.xbase.Xtype.JvmLowerBound"); - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - { - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); - } - lv_constraints_5_0=ruleJvmLowerBoundAnded - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - $current, - "constraints", - lv_constraints_5_0, - "org.eclipse.xtext.xbase.Xtype.JvmLowerBoundAnded"); - afterParserOrEnumRuleCall(); - } - ) - )* - ) - )? - ) -; - -// Entry rule entryRuleJvmUpperBound -entryRuleJvmUpperBound returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmUpperBoundRule()); } - iv_ruleJvmUpperBound=ruleJvmUpperBound - { $current=$iv_ruleJvmUpperBound.current; } - EOF; - -// Rule JvmUpperBound -ruleJvmUpperBound returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='extends' - { - newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } - lv_typeReference_1_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule()); - } - set( - $current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleJvmUpperBoundAnded -entryRuleJvmUpperBoundAnded returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule()); } - iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded - { $current=$iv_ruleJvmUpperBoundAnded.current; } - EOF; - -// Rule JvmUpperBoundAnded -ruleJvmUpperBoundAnded returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='&' - { - newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } - lv_typeReference_1_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule()); - } - set( - $current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleJvmLowerBound -entryRuleJvmLowerBound returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmLowerBoundRule()); } - iv_ruleJvmLowerBound=ruleJvmLowerBound - { $current=$iv_ruleJvmLowerBound.current; } - EOF; - -// Rule JvmLowerBound -ruleJvmLowerBound returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='super' - { - newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } - lv_typeReference_1_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule()); - } - set( - $current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleJvmLowerBoundAnded -entryRuleJvmLowerBoundAnded returns [EObject current=null]: - { newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule()); } - iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded - { $current=$iv_ruleJvmLowerBoundAnded.current; } - EOF; - -// Rule JvmLowerBoundAnded -ruleJvmLowerBoundAnded returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='&' - { - newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); - } - ( - ( - { - newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - } - lv_typeReference_1_0=ruleJvmTypeReference - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule()); - } - set( - $current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) -; - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameRule()); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current.getText(); } - EOF; - -// Rule QualifiedName -ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); - } - this_ValidID_0=ruleValidID - { - $current.merge(this_ValidID_0); - } - { - afterParserOrEnumRuleCall(); - } - ( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - } - { - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); - } - this_ValidID_2=ruleValidID - { - $current.merge(this_ValidID_2); - } - { - afterParserOrEnumRuleCall(); - } - )* - ) -; - -// Entry rule entryRuleQualifiedNameWithWildcard -entryRuleQualifiedNameWithWildcard returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); } - iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard - { $current=$iv_ruleQualifiedNameWithWildcard.current.getText(); } - EOF; - -// Rule QualifiedNameWithWildcard -ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - } - this_QualifiedName_0=ruleQualifiedName - { - $current.merge(this_QualifiedName_0); - } - { - afterParserOrEnumRuleCall(); - } - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); - } - kw='*' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); - } - ) -; - -// Entry rule entryRuleValidID -entryRuleValidID returns [String current=null]: - { newCompositeNode(grammarAccess.getValidIDRule()); } - iv_ruleValidID=ruleValidID - { $current=$iv_ruleValidID.current.getText(); } - EOF; - -// Rule ValidID -ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - this_ID_0=RULE_ID - { - $current.merge(this_ID_0); - } - { - newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); - } -; - -// Entry rule entryRuleXImportDeclaration -entryRuleXImportDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getXImportDeclarationRule()); } - iv_ruleXImportDeclaration=ruleXImportDeclaration - { $current=$iv_ruleXImportDeclaration.current; } - EOF; - -// Rule XImportDeclaration -ruleXImportDeclaration returns [EObject current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); - } - ( - ( - ( - ( - lv_static_1_0='static' - { - newLeafNode(lv_static_1_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_1_0_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed($current, "static", true, "static"); - } - ) - ) - ( - ( - lv_extension_2_0='extension' - { - newLeafNode(lv_extension_2_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_1_0_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed($current, "extension", true, "extension"); - } - ) - )? - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - } - { - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); - } - ruleQualifiedNameInStaticImport - { - afterParserOrEnumRuleCall(); - } - ) - ) - ( - ( - ( - lv_wildcard_4_0='*' - { - newLeafNode(lv_wildcard_4_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_1_0_3_0_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed($current, "wildcard", true, "*"); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); - } - lv_memberName_5_0=ruleValidID - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); - } - set( - $current, - "memberName", - lv_memberName_5_0, - "org.eclipse.xtext.xbase.Xtype.ValidID"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ) - | - ( - ( - { - if ($current==null) { - $current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - } - { - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); - } - ruleQualifiedName - { - afterParserOrEnumRuleCall(); - } - ) - ) - | - ( - ( - { - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); - } - lv_importedNamespace_7_0=ruleQualifiedNameWithWildcard - { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); - } - set( - $current, - "importedNamespace", - lv_importedNamespace_7_0, - "org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard"); - afterParserOrEnumRuleCall(); - } - ) - ) - ) - ( - otherlv_8=';' - { - newLeafNode(otherlv_8, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); - } - )? - ) -; - -// Entry rule entryRuleQualifiedNameInStaticImport -entryRuleQualifiedNameInStaticImport returns [String current=null]: - { newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule()); } - iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport - { $current=$iv_ruleQualifiedNameInStaticImport.current.getText(); } - EOF; - -// Rule QualifiedNameInStaticImport -ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - { - newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); - } - this_ValidID_0=ruleValidID - { - $current.merge(this_ValidID_0); - } - { - afterParserOrEnumRuleCall(); - } - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); - } - )+ -; +RULE_ENTITY_CLASS : '<' ( options {greedy=false;} : . )*'>'; -// Rule Category -ruleCategory returns [Enumerator current=null] -@init { - enterRule(); -} -@after { - leaveRule(); -}: - ( - ( - enumLiteral_0='Actor' - { - $current = grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); - } - ) - | - ( - enumLiteral_1='Parameter' - { - $current = grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); - } - ) - | - ( - enumLiteral_2='Port' - { - $current = grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); - } - ) - | - ( - enumLiteral_3='Director' - { - $current = grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); - } - ) - ) -; +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'$'|'_') ('a'..'z'|'A'..'Z'|'$'|'_'|'0'..'9')*; +RULE_INT : ('0'..'9')+; -RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'?|'\'' ('\\' .|~(('\\'|'\'')))* '\''?); +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqcl.tokens b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqcl.tokens index eb72a6b2..c55ddbb9 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqcl.tokens +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqcl.tokens @@ -1,46 +1,32 @@ -'&'=34 -'('=27 -')'=28 -'*'=36 -','=16 -'.'=24 -';'=10 -'<'=30 -'='=23 -'=>'=29 -'>'=31 -'?'=32 -'Actor'=40 -'Director'=43 -'Parameter'=41 -'Port'=42 -'['=25 -']'=26 -'as'=14 -'connect'=18 -'extends'=33 -'extension'=39 -'go'=20 -'import'=37 -'include'=11 -'insert'=13 -'into'=21 -'library'=12 -'out'=22 -'set'=17 -'static'=38 -'super'=35 -'to'=19 -'with'=15 -RULE_ANY_OTHER=9 +','=19 +'.'=28 +';'=13 +'='=27 +'actor'=29 +'as'=17 +'connect'=21 +'director'=32 +'go'=23 +'include'=14 +'insert'=16 +'into'=24 +'library'=15 +'out'=25 +'parameter'=30 +'port'=31 +'set'=20 +'to'=22 +'top'=26 +'with'=18 +RULE_ANY_OTHER=12 +RULE_ENTITY_CLASS=6 RULE_ID=5 -RULE_ML_COMMENT=6 -RULE_SL_COMMENT=7 +RULE_INT=8 +RULE_ML_COMMENT=9 +RULE_PARAMETER_NAME=7 +RULE_SL_COMMENT=10 RULE_STRING=4 -RULE_WS=8 -T__10=10 -T__11=11 -T__12=12 +RULE_WS=11 T__13=13 T__14=14 T__15=15 @@ -61,14 +47,3 @@ T__29=29 T__30=30 T__31=31 T__32=32 -T__33=33 -T__34=34 -T__35=35 -T__36=36 -T__37=37 -T__38=38 -T__39=39 -T__40=40 -T__41=41 -T__42=42 -T__43=43 diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclLexer.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclLexer.java index 34695093..047a54e4 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclLexer.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclLexer.java @@ -12,47 +12,36 @@ @SuppressWarnings("all") public class InternalTqclLexer extends Lexer { + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=10; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; - public static final int T__10=10; + 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_ID=5; + public static final int RULE_PARAMETER_NAME=7; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int RULE_ENTITY_CLASS=6; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; + public static final int RULE_INT=8; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; + public static final int RULE_ML_COMMENT=9; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__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__42=42; - public static final int T__43=43; // delegates // delegators @@ -67,78 +56,15 @@ public InternalTqclLexer(CharStream input, RecognizerSharedState state) { } public String getGrammarFileName() { return "InternalTqcl.g"; } - // $ANTLR start "T__10" - public final void mT__10() throws RecognitionException { - try { - int _type = T__10; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:11:7: ( ';' ) - // InternalTqcl.g:11:9: ';' - { - match(';'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__10" - - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { - try { - int _type = T__11; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:12:7: ( 'include' ) - // InternalTqcl.g:12:9: 'include' - { - match("include"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:13:7: ( 'library' ) - // InternalTqcl.g:13:9: 'library' - { - match("library"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - // $ANTLR start "T__13" public final void mT__13() throws RecognitionException { try { int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:14:7: ( 'insert' ) - // InternalTqcl.g:14:9: 'insert' + // InternalTqcl.g:11:7: ( ';' ) + // InternalTqcl.g:11:9: ';' { - match("insert"); - + match(';'); } @@ -155,10 +81,10 @@ public final void mT__14() throws RecognitionException { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:15:7: ( 'as' ) - // InternalTqcl.g:15:9: 'as' + // InternalTqcl.g:12:7: ( 'include' ) + // InternalTqcl.g:12:9: 'include' { - match("as"); + match("include"); } @@ -176,10 +102,10 @@ public final void mT__15() throws RecognitionException { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:16:7: ( 'with' ) - // InternalTqcl.g:16:9: 'with' + // InternalTqcl.g:13:7: ( 'library' ) + // InternalTqcl.g:13:9: 'library' { - match("with"); + match("library"); } @@ -197,10 +123,11 @@ public final void mT__16() throws RecognitionException { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:17:7: ( ',' ) - // InternalTqcl.g:17:9: ',' + // InternalTqcl.g:14:7: ( 'insert' ) + // InternalTqcl.g:14:9: 'insert' { - match(','); + match("insert"); + } @@ -217,10 +144,10 @@ public final void mT__17() throws RecognitionException { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:18:7: ( 'set' ) - // InternalTqcl.g:18:9: 'set' + // InternalTqcl.g:15:7: ( 'as' ) + // InternalTqcl.g:15:9: 'as' { - match("set"); + match("as"); } @@ -238,10 +165,10 @@ public final void mT__18() throws RecognitionException { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:19:7: ( 'connect' ) - // InternalTqcl.g:19:9: 'connect' + // InternalTqcl.g:16:7: ( 'with' ) + // InternalTqcl.g:16:9: 'with' { - match("connect"); + match("with"); } @@ -259,11 +186,10 @@ public final void mT__19() throws RecognitionException { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:20:7: ( 'to' ) - // InternalTqcl.g:20:9: 'to' + // InternalTqcl.g:17:7: ( ',' ) + // InternalTqcl.g:17:9: ',' { - match("to"); - + match(','); } @@ -280,10 +206,10 @@ public final void mT__20() throws RecognitionException { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:21:7: ( 'go' ) - // InternalTqcl.g:21:9: 'go' + // InternalTqcl.g:18:7: ( 'set' ) + // InternalTqcl.g:18:9: 'set' { - match("go"); + match("set"); } @@ -301,10 +227,10 @@ public final void mT__21() throws RecognitionException { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:22:7: ( 'into' ) - // InternalTqcl.g:22:9: 'into' + // InternalTqcl.g:19:7: ( 'connect' ) + // InternalTqcl.g:19:9: 'connect' { - match("into"); + match("connect"); } @@ -322,10 +248,10 @@ public final void mT__22() throws RecognitionException { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:23:7: ( 'out' ) - // InternalTqcl.g:23:9: 'out' + // InternalTqcl.g:20:7: ( 'to' ) + // InternalTqcl.g:20:9: 'to' { - match("out"); + match("to"); } @@ -343,10 +269,11 @@ public final void mT__23() throws RecognitionException { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:24:7: ( '=' ) - // InternalTqcl.g:24:9: '=' + // InternalTqcl.g:21:7: ( 'go' ) + // InternalTqcl.g:21:9: 'go' { - match('='); + match("go"); + } @@ -363,10 +290,11 @@ public final void mT__24() throws RecognitionException { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:25:7: ( '.' ) - // InternalTqcl.g:25:9: '.' + // InternalTqcl.g:22:7: ( 'into' ) + // InternalTqcl.g:22:9: 'into' { - match('.'); + match("into"); + } @@ -383,10 +311,11 @@ public final void mT__25() throws RecognitionException { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:26:7: ( '[' ) - // InternalTqcl.g:26:9: '[' + // InternalTqcl.g:23:7: ( 'out' ) + // InternalTqcl.g:23:9: 'out' { - match('['); + match("out"); + } @@ -403,10 +332,11 @@ public final void mT__26() throws RecognitionException { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:27:7: ( ']' ) - // InternalTqcl.g:27:9: ']' + // InternalTqcl.g:24:7: ( 'top' ) + // InternalTqcl.g:24:9: 'top' { - match(']'); + match("top"); + } @@ -423,10 +353,10 @@ public final void mT__27() throws RecognitionException { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:28:7: ( '(' ) - // InternalTqcl.g:28:9: '(' + // InternalTqcl.g:25:7: ( '=' ) + // InternalTqcl.g:25:9: '=' { - match('('); + match('='); } @@ -443,10 +373,10 @@ public final void mT__28() throws RecognitionException { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:29:7: ( ')' ) - // InternalTqcl.g:29:9: ')' + // InternalTqcl.g:26:7: ( '.' ) + // InternalTqcl.g:26:9: '.' { - match(')'); + match('.'); } @@ -463,10 +393,10 @@ public final void mT__29() throws RecognitionException { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:30:7: ( '=>' ) - // InternalTqcl.g:30:9: '=>' + // InternalTqcl.g:27:7: ( 'actor' ) + // InternalTqcl.g:27:9: 'actor' { - match("=>"); + match("actor"); } @@ -484,10 +414,11 @@ public final void mT__30() throws RecognitionException { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:31:7: ( '<' ) - // InternalTqcl.g:31:9: '<' + // InternalTqcl.g:28:7: ( 'parameter' ) + // InternalTqcl.g:28:9: 'parameter' { - match('<'); + match("parameter"); + } @@ -504,10 +435,11 @@ public final void mT__31() throws RecognitionException { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:32:7: ( '>' ) - // InternalTqcl.g:32:9: '>' + // InternalTqcl.g:29:7: ( 'port' ) + // InternalTqcl.g:29:9: 'port' { - match('>'); + match("port"); + } @@ -524,92 +456,11 @@ public final void mT__32() throws RecognitionException { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:33:7: ( '?' ) - // InternalTqcl.g:33:9: '?' - { - match('?'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__32" - - // $ANTLR start "T__33" - public final void mT__33() throws RecognitionException { - try { - int _type = T__33; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:34:7: ( 'extends' ) - // InternalTqcl.g:34:9: 'extends' + // InternalTqcl.g:30:7: ( 'director' ) + // InternalTqcl.g:30:9: 'director' { - match("extends"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__33" - - // $ANTLR start "T__34" - public final void mT__34() throws RecognitionException { - try { - int _type = T__34; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:35:7: ( '&' ) - // InternalTqcl.g:35:9: '&' - { - match('&'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__34" - - // $ANTLR start "T__35" - public final void mT__35() throws RecognitionException { - try { - int _type = T__35; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:36:7: ( 'super' ) - // InternalTqcl.g:36:9: 'super' - { - match("super"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__35" + match("director"); - // $ANTLR start "T__36" - public final void mT__36() throws RecognitionException { - try { - int _type = T__36; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:37:7: ( '*' ) - // InternalTqcl.g:37:9: '*' - { - match('*'); } @@ -619,80 +470,58 @@ public final void mT__36() throws RecognitionException { finally { } } - // $ANTLR end "T__36" + // $ANTLR end "T__32" - // $ANTLR start "T__37" - public final void mT__37() throws RecognitionException { + // $ANTLR start "RULE_PARAMETER_NAME" + public final void mRULE_PARAMETER_NAME() throws RecognitionException { try { - int _type = T__37; + int _type = RULE_PARAMETER_NAME; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:38:7: ( 'import' ) - // InternalTqcl.g:38:9: 'import' + // InternalTqcl.g:952:21: ( '$' ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalTqcl.g:952:23: '$' ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - match("import"); - + match('$'); + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__37" - - // $ANTLR start "T__38" - public final void mT__38() throws RecognitionException { - try { - int _type = T__38; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:39:7: ( 'static' ) - // InternalTqcl.g:39:9: 'static' - { - match("static"); + // InternalTqcl.g:952:51: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop1: + do { + int alt1=2; + int LA1_0 = input.LA(1); + if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { + alt1=1; + } - } - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__38" + switch (alt1) { + case 1 : + // InternalTqcl.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); - // $ANTLR start "T__39" - public final void mT__39() throws RecognitionException { - try { - int _type = T__39; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:40:7: ( 'extension' ) - // InternalTqcl.g:40:9: 'extension' - { - match("extension"); + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__39" + } + break; - // $ANTLR start "T__40" - public final void mT__40() throws RecognitionException { - try { - int _type = T__40; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:41:7: ( 'Actor' ) - // InternalTqcl.g:41:9: 'Actor' - { - match("Actor"); + default : + break loop1; + } + } while (true); } @@ -703,60 +532,46 @@ public final void mT__40() throws RecognitionException { finally { } } - // $ANTLR end "T__40" + // $ANTLR end "RULE_PARAMETER_NAME" - // $ANTLR start "T__41" - public final void mT__41() throws RecognitionException { + // $ANTLR start "RULE_ENTITY_CLASS" + public final void mRULE_ENTITY_CLASS() throws RecognitionException { try { - int _type = T__41; + int _type = RULE_ENTITY_CLASS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:42:7: ( 'Parameter' ) - // InternalTqcl.g:42:9: 'Parameter' + // InternalTqcl.g:954:19: ( '<' ( options {greedy=false; } : . )* '>' ) + // InternalTqcl.g:954:21: '<' ( options {greedy=false; } : . )* '>' { - match("Parameter"); - - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__41" + match('<'); + // InternalTqcl.g:954:25: ( options {greedy=false; } : . )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); - // $ANTLR start "T__42" - public final void mT__42() throws RecognitionException { - try { - int _type = T__42; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:43:7: ( 'Port' ) - // InternalTqcl.g:43:9: 'Port' - { - match("Port"); + if ( (LA2_0=='>') ) { + alt2=2; + } + else if ( ((LA2_0>='\u0000' && LA2_0<='=')||(LA2_0>='?' && LA2_0<='\uFFFF')) ) { + alt2=1; + } - } + switch (alt2) { + case 1 : + // InternalTqcl.g:954:53: . + { + matchAny(); - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__42" + } + break; - // $ANTLR start "T__43" - public final void mT__43() throws RecognitionException { - try { - int _type = T__43; - int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:44:7: ( 'Director' ) - // InternalTqcl.g:44:9: 'Director' - { - match("Director"); + default : + break loop2; + } + } while (true); + match('>'); } @@ -766,26 +581,26 @@ public final void mT__43() throws RecognitionException { finally { } } - // $ANTLR end "T__43" + // $ANTLR end "RULE_ENTITY_CLASS" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1863:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* ) - // InternalTqcl.g:1863:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* + // InternalTqcl.g:956:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalTqcl.g:956:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalTqcl.g:1863:11: ( '^' )? - int alt1=2; - int LA1_0 = input.LA(1); + // InternalTqcl.g:956:11: ( '^' )? + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA1_0=='^') ) { - alt1=1; + if ( (LA3_0=='^') ) { + alt3=1; } - switch (alt1) { + switch (alt3) { case 1 : - // InternalTqcl.g:1863:11: '^' + // InternalTqcl.g:956:11: '^' { match('^'); @@ -794,7 +609,7 @@ public final void mRULE_ID() throws RecognitionException { } - if ( input.LA(1)=='$'||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } @@ -803,22 +618,22 @@ public final void mRULE_ID() throws RecognitionException { recover(mse); throw mse;} - // InternalTqcl.g:1863:44: ( 'a' .. 'z' | 'A' .. 'Z' | '$' | '_' | '0' .. '9' )* - loop2: + // InternalTqcl.g:956:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop4: do { - int alt2=2; - int LA2_0 = input.LA(1); + int alt4=2; + int LA4_0 = input.LA(1); - if ( (LA2_0=='$'||(LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { + alt4=1; } - switch (alt2) { + switch (alt4) { case 1 : // InternalTqcl.g: { - if ( input.LA(1)=='$'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); } @@ -832,7 +647,7 @@ public final void mRULE_ID() throws RecognitionException { break; default : - break loop2; + break loop4; } } while (true); @@ -847,52 +662,101 @@ public final void mRULE_ID() throws RecognitionException { } // $ANTLR end "RULE_ID" + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalTqcl.g:958:10: ( ( '0' .. '9' )+ ) + // InternalTqcl.g:958:12: ( '0' .. '9' )+ + { + // InternalTqcl.g:958:12: ( '0' .. '9' )+ + int cnt5=0; + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( ((LA5_0>='0' && LA5_0<='9')) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalTqcl.g:958:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt5 >= 1 ) break loop5; + EarlyExitException eee = + new EarlyExitException(5, input); + throw eee; + } + cnt5++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + // $ANTLR start "RULE_STRING" public final void mRULE_STRING() throws RecognitionException { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1865:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) ) - // InternalTqcl.g:1865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) + // InternalTqcl.g:960:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalTqcl.g:960:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalTqcl.g:1865:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? ) - int alt7=2; - int LA7_0 = input.LA(1); + // InternalTqcl.g:960:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0=='\"') ) { - alt7=1; + if ( (LA8_0=='\"') ) { + alt8=1; } - else if ( (LA7_0=='\'') ) { - alt7=2; + else if ( (LA8_0=='\'') ) { + alt8=2; } else { NoViableAltException nvae = - new NoViableAltException("", 7, 0, input); + new NoViableAltException("", 8, 0, input); throw nvae; } - switch (alt7) { + switch (alt8) { case 1 : - // InternalTqcl.g:1865:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* ( '\"' )? + // InternalTqcl.g:960:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalTqcl.g:1865:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* - loop3: + // InternalTqcl.g:960:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop6: do { - int alt3=3; - int LA3_0 = input.LA(1); + int alt6=3; + int LA6_0 = input.LA(1); - if ( (LA3_0=='\\') ) { - alt3=1; + if ( (LA6_0=='\\') ) { + alt6=1; } - else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { - alt3=2; + else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) { + alt6=2; } - switch (alt3) { + switch (alt6) { case 1 : - // InternalTqcl.g:1865:21: '\\\\' . + // InternalTqcl.g:960:21: '\\\\' . { match('\\'); matchAny(); @@ -900,7 +764,7 @@ else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>= } break; case 2 : - // InternalTqcl.g:1865:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalTqcl.g:960:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -916,52 +780,35 @@ else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>= break; default : - break loop3; + break loop6; } } while (true); - // InternalTqcl.g:1865:44: ( '\"' )? - int alt4=2; - int LA4_0 = input.LA(1); - - if ( (LA4_0=='\"') ) { - alt4=1; - } - switch (alt4) { - case 1 : - // InternalTqcl.g:1865:44: '\"' - { - match('\"'); - - } - break; - - } - + match('\"'); } break; case 2 : - // InternalTqcl.g:1865:49: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* ( '\\'' )? + // InternalTqcl.g:960:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalTqcl.g:1865:54: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: + // InternalTqcl.g:960:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop7: do { - int alt5=3; - int LA5_0 = input.LA(1); + int alt7=3; + int LA7_0 = input.LA(1); - if ( (LA5_0=='\\') ) { - alt5=1; + if ( (LA7_0=='\\') ) { + alt7=1; } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; + else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { + alt7=2; } - switch (alt5) { + switch (alt7) { case 1 : - // InternalTqcl.g:1865:55: '\\\\' . + // InternalTqcl.g:960:54: '\\\\' . { match('\\'); matchAny(); @@ -969,7 +816,7 @@ else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>= } break; case 2 : - // InternalTqcl.g:1865:62: ~ ( ( '\\\\' | '\\'' ) ) + // InternalTqcl.g:960:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -985,28 +832,11 @@ else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>= break; default : - break loop5; + break loop7; } } while (true); - // InternalTqcl.g:1865:79: ( '\\'' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='\'') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // InternalTqcl.g:1865:79: '\\'' - { - match('\''); - - } - break; - - } - + match('\''); } break; @@ -1029,37 +859,37 @@ public final void mRULE_ML_COMMENT() throws RecognitionException { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1867:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalTqcl.g:1867:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalTqcl.g:962:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalTqcl.g:962:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalTqcl.g:1867:24: ( options {greedy=false; } : . )* - loop8: + // InternalTqcl.g:962:24: ( options {greedy=false; } : . )* + loop9: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA8_0=='*') ) { - int LA8_1 = input.LA(2); + if ( (LA9_0=='*') ) { + int LA9_1 = input.LA(2); - if ( (LA8_1=='/') ) { - alt8=2; + if ( (LA9_1=='/') ) { + alt9=2; } - else if ( ((LA8_1>='\u0000' && LA8_1<='.')||(LA8_1>='0' && LA8_1<='\uFFFF')) ) { - alt8=1; + else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { + alt9=1; } } - else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { - alt8=1; + else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { + alt9=1; } - switch (alt8) { + switch (alt9) { case 1 : - // InternalTqcl.g:1867:52: . + // InternalTqcl.g:962:52: . { matchAny(); @@ -1067,7 +897,7 @@ else if ( ((LA8_0>='\u0000' && LA8_0<=')')||(LA8_0>='+' && LA8_0<='\uFFFF')) ) { break; default : - break loop8; + break loop9; } } while (true); @@ -1089,25 +919,25 @@ public final void mRULE_SL_COMMENT() throws RecognitionException { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1869:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalTqcl.g:1869:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalTqcl.g:964:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalTqcl.g:964:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalTqcl.g:1869:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop9: + // InternalTqcl.g:964:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop10: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt10=2; + int LA10_0 = input.LA(1); - if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) { - alt9=1; + if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) { + alt10=1; } - switch (alt9) { + switch (alt10) { case 1 : - // InternalTqcl.g:1869:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalTqcl.g:964:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1123,31 +953,31 @@ public final void mRULE_SL_COMMENT() throws RecognitionException { break; default : - break loop9; + break loop10; } } while (true); - // InternalTqcl.g:1869:40: ( ( '\\r' )? '\\n' )? - int alt11=2; - int LA11_0 = input.LA(1); + // InternalTqcl.g:964:40: ( ( '\\r' )? '\\n' )? + int alt12=2; + int LA12_0 = input.LA(1); - if ( (LA11_0=='\n'||LA11_0=='\r') ) { - alt11=1; + if ( (LA12_0=='\n'||LA12_0=='\r') ) { + alt12=1; } - switch (alt11) { + switch (alt12) { case 1 : - // InternalTqcl.g:1869:41: ( '\\r' )? '\\n' + // InternalTqcl.g:964:41: ( '\\r' )? '\\n' { - // InternalTqcl.g:1869:41: ( '\\r' )? - int alt10=2; - int LA10_0 = input.LA(1); + // InternalTqcl.g:964:41: ( '\\r' )? + int alt11=2; + int LA11_0 = input.LA(1); - if ( (LA10_0=='\r') ) { - alt10=1; + if ( (LA11_0=='\r') ) { + alt11=1; } - switch (alt10) { + switch (alt11) { case 1 : - // InternalTqcl.g:1869:41: '\\r' + // InternalTqcl.g:964:41: '\\r' { match('\r'); @@ -1179,22 +1009,22 @@ public final void mRULE_WS() throws RecognitionException { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1871:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalTqcl.g:1871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalTqcl.g:966:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalTqcl.g:966:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalTqcl.g:1871:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt12=0; - loop12: + // InternalTqcl.g:966:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt13=0; + loop13: do { - int alt12=2; - int LA12_0 = input.LA(1); + int alt13=2; + int LA13_0 = input.LA(1); - if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) { - alt12=1; + if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) { + alt13=1; } - switch (alt12) { + switch (alt13) { case 1 : // InternalTqcl.g: { @@ -1212,12 +1042,12 @@ public final void mRULE_WS() throws RecognitionException { break; default : - if ( cnt12 >= 1 ) break loop12; + if ( cnt13 >= 1 ) break loop13; EarlyExitException eee = - new EarlyExitException(12, input); + new EarlyExitException(13, input); throw eee; } - cnt12++; + cnt13++; } while (true); @@ -1236,8 +1066,8 @@ public final void mRULE_ANY_OTHER() throws RecognitionException { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalTqcl.g:1873:16: ( . ) - // InternalTqcl.g:1873:18: . + // InternalTqcl.g:968:16: ( . ) + // InternalTqcl.g:968:18: . { matchAny(); @@ -1252,285 +1082,208 @@ public final void mRULE_ANY_OTHER() throws RecognitionException { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // InternalTqcl.g:1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt13=40; - alt13 = dfa13.predict(input); - switch (alt13) { + // InternalTqcl.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | RULE_PARAMETER_NAME | RULE_ENTITY_CLASS | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt14=29; + alt14 = dfa14.predict(input); + switch (alt14) { case 1 : - // InternalTqcl.g:1:10: T__10 + // InternalTqcl.g:1:10: T__13 { - mT__10(); + mT__13(); } break; case 2 : - // InternalTqcl.g:1:16: T__11 + // InternalTqcl.g:1:16: T__14 { - mT__11(); + mT__14(); } break; case 3 : - // InternalTqcl.g:1:22: T__12 + // InternalTqcl.g:1:22: T__15 { - mT__12(); + mT__15(); } break; case 4 : - // InternalTqcl.g:1:28: T__13 + // InternalTqcl.g:1:28: T__16 { - mT__13(); + mT__16(); } break; case 5 : - // InternalTqcl.g:1:34: T__14 + // InternalTqcl.g:1:34: T__17 { - mT__14(); + mT__17(); } break; case 6 : - // InternalTqcl.g:1:40: T__15 + // InternalTqcl.g:1:40: T__18 { - mT__15(); + mT__18(); } break; case 7 : - // InternalTqcl.g:1:46: T__16 + // InternalTqcl.g:1:46: T__19 { - mT__16(); + mT__19(); } break; case 8 : - // InternalTqcl.g:1:52: T__17 + // InternalTqcl.g:1:52: T__20 { - mT__17(); + mT__20(); } break; case 9 : - // InternalTqcl.g:1:58: T__18 + // InternalTqcl.g:1:58: T__21 { - mT__18(); + mT__21(); } break; case 10 : - // InternalTqcl.g:1:64: T__19 + // InternalTqcl.g:1:64: T__22 { - mT__19(); + mT__22(); } break; case 11 : - // InternalTqcl.g:1:70: T__20 + // InternalTqcl.g:1:70: T__23 { - mT__20(); + mT__23(); } break; case 12 : - // InternalTqcl.g:1:76: T__21 + // InternalTqcl.g:1:76: T__24 { - mT__21(); + mT__24(); } break; case 13 : - // InternalTqcl.g:1:82: T__22 + // InternalTqcl.g:1:82: T__25 { - mT__22(); + mT__25(); } break; case 14 : - // InternalTqcl.g:1:88: T__23 + // InternalTqcl.g:1:88: T__26 { - mT__23(); + mT__26(); } break; case 15 : - // InternalTqcl.g:1:94: T__24 + // InternalTqcl.g:1:94: T__27 { - mT__24(); + mT__27(); } break; case 16 : - // InternalTqcl.g:1:100: T__25 + // InternalTqcl.g:1:100: T__28 { - mT__25(); + mT__28(); } break; case 17 : - // InternalTqcl.g:1:106: T__26 + // InternalTqcl.g:1:106: T__29 { - mT__26(); + mT__29(); } break; case 18 : - // InternalTqcl.g:1:112: T__27 + // InternalTqcl.g:1:112: T__30 { - mT__27(); + mT__30(); } break; case 19 : - // InternalTqcl.g:1:118: T__28 + // InternalTqcl.g:1:118: T__31 { - mT__28(); + mT__31(); } break; case 20 : - // InternalTqcl.g:1:124: T__29 + // InternalTqcl.g:1:124: T__32 { - mT__29(); + mT__32(); } break; case 21 : - // InternalTqcl.g:1:130: T__30 + // InternalTqcl.g:1:130: RULE_PARAMETER_NAME { - mT__30(); + mRULE_PARAMETER_NAME(); } break; case 22 : - // InternalTqcl.g:1:136: T__31 + // InternalTqcl.g:1:150: RULE_ENTITY_CLASS { - mT__31(); + mRULE_ENTITY_CLASS(); } break; case 23 : - // InternalTqcl.g:1:142: T__32 + // InternalTqcl.g:1:168: RULE_ID { - mT__32(); + mRULE_ID(); } break; case 24 : - // InternalTqcl.g:1:148: T__33 + // InternalTqcl.g:1:176: RULE_INT { - mT__33(); + mRULE_INT(); } break; case 25 : - // InternalTqcl.g:1:154: T__34 - { - mT__34(); - - } - break; - case 26 : - // InternalTqcl.g:1:160: T__35 - { - mT__35(); - - } - break; - case 27 : - // InternalTqcl.g:1:166: T__36 - { - mT__36(); - - } - break; - case 28 : - // InternalTqcl.g:1:172: T__37 - { - mT__37(); - - } - break; - case 29 : - // InternalTqcl.g:1:178: T__38 - { - mT__38(); - - } - break; - case 30 : - // InternalTqcl.g:1:184: T__39 - { - mT__39(); - - } - break; - case 31 : - // InternalTqcl.g:1:190: T__40 - { - mT__40(); - - } - break; - case 32 : - // InternalTqcl.g:1:196: T__41 - { - mT__41(); - - } - break; - case 33 : - // InternalTqcl.g:1:202: T__42 - { - mT__42(); - - } - break; - case 34 : - // InternalTqcl.g:1:208: T__43 - { - mT__43(); - - } - break; - case 35 : - // InternalTqcl.g:1:214: RULE_ID - { - mRULE_ID(); - - } - break; - case 36 : - // InternalTqcl.g:1:222: RULE_STRING + // InternalTqcl.g:1:185: RULE_STRING { mRULE_STRING(); } break; - case 37 : - // InternalTqcl.g:1:234: RULE_ML_COMMENT + case 26 : + // InternalTqcl.g:1:197: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; - case 38 : - // InternalTqcl.g:1:250: RULE_SL_COMMENT + case 27 : + // InternalTqcl.g:1:213: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; - case 39 : - // InternalTqcl.g:1:266: RULE_WS + case 28 : + // InternalTqcl.g:1:229: RULE_WS { mRULE_WS(); } break; - case 40 : - // InternalTqcl.g:1:274: RULE_ANY_OTHER + case 29 : + // InternalTqcl.g:1:237: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1542,286 +1295,258 @@ public void mTokens() throws RecognitionException { } - protected DFA13 dfa13 = new DFA13(this); - static final String DFA13_eotS = - "\2\uffff\4\45\1\uffff\5\45\1\62\10\uffff\1\45\2\uffff\3\45\1\41\3\uffff\1\41\3\uffff\2\45\1\uffff\1\45\1\113\1\45\1\uffff\4\45\1\121\1\122\1\45\12\uffff\1\45\2\uffff\4\45\4\uffff\5\45\1\uffff\1\45\1\137\3\45\2\uffff\1\143\7\45\1\153\2\45\1\156\1\uffff\3\45\1\uffff\3\45\1\165\3\45\1\uffff\2\45\1\uffff\1\173\3\45\1\u0080\1\45\1\uffff\2\45\1\u0084\1\u0085\1\45\1\uffff\1\u0087\3\45\1\uffff\2\45\1\u008d\2\uffff\1\u008e\1\uffff\1\u008f\1\u0090\3\45\4\uffff\2\45\1\u0096\1\u0097\1\u0098\3\uffff"; - static final String DFA13_eofS = - "\u0099\uffff"; - static final String DFA13_minS = - "\1\0\1\uffff\1\155\1\151\1\163\1\151\1\uffff\1\145\3\157\1\165\1\76\10\uffff\1\170\2\uffff\1\143\1\141\1\151\1\44\3\uffff\1\52\3\uffff\1\143\1\160\1\uffff\1\142\1\44\1\164\1\uffff\1\164\1\160\1\141\1\156\2\44\1\164\12\uffff\1\164\2\uffff\1\164\3\162\4\uffff\1\154\1\145\2\157\1\162\1\uffff\1\150\1\44\1\145\1\164\1\156\2\uffff\1\44\1\145\1\157\1\141\1\164\1\145\1\165\1\162\1\44\1\162\1\141\1\44\1\uffff\1\162\1\151\1\145\1\uffff\1\156\1\162\1\155\1\44\1\143\1\144\1\164\1\uffff\1\164\1\162\1\uffff\1\44\2\143\1\144\1\44\1\145\1\uffff\1\164\1\145\2\44\1\171\1\uffff\1\44\1\164\1\163\1\151\1\uffff\1\164\1\157\1\44\2\uffff\1\44\1\uffff\2\44\1\157\1\145\1\162\4\uffff\1\156\1\162\3\44\3\uffff"; - static final String DFA13_maxS = - "\1\uffff\1\uffff\1\156\1\151\1\163\1\151\1\uffff\1\165\3\157\1\165\1\76\10\uffff\1\170\2\uffff\1\143\1\157\1\151\1\172\3\uffff\1\57\3\uffff\1\164\1\160\1\uffff\1\142\1\172\1\164\1\uffff\1\164\1\160\1\141\1\156\2\172\1\164\12\uffff\1\164\2\uffff\1\164\3\162\4\uffff\1\154\1\145\2\157\1\162\1\uffff\1\150\1\172\1\145\1\164\1\156\2\uffff\1\172\1\145\1\157\1\141\1\164\1\145\1\165\1\162\1\172\1\162\1\141\1\172\1\uffff\1\162\1\151\1\145\1\uffff\1\156\1\162\1\155\1\172\1\143\1\144\1\164\1\uffff\1\164\1\162\1\uffff\1\172\2\143\1\163\1\172\1\145\1\uffff\1\164\1\145\2\172\1\171\1\uffff\1\172\1\164\1\163\1\151\1\uffff\1\164\1\157\1\172\2\uffff\1\172\1\uffff\2\172\1\157\1\145\1\162\4\uffff\1\156\1\162\3\172\3\uffff"; - static final String DFA13_acceptS = - "\1\uffff\1\1\4\uffff\1\7\6\uffff\1\17\1\20\1\21\1\22\1\23\1\25\1\26\1\27\1\uffff\1\31\1\33\4\uffff\1\43\2\44\1\uffff\1\47\1\50\1\1\2\uffff\1\43\3\uffff\1\7\7\uffff\1\24\1\16\1\17\1\20\1\21\1\22\1\23\1\25\1\26\1\27\1\uffff\1\31\1\33\4\uffff\1\44\1\45\1\46\1\47\5\uffff\1\5\5\uffff\1\12\1\13\14\uffff\1\10\3\uffff\1\15\7\uffff\1\14\2\uffff\1\6\6\uffff\1\41\5\uffff\1\32\4\uffff\1\37\3\uffff\1\4\1\34\1\uffff\1\35\5\uffff\1\2\1\3\1\11\1\30\5\uffff\1\42\1\36\1\40"; - static final String DFA13_specialS = - "\1\0\u0098\uffff}>"; - static final String[] DFA13_transitionS = { - "\11\41\2\40\2\41\1\40\22\41\1\40\1\41\1\35\1\41\1\34\1\41\1\26\1\36\1\20\1\21\1\27\1\41\1\6\1\41\1\15\1\37\13\41\1\1\1\22\1\14\1\23\1\24\1\41\1\30\2\34\1\32\13\34\1\31\12\34\1\16\1\41\1\17\1\33\1\34\1\41\1\4\1\34\1\10\1\34\1\25\1\34\1\12\1\34\1\2\2\34\1\3\2\34\1\13\3\34\1\7\1\11\2\34\1\5\3\34\uff85\41", + protected DFA14 dfa14 = new DFA14(this); + static final String DFA14_eotS = + "\2\uffff\4\34\1\uffff\5\34\2\uffff\2\34\3\31\2\uffff\3\31\3\uffff\1\34\1\uffff\1\34\1\67\2\34\1\uffff\2\34\1\75\1\76\1\34\2\uffff\3\34\7\uffff\4\34\1\uffff\2\34\1\111\1\34\1\113\2\uffff\1\114\5\34\1\122\2\34\1\125\1\uffff\1\34\2\uffff\1\34\1\130\3\34\1\uffff\1\34\1\135\1\uffff\2\34\1\uffff\2\34\1\142\1\34\1\uffff\3\34\1\147\1\uffff\1\150\1\151\2\34\3\uffff\1\34\1\155\1\156\2\uffff"; + static final String DFA14_eofS = + "\157\uffff"; + static final String DFA14_minS = + "\1\0\1\uffff\1\156\1\151\1\143\1\151\1\uffff\1\145\3\157\1\165\2\uffff\1\141\1\151\1\101\1\0\1\101\2\uffff\2\0\1\52\3\uffff\1\143\1\uffff\1\142\1\60\2\164\1\uffff\1\164\1\156\2\60\1\164\2\uffff\3\162\7\uffff\1\154\1\145\1\157\1\162\1\uffff\1\157\1\150\1\60\1\156\1\60\2\uffff\1\60\1\141\1\164\1\145\1\165\1\162\1\60\1\141\1\162\1\60\1\uffff\1\145\2\uffff\1\155\1\60\1\143\1\144\1\164\1\uffff\1\162\1\60\1\uffff\1\143\1\145\1\uffff\1\164\1\145\1\60\1\171\1\uffff\2\164\1\157\1\60\1\uffff\2\60\1\145\1\162\3\uffff\1\162\2\60\2\uffff"; + static final String DFA14_maxS = + "\1\uffff\1\uffff\1\156\1\151\1\163\1\151\1\uffff\1\145\3\157\1\165\2\uffff\1\157\1\151\1\172\1\uffff\1\172\2\uffff\2\uffff\1\57\3\uffff\1\164\1\uffff\1\142\1\172\2\164\1\uffff\1\164\1\156\2\172\1\164\2\uffff\3\162\7\uffff\1\154\1\145\1\157\1\162\1\uffff\1\157\1\150\1\172\1\156\1\172\2\uffff\1\172\1\141\1\164\1\145\1\165\1\162\1\172\1\141\1\162\1\172\1\uffff\1\145\2\uffff\1\155\1\172\1\143\1\144\1\164\1\uffff\1\162\1\172\1\uffff\1\143\1\145\1\uffff\1\164\1\145\1\172\1\171\1\uffff\2\164\1\157\1\172\1\uffff\2\172\1\145\1\162\3\uffff\1\162\2\172\2\uffff"; + static final String DFA14_acceptS = + "\1\uffff\1\1\4\uffff\1\7\5\uffff\1\17\1\20\5\uffff\1\27\1\30\3\uffff\1\34\1\35\1\1\1\uffff\1\27\4\uffff\1\7\5\uffff\1\17\1\20\3\uffff\1\25\1\26\1\30\1\31\1\32\1\33\1\34\4\uffff\1\5\5\uffff\1\12\1\13\12\uffff\1\10\1\uffff\1\16\1\15\5\uffff\1\14\2\uffff\1\6\2\uffff\1\23\4\uffff\1\21\4\uffff\1\4\4\uffff\1\2\1\3\1\11\3\uffff\1\24\1\22"; + static final String DFA14_specialS = + "\1\2\20\uffff\1\1\3\uffff\1\0\1\3\130\uffff}>"; + static final String[] DFA14_transitionS = { + "\11\31\2\30\2\31\1\30\22\31\1\30\1\31\1\25\1\31\1\20\2\31\1\26\4\31\1\6\1\31\1\15\1\27\12\24\1\31\1\1\1\21\1\14\3\31\32\23\3\31\1\22\1\23\1\31\1\4\1\23\1\10\1\17\2\23\1\12\1\23\1\2\2\23\1\3\2\23\1\13\1\16\2\23\1\7\1\11\2\23\1\5\3\23\uff85\31", + "", + "\1\33", + "\1\35", + "\1\37\17\uffff\1\36", + "\1\40", "", - "\1\44\1\43", + "\1\42", + "\1\43", + "\1\44", + "\1\45", "\1\46", - "\1\47", - "\1\50", "", - "\1\52\16\uffff\1\54\1\53", - "\1\55", - "\1\56", - "\1\57", - "\1\60", - "\1\61", "", + "\1\51\15\uffff\1\52", + "\1\53", + "\32\54\4\uffff\1\54\1\uffff\32\54", + "\0\55", + "\32\34\4\uffff\1\34\1\uffff\32\34", "", "", + "\0\57", + "\0\57", + "\1\60\4\uffff\1\61", "", "", "", + "\1\63\17\uffff\1\64\1\65", "", + "\1\66", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\70", + "\1\71", "", + "\1\72", "\1\73", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\17\34\1\74\12\34", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\77", "", "", - "\1\76", - "\1\77\15\uffff\1\100", + "\1\100", "\1\101", - "\1\45\34\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\102", "", "", "", - "\1\103\4\uffff\1\104", "", "", "", - "\1\106\17\uffff\1\107\1\110", - "\1\111", "", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "", + "\1\107", + "\1\110", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\112", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\114", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "", "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\115", "\1\116", "\1\117", "\1\120", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\121", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\123", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", "\1\124", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", - "", - "\1\125", "\1\126", - "\1\127", - "\1\130", - "", - "", "", "", + "\1\127", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "\1\131", "\1\132", "\1\133", + "", "\1\134", - "\1\135", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", "\1\136", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\1\137", + "", "\1\140", "\1\141", - "\1\142", - "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\143", "", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\1\144", "\1\145", "\1\146", - "\1\147", - "\1\150", - "\1\151", - "\1\152", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\154", - "\1\155", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "", - "\1\157", - "\1\160", - "\1\161", - "", - "\1\162", - "\1\163", - "\1\164", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\166", - "\1\167", - "\1\170", - "", - "\1\171", - "\1\172", - "", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\174", - "\1\175", - "\1\176\16\uffff\1\177", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0081", - "", - "\1\u0082", - "\1\u0083", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0086", - "", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "", - "\1\u008b", - "\1\u008c", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "", - "", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0091", - "\1\u0092", - "\1\u0093", - "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\1\152", + "\1\153", "", "", - "\1\u0094", - "\1\u0095", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\45\13\uffff\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "", + "\1\154", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", + "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34", "", "" }; - static final short[] DFA13_eot = DFA.unpackEncodedString(DFA13_eotS); - static final short[] DFA13_eof = DFA.unpackEncodedString(DFA13_eofS); - static final char[] DFA13_min = DFA.unpackEncodedStringToUnsignedChars(DFA13_minS); - static final char[] DFA13_max = DFA.unpackEncodedStringToUnsignedChars(DFA13_maxS); - static final short[] DFA13_accept = DFA.unpackEncodedString(DFA13_acceptS); - static final short[] DFA13_special = DFA.unpackEncodedString(DFA13_specialS); - static final short[][] DFA13_transition; + static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS); + static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS); + static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS); + static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS); + static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS); + static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS); + static final short[][] DFA14_transition; static { - int numStates = DFA13_transitionS.length; - DFA13_transition = new short[numStates][]; + int numStates = DFA14_transitionS.length; + DFA14_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA14_21<='\uFFFF')) ) {s = 47;} - else if ( (LA13_0=='i') ) {s = 2;} + else s = 25; - else if ( (LA13_0=='l') ) {s = 3;} + if ( s>=0 ) return s; + break; + case 1 : + int LA14_17 = input.LA(1); - else if ( (LA13_0=='a') ) {s = 4;} + s = -1; + if ( ((LA14_17>='\u0000' && LA14_17<='\uFFFF')) ) {s = 45;} - else if ( (LA13_0=='w') ) {s = 5;} + else s = 25; - else if ( (LA13_0==',') ) {s = 6;} + if ( s>=0 ) return s; + break; + case 2 : + int LA14_0 = input.LA(1); - else if ( (LA13_0=='s') ) {s = 7;} + s = -1; + if ( (LA14_0==';') ) {s = 1;} - else if ( (LA13_0=='c') ) {s = 8;} + else if ( (LA14_0=='i') ) {s = 2;} - else if ( (LA13_0=='t') ) {s = 9;} + else if ( (LA14_0=='l') ) {s = 3;} - else if ( (LA13_0=='g') ) {s = 10;} + else if ( (LA14_0=='a') ) {s = 4;} - else if ( (LA13_0=='o') ) {s = 11;} + else if ( (LA14_0=='w') ) {s = 5;} - else if ( (LA13_0=='=') ) {s = 12;} + else if ( (LA14_0==',') ) {s = 6;} - else if ( (LA13_0=='.') ) {s = 13;} + else if ( (LA14_0=='s') ) {s = 7;} - else if ( (LA13_0=='[') ) {s = 14;} + else if ( (LA14_0=='c') ) {s = 8;} - else if ( (LA13_0==']') ) {s = 15;} + else if ( (LA14_0=='t') ) {s = 9;} - else if ( (LA13_0=='(') ) {s = 16;} + else if ( (LA14_0=='g') ) {s = 10;} - else if ( (LA13_0==')') ) {s = 17;} + else if ( (LA14_0=='o') ) {s = 11;} - else if ( (LA13_0=='<') ) {s = 18;} + else if ( (LA14_0=='=') ) {s = 12;} - else if ( (LA13_0=='>') ) {s = 19;} + else if ( (LA14_0=='.') ) {s = 13;} - else if ( (LA13_0=='?') ) {s = 20;} + else if ( (LA14_0=='p') ) {s = 14;} - else if ( (LA13_0=='e') ) {s = 21;} + else if ( (LA14_0=='d') ) {s = 15;} - else if ( (LA13_0=='&') ) {s = 22;} + else if ( (LA14_0=='$') ) {s = 16;} - else if ( (LA13_0=='*') ) {s = 23;} + else if ( (LA14_0=='<') ) {s = 17;} - else if ( (LA13_0=='A') ) {s = 24;} + else if ( (LA14_0=='^') ) {s = 18;} - else if ( (LA13_0=='P') ) {s = 25;} + else if ( ((LA14_0>='A' && LA14_0<='Z')||LA14_0=='_'||LA14_0=='b'||(LA14_0>='e' && LA14_0<='f')||LA14_0=='h'||(LA14_0>='j' && LA14_0<='k')||(LA14_0>='m' && LA14_0<='n')||(LA14_0>='q' && LA14_0<='r')||(LA14_0>='u' && LA14_0<='v')||(LA14_0>='x' && LA14_0<='z')) ) {s = 19;} - else if ( (LA13_0=='D') ) {s = 26;} + else if ( ((LA14_0>='0' && LA14_0<='9')) ) {s = 20;} - else if ( (LA13_0=='^') ) {s = 27;} + else if ( (LA14_0=='\"') ) {s = 21;} - else if ( (LA13_0=='$'||(LA13_0>='B' && LA13_0<='C')||(LA13_0>='E' && LA13_0<='O')||(LA13_0>='Q' && LA13_0<='Z')||LA13_0=='_'||LA13_0=='b'||LA13_0=='d'||LA13_0=='f'||LA13_0=='h'||(LA13_0>='j' && LA13_0<='k')||(LA13_0>='m' && LA13_0<='n')||(LA13_0>='p' && LA13_0<='r')||(LA13_0>='u' && LA13_0<='v')||(LA13_0>='x' && LA13_0<='z')) ) {s = 28;} + else if ( (LA14_0=='\'') ) {s = 22;} - else if ( (LA13_0=='\"') ) {s = 29;} + else if ( (LA14_0=='/') ) {s = 23;} - else if ( (LA13_0=='\'') ) {s = 30;} + else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 24;} - else if ( (LA13_0=='/') ) {s = 31;} + else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||LA14_0=='#'||(LA14_0>='%' && LA14_0<='&')||(LA14_0>='(' && LA14_0<='+')||LA14_0=='-'||LA14_0==':'||(LA14_0>='>' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||(LA14_0>='{' && LA14_0<='\uFFFF')) ) {s = 25;} - else if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) {s = 32;} + if ( s>=0 ) return s; + break; + case 3 : + int LA14_22 = input.LA(1); + + s = -1; + if ( ((LA14_22>='\u0000' && LA14_22<='\uFFFF')) ) {s = 47;} - else if ( ((LA13_0>='\u0000' && LA13_0<='\b')||(LA13_0>='\u000B' && LA13_0<='\f')||(LA13_0>='\u000E' && LA13_0<='\u001F')||LA13_0=='!'||LA13_0=='#'||LA13_0=='%'||LA13_0=='+'||LA13_0=='-'||(LA13_0>='0' && LA13_0<=':')||LA13_0=='@'||LA13_0=='\\'||LA13_0=='`'||(LA13_0>='{' && LA13_0<='\uFFFF')) ) {s = 33;} + else s = 25; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 13, _s, input); + new NoViableAltException(getDescription(), 14, _s, input); error(nvae); throw nvae; } diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclParser.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclParser.java index 86651796..7fc3b258 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclParser.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/parser/antlr/internal/InternalTqclParser.java @@ -18,8 +18,7 @@ import java.util.Stack; import java.util.List; import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; + /******************************************************************************* * Copyright (c) 2016 Totaro Rodolfo * All rights reserved. This program and the accompanying materials @@ -35,49 +34,38 @@ @SuppressWarnings("all") public class InternalTqclParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "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'" + "", "", "", "", "RULE_STRING", "RULE_ID", "RULE_ENTITY_CLASS", "RULE_PARAMETER_NAME", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'include'", "'library'", "'insert'", "'as'", "'with'", "','", "'set'", "'connect'", "'to'", "'go'", "'into'", "'out'", "'top'", "'='", "'.'", "'actor'", "'parameter'", "'port'", "'director'" }; + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=10; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; public static final int T__17=17; public static final int T__18=18; - public static final int T__11=11; - public static final int T__12=12; public static final int T__13=13; public static final int T__14=14; - public static final int T__10=10; + 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_ID=5; + public static final int RULE_PARAMETER_NAME=7; + public static final int RULE_WS=11; + public static final int RULE_ANY_OTHER=12; + public static final int RULE_ENTITY_CLASS=6; public static final int T__26=26; public static final int T__27=27; public static final int T__28=28; + public static final int RULE_INT=8; public static final int T__29=29; public static final int T__22=22; - public static final int RULE_ML_COMMENT=6; + public static final int RULE_ML_COMMENT=9; public static final int T__23=23; public static final int T__24=24; public static final int T__25=25; public static final int T__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__42=42; - public static final int T__43=43; // delegates // delegators @@ -130,18 +118,14 @@ public final EObject entryRuleTriquetrumScript() throws RecognitionException { // InternalTqcl.g:74:57: (iv_ruleTriquetrumScript= ruleTriquetrumScript EOF ) // InternalTqcl.g:75:2: iv_ruleTriquetrumScript= ruleTriquetrumScript EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTriquetrumScriptRule()); - } + newCompositeNode(grammarAccess.getTriquetrumScriptRule()); pushFollow(FOLLOW_1); iv_ruleTriquetrumScript=ruleTriquetrumScript(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleTriquetrumScript; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleTriquetrumScript; + match(input,EOF,FOLLOW_2); } @@ -184,7 +168,7 @@ public final EObject ruleTriquetrumScript() throws RecognitionException { int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==12) ) { + if ( (LA1_0==15) ) { alt1=1; } @@ -196,29 +180,25 @@ public final EObject ruleTriquetrumScript() throws RecognitionException { // InternalTqcl.g:90:4: (lv_libraries_0_0= ruleLibrary ) // InternalTqcl.g:91:5: lv_libraries_0_0= ruleLibrary { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); - - } + newCompositeNode(grammarAccess.getTriquetrumScriptAccess().getLibrariesLibraryParserRuleCall_0_0()); + pushFollow(FOLLOW_3); lv_libraries_0_0=ruleLibrary(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getTriquetrumScriptRule()); - } - add( - current, - "libraries", - lv_libraries_0_0, - "org.eclipse.triquetrum.commands.Tqcl.Library"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getTriquetrumScriptRule()); + } + add( + current, + "libraries", + lv_libraries_0_0, + "org.eclipse.triquetrum.commands.Tqcl.Library"); + afterParserOrEnumRuleCall(); + } @@ -237,7 +217,7 @@ public final EObject ruleTriquetrumScript() throws RecognitionException { int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==11||LA2_0==13||(LA2_0>=17 && LA2_0<=18)||LA2_0==20) ) { + if ( (LA2_0==14||LA2_0==16||(LA2_0>=20 && LA2_0<=21)||LA2_0==23) ) { alt2=1; } @@ -249,29 +229,25 @@ public final EObject ruleTriquetrumScript() throws RecognitionException { // InternalTqcl.g:109:4: (lv_commands_1_0= ruleCommand ) // InternalTqcl.g:110:5: lv_commands_1_0= ruleCommand { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getTriquetrumScriptAccess().getCommandsCommandParserRuleCall_1_0()); + pushFollow(FOLLOW_4); lv_commands_1_0=ruleCommand(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getTriquetrumScriptRule()); - } - add( - current, - "commands", - lv_commands_1_0, - "org.eclipse.triquetrum.commands.Tqcl.Command"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getTriquetrumScriptRule()); + } + add( + current, + "commands", + lv_commands_1_0, + "org.eclipse.triquetrum.commands.Tqcl.Command"); + afterParserOrEnumRuleCall(); + } @@ -290,11 +266,9 @@ public final EObject ruleTriquetrumScript() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -320,18 +294,14 @@ public final EObject entryRuleCommand() throws RecognitionException { // InternalTqcl.g:131:48: (iv_ruleCommand= ruleCommand EOF ) // InternalTqcl.g:132:2: iv_ruleCommand= ruleCommand EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandRule()); - } + newCompositeNode(grammarAccess.getCommandRule()); pushFollow(FOLLOW_1); iv_ruleCommand=ruleCommand(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleCommand; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleCommand; + match(input,EOF,FOLLOW_2); } @@ -349,11 +319,11 @@ public final EObject entryRuleCommand() throws RecognitionException { // $ANTLR start "ruleCommand" - // 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= ';' ) ; + // 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_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) otherlv_7= ';' ) ; public final EObject ruleCommand() throws RecognitionException { EObject current = null; - Token otherlv_6=null; + Token otherlv_7=null; EObject this_Insert_0 = null; EObject this_Connect_1 = null; @@ -364,63 +334,72 @@ public final EObject ruleCommand() throws RecognitionException { EObject this_GoOut_4 = null; - EObject this_Include_5 = null; + EObject this_GoTop_5 = null; + + EObject this_Include_6 = null; enterRule(); try { - // 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_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) otherlv_7= ';' ) ) + // 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_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) otherlv_7= ';' ) { - // 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:2: ( (this_Insert_0= ruleInsert | this_Connect_1= ruleConnect | this_Set_2= ruleSet | this_GoInto_3= ruleGoInto | this_GoOut_4= ruleGoOut | this_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) otherlv_7= ';' ) + // 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_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) otherlv_7= ';' { - // 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; + // 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_GoTop_5= ruleGoTop | this_Include_6= ruleInclude ) + int alt3=7; switch ( input.LA(1) ) { - case 13: + case 16: { alt3=1; } break; - case 18: + case 21: { alt3=2; } break; - case 17: + case 20: { alt3=3; } break; - case 20: + case 23: { - int LA3_4 = input.LA(2); - - if ( (LA3_4==22) ) { + switch ( input.LA(2) ) { + case 26: + { + alt3=6; + } + break; + case 25: + { alt3=5; - } - else if ( (LA3_4==21) ) { + } + break; + case 24: + { alt3=4; - } - else { - if (state.backtracking>0) {state.failed=true; return current;} + } + break; + default: NoViableAltException nvae = new NoViableAltException("", 3, 4, input); throw nvae; } + } break; - case 11: + case 14: { - alt3=6; + alt3=7; } break; default: - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 3, 0, input); @@ -431,155 +410,145 @@ else if ( (LA3_4==21) ) { case 1 : // InternalTqcl.g:147:4: this_Insert_0= ruleInsert { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getInsertParserRuleCall_0_0()); + pushFollow(FOLLOW_5); this_Insert_0=ruleInsert(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Insert_0; - afterParserOrEnumRuleCall(); - - } + + current = this_Insert_0; + afterParserOrEnumRuleCall(); + } break; case 2 : // InternalTqcl.g:156:4: this_Connect_1= ruleConnect { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getConnectParserRuleCall_0_1()); + pushFollow(FOLLOW_5); this_Connect_1=ruleConnect(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Connect_1; - afterParserOrEnumRuleCall(); - - } + + current = this_Connect_1; + afterParserOrEnumRuleCall(); + } break; case 3 : // InternalTqcl.g:165:4: this_Set_2= ruleSet { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getSetParserRuleCall_0_2()); + pushFollow(FOLLOW_5); this_Set_2=ruleSet(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Set_2; - afterParserOrEnumRuleCall(); - - } + + current = this_Set_2; + afterParserOrEnumRuleCall(); + } break; case 4 : // InternalTqcl.g:174:4: this_GoInto_3= ruleGoInto { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getGoIntoParserRuleCall_0_3()); + pushFollow(FOLLOW_5); this_GoInto_3=ruleGoInto(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_GoInto_3; - afterParserOrEnumRuleCall(); - - } + + current = this_GoInto_3; + afterParserOrEnumRuleCall(); + } break; case 5 : // InternalTqcl.g:183:4: this_GoOut_4= ruleGoOut { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getGoOutParserRuleCall_0_4()); + pushFollow(FOLLOW_5); this_GoOut_4=ruleGoOut(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_GoOut_4; - afterParserOrEnumRuleCall(); - - } + + current = this_GoOut_4; + afterParserOrEnumRuleCall(); + } break; case 6 : - // InternalTqcl.g:192:4: this_Include_5= ruleInclude + // InternalTqcl.g:192:4: this_GoTop_5= ruleGoTop { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_5()); - - } + newCompositeNode(grammarAccess.getCommandAccess().getGoTopParserRuleCall_0_5()); + pushFollow(FOLLOW_5); - this_Include_5=ruleInclude(); + this_GoTop_5=ruleGoTop(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current = this_Include_5; - afterParserOrEnumRuleCall(); - + + current = this_GoTop_5; + afterParserOrEnumRuleCall(); + + } + break; + case 7 : + // InternalTqcl.g:201:4: this_Include_6= ruleInclude + { + + newCompositeNode(grammarAccess.getCommandAccess().getIncludeParserRuleCall_0_6()); + + pushFollow(FOLLOW_5); + this_Include_6=ruleInclude(); + + state._fsp--; + + + current = this_Include_6; + afterParserOrEnumRuleCall(); + } break; } - otherlv_6=(Token)match(input,10,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_7=(Token)match(input,13,FOLLOW_2); - newLeafNode(otherlv_6, grammarAccess.getCommandAccess().getSemicolonKeyword_1()); - - } + newLeafNode(otherlv_7, grammarAccess.getCommandAccess().getSemicolonKeyword_1()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -594,7 +563,7 @@ else if ( (LA3_4==21) ) { // $ANTLR start "entryRuleInclude" - // InternalTqcl.g:209:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ; + // InternalTqcl.g:218:1: entryRuleInclude returns [EObject current=null] : iv_ruleInclude= ruleInclude EOF ; public final EObject entryRuleInclude() throws RecognitionException { EObject current = null; @@ -602,21 +571,17 @@ public final EObject entryRuleInclude() throws RecognitionException { try { - // InternalTqcl.g:209:48: (iv_ruleInclude= ruleInclude EOF ) - // InternalTqcl.g:210:2: iv_ruleInclude= ruleInclude EOF + // InternalTqcl.g:218:48: (iv_ruleInclude= ruleInclude EOF ) + // InternalTqcl.g:219:2: iv_ruleInclude= ruleInclude EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getIncludeRule()); - } + newCompositeNode(grammarAccess.getIncludeRule()); pushFollow(FOLLOW_1); iv_ruleInclude=ruleInclude(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleInclude; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleInclude; + match(input,EOF,FOLLOW_2); } @@ -634,7 +599,7 @@ public final EObject entryRuleInclude() 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= ';' ) ; + // InternalTqcl.g:225: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; @@ -646,65 +611,55 @@ public final EObject ruleInclude() throws RecognitionException { enterRule(); try { - // 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:231:2: ( (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) ) + // InternalTqcl.g:232: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:224:3: otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' + // InternalTqcl.g:232:2: (otherlv_0= 'include' ( (lv_filename_1_0= RULE_STRING ) ) otherlv_2= ';' ) + // InternalTqcl.g:233: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 ) { + otherlv_0=(Token)match(input,14,FOLLOW_6); - newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0()); - - } - // InternalTqcl.g:228:3: ( (lv_filename_1_0= RULE_STRING ) ) - // InternalTqcl.g:229:4: (lv_filename_1_0= RULE_STRING ) + newLeafNode(otherlv_0, grammarAccess.getIncludeAccess().getIncludeKeyword_0()); + + // InternalTqcl.g:237:3: ( (lv_filename_1_0= RULE_STRING ) ) + // InternalTqcl.g:238:4: (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 + // InternalTqcl.g:238:4: (lv_filename_1_0= RULE_STRING ) + // InternalTqcl.g:239: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 ) { + lv_filename_1_0=(Token)match(input,RULE_STRING,FOLLOW_5); - newLeafNode(lv_filename_1_0, grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getIncludeRule()); - } - setWithLastConsumed( - current, - "filename", - lv_filename_1_0, - "org.eclipse.xtext.xbase.Xtype.STRING"); - - } + newLeafNode(lv_filename_1_0, grammarAccess.getIncludeAccess().getFilenameSTRINGTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getIncludeRule()); + } + setWithLastConsumed( + current, + "filename", + lv_filename_1_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } } - otherlv_2=(Token)match(input,10,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,13,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); - - } + newLeafNode(otherlv_2, grammarAccess.getIncludeAccess().getSemicolonKeyword_2()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -719,7 +674,7 @@ public final EObject ruleInclude() throws RecognitionException { // $ANTLR start "entryRuleLibrary" - // InternalTqcl.g:254:1: entryRuleLibrary returns [EObject current=null] : iv_ruleLibrary= ruleLibrary EOF ; + // InternalTqcl.g:263:1: entryRuleLibrary returns [EObject current=null] : iv_ruleLibrary= ruleLibrary EOF ; public final EObject entryRuleLibrary() throws RecognitionException { EObject current = null; @@ -727,21 +682,17 @@ public final EObject entryRuleLibrary() throws RecognitionException { try { - // InternalTqcl.g:254:48: (iv_ruleLibrary= ruleLibrary EOF ) - // InternalTqcl.g:255:2: iv_ruleLibrary= ruleLibrary EOF + // InternalTqcl.g:263:48: (iv_ruleLibrary= ruleLibrary EOF ) + // InternalTqcl.g:264:2: iv_ruleLibrary= ruleLibrary EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getLibraryRule()); - } + newCompositeNode(grammarAccess.getLibraryRule()); pushFollow(FOLLOW_1); iv_ruleLibrary=ruleLibrary(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleLibrary; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleLibrary; + match(input,EOF,FOLLOW_2); } @@ -759,7 +710,7 @@ public final EObject entryRuleLibrary() throws RecognitionException { // $ANTLR start "ruleLibrary" - // InternalTqcl.g:261:1: ruleLibrary returns [EObject current=null] : (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) ; + // InternalTqcl.g:270: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; @@ -771,65 +722,55 @@ public final EObject ruleLibrary() throws RecognitionException { enterRule(); try { - // 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:276:2: ( (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) ) + // InternalTqcl.g:277: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:269:3: otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' + // InternalTqcl.g:277:2: (otherlv_0= 'library' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ';' ) + // InternalTqcl.g:278: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 ) { + otherlv_0=(Token)match(input,15,FOLLOW_7); - newLeafNode(otherlv_0, grammarAccess.getLibraryAccess().getLibraryKeyword_0()); - - } - // InternalTqcl.g:273:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalTqcl.g:274:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getLibraryAccess().getLibraryKeyword_0()); + + // InternalTqcl.g:282:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalTqcl.g:283:4: (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 + // InternalTqcl.g:283:4: (lv_name_1_0= RULE_ID ) + // InternalTqcl.g:284: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 ) { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_5); - newLeafNode(lv_name_1_0, grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getLibraryRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.xbase.Xtype.ID"); - - } + newLeafNode(lv_name_1_0, grammarAccess.getLibraryAccess().getNameIDTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getLibraryRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } } - otherlv_2=(Token)match(input,10,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_2=(Token)match(input,13,FOLLOW_2); - newLeafNode(otherlv_2, grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); - - } + newLeafNode(otherlv_2, grammarAccess.getLibraryAccess().getSemicolonKeyword_2()); + } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -844,7 +785,7 @@ public final EObject ruleLibrary() throws RecognitionException { // $ANTLR start "entryRuleInsert" - // InternalTqcl.g:299:1: entryRuleInsert returns [EObject current=null] : iv_ruleInsert= ruleInsert EOF ; + // InternalTqcl.g:308:1: entryRuleInsert returns [EObject current=null] : iv_ruleInsert= ruleInsert EOF ; public final EObject entryRuleInsert() throws RecognitionException { EObject current = null; @@ -852,21 +793,17 @@ public final EObject entryRuleInsert() throws RecognitionException { try { - // InternalTqcl.g:299:47: (iv_ruleInsert= ruleInsert EOF ) - // InternalTqcl.g:300:2: iv_ruleInsert= ruleInsert EOF + // InternalTqcl.g:308:47: (iv_ruleInsert= ruleInsert EOF ) + // InternalTqcl.g:309:2: iv_ruleInsert= ruleInsert EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getInsertRule()); - } + newCompositeNode(grammarAccess.getInsertRule()); pushFollow(FOLLOW_1); iv_ruleInsert=ruleInsert(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleInsert; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleInsert; + match(input,EOF,FOLLOW_2); } @@ -884,19 +821,18 @@ public final EObject entryRuleInsert() throws RecognitionException { // $ANTLR start "ruleInsert" - // 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= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) ; + // InternalTqcl.g:315:1: ruleInsert returns [EObject current=null] : (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) ; public final EObject ruleInsert() throws RecognitionException { EObject current = null; Token otherlv_0=null; + Token lv_entityClass_2_0=null; Token otherlv_3=null; Token lv_name_4_0=null; Token otherlv_5=null; Token otherlv_7=null; Enumerator lv_category_1_0 = null; - AntlrDatatypeRuleToken lv_obj_2_0 = null; - EObject lv_parameters_6_0 = null; EObject lv_parameters_8_0 = null; @@ -906,55 +842,49 @@ public final EObject ruleInsert() throws RecognitionException { enterRule(); try { - // InternalTqcl.g:312:2: ( (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_obj_2_0= ruleNamedObj ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (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= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) + // InternalTqcl.g:321:2: ( (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) ) + // InternalTqcl.g:322:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (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= RULE_STRING ) ) (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= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? + // InternalTqcl.g:322:2: (otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? ) + // InternalTqcl.g:323:3: otherlv_0= 'insert' ( (lv_category_1_0= ruleCategory ) )? ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) otherlv_3= 'as' ( (lv_name_4_0= RULE_STRING ) ) (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 ) { + otherlv_0=(Token)match(input,16,FOLLOW_8); - newLeafNode(otherlv_0, grammarAccess.getInsertAccess().getInsertKeyword_0()); - - } - // InternalTqcl.g:318:3: ( (lv_category_1_0= ruleCategory ) )? + newLeafNode(otherlv_0, grammarAccess.getInsertAccess().getInsertKeyword_0()); + + // InternalTqcl.g:327:3: ( (lv_category_1_0= ruleCategory ) )? int alt4=2; int LA4_0 = input.LA(1); - if ( ((LA4_0>=40 && LA4_0<=43)) ) { + if ( ((LA4_0>=29 && LA4_0<=32)) ) { alt4=1; } switch (alt4) { case 1 : - // InternalTqcl.g:319:4: (lv_category_1_0= ruleCategory ) + // InternalTqcl.g:328:4: (lv_category_1_0= ruleCategory ) { - // InternalTqcl.g:319:4: (lv_category_1_0= ruleCategory ) - // InternalTqcl.g:320:5: lv_category_1_0= ruleCategory + // InternalTqcl.g:328:4: (lv_category_1_0= ruleCategory ) + // InternalTqcl.g:329:5: lv_category_1_0= ruleCategory { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); - - } - pushFollow(FOLLOW_8); + newCompositeNode(grammarAccess.getInsertAccess().getCategoryCategoryEnumRuleCall_1_0()); + + pushFollow(FOLLOW_9); lv_category_1_0=ruleCategory(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getInsertRule()); - } - set( - current, - "category", - lv_category_1_0, - "org.eclipse.triquetrum.commands.Tqcl.Category"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInsertRule()); + } + set( + current, + "category", + lv_category_1_0, + "org.eclipse.triquetrum.commands.Tqcl.Category"); + afterParserOrEnumRuleCall(); + } @@ -964,179 +894,152 @@ public final EObject ruleInsert() throws RecognitionException { } - // InternalTqcl.g:337:3: ( (lv_obj_2_0= ruleNamedObj ) ) - // InternalTqcl.g:338:4: (lv_obj_2_0= ruleNamedObj ) + // InternalTqcl.g:346:3: ( (lv_entityClass_2_0= RULE_ENTITY_CLASS ) ) + // InternalTqcl.g:347:4: (lv_entityClass_2_0= RULE_ENTITY_CLASS ) { - // InternalTqcl.g:338:4: (lv_obj_2_0= ruleNamedObj ) - // InternalTqcl.g:339:5: lv_obj_2_0= ruleNamedObj + // InternalTqcl.g:347:4: (lv_entityClass_2_0= RULE_ENTITY_CLASS ) + // InternalTqcl.g:348:5: lv_entityClass_2_0= RULE_ENTITY_CLASS { - if ( state.backtracking==0 ) { + lv_entityClass_2_0=(Token)match(input,RULE_ENTITY_CLASS,FOLLOW_10); - newCompositeNode(grammarAccess.getInsertAccess().getObjNamedObjParserRuleCall_2_0()); - - } - pushFollow(FOLLOW_9); - lv_obj_2_0=ruleNamedObj(); + newLeafNode(lv_entityClass_2_0, grammarAccess.getInsertAccess().getEntityClassENTITY_CLASSTerminalRuleCall_2_0()); + - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getInsertRule()); - } - set( - current, - "obj", - lv_obj_2_0, - "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); - afterParserOrEnumRuleCall(); - - } + if (current==null) { + current = createModelElement(grammarAccess.getInsertRule()); + } + setWithLastConsumed( + current, + "entityClass", + lv_entityClass_2_0, + "org.eclipse.triquetrum.commands.Tqcl.ENTITY_CLASS"); + } } - otherlv_3=(Token)match(input,14,FOLLOW_6); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_3=(Token)match(input,17,FOLLOW_6); - newLeafNode(otherlv_3, grammarAccess.getInsertAccess().getAsKeyword_3()); - - } - // InternalTqcl.g:360:3: ( (lv_name_4_0= RULE_STRING ) ) - // InternalTqcl.g:361:4: (lv_name_4_0= RULE_STRING ) + newLeafNode(otherlv_3, grammarAccess.getInsertAccess().getAsKeyword_3()); + + // InternalTqcl.g:368:3: ( (lv_name_4_0= RULE_STRING ) ) + // InternalTqcl.g:369:4: (lv_name_4_0= RULE_STRING ) { - // InternalTqcl.g:361:4: (lv_name_4_0= RULE_STRING ) - // InternalTqcl.g:362:5: lv_name_4_0= RULE_STRING + // InternalTqcl.g:369:4: (lv_name_4_0= RULE_STRING ) + // InternalTqcl.g:370:5: lv_name_4_0= RULE_STRING { - lv_name_4_0=(Token)match(input,RULE_STRING,FOLLOW_10); if (state.failed) return current; - if ( state.backtracking==0 ) { + lv_name_4_0=(Token)match(input,RULE_STRING,FOLLOW_11); - newLeafNode(lv_name_4_0, grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getInsertRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_4_0, - "org.eclipse.xtext.xbase.Xtype.STRING"); - - } + newLeafNode(lv_name_4_0, grammarAccess.getInsertAccess().getNameSTRINGTerminalRuleCall_4_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getInsertRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_4_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } } - // InternalTqcl.g:378:3: (otherlv_5= 'with' ( (lv_parameters_6_0= ruleParameter ) ) (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* )? + // InternalTqcl.g:386: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); - if ( (LA6_0==15) ) { + if ( (LA6_0==18) ) { alt6=1; } 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:387: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 ) { + otherlv_5=(Token)match(input,18,FOLLOW_12); - 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 ) + newLeafNode(otherlv_5, grammarAccess.getInsertAccess().getWithKeyword_5_0()); + + // InternalTqcl.g:391:4: ( (lv_parameters_6_0= ruleParameter ) ) + // InternalTqcl.g:392: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:392:5: (lv_parameters_6_0= ruleParameter ) + // InternalTqcl.g:393:6: lv_parameters_6_0= ruleParameter { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); - - } - pushFollow(FOLLOW_11); + newCompositeNode(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_1_0()); + + pushFollow(FOLLOW_13); lv_parameters_6_0=ruleParameter(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getInsertRule()); - } - add( - current, - "parameters", - lv_parameters_6_0, - "org.eclipse.triquetrum.commands.Tqcl.Parameter"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInsertRule()); + } + add( + current, + "parameters", + lv_parameters_6_0, + "org.eclipse.triquetrum.commands.Tqcl.Parameter"); + afterParserOrEnumRuleCall(); + } } - // InternalTqcl.g:402:4: (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* + // InternalTqcl.g:410:4: (otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) )* loop5: do { int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==16) ) { + if ( (LA5_0==19) ) { alt5=1; } switch (alt5) { case 1 : - // InternalTqcl.g:403:5: otherlv_7= ',' ( (lv_parameters_8_0= ruleParameter ) ) + // InternalTqcl.g:411: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 ) { + otherlv_7=(Token)match(input,19,FOLLOW_12); - 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 ) + newLeafNode(otherlv_7, grammarAccess.getInsertAccess().getCommaKeyword_5_2_0()); + + // InternalTqcl.g:415:5: ( (lv_parameters_8_0= ruleParameter ) ) + // InternalTqcl.g:416: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:416:6: (lv_parameters_8_0= ruleParameter ) + // InternalTqcl.g:417:7: lv_parameters_8_0= ruleParameter { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); - - } - pushFollow(FOLLOW_11); + newCompositeNode(grammarAccess.getInsertAccess().getParametersParameterParserRuleCall_5_2_1_0()); + + pushFollow(FOLLOW_13); lv_parameters_8_0=ruleParameter(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getInsertRule()); - } - add( - current, - "parameters", - lv_parameters_8_0, - "org.eclipse.triquetrum.commands.Tqcl.Parameter"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInsertRule()); + } + add( + current, + "parameters", + lv_parameters_8_0, + "org.eclipse.triquetrum.commands.Tqcl.Parameter"); + afterParserOrEnumRuleCall(); + } @@ -1164,11 +1067,9 @@ public final EObject ruleInsert() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1183,7 +1084,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:440:1: entryRuleSet returns [EObject current=null] : iv_ruleSet= ruleSet EOF ; public final EObject entryRuleSet() throws RecognitionException { EObject current = null; @@ -1191,21 +1092,17 @@ 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:440:44: (iv_ruleSet= ruleSet EOF ) + // InternalTqcl.g:441:2: iv_ruleSet= ruleSet EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getSetRule()); - } + newCompositeNode(grammarAccess.getSetRule()); pushFollow(FOLLOW_1); iv_ruleSet=ruleSet(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleSet; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleSet; + match(input,EOF,FOLLOW_2); } @@ -1223,7 +1120,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:447:1: ruleSet returns [EObject current=null] : (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) ; public final EObject ruleSet() throws RecognitionException { EObject current = null; @@ -1235,47 +1132,41 @@ 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:453:2: ( (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) ) + // InternalTqcl.g:454: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:454:2: (otherlv_0= 'set' ( (lv_param_1_0= ruleParameter ) ) ) + // InternalTqcl.g:455: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 ) { + otherlv_0=(Token)match(input,20,FOLLOW_12); - 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 ) + newLeafNode(otherlv_0, grammarAccess.getSetAccess().getSetKeyword_0()); + + // InternalTqcl.g:459:3: ( (lv_param_1_0= ruleParameter ) ) + // InternalTqcl.g:460: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:460:4: (lv_param_1_0= ruleParameter ) + // InternalTqcl.g:461:5: lv_param_1_0= ruleParameter { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); - - } + newCompositeNode(grammarAccess.getSetAccess().getParamParameterParserRuleCall_1_0()); + pushFollow(FOLLOW_2); lv_param_1_0=ruleParameter(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getSetRule()); - } - set( - current, - "param", - lv_param_1_0, - "org.eclipse.triquetrum.commands.Tqcl.Parameter"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSetRule()); + } + set( + current, + "param", + lv_param_1_0, + "org.eclipse.triquetrum.commands.Tqcl.Parameter"); + afterParserOrEnumRuleCall(); + } @@ -1288,11 +1179,9 @@ public final EObject ruleSet() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1307,7 +1196,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:482:1: entryRuleConnect returns [EObject current=null] : iv_ruleConnect= ruleConnect EOF ; public final EObject entryRuleConnect() throws RecognitionException { EObject current = null; @@ -1315,21 +1204,17 @@ 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:482:48: (iv_ruleConnect= ruleConnect EOF ) + // InternalTqcl.g:483:2: iv_ruleConnect= ruleConnect EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectRule()); - } + newCompositeNode(grammarAccess.getConnectRule()); pushFollow(FOLLOW_1); iv_ruleConnect=ruleConnect(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConnect; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConnect; + match(input,EOF,FOLLOW_2); } @@ -1347,7 +1232,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:489: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; @@ -1368,103 +1253,91 @@ 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:495: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:496: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:496: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:497: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 ) { + otherlv_0=(Token)match(input,21,FOLLOW_7); - 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 ) + newLeafNode(otherlv_0, grammarAccess.getConnectAccess().getConnectKeyword_0()); + + // InternalTqcl.g:501:3: ( (lv_from_1_0= ruleConnectionPort ) ) + // InternalTqcl.g:502: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:502:4: (lv_from_1_0= ruleConnectionPort ) + // InternalTqcl.g:503:5: lv_from_1_0= ruleConnectionPort { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); - - } - pushFollow(FOLLOW_12); + newCompositeNode(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_1_0()); + + pushFollow(FOLLOW_14); lv_from_1_0=ruleConnectionPort(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConnectRule()); - } - add( - current, - "from", - lv_from_1_0, - "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConnectRule()); + } + add( + current, + "from", + lv_from_1_0, + "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); + afterParserOrEnumRuleCall(); + } } - // InternalTqcl.g:512:3: (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* + // InternalTqcl.g:520:3: (otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); - if ( (LA7_0==16) ) { + if ( (LA7_0==19) ) { alt7=1; } switch (alt7) { case 1 : - // InternalTqcl.g:513:4: otherlv_2= ',' ( (lv_from_3_0= ruleConnectionPort ) ) + // InternalTqcl.g:521: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 ) { + otherlv_2=(Token)match(input,19,FOLLOW_7); - 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 ) + newLeafNode(otherlv_2, grammarAccess.getConnectAccess().getCommaKeyword_2_0()); + + // InternalTqcl.g:525:4: ( (lv_from_3_0= ruleConnectionPort ) ) + // InternalTqcl.g:526: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:526:5: (lv_from_3_0= ruleConnectionPort ) + // InternalTqcl.g:527:6: lv_from_3_0= ruleConnectionPort { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); - - } - pushFollow(FOLLOW_12); + newCompositeNode(grammarAccess.getConnectAccess().getFromConnectionPortParserRuleCall_2_1_0()); + + pushFollow(FOLLOW_14); lv_from_3_0=ruleConnectionPort(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConnectRule()); - } - add( - current, - "from", - lv_from_3_0, - "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConnectRule()); + } + add( + current, + "from", + lv_from_3_0, + "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); + afterParserOrEnumRuleCall(); + } @@ -1480,97 +1353,85 @@ public final EObject ruleConnect() throws RecognitionException { } } while (true); - otherlv_4=(Token)match(input,19,FOLLOW_7); if (state.failed) return current; - if ( state.backtracking==0 ) { + otherlv_4=(Token)match(input,22,FOLLOW_7); - 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 ) + newLeafNode(otherlv_4, grammarAccess.getConnectAccess().getToKeyword_3()); + + // InternalTqcl.g:549:3: ( (lv_to_5_0= ruleConnectionPort ) ) + // InternalTqcl.g:550: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:550:4: (lv_to_5_0= ruleConnectionPort ) + // InternalTqcl.g:551:5: lv_to_5_0= ruleConnectionPort { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); - - } - pushFollow(FOLLOW_11); + newCompositeNode(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_4_0()); + + pushFollow(FOLLOW_13); lv_to_5_0=ruleConnectionPort(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConnectRule()); - } - add( - current, - "to", - lv_to_5_0, - "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConnectRule()); + } + add( + current, + "to", + lv_to_5_0, + "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); + afterParserOrEnumRuleCall(); + } } - // InternalTqcl.g:560:3: (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* + // InternalTqcl.g:568:3: (otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); - if ( (LA8_0==16) ) { + if ( (LA8_0==19) ) { alt8=1; } switch (alt8) { case 1 : - // InternalTqcl.g:561:4: otherlv_6= ',' ( (lv_to_7_0= ruleConnectionPort ) ) + // InternalTqcl.g:569: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 ) { + otherlv_6=(Token)match(input,19,FOLLOW_7); - 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 ) + newLeafNode(otherlv_6, grammarAccess.getConnectAccess().getCommaKeyword_5_0()); + + // InternalTqcl.g:573:4: ( (lv_to_7_0= ruleConnectionPort ) ) + // InternalTqcl.g:574: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:574:5: (lv_to_7_0= ruleConnectionPort ) + // InternalTqcl.g:575:6: lv_to_7_0= ruleConnectionPort { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); - - } - pushFollow(FOLLOW_11); + newCompositeNode(grammarAccess.getConnectAccess().getToConnectionPortParserRuleCall_5_1_0()); + + pushFollow(FOLLOW_13); lv_to_7_0=ruleConnectionPort(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConnectRule()); - } - add( - current, - "to", - lv_to_7_0, - "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConnectRule()); + } + add( + current, + "to", + lv_to_7_0, + "org.eclipse.triquetrum.commands.Tqcl.ConnectionPort"); + afterParserOrEnumRuleCall(); + } @@ -1592,11 +1453,9 @@ public final EObject ruleConnect() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1611,7 +1470,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:597:1: entryRuleGoInto returns [EObject current=null] : iv_ruleGoInto= ruleGoInto EOF ; public final EObject entryRuleGoInto() throws RecognitionException { EObject current = null; @@ -1619,21 +1478,17 @@ 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:597:47: (iv_ruleGoInto= ruleGoInto EOF ) + // InternalTqcl.g:598:2: iv_ruleGoInto= ruleGoInto EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGoIntoRule()); - } + newCompositeNode(grammarAccess.getGoIntoRule()); pushFollow(FOLLOW_1); iv_ruleGoInto=ruleGoInto(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGoInto; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGoInto; + match(input,EOF,FOLLOW_2); } @@ -1651,7 +1506,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:604: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; @@ -1664,73 +1519,63 @@ 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:610:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) ) + // InternalTqcl.g:611: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:611:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'into' ) ) ( (lv_obj_2_0= ruleNamedObj ) ) ) + // InternalTqcl.g:612: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 ) { + otherlv_0=(Token)match(input,23,FOLLOW_15); - 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' ) + newLeafNode(otherlv_0, grammarAccess.getGoIntoAccess().getGoKeyword_0()); + + // InternalTqcl.g:616:3: ( (lv_direction_1_0= 'into' ) ) + // InternalTqcl.g:617: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:617:4: (lv_direction_1_0= 'into' ) + // InternalTqcl.g:618: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 ) { + lv_direction_1_0=(Token)match(input,24,FOLLOW_16); - newLeafNode(lv_direction_1_0, grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); - - } - if ( state.backtracking==0 ) { + newLeafNode(lv_direction_1_0, grammarAccess.getGoIntoAccess().getDirectionIntoKeyword_1_0()); + - if (current==null) { - current = createModelElement(grammarAccess.getGoIntoRule()); - } - setWithLastConsumed(current, "direction", lv_direction_1_0, "into"); - - } + if (current==null) { + current = createModelElement(grammarAccess.getGoIntoRule()); + } + setWithLastConsumed(current, "direction", lv_direction_1_0, "into"); + } } - // InternalTqcl.g:622:3: ( (lv_obj_2_0= ruleNamedObj ) ) - // InternalTqcl.g:623:4: (lv_obj_2_0= ruleNamedObj ) + // InternalTqcl.g:630:3: ( (lv_obj_2_0= ruleNamedObj ) ) + // InternalTqcl.g:631: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:631:4: (lv_obj_2_0= ruleNamedObj ) + // InternalTqcl.g:632:5: lv_obj_2_0= ruleNamedObj { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); - - } + newCompositeNode(grammarAccess.getGoIntoAccess().getObjNamedObjParserRuleCall_2_0()); + pushFollow(FOLLOW_2); lv_obj_2_0=ruleNamedObj(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getGoIntoRule()); - } - set( - current, - "obj", - lv_obj_2_0, - "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); - afterParserOrEnumRuleCall(); - - } + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGoIntoRule()); + } + set( + current, + "obj", + lv_obj_2_0, + "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); + afterParserOrEnumRuleCall(); + } @@ -1743,11 +1588,9 @@ public final EObject ruleGoInto() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -1762,7 +1605,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:653:1: entryRuleGoOut returns [EObject current=null] : iv_ruleGoOut= ruleGoOut EOF ; public final EObject entryRuleGoOut() throws RecognitionException { EObject current = null; @@ -1770,21 +1613,17 @@ 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:653:46: (iv_ruleGoOut= ruleGoOut EOF ) + // InternalTqcl.g:654:2: iv_ruleGoOut= ruleGoOut EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getGoOutRule()); - } + newCompositeNode(grammarAccess.getGoOutRule()); pushFollow(FOLLOW_1); iv_ruleGoOut=ruleGoOut(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleGoOut; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleGoOut; + match(input,EOF,FOLLOW_2); } @@ -1802,7 +1641,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:660:1: ruleGoOut returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) ; public final EObject ruleGoOut() throws RecognitionException { EObject current = null; @@ -1813,55 +1652,149 @@ 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:666:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) ) + // InternalTqcl.g:667: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:667:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'out' ) ) ) + // InternalTqcl.g:668: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 ) { + otherlv_0=(Token)match(input,23,FOLLOW_17); - 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' ) + newLeafNode(otherlv_0, grammarAccess.getGoOutAccess().getGoKeyword_0()); + + // InternalTqcl.g:672:3: ( (lv_direction_1_0= 'out' ) ) + // InternalTqcl.g:673: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:673:4: (lv_direction_1_0= 'out' ) + // InternalTqcl.g:674: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 ) { + lv_direction_1_0=(Token)match(input,25,FOLLOW_2); + + newLeafNode(lv_direction_1_0, grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGoOutRule()); + } + setWithLastConsumed(current, "direction", lv_direction_1_0, "out"); + + + } + + + } + + + } + - newLeafNode(lv_direction_1_0, grammarAccess.getGoOutAccess().getDirectionOutKeyword_1_0()); - } - if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getGoOutRule()); - } - setWithLastConsumed(current, "direction", lv_direction_1_0, "out"); - + + leaveRule(); + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); } + finally { + } + return current; + } + // $ANTLR end "ruleGoOut" + + + // $ANTLR start "entryRuleGoTop" + // InternalTqcl.g:690:1: entryRuleGoTop returns [EObject current=null] : iv_ruleGoTop= ruleGoTop EOF ; + public final EObject entryRuleGoTop() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGoTop = null; + + + try { + // InternalTqcl.g:690:46: (iv_ruleGoTop= ruleGoTop EOF ) + // InternalTqcl.g:691:2: iv_ruleGoTop= ruleGoTop EOF + { + newCompositeNode(grammarAccess.getGoTopRule()); + pushFollow(FOLLOW_1); + iv_ruleGoTop=ruleGoTop(); + + state._fsp--; + + current =iv_ruleGoTop; + match(input,EOF,FOLLOW_2); } + } + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); } + finally { + } + return current; + } + // $ANTLR end "entryRuleGoTop" + + + // $ANTLR start "ruleGoTop" + // InternalTqcl.g:697:1: ruleGoTop returns [EObject current=null] : (otherlv_0= 'go' ( (lv_direction_1_0= 'top' ) ) ) ; + public final EObject ruleGoTop() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_direction_1_0=null; + + + enterRule(); + + try { + // InternalTqcl.g:703:2: ( (otherlv_0= 'go' ( (lv_direction_1_0= 'top' ) ) ) ) + // InternalTqcl.g:704:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'top' ) ) ) + { + // InternalTqcl.g:704:2: (otherlv_0= 'go' ( (lv_direction_1_0= 'top' ) ) ) + // InternalTqcl.g:705:3: otherlv_0= 'go' ( (lv_direction_1_0= 'top' ) ) + { + otherlv_0=(Token)match(input,23,FOLLOW_18); + + newLeafNode(otherlv_0, grammarAccess.getGoTopAccess().getGoKeyword_0()); + + // InternalTqcl.g:709:3: ( (lv_direction_1_0= 'top' ) ) + // InternalTqcl.g:710:4: (lv_direction_1_0= 'top' ) + { + // InternalTqcl.g:710:4: (lv_direction_1_0= 'top' ) + // InternalTqcl.g:711:5: lv_direction_1_0= 'top' + { + lv_direction_1_0=(Token)match(input,26,FOLLOW_2); + newLeafNode(lv_direction_1_0, grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getGoTopRule()); + } + setWithLastConsumed(current, "direction", lv_direction_1_0, "top"); + } } - if ( state.backtracking==0 ) { - leaveRule(); + } + } + + + leaveRule(); + } catch (RecognitionException re) { @@ -1872,11 +1805,11 @@ public final EObject ruleGoOut() throws RecognitionException { } return current; } - // $ANTLR end "ruleGoOut" + // $ANTLR end "ruleGoTop" // $ANTLR start "entryRuleParameter" - // InternalTqcl.g:682:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; + // InternalTqcl.g:727:1: entryRuleParameter returns [EObject current=null] : iv_ruleParameter= ruleParameter EOF ; public final EObject entryRuleParameter() throws RecognitionException { EObject current = null; @@ -1884,21 +1817,17 @@ public final EObject entryRuleParameter() throws RecognitionException { try { - // InternalTqcl.g:682:50: (iv_ruleParameter= ruleParameter EOF ) - // InternalTqcl.g:683:2: iv_ruleParameter= ruleParameter EOF + // InternalTqcl.g:727:50: (iv_ruleParameter= ruleParameter EOF ) + // InternalTqcl.g:728:2: iv_ruleParameter= ruleParameter EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getParameterRule()); - } + newCompositeNode(grammarAccess.getParameterRule()); pushFollow(FOLLOW_1); iv_ruleParameter=ruleParameter(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleParameter; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleParameter; + match(input,EOF,FOLLOW_2); } @@ -1916,7 +1845,7 @@ public final EObject entryRuleParameter() throws RecognitionException { // $ANTLR start "ruleParameter" - // InternalTqcl.g:689:1: ruleParameter returns [EObject current=null] : ( ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + // InternalTqcl.g:734:1: ruleParameter returns [EObject current=null] : ( ( (lv_id_0_0= ruleParameter_id ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; public final EObject ruleParameter() throws RecognitionException { EObject current = null; @@ -1929,77 +1858,67 @@ public final EObject ruleParameter() throws RecognitionException { enterRule(); try { - // InternalTqcl.g:695: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:740:2: ( ( ( (lv_id_0_0= ruleParameter_id ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalTqcl.g:741:2: ( ( (lv_id_0_0= ruleParameter_id ) ) 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:3: ( (lv_id_0_0= ruleNamedObj ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + // InternalTqcl.g:741:2: ( ( (lv_id_0_0= ruleParameter_id ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalTqcl.g:742:3: ( (lv_id_0_0= ruleParameter_id ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) { - // InternalTqcl.g:697:3: ( (lv_id_0_0= ruleNamedObj ) ) - // InternalTqcl.g:698:4: (lv_id_0_0= ruleNamedObj ) + // InternalTqcl.g:742:3: ( (lv_id_0_0= ruleParameter_id ) ) + // InternalTqcl.g:743:4: (lv_id_0_0= ruleParameter_id ) { - // InternalTqcl.g:698:4: (lv_id_0_0= ruleNamedObj ) - // InternalTqcl.g:699:5: lv_id_0_0= ruleNamedObj + // InternalTqcl.g:743:4: (lv_id_0_0= ruleParameter_id ) + // InternalTqcl.g:744:5: lv_id_0_0= ruleParameter_id { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0()); - - } - pushFollow(FOLLOW_15); - lv_id_0_0=ruleNamedObj(); + newCompositeNode(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0()); + + pushFollow(FOLLOW_19); + lv_id_0_0=ruleParameter_id(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getParameterRule()); - } - set( - current, - "id", - lv_id_0_0, - "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); - afterParserOrEnumRuleCall(); - - } - } + if (current==null) { + current = createModelElementForParent(grammarAccess.getParameterRule()); + } + set( + current, + "id", + lv_id_0_0, + "org.eclipse.triquetrum.commands.Tqcl.Parameter_id"); + afterParserOrEnumRuleCall(); + } - 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:720:3: ( (lv_value_2_0= RULE_STRING ) ) - // InternalTqcl.g:721:4: (lv_value_2_0= RULE_STRING ) + + otherlv_1=(Token)match(input,27,FOLLOW_6); + + newLeafNode(otherlv_1, grammarAccess.getParameterAccess().getEqualsSignKeyword_1()); + + // InternalTqcl.g:765:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalTqcl.g:766:4: (lv_value_2_0= RULE_STRING ) { - // InternalTqcl.g:721:4: (lv_value_2_0= RULE_STRING ) - // InternalTqcl.g:722:5: lv_value_2_0= RULE_STRING + // InternalTqcl.g:766:4: (lv_value_2_0= RULE_STRING ) + // InternalTqcl.g:767: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 ) { + lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); - newLeafNode(lv_value_2_0, grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getParameterRule()); - } - setWithLastConsumed( - current, - "value", - lv_value_2_0, - "org.eclipse.xtext.xbase.Xtype.STRING"); - - } + newLeafNode(lv_value_2_0, grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getParameterRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } @@ -2012,11 +1931,9 @@ public final EObject ruleParameter() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -2030,30 +1947,26 @@ public final EObject ruleParameter() throws RecognitionException { // $ANTLR end "ruleParameter" - // $ANTLR start "entryRuleNamedObj" - // InternalTqcl.g:742:1: entryRuleNamedObj returns [String current=null] : iv_ruleNamedObj= ruleNamedObj EOF ; - public final String entryRuleNamedObj() throws RecognitionException { + // $ANTLR start "entryRuleParameter_id" + // InternalTqcl.g:787:1: entryRuleParameter_id returns [String current=null] : iv_ruleParameter_id= ruleParameter_id EOF ; + public final String entryRuleParameter_id() throws RecognitionException { String current = null; - AntlrDatatypeRuleToken iv_ruleNamedObj = null; + AntlrDatatypeRuleToken iv_ruleParameter_id = null; try { - // InternalTqcl.g:742:48: (iv_ruleNamedObj= ruleNamedObj EOF ) - // InternalTqcl.g:743:2: iv_ruleNamedObj= ruleNamedObj EOF + // InternalTqcl.g:787:52: (iv_ruleParameter_id= ruleParameter_id EOF ) + // InternalTqcl.g:788:2: iv_ruleParameter_id= ruleParameter_id EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getNamedObjRule()); - } + newCompositeNode(grammarAccess.getParameter_idRule()); pushFollow(FOLLOW_1); - iv_ruleNamedObj=ruleNamedObj(); + iv_ruleParameter_id=ruleParameter_id(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleNamedObj.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleParameter_id.getText(); + match(input,EOF,FOLLOW_2); } @@ -2067,37 +1980,35 @@ public final String entryRuleNamedObj() throws RecognitionException { } return current; } - // $ANTLR end "entryRuleNamedObj" + // $ANTLR end "entryRuleParameter_id" - // $ANTLR start "ruleNamedObj" - // InternalTqcl.g:749:1: ruleNamedObj returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) ; - public final AntlrDatatypeRuleToken ruleNamedObj() throws RecognitionException { + // $ANTLR start "ruleParameter_id" + // InternalTqcl.g:794:1: ruleParameter_id returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_PARAMETER_NAME_0= RULE_PARAMETER_NAME | this_STRING_1= RULE_STRING ) ; + public final AntlrDatatypeRuleToken ruleParameter_id() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + Token this_PARAMETER_NAME_0=null; Token this_STRING_1=null; - AntlrDatatypeRuleToken this_QualifiedName_0 = null; - enterRule(); try { - // InternalTqcl.g:755: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:800:2: ( (this_PARAMETER_NAME_0= RULE_PARAMETER_NAME | this_STRING_1= RULE_STRING ) ) + // InternalTqcl.g:801:2: (this_PARAMETER_NAME_0= RULE_PARAMETER_NAME | this_STRING_1= RULE_STRING ) { - // InternalTqcl.g:756:2: (this_QualifiedName_0= ruleQualifiedName | this_STRING_1= RULE_STRING ) + // InternalTqcl.g:801:2: (this_PARAMETER_NAME_0= RULE_PARAMETER_NAME | this_STRING_1= RULE_STRING ) int alt9=2; int LA9_0 = input.LA(1); - if ( (LA9_0==RULE_ID) ) { + if ( (LA9_0==RULE_PARAMETER_NAME) ) { alt9=1; } else if ( (LA9_0==RULE_STRING) ) { alt9=2; } else { - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = new NoViableAltException("", 9, 0, input); @@ -2105,2602 +2016,40 @@ else if ( (LA9_0==RULE_STRING) ) { } switch (alt9) { case 1 : - // InternalTqcl.g:757:3: this_QualifiedName_0= ruleQualifiedName + // InternalTqcl.g:802:3: this_PARAMETER_NAME_0= RULE_PARAMETER_NAME { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getNamedObjAccess().getQualifiedNameParserRuleCall_0()); - - } - pushFollow(FOLLOW_2); - this_QualifiedName_0=ruleQualifiedName(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(this_QualifiedName_0); - - } - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - break; - case 2 : - // InternalTqcl.g:768: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 ) { - - current.merge(this_STRING_1); - - } - if ( state.backtracking==0 ) { - - newLeafNode(this_STRING_1, grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); - - } - - } - break; - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleNamedObj" - - - // $ANTLR start "entryRuleConnectionPort" - // InternalTqcl.g:779:1: entryRuleConnectionPort returns [EObject current=null] : iv_ruleConnectionPort= ruleConnectionPort EOF ; - public final EObject entryRuleConnectionPort() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConnectionPort = null; - - - try { - // InternalTqcl.g:779:55: (iv_ruleConnectionPort= ruleConnectionPort EOF ) - // InternalTqcl.g:780:2: iv_ruleConnectionPort= ruleConnectionPort EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConnectionPortRule()); - } - pushFollow(FOLLOW_1); - iv_ruleConnectionPort=ruleConnectionPort(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleConnectionPort; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleConnectionPort" - - - // $ANTLR start "ruleConnectionPort" - // InternalTqcl.g:786: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; - - Token otherlv_0=null; - Token otherlv_1=null; - AntlrDatatypeRuleToken lv_port_2_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:792: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:793:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) - // InternalTqcl.g:794:3: ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) - { - // InternalTqcl.g:794:3: ( (otherlv_0= RULE_ID ) ) - // InternalTqcl.g:795:4: (otherlv_0= RULE_ID ) - { - // InternalTqcl.g:795:4: (otherlv_0= RULE_ID ) - // InternalTqcl.g:796:5: otherlv_0= RULE_ID - { - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getConnectionPortRule()); - } - - } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_16); if (state.failed) return current; - if ( state.backtracking==0 ) { - - newLeafNode(otherlv_0, grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); - - } - - } - - - } - - 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:811:3: ( (lv_port_2_0= ruleNamedObj ) ) - // InternalTqcl.g:812:4: (lv_port_2_0= ruleNamedObj ) - { - // InternalTqcl.g:812:4: (lv_port_2_0= ruleNamedObj ) - // InternalTqcl.g:813:5: lv_port_2_0= ruleNamedObj - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); - - } - pushFollow(FOLLOW_2); - lv_port_2_0=ruleNamedObj(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConnectionPortRule()); - } - set( - current, - "port", - lv_port_2_0, - "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleConnectionPort" - - - // $ANTLR start "entryRuleJvmTypeReference" - // InternalTqcl.g:834:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ; - public final EObject entryRuleJvmTypeReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmTypeReference = null; - - - try { - // InternalTqcl.g:834:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ) - // InternalTqcl.g:835:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmTypeReference=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmTypeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmTypeReference" - - - // $ANTLR start "ruleJvmTypeReference" - // InternalTqcl.g:841: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; - - EObject this_JvmParameterizedTypeReference_0 = null; - - EObject this_XFunctionTypeRef_3 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:847: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:848:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0==RULE_ID) ) { - alt11=1; - } - else if ( (LA11_0==27||LA11_0==29) ) { - alt11=2; - } - else { - if (state.backtracking>0) {state.failed=true; return current;} - NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); - - throw nvae; - } - switch (alt11) { - case 1 : - // InternalTqcl.g:849:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) - { - // InternalTqcl.g:849:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) - // InternalTqcl.g:850:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); - - } - pushFollow(FOLLOW_17); - this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current = this_JvmParameterizedTypeReference_0; - afterParserOrEnumRuleCall(); - - } - // InternalTqcl.g:858:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( (LA10_0==25) && (synpred1_InternalTqcl())) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // InternalTqcl.g:859:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) - { - // InternalTqcl.g:865:5: ( () ruleArrayBrackets ) - // InternalTqcl.g:866:6: () ruleArrayBrackets - { - // InternalTqcl.g:866:6: () - // InternalTqcl.g:867:7: - { - if ( state.backtracking==0 ) { - - current = forceCreateModelElementAndSet( - grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(), - current); - - } - - } - - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); - - } - pushFollow(FOLLOW_17); - ruleArrayBrackets(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - - - } - break; - - default : - break loop10; - } - } while (true); - - - } - - - } - break; - case 2 : - // InternalTqcl.g:884:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); - - } - pushFollow(FOLLOW_2); - this_XFunctionTypeRef_3=ruleXFunctionTypeRef(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current = this_XFunctionTypeRef_3; - afterParserOrEnumRuleCall(); - - } - - } - break; - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmTypeReference" - - - // $ANTLR start "entryRuleArrayBrackets" - // InternalTqcl.g:896:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ; - public final String entryRuleArrayBrackets() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleArrayBrackets = null; - - - try { - // InternalTqcl.g:896:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF ) - // InternalTqcl.g:897:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getArrayBracketsRule()); - } - pushFollow(FOLLOW_1); - iv_ruleArrayBrackets=ruleArrayBrackets(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleArrayBrackets.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleArrayBrackets" - - - // $ANTLR start "ruleArrayBrackets" - // InternalTqcl.g:903:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ; - public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - - - enterRule(); - - try { - // InternalTqcl.g:909:2: ( (kw= '[' kw= ']' ) ) - // InternalTqcl.g:910:2: (kw= '[' kw= ']' ) - { - // InternalTqcl.g:910:2: (kw= '[' kw= ']' ) - // InternalTqcl.g:911:3: kw= '[' kw= ']' - { - 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,26,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(kw); - newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); - - } - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleArrayBrackets" - - - // $ANTLR start "entryRuleXFunctionTypeRef" - // InternalTqcl.g:925:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ; - public final EObject entryRuleXFunctionTypeRef() throws RecognitionException { - EObject current = null; - - EObject iv_ruleXFunctionTypeRef = null; - - - try { - // InternalTqcl.g:925:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ) - // InternalTqcl.g:926:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getXFunctionTypeRefRule()); - } - pushFollow(FOLLOW_1); - iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleXFunctionTypeRef; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleXFunctionTypeRef" - - - // $ANTLR start "ruleXFunctionTypeRef" - // InternalTqcl.g:932: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; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - Token otherlv_5=null; - EObject lv_paramTypes_1_0 = null; - - EObject lv_paramTypes_3_0 = null; - - EObject lv_returnType_6_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:938: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: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: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: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 ( (LA14_0==27) ) { - alt14=1; - } - switch (alt14) { - case 1 : - // InternalTqcl.g:941:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' - { - 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:945:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==RULE_ID||LA13_0==27||LA13_0==29) ) { - alt13=1; - } - switch (alt13) { - case 1 : - // InternalTqcl.g:946:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* - { - // InternalTqcl.g:946:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:947:6: (lv_paramTypes_1_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:947:6: (lv_paramTypes_1_0= ruleJvmTypeReference ) - // InternalTqcl.g:948:7: lv_paramTypes_1_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); - - } - pushFollow(FOLLOW_20); - lv_paramTypes_1_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - add( - current, - "paramTypes", - lv_paramTypes_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:965:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==16) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // InternalTqcl.g:966: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 ) { - - newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); - - } - // InternalTqcl.g:970:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:971:7: (lv_paramTypes_3_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:971:7: (lv_paramTypes_3_0= ruleJvmTypeReference ) - // InternalTqcl.g:972:8: lv_paramTypes_3_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); - - } - pushFollow(FOLLOW_20); - lv_paramTypes_3_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - add( - current, - "paramTypes", - lv_paramTypes_3_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; - - default : - break loop12; - } - } while (true); - - - } - break; - - } - - 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()); - - } - - } - break; - - } - - 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:1000:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:1001:4: (lv_returnType_6_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:1001:4: (lv_returnType_6_0= ruleJvmTypeReference ) - // InternalTqcl.g:1002:5: lv_returnType_6_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); - - } - pushFollow(FOLLOW_2); - lv_returnType_6_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); - } - set( - current, - "returnType", - lv_returnType_6_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleXFunctionTypeRef" - - - // $ANTLR start "entryRuleJvmParameterizedTypeReference" - // InternalTqcl.g:1023:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ; - public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmParameterizedTypeReference = null; - - - try { - // InternalTqcl.g:1023:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ) - // InternalTqcl.g:1024:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmParameterizedTypeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmParameterizedTypeReference" - - - // $ANTLR start "ruleJvmParameterizedTypeReference" - // InternalTqcl.g:1030: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; - - Token otherlv_1=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - Token otherlv_9=null; - Token otherlv_11=null; - Token otherlv_13=null; - EObject lv_arguments_2_0 = null; - - EObject lv_arguments_4_0 = null; - - EObject lv_arguments_10_0 = null; - - EObject lv_arguments_12_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1036: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: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: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:3: ( ( ruleQualifiedName ) ) - // InternalTqcl.g:1039:4: ( ruleQualifiedName ) - { - // InternalTqcl.g:1039:4: ( ruleQualifiedName ) - // InternalTqcl.g:1040:5: ruleQualifiedName - { - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - - } - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); - - } - pushFollow(FOLLOW_23); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1054: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 ( (LA19_0==30) && (synpred2_InternalTqcl())) { - alt19=1; - } - switch (alt19) { - case 1 : - // InternalTqcl.g:1055: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:1055:4: ( ( '<' )=>otherlv_1= '<' ) - // InternalTqcl.g:1056:5: ( '<' )=>otherlv_1= '<' - { - 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()); - - } - - } - - // InternalTqcl.g:1062:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:1063:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference ) - { - // InternalTqcl.g:1063:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference ) - // InternalTqcl.g:1064:6: lv_arguments_2_0= ruleJvmArgumentTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); - - } - pushFollow(FOLLOW_25); - lv_arguments_2_0=ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - current, - "arguments", - lv_arguments_2_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1081:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==16) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // InternalTqcl.g:1082: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 ) { - - newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); - - } - // InternalTqcl.g:1086:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:1087:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference ) - { - // InternalTqcl.g:1087:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference ) - // InternalTqcl.g:1088:7: lv_arguments_4_0= ruleJvmArgumentTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); - - } - pushFollow(FOLLOW_25); - lv_arguments_4_0=ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - current, - "arguments", - lv_arguments_4_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; - - default : - break loop15; - } - } while (true); - - 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:1110:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* - loop18: - do { - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0==24) && (synpred3_InternalTqcl())) { - alt18=1; - } - - - switch (alt18) { - case 1 : - // InternalTqcl.g:1111:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? - { - // InternalTqcl.g:1111:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) - // InternalTqcl.g:1112:6: ( ( () '.' ) )=> ( () otherlv_7= '.' ) - { - // InternalTqcl.g:1118:6: ( () otherlv_7= '.' ) - // InternalTqcl.g:1119:7: () otherlv_7= '.' - { - // InternalTqcl.g:1119:7: () - // InternalTqcl.g:1120:8: - { - if ( state.backtracking==0 ) { - - current = forceCreateModelElementAndSet( - grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(), - 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()); - - } - - } - - - } - - // InternalTqcl.g:1132:5: ( ( ruleValidID ) ) - // InternalTqcl.g:1133:6: ( ruleValidID ) - { - // InternalTqcl.g:1133:6: ( ruleValidID ) - // InternalTqcl.g:1134:7: ruleValidID - { - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - - } - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); - - } - pushFollow(FOLLOW_27); - ruleValidID(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1148: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 ( (LA17_0==30) && (synpred4_InternalTqcl())) { - alt17=1; - } - switch (alt17) { - case 1 : - // InternalTqcl.g:1149:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' - { - // InternalTqcl.g:1149:6: ( ( '<' )=>otherlv_9= '<' ) - // InternalTqcl.g:1150:7: ( '<' )=>otherlv_9= '<' - { - 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()); - - } - - } - - // InternalTqcl.g:1156:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:1157:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference ) - { - // InternalTqcl.g:1157:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference ) - // InternalTqcl.g:1158:8: lv_arguments_10_0= ruleJvmArgumentTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); - - } - pushFollow(FOLLOW_25); - lv_arguments_10_0=ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - current, - "arguments", - lv_arguments_10_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1175:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* - loop16: - do { - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==16) ) { - alt16=1; - } - - - switch (alt16) { - case 1 : - // InternalTqcl.g:1176: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 ) { - - newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); - - } - // InternalTqcl.g:1180:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) - // InternalTqcl.g:1181:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference ) - { - // InternalTqcl.g:1181:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference ) - // InternalTqcl.g:1182:9: lv_arguments_12_0= ruleJvmArgumentTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); - - } - pushFollow(FOLLOW_25); - lv_arguments_12_0=ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); - } - add( - current, - "arguments", - lv_arguments_12_0, - "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; - - default : - break loop16; - } - } while (true); - - 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()); - - } - - } - break; - - } - - - } - break; - - default : - break loop18; - } - } while (true); - - - } - break; - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmParameterizedTypeReference" - - - // $ANTLR start "entryRuleJvmArgumentTypeReference" - // InternalTqcl.g:1211:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ; - public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmArgumentTypeReference = null; - - - try { - // InternalTqcl.g:1211:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ) - // InternalTqcl.g:1212:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmArgumentTypeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmArgumentTypeReference" - - - // $ANTLR start "ruleJvmArgumentTypeReference" - // InternalTqcl.g:1218:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ; - public final EObject ruleJvmArgumentTypeReference() throws RecognitionException { - EObject current = null; - - EObject this_JvmTypeReference_0 = null; - - EObject this_JvmWildcardTypeReference_1 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1224:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ) - // InternalTqcl.g:1225:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) - { - // InternalTqcl.g:1225:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0==RULE_ID||LA20_0==27||LA20_0==29) ) { - alt20=1; - } - else if ( (LA20_0==32) ) { - alt20=2; - } - else { - if (state.backtracking>0) {state.failed=true; return current;} - NoViableAltException nvae = - new NoViableAltException("", 20, 0, input); - - throw nvae; - } - switch (alt20) { - case 1 : - // InternalTqcl.g:1226:3: this_JvmTypeReference_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); - - } - pushFollow(FOLLOW_2); - this_JvmTypeReference_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current = this_JvmTypeReference_0; - afterParserOrEnumRuleCall(); - - } - - } - break; - case 2 : - // InternalTqcl.g:1235:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); - - } - pushFollow(FOLLOW_2); - this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current = this_JvmWildcardTypeReference_1; - afterParserOrEnumRuleCall(); - - } - - } - break; - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmArgumentTypeReference" - - - // $ANTLR start "entryRuleJvmWildcardTypeReference" - // InternalTqcl.g:1247:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ; - public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmWildcardTypeReference = null; - - - try { - // InternalTqcl.g:1247:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ) - // InternalTqcl.g:1248:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmWildcardTypeReference; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmWildcardTypeReference" - - - // $ANTLR start "ruleJvmWildcardTypeReference" - // InternalTqcl.g:1254: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; - - Token otherlv_1=null; - EObject lv_constraints_2_0 = null; - - EObject lv_constraints_3_0 = null; - - EObject lv_constraints_4_0 = null; - - EObject lv_constraints_5_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1260: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: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: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:3: () - // InternalTqcl.g:1263:4: - { - if ( state.backtracking==0 ) { - - current = forceCreateModelElement( - grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(), - 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:1273: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 ( (LA23_0==33) ) { - alt23=1; - } - else if ( (LA23_0==35) ) { - alt23=2; - } - switch (alt23) { - case 1 : - // InternalTqcl.g:1274:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) - { - // InternalTqcl.g:1274:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) - // InternalTqcl.g:1275:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* - { - // InternalTqcl.g:1275:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) - // InternalTqcl.g:1276:6: (lv_constraints_2_0= ruleJvmUpperBound ) - { - // InternalTqcl.g:1276:6: (lv_constraints_2_0= ruleJvmUpperBound ) - // InternalTqcl.g:1277:7: lv_constraints_2_0= ruleJvmUpperBound - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); - - } - pushFollow(FOLLOW_29); - lv_constraints_2_0=ruleJvmUpperBound(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - current, - "constraints", - lv_constraints_2_0, - "org.eclipse.xtext.xbase.Xtype.JvmUpperBound"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1294:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* - loop21: - do { - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==34) ) { - alt21=1; - } - - - switch (alt21) { - case 1 : - // InternalTqcl.g:1295:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded ) - { - // InternalTqcl.g:1295:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded ) - // InternalTqcl.g:1296:7: lv_constraints_3_0= ruleJvmUpperBoundAnded - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); - - } - pushFollow(FOLLOW_29); - lv_constraints_3_0=ruleJvmUpperBoundAnded(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - current, - "constraints", - lv_constraints_3_0, - "org.eclipse.xtext.xbase.Xtype.JvmUpperBoundAnded"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - break; - - default : - break loop21; - } - } while (true); - - - } - - - } - break; - case 2 : - // InternalTqcl.g:1315:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) - { - // InternalTqcl.g:1315:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) - // InternalTqcl.g:1316:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* - { - // InternalTqcl.g:1316:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) - // InternalTqcl.g:1317:6: (lv_constraints_4_0= ruleJvmLowerBound ) - { - // InternalTqcl.g:1317:6: (lv_constraints_4_0= ruleJvmLowerBound ) - // InternalTqcl.g:1318:7: lv_constraints_4_0= ruleJvmLowerBound - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); - - } - pushFollow(FOLLOW_29); - lv_constraints_4_0=ruleJvmLowerBound(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - current, - "constraints", - lv_constraints_4_0, - "org.eclipse.xtext.xbase.Xtype.JvmLowerBound"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1335:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* - loop22: - do { - int alt22=2; - int LA22_0 = input.LA(1); - - if ( (LA22_0==34) ) { - alt22=1; - } - - - switch (alt22) { - case 1 : - // InternalTqcl.g:1336:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded ) - { - // InternalTqcl.g:1336:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded ) - // InternalTqcl.g:1337:7: lv_constraints_5_0= ruleJvmLowerBoundAnded - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); - - } - pushFollow(FOLLOW_29); - lv_constraints_5_0=ruleJvmLowerBoundAnded(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); - } - add( - current, - "constraints", - lv_constraints_5_0, - "org.eclipse.xtext.xbase.Xtype.JvmLowerBoundAnded"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - break; - - default : - break loop22; - } - } while (true); - - - } - - - } - break; - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmWildcardTypeReference" - - - // $ANTLR start "entryRuleJvmUpperBound" - // InternalTqcl.g:1360:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ; - public final EObject entryRuleJvmUpperBound() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmUpperBound = null; - - - try { - // InternalTqcl.g:1360:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ) - // InternalTqcl.g:1361:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmUpperBoundRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmUpperBound=ruleJvmUpperBound(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmUpperBound; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmUpperBound" - - - // $ANTLR start "ruleJvmUpperBound" - // InternalTqcl.g:1367:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; - public final EObject ruleJvmUpperBound() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_typeReference_1_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1373:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) - // InternalTqcl.g:1374:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - { - // InternalTqcl.g:1374:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - // InternalTqcl.g:1375:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - { - 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:1379:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:1380:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:1380:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - // InternalTqcl.g:1381:5: lv_typeReference_1_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - - } - pushFollow(FOLLOW_2); - lv_typeReference_1_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule()); - } - set( - current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmUpperBound" - - - // $ANTLR start "entryRuleJvmUpperBoundAnded" - // InternalTqcl.g:1402:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ; - public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmUpperBoundAnded = null; - - - try { - // InternalTqcl.g:1402:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ) - // InternalTqcl.g:1403:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmUpperBoundAnded; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmUpperBoundAnded" - - - // $ANTLR start "ruleJvmUpperBoundAnded" - // InternalTqcl.g:1409:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; - public final EObject ruleJvmUpperBoundAnded() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_typeReference_1_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1415:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) - // InternalTqcl.g:1416:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - { - // InternalTqcl.g:1416:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - // InternalTqcl.g:1417:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - { - 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:1421:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:1422:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:1422:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - // InternalTqcl.g:1423:5: lv_typeReference_1_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - - } - pushFollow(FOLLOW_2); - lv_typeReference_1_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule()); - } - set( - current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmUpperBoundAnded" - - - // $ANTLR start "entryRuleJvmLowerBound" - // InternalTqcl.g:1444:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ; - public final EObject entryRuleJvmLowerBound() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmLowerBound = null; - - - try { - // InternalTqcl.g:1444:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ) - // InternalTqcl.g:1445:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmLowerBoundRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmLowerBound=ruleJvmLowerBound(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmLowerBound; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmLowerBound" - - - // $ANTLR start "ruleJvmLowerBound" - // InternalTqcl.g:1451:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; - public final EObject ruleJvmLowerBound() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_typeReference_1_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1457:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) - // InternalTqcl.g:1458:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - { - // InternalTqcl.g:1458:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - // InternalTqcl.g:1459:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - { - 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:1463:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:1464:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:1464:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - // InternalTqcl.g:1465:5: lv_typeReference_1_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - - } - pushFollow(FOLLOW_2); - lv_typeReference_1_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule()); - } - set( - current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmLowerBound" - - - // $ANTLR start "entryRuleJvmLowerBoundAnded" - // InternalTqcl.g:1486:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ; - public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJvmLowerBoundAnded = null; - - - try { - // InternalTqcl.g:1486:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ) - // InternalTqcl.g:1487:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule()); - } - pushFollow(FOLLOW_1); - iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleJvmLowerBoundAnded; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleJvmLowerBoundAnded" - - - // $ANTLR start "ruleJvmLowerBoundAnded" - // InternalTqcl.g:1493:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; - public final EObject ruleJvmLowerBoundAnded() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - EObject lv_typeReference_1_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1499:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) - // InternalTqcl.g:1500:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - { - // InternalTqcl.g:1500:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) - // InternalTqcl.g:1501:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - { - 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:1505:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) - // InternalTqcl.g:1506:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - { - // InternalTqcl.g:1506:4: (lv_typeReference_1_0= ruleJvmTypeReference ) - // InternalTqcl.g:1507:5: lv_typeReference_1_0= ruleJvmTypeReference - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); - - } - pushFollow(FOLLOW_2); - lv_typeReference_1_0=ruleJvmTypeReference(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule()); - } - set( - current, - "typeReference", - lv_typeReference_1_0, - "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleJvmLowerBoundAnded" - - - // $ANTLR start "entryRuleQualifiedName" - // InternalTqcl.g:1528:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; - public final String entryRuleQualifiedName() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQualifiedName = null; - - - try { - // InternalTqcl.g:1528:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // InternalTqcl.g:1529:2: iv_ruleQualifiedName= ruleQualifiedName EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getQualifiedNameRule()); - } - pushFollow(FOLLOW_1); - iv_ruleQualifiedName=ruleQualifiedName(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleQualifiedName.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQualifiedName" - - - // $ANTLR start "ruleQualifiedName" - // InternalTqcl.g:1535: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(); - - Token kw=null; - AntlrDatatypeRuleToken this_ValidID_0 = null; - - AntlrDatatypeRuleToken this_ValidID_2 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1541: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:1542:2: (this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* ) - // InternalTqcl.g:1543:3: this_ValidID_0= ruleValidID (kw= '.' this_ValidID_2= ruleValidID )* - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); - - } - pushFollow(FOLLOW_26); - this_ValidID_0=ruleValidID(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(this_ValidID_0); - - } - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - // InternalTqcl.g:1553:3: (kw= '.' this_ValidID_2= ruleValidID )* - loop24: - do { - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==24) ) { - int LA24_2 = input.LA(2); - - if ( (LA24_2==RULE_ID) ) { - alt24=1; - } - - - } - - - switch (alt24) { - case 1 : - // InternalTqcl.g:1554:4: kw= '.' this_ValidID_2= ruleValidID - { - kw=(Token)match(input,24,FOLLOW_7); if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); - - } - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); - - } - pushFollow(FOLLOW_26); - this_ValidID_2=ruleValidID(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(this_ValidID_2); - - } - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - break; - - default : - break loop24; - } - } while (true); - - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQualifiedName" - - - // $ANTLR start "entryRuleQualifiedNameWithWildcard" - // InternalTqcl.g:1574:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; - public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null; - - - try { - // InternalTqcl.g:1574:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) - // InternalTqcl.g:1575:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); - } - pushFollow(FOLLOW_1); - iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleQualifiedNameWithWildcard.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleQualifiedNameWithWildcard" - - - // $ANTLR start "ruleQualifiedNameWithWildcard" - // InternalTqcl.g:1581:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ; - public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - AntlrDatatypeRuleToken this_QualifiedName_0 = null; - - - - enterRule(); - - try { - // InternalTqcl.g:1587:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ) - // InternalTqcl.g:1588:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) - { - // InternalTqcl.g:1588:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) - // InternalTqcl.g:1589:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); - - } - pushFollow(FOLLOW_16); - this_QualifiedName_0=ruleQualifiedName(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(this_QualifiedName_0); - - } - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - 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,36,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { - - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); - - } - - } - - - } - - if ( state.backtracking==0 ) { - - leaveRule(); - - } - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleQualifiedNameWithWildcard" - - - // $ANTLR start "entryRuleValidID" - // InternalTqcl.g:1613:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ; - public final String entryRuleValidID() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleValidID = null; + this_PARAMETER_NAME_0=(Token)match(input,RULE_PARAMETER_NAME,FOLLOW_2); + current.merge(this_PARAMETER_NAME_0); + - try { - // InternalTqcl.g:1613:47: (iv_ruleValidID= ruleValidID EOF ) - // InternalTqcl.g:1614:2: iv_ruleValidID= ruleValidID EOF - { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getValidIDRule()); - } - pushFollow(FOLLOW_1); - iv_ruleValidID=ruleValidID(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleValidID.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleValidID" + newLeafNode(this_PARAMETER_NAME_0, grammarAccess.getParameter_idAccess().getPARAMETER_NAMETerminalRuleCall_0()); + + } + break; + case 2 : + // InternalTqcl.g:810:3: this_STRING_1= RULE_STRING + { + this_STRING_1=(Token)match(input,RULE_STRING,FOLLOW_2); - // $ANTLR start "ruleValidID" - // InternalTqcl.g:1620:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; - public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - + current.merge(this_STRING_1); + - enterRule(); + newLeafNode(this_STRING_1, grammarAccess.getParameter_idAccess().getSTRINGTerminalRuleCall_1()); + - try { - // InternalTqcl.g:1626:2: (this_ID_0= RULE_ID ) - // InternalTqcl.g:1627: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 ) { + } + break; - current.merge(this_ID_0); - } - if ( state.backtracking==0 ) { - newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); - - } } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -4711,33 +2060,29 @@ public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException { } return current; } - // $ANTLR end "ruleValidID" + // $ANTLR end "ruleParameter_id" - // $ANTLR start "entryRuleXImportDeclaration" - // InternalTqcl.g:1637:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ; - public final EObject entryRuleXImportDeclaration() throws RecognitionException { - EObject current = null; + // $ANTLR start "entryRuleNamedObj" + // InternalTqcl.g:821:1: entryRuleNamedObj returns [String current=null] : iv_ruleNamedObj= ruleNamedObj EOF ; + public final String entryRuleNamedObj() throws RecognitionException { + String current = null; - EObject iv_ruleXImportDeclaration = null; + AntlrDatatypeRuleToken iv_ruleNamedObj = null; try { - // InternalTqcl.g:1637:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ) - // InternalTqcl.g:1638:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF + // InternalTqcl.g:821:48: (iv_ruleNamedObj= ruleNamedObj EOF ) + // InternalTqcl.g:822:2: iv_ruleNamedObj= ruleNamedObj EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getXImportDeclarationRule()); - } + newCompositeNode(grammarAccess.getNamedObjRule()); pushFollow(FOLLOW_1); - iv_ruleXImportDeclaration=ruleXImportDeclaration(); + iv_ruleNamedObj=ruleNamedObj(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleXImportDeclaration; - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleNamedObj.getText(); + match(input,EOF,FOLLOW_2); } @@ -4751,348 +2096,64 @@ public final EObject entryRuleXImportDeclaration() throws RecognitionException { } return current; } - // $ANTLR end "entryRuleXImportDeclaration" - - - // $ANTLR start "ruleXImportDeclaration" - // InternalTqcl.g:1644: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; + // $ANTLR end "entryRuleNamedObj" - Token otherlv_0=null; - Token lv_static_1_0=null; - Token lv_extension_2_0=null; - Token lv_wildcard_4_0=null; - Token otherlv_8=null; - AntlrDatatypeRuleToken lv_memberName_5_0 = null; - AntlrDatatypeRuleToken lv_importedNamespace_7_0 = null; + // $ANTLR start "ruleNamedObj" + // InternalTqcl.g:828:1: ruleNamedObj returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | this_STRING_1= RULE_STRING ) ; + public final AntlrDatatypeRuleToken ruleNamedObj() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + Token this_ID_0=null; + Token this_STRING_1=null; enterRule(); try { - // InternalTqcl.g:1650: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:834:2: ( (this_ID_0= RULE_ID | this_STRING_1= RULE_STRING ) ) + // InternalTqcl.g:835:2: (this_ID_0= RULE_ID | this_STRING_1= RULE_STRING ) { - // 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: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,37,FOLLOW_31); if (state.failed) return current; - if ( state.backtracking==0 ) { + // InternalTqcl.g:835:2: (this_ID_0= RULE_ID | this_STRING_1= RULE_STRING ) + int alt10=2; + int LA10_0 = input.LA(1); - newLeafNode(otherlv_0, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0()); - + if ( (LA10_0==RULE_ID) ) { + alt10=1; } - // InternalTqcl.g:1656: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:1657:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) - { - // InternalTqcl.g:1657:4: ( ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) ) - // InternalTqcl.g:1658:5: ( (lv_static_1_0= 'static' ) ) ( (lv_extension_2_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) - { - // InternalTqcl.g:1658:5: ( (lv_static_1_0= 'static' ) ) - // InternalTqcl.g:1659:6: (lv_static_1_0= 'static' ) - { - // InternalTqcl.g:1659:6: (lv_static_1_0= 'static' ) - // InternalTqcl.g:1660:7: lv_static_1_0= 'static' - { - 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()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed(current, "static", true, "static"); - - } - - } - - - } - - // InternalTqcl.g:1672:5: ( (lv_extension_2_0= 'extension' ) )? - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==39) ) { - alt25=1; - } - switch (alt25) { - case 1 : - // InternalTqcl.g:1673:6: (lv_extension_2_0= 'extension' ) - { - // InternalTqcl.g:1673:6: (lv_extension_2_0= 'extension' ) - // InternalTqcl.g:1674:7: lv_extension_2_0= 'extension' - { - 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()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed(current, "extension", true, "extension"); - - } - - } - - - } - break; - - } + else if ( (LA10_0==RULE_STRING) ) { + alt10=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 10, 0, input); - // InternalTqcl.g:1686:5: ( ( ruleQualifiedNameInStaticImport ) ) - // InternalTqcl.g:1687:6: ( ruleQualifiedNameInStaticImport ) - { - // InternalTqcl.g:1687:6: ( ruleQualifiedNameInStaticImport ) - // InternalTqcl.g:1688:7: ruleQualifiedNameInStaticImport + throw nvae; + } + switch (alt10) { + case 1 : + // InternalTqcl.g:836:3: this_ID_0= RULE_ID { - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - - } - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_0_2_0()); - - } - pushFollow(FOLLOW_33); - ruleQualifiedNameInStaticImport(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - - - } - - // InternalTqcl.g:1702:5: ( ( (lv_wildcard_4_0= '*' ) ) | ( (lv_memberName_5_0= ruleValidID ) ) ) - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==36) ) { - alt26=1; - } - else if ( (LA26_0==RULE_ID) ) { - alt26=2; - } - else { - if (state.backtracking>0) {state.failed=true; return current;} - NoViableAltException nvae = - new NoViableAltException("", 26, 0, input); - - throw nvae; - } - switch (alt26) { - case 1 : - // InternalTqcl.g:1703:6: ( (lv_wildcard_4_0= '*' ) ) - { - // InternalTqcl.g:1703:6: ( (lv_wildcard_4_0= '*' ) ) - // InternalTqcl.g:1704:7: (lv_wildcard_4_0= '*' ) - { - // InternalTqcl.g:1704:7: (lv_wildcard_4_0= '*' ) - // InternalTqcl.g:1705:8: lv_wildcard_4_0= '*' - { - 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()); - - } - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - setWithLastConsumed(current, "wildcard", true, "*"); - - } - - } - - - } - - - } - break; - case 2 : - // InternalTqcl.g:1718:6: ( (lv_memberName_5_0= ruleValidID ) ) - { - // InternalTqcl.g:1718:6: ( (lv_memberName_5_0= ruleValidID ) ) - // InternalTqcl.g:1719:7: (lv_memberName_5_0= ruleValidID ) - { - // InternalTqcl.g:1719:7: (lv_memberName_5_0= ruleValidID ) - // InternalTqcl.g:1720:8: lv_memberName_5_0= ruleValidID - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_1_0_3_1_0()); - - } - pushFollow(FOLLOW_34); - lv_memberName_5_0=ruleValidID(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); - } - set( - current, - "memberName", - lv_memberName_5_0, - "org.eclipse.xtext.xbase.Xtype.ValidID"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); - } - - - } + current.merge(this_ID_0); + + newLeafNode(this_ID_0, grammarAccess.getNamedObjAccess().getIDTerminalRuleCall_0()); + } break; case 2 : - // InternalTqcl.g:1740:4: ( ( ruleQualifiedName ) ) - { - // InternalTqcl.g:1740:4: ( ( ruleQualifiedName ) ) - // InternalTqcl.g:1741:5: ( ruleQualifiedName ) - { - // InternalTqcl.g:1741:5: ( ruleQualifiedName ) - // InternalTqcl.g:1742:6: ruleQualifiedName - { - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElement(grammarAccess.getXImportDeclarationRule()); - } - - } - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_1_1_0()); - - } - pushFollow(FOLLOW_34); - ruleQualifiedName(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; - case 3 : - // InternalTqcl.g:1757:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) - { - // InternalTqcl.g:1757:4: ( (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) ) - // InternalTqcl.g:1758:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) + // InternalTqcl.g:844:3: this_STRING_1= RULE_STRING { - // InternalTqcl.g:1758:5: (lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard ) - // InternalTqcl.g:1759:6: lv_importedNamespace_7_0= ruleQualifiedNameWithWildcard - { - if ( state.backtracking==0 ) { - - newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_2_0()); - - } - pushFollow(FOLLOW_34); - lv_importedNamespace_7_0=ruleQualifiedNameWithWildcard(); - - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - - if (current==null) { - current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); - } - set( - current, - "importedNamespace", - lv_importedNamespace_7_0, - "org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard"); - afterParserOrEnumRuleCall(); - - } - - } - - - } - - - } - break; - - } - - // InternalTqcl.g:1777:3: (otherlv_8= ';' )? - int alt28=2; - int LA28_0 = input.LA(1); + this_STRING_1=(Token)match(input,RULE_STRING,FOLLOW_2); - if ( (LA28_0==10) ) { - alt28=1; - } - switch (alt28) { - case 1 : - // InternalTqcl.g:1778:4: otherlv_8= ';' - { - otherlv_8=(Token)match(input,10,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + current.merge(this_STRING_1); + - newLeafNode(otherlv_8, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); - - } + newLeafNode(this_STRING_1, grammarAccess.getNamedObjAccess().getSTRINGTerminalRuleCall_1()); + } break; @@ -5103,13 +2164,8 @@ else if ( (LA26_0==RULE_ID) ) { } - } - - if ( state.backtracking==0 ) { + leaveRule(); - leaveRule(); - - } } catch (RecognitionException re) { @@ -5120,33 +2176,29 @@ else if ( (LA26_0==RULE_ID) ) { } return current; } - // $ANTLR end "ruleXImportDeclaration" + // $ANTLR end "ruleNamedObj" - // $ANTLR start "entryRuleQualifiedNameInStaticImport" - // InternalTqcl.g:1787:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ; - public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException { - String current = null; + // $ANTLR start "entryRuleConnectionPort" + // InternalTqcl.g:855:1: entryRuleConnectionPort returns [EObject current=null] : iv_ruleConnectionPort= ruleConnectionPort EOF ; + public final EObject entryRuleConnectionPort() throws RecognitionException { + EObject current = null; - AntlrDatatypeRuleToken iv_ruleQualifiedNameInStaticImport = null; + EObject iv_ruleConnectionPort = null; try { - // InternalTqcl.g:1787:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ) - // InternalTqcl.g:1788:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF + // InternalTqcl.g:855:55: (iv_ruleConnectionPort= ruleConnectionPort EOF ) + // InternalTqcl.g:856:2: iv_ruleConnectionPort= ruleConnectionPort EOF { - if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule()); - } + newCompositeNode(grammarAccess.getConnectionPortRule()); pushFollow(FOLLOW_1); - iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport(); + iv_ruleConnectionPort=ruleConnectionPort(); state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { - current =iv_ruleQualifiedNameInStaticImport.getText(); - } - match(input,EOF,FOLLOW_2); if (state.failed) return current; + + current =iv_ruleConnectionPort; + match(input,EOF,FOLLOW_2); } @@ -5160,96 +2212,94 @@ public final String entryRuleQualifiedNameInStaticImport() throws RecognitionExc } return current; } - // $ANTLR end "entryRuleQualifiedNameInStaticImport" + // $ANTLR end "entryRuleConnectionPort" - // $ANTLR start "ruleQualifiedNameInStaticImport" - // InternalTqcl.g:1794:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ; - public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + // $ANTLR start "ruleConnectionPort" + // InternalTqcl.g:862: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; - Token kw=null; - AntlrDatatypeRuleToken this_ValidID_0 = null; + Token otherlv_0=null; + Token otherlv_1=null; + AntlrDatatypeRuleToken lv_port_2_0 = null; enterRule(); try { - // InternalTqcl.g:1800:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ ) - // InternalTqcl.g:1801:2: (this_ValidID_0= ruleValidID kw= '.' )+ + // InternalTqcl.g:868:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) ) + // InternalTqcl.g:869:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) + { + // InternalTqcl.g:869:2: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) ) + // InternalTqcl.g:870:3: ( (otherlv_0= RULE_ID ) ) otherlv_1= '.' ( (lv_port_2_0= ruleNamedObj ) ) + { + // InternalTqcl.g:870:3: ( (otherlv_0= RULE_ID ) ) + // InternalTqcl.g:871:4: (otherlv_0= RULE_ID ) + { + // InternalTqcl.g:871:4: (otherlv_0= RULE_ID ) + // InternalTqcl.g:872:5: otherlv_0= RULE_ID { - // InternalTqcl.g:1801:2: (this_ValidID_0= ruleValidID kw= '.' )+ - int cnt29=0; - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( (LA29_0==RULE_ID) ) { - int LA29_2 = input.LA(2); - if ( (LA29_2==24) ) { - alt29=1; - } + if (current==null) { + current = createModelElement(grammarAccess.getConnectionPortRule()); + } + + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_20); + newLeafNode(otherlv_0, grammarAccess.getConnectionPortAccess().getActorInsertCrossReference_0_0()); + - } + } - switch (alt29) { - case 1 : - // InternalTqcl.g:1802:3: this_ValidID_0= ruleValidID kw= '.' - { - if ( state.backtracking==0 ) { + } - newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); - - } - pushFollow(FOLLOW_16); - this_ValidID_0=ruleValidID(); + otherlv_1=(Token)match(input,28,FOLLOW_16); - state._fsp--; - if (state.failed) return current; - if ( state.backtracking==0 ) { + newLeafNode(otherlv_1, grammarAccess.getConnectionPortAccess().getFullStopKeyword_1()); + + // InternalTqcl.g:887:3: ( (lv_port_2_0= ruleNamedObj ) ) + // InternalTqcl.g:888:4: (lv_port_2_0= ruleNamedObj ) + { + // InternalTqcl.g:888:4: (lv_port_2_0= ruleNamedObj ) + // InternalTqcl.g:889:5: lv_port_2_0= ruleNamedObj + { - current.merge(this_ValidID_0); - - } - if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConnectionPortAccess().getPortNamedObjParserRuleCall_2_0()); + + pushFollow(FOLLOW_2); + lv_port_2_0=ruleNamedObj(); - afterParserOrEnumRuleCall(); - - } - kw=(Token)match(input,24,FOLLOW_35); if (state.failed) return current; - if ( state.backtracking==0 ) { + state._fsp--; - current.merge(kw); - newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); - - } - } - break; + if (current==null) { + current = createModelElementForParent(grammarAccess.getConnectionPortRule()); + } + set( + current, + "port", + lv_port_2_0, + "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); + afterParserOrEnumRuleCall(); + - default : - if ( cnt29 >= 1 ) break loop29; - if (state.backtracking>0) {state.failed=true; return current;} - EarlyExitException eee = - new EarlyExitException(29, input); - throw eee; - } - cnt29++; - } while (true); + } } - if ( state.backtracking==0 ) { - leaveRule(); + } + } + + + leaveRule(); + } catch (RecognitionException re) { @@ -5260,11 +2310,11 @@ public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws Rec } return current; } - // $ANTLR end "ruleQualifiedNameInStaticImport" + // $ANTLR end "ruleConnectionPort" // $ANTLR start "ruleCategory" - // InternalTqcl.g:1821:1: ruleCategory returns [Enumerator current=null] : ( (enumLiteral_0= 'Actor' ) | (enumLiteral_1= 'Parameter' ) | (enumLiteral_2= 'Port' ) | (enumLiteral_3= 'Director' ) ) ; + // InternalTqcl.g:910: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; @@ -5277,54 +2327,51 @@ public final Enumerator ruleCategory() throws RecognitionException { enterRule(); try { - // InternalTqcl.g:1827:2: ( ( (enumLiteral_0= 'Actor' ) | (enumLiteral_1= 'Parameter' ) | (enumLiteral_2= 'Port' ) | (enumLiteral_3= 'Director' ) ) ) - // InternalTqcl.g:1828:2: ( (enumLiteral_0= 'Actor' ) | (enumLiteral_1= 'Parameter' ) | (enumLiteral_2= 'Port' ) | (enumLiteral_3= 'Director' ) ) + // InternalTqcl.g:916:2: ( ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) ) ) + // InternalTqcl.g:917:2: ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) ) { - // InternalTqcl.g:1828:2: ( (enumLiteral_0= 'Actor' ) | (enumLiteral_1= 'Parameter' ) | (enumLiteral_2= 'Port' ) | (enumLiteral_3= 'Director' ) ) - int alt30=4; + // InternalTqcl.g:917:2: ( (enumLiteral_0= 'actor' ) | (enumLiteral_1= 'parameter' ) | (enumLiteral_2= 'port' ) | (enumLiteral_3= 'director' ) ) + int alt11=4; switch ( input.LA(1) ) { - case 40: + case 29: { - alt30=1; + alt11=1; } break; - case 41: + case 30: { - alt30=2; + alt11=2; } break; - case 42: + case 31: { - alt30=3; + alt11=3; } break; - case 43: + case 32: { - alt30=4; + alt11=4; } break; default: - if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 30, 0, input); + new NoViableAltException("", 11, 0, input); throw nvae; } - switch (alt30) { + switch (alt11) { case 1 : - // InternalTqcl.g:1829:3: (enumLiteral_0= 'Actor' ) + // InternalTqcl.g:918:3: (enumLiteral_0= 'actor' ) { - // InternalTqcl.g:1829:3: (enumLiteral_0= 'Actor' ) - // InternalTqcl.g:1830:4: enumLiteral_0= 'Actor' + // InternalTqcl.g:918:3: (enumLiteral_0= 'actor' ) + // InternalTqcl.g:919:4: enumLiteral_0= 'actor' { - enumLiteral_0=(Token)match(input,40,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_0=(Token)match(input,29,FOLLOW_2); - current = grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_0, grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); - - } + current = grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getCategoryAccess().getActorEnumLiteralDeclaration_0()); + } @@ -5332,18 +2379,16 @@ public final Enumerator ruleCategory() throws RecognitionException { } break; case 2 : - // InternalTqcl.g:1837:3: (enumLiteral_1= 'Parameter' ) + // InternalTqcl.g:926:3: (enumLiteral_1= 'parameter' ) { - // InternalTqcl.g:1837:3: (enumLiteral_1= 'Parameter' ) - // InternalTqcl.g:1838:4: enumLiteral_1= 'Parameter' + // InternalTqcl.g:926:3: (enumLiteral_1= 'parameter' ) + // InternalTqcl.g:927:4: enumLiteral_1= 'parameter' { - enumLiteral_1=(Token)match(input,41,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_1=(Token)match(input,30,FOLLOW_2); - current = grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_1, grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); - - } + current = grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getCategoryAccess().getParameterEnumLiteralDeclaration_1()); + } @@ -5351,18 +2396,16 @@ public final Enumerator ruleCategory() throws RecognitionException { } break; case 3 : - // InternalTqcl.g:1845:3: (enumLiteral_2= 'Port' ) + // InternalTqcl.g:934:3: (enumLiteral_2= 'port' ) { - // InternalTqcl.g:1845:3: (enumLiteral_2= 'Port' ) - // InternalTqcl.g:1846:4: enumLiteral_2= 'Port' + // InternalTqcl.g:934:3: (enumLiteral_2= 'port' ) + // InternalTqcl.g:935:4: enumLiteral_2= 'port' { - enumLiteral_2=(Token)match(input,42,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_2=(Token)match(input,31,FOLLOW_2); - current = grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_2, grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); - - } + current = grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getCategoryAccess().getPortEnumLiteralDeclaration_2()); + } @@ -5370,18 +2413,16 @@ public final Enumerator ruleCategory() throws RecognitionException { } break; case 4 : - // InternalTqcl.g:1853:3: (enumLiteral_3= 'Director' ) + // InternalTqcl.g:942:3: (enumLiteral_3= 'director' ) { - // InternalTqcl.g:1853:3: (enumLiteral_3= 'Director' ) - // InternalTqcl.g:1854:4: enumLiteral_3= 'Director' + // InternalTqcl.g:942:3: (enumLiteral_3= 'director' ) + // InternalTqcl.g:943:4: enumLiteral_3= 'director' { - enumLiteral_3=(Token)match(input,43,FOLLOW_2); if (state.failed) return current; - if ( state.backtracking==0 ) { + enumLiteral_3=(Token)match(input,32,FOLLOW_2); - current = grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); - newLeafNode(enumLiteral_3, grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); - - } + current = grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getCategoryAccess().getDirectorEnumLiteralDeclaration_3()); + } @@ -5394,11 +2435,9 @@ public final Enumerator ruleCategory() throws RecognitionException { } - if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); - } } catch (RecognitionException re) { @@ -5411,214 +2450,30 @@ public final Enumerator ruleCategory() throws RecognitionException { } // $ANTLR end "ruleCategory" - // $ANTLR start synpred1_InternalTqcl - public final void synpred1_InternalTqcl_fragment() throws RecognitionException { - // InternalTqcl.g:859:5: ( ( () ruleArrayBrackets ) ) - // InternalTqcl.g:859:6: ( () ruleArrayBrackets ) - { - // InternalTqcl.g:859:6: ( () ruleArrayBrackets ) - // InternalTqcl.g:860:6: () ruleArrayBrackets - { - // InternalTqcl.g:860:6: () - // InternalTqcl.g:861:6: - { - } - - pushFollow(FOLLOW_2); - ruleArrayBrackets(); - - state._fsp--; - if (state.failed) return ; - - } - - - } - } - // $ANTLR end synpred1_InternalTqcl - - // $ANTLR start synpred2_InternalTqcl - public final void synpred2_InternalTqcl_fragment() throws RecognitionException { - // InternalTqcl.g:1056:5: ( '<' ) - // InternalTqcl.g:1056:6: '<' - { - match(input,30,FOLLOW_2); if (state.failed) return ; - - } - } - // $ANTLR end synpred2_InternalTqcl - - // $ANTLR start synpred3_InternalTqcl - public final void synpred3_InternalTqcl_fragment() throws RecognitionException { - // InternalTqcl.g:1112:6: ( ( () '.' ) ) - // InternalTqcl.g:1112:7: ( () '.' ) - { - // InternalTqcl.g:1112:7: ( () '.' ) - // InternalTqcl.g:1113:7: () '.' - { - // InternalTqcl.g:1113:7: () - // InternalTqcl.g:1114:7: - { - } - - match(input,24,FOLLOW_2); if (state.failed) return ; - - } - - - } - } - // $ANTLR end synpred3_InternalTqcl - - // $ANTLR start synpred4_InternalTqcl - public final void synpred4_InternalTqcl_fragment() throws RecognitionException { - // InternalTqcl.g:1150:7: ( '<' ) - // InternalTqcl.g:1150:8: '<' - { - match(input,30,FOLLOW_2); if (state.failed) return ; - - } - } - // $ANTLR end synpred4_InternalTqcl - // Delegated rules - public final boolean synpred3_InternalTqcl() { - state.backtracking++; - int start = input.mark(); - try { - synpred3_InternalTqcl_fragment(); // can never throw exception - } catch (RecognitionException re) { - System.err.println("impossible: "+re); - } - boolean success = !state.failed; - input.rewind(start); - state.backtracking--; - state.failed=false; - return success; - } - public final boolean synpred1_InternalTqcl() { - state.backtracking++; - int start = input.mark(); - try { - synpred1_InternalTqcl_fragment(); // can never throw exception - } catch (RecognitionException re) { - System.err.println("impossible: "+re); - } - boolean success = !state.failed; - input.rewind(start); - state.backtracking--; - state.failed=false; - return success; - } - public final boolean synpred2_InternalTqcl() { - state.backtracking++; - int start = input.mark(); - try { - synpred2_InternalTqcl_fragment(); // can never throw exception - } catch (RecognitionException re) { - System.err.println("impossible: "+re); - } - boolean success = !state.failed; - input.rewind(start); - state.backtracking--; - state.failed=false; - return success; - } - public final boolean synpred4_InternalTqcl() { - state.backtracking++; - int start = input.mark(); - try { - synpred4_InternalTqcl_fragment(); // can never throw exception - } catch (RecognitionException re) { - System.err.println("impossible: "+re); - } - boolean success = !state.failed; - input.rewind(start); - state.backtracking--; - state.failed=false; - return success; - } - - - protected DFA27 dfa27 = new DFA27(this); - static final String dfa_1s = "\7\uffff"; - 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\40\uffff\1\1", - "", - "\1\4\15\uffff\1\3", - "\1\6\36\uffff\1\5", - "", - "", - "\1\4\15\uffff\1\3" - }; - static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); - static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s); - static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); - static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s); - static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); - static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s); - static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s); - - class DFA27 extends DFA { - - public DFA27(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 27; - this.eot = dfa_1; - this.eof = dfa_2; - this.min = dfa_3; - this.max = dfa_4; - this.accept = dfa_5; - this.special = dfa_6; - this.transition = dfa_7; - } - public String getDescription() { - return "1656: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 ) ) )"; - } - } public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000163802L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000162802L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000400L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000B1C002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000B14002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000002000L}); 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[]{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[]{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_8 = new BitSet(new long[]{0x00000001E0000040L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000040002L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000090L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000080002L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000480000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000001000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000002000000L}); 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}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010000000L}); } \ No newline at end of file diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/scoping/AbstractTqclScopeProvider.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/scoping/AbstractTqclScopeProvider.java index 0b7dcc69..869b7f26 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/scoping/AbstractTqclScopeProvider.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/scoping/AbstractTqclScopeProvider.java @@ -12,7 +12,7 @@ *******************************************************************************/ package org.eclipse.triquetrum.commands.scoping; -import org.eclipse.xtext.xbase.scoping.XtypeScopeProvider; +import org.eclipse.xtext.scoping.impl.DelegatingScopeProvider; -public abstract class AbstractTqclScopeProvider extends XtypeScopeProvider { +public abstract class AbstractTqclScopeProvider extends DelegatingScopeProvider { } 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 077321a5..bf5042e7 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 @@ -28,25 +28,13 @@ import org.eclipse.xtext.Action; import org.eclipse.xtext.Parameter; import org.eclipse.xtext.ParserRule; -import org.eclipse.xtext.common.types.JvmGenericArrayTypeReference; -import org.eclipse.xtext.common.types.JvmInnerTypeReference; -import org.eclipse.xtext.common.types.JvmLowerBound; -import org.eclipse.xtext.common.types.JvmParameterizedTypeReference; -import org.eclipse.xtext.common.types.JvmTypeParameter; -import org.eclipse.xtext.common.types.JvmUpperBound; -import org.eclipse.xtext.common.types.JvmWildcardTypeReference; -import org.eclipse.xtext.common.types.TypesPackage; import org.eclipse.xtext.serializer.ISerializationContext; import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; +import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; -import org.eclipse.xtext.xbase.serializer.XtypeSemanticSequencer; -import org.eclipse.xtext.xtype.XFunctionTypeRef; -import org.eclipse.xtext.xtype.XImportDeclaration; -import org.eclipse.xtext.xtype.XImportSection; -import org.eclipse.xtext.xtype.XtypePackage; @SuppressWarnings("all") -public abstract class AbstractTqclSemanticSequencer extends XtypeSemanticSequencer { +public abstract class AbstractTqclSemanticSequencer extends AbstractDelegatingSemanticSequencer { @Inject private TqclGrammarAccess grammarAccess; @@ -71,13 +59,17 @@ public void sequence(ISerializationContext context, EObject semanticObject) { return; } else if (rule == grammarAccess.getCommandRule()) { - sequence_GoInto_GoOut(context, (Go) semanticObject); + sequence_GoInto_GoOut_GoTop(context, (Go) semanticObject); return; } else if (rule == grammarAccess.getGoOutRule()) { sequence_GoOut(context, (Go) semanticObject); return; } + else if (rule == grammarAccess.getGoTopRule()) { + sequence_GoTop(context, (Go) semanticObject); + return; + } else break; case TqclPackage.INCLUDE: sequence_Include(context, (Include) semanticObject); @@ -98,66 +90,6 @@ else if (rule == grammarAccess.getGoOutRule()) { sequence_TriquetrumScript(context, (TriquetrumScript) semanticObject); return; } - else if (epackage == TypesPackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE: - sequence_JvmTypeReference(context, (JvmGenericArrayTypeReference) semanticObject); - return; - case TypesPackage.JVM_INNER_TYPE_REFERENCE: - sequence_JvmParameterizedTypeReference(context, (JvmInnerTypeReference) semanticObject); - return; - case TypesPackage.JVM_LOWER_BOUND: - if (rule == grammarAccess.getJvmLowerBoundAndedRule()) { - sequence_JvmLowerBoundAnded(context, (JvmLowerBound) semanticObject); - return; - } - else if (rule == grammarAccess.getJvmLowerBoundRule()) { - sequence_JvmLowerBound(context, (JvmLowerBound) semanticObject); - return; - } - else break; - case TypesPackage.JVM_PARAMETERIZED_TYPE_REFERENCE: - if (action == grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0()) { - sequence_JvmParameterizedTypeReference_JvmInnerTypeReference_1_4_0_0_0(context, (JvmParameterizedTypeReference) semanticObject); - return; - } - else if (rule == grammarAccess.getJvmTypeReferenceRule() - || action == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0() - || rule == grammarAccess.getJvmParameterizedTypeReferenceRule() - || rule == grammarAccess.getJvmArgumentTypeReferenceRule()) { - sequence_JvmParameterizedTypeReference(context, (JvmParameterizedTypeReference) semanticObject); - return; - } - else break; - case TypesPackage.JVM_TYPE_PARAMETER: - sequence_JvmTypeParameter(context, (JvmTypeParameter) semanticObject); - return; - case TypesPackage.JVM_UPPER_BOUND: - if (rule == grammarAccess.getJvmUpperBoundAndedRule()) { - sequence_JvmUpperBoundAnded(context, (JvmUpperBound) semanticObject); - return; - } - else if (rule == grammarAccess.getJvmUpperBoundRule()) { - sequence_JvmUpperBound(context, (JvmUpperBound) semanticObject); - return; - } - else break; - case TypesPackage.JVM_WILDCARD_TYPE_REFERENCE: - sequence_JvmWildcardTypeReference(context, (JvmWildcardTypeReference) semanticObject); - return; - } - else if (epackage == XtypePackage.eINSTANCE) - switch (semanticObject.eClass().getClassifierID()) { - case XtypePackage.XFUNCTION_TYPE_REF: - sequence_XFunctionTypeRef(context, (XFunctionTypeRef) semanticObject); - return; - case XtypePackage.XIMPORT_DECLARATION: - sequence_XImportDeclaration(context, (XImportDeclaration) semanticObject); - return; - case XtypePackage.XIMPORT_SECTION: - sequence_XImportSection(context, (XImportSection) semanticObject); - return; - } if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); } @@ -222,9 +154,9 @@ protected void sequence_GoInto(ISerializationContext context, Go semanticObject) * Command returns Go * * Constraint: - * ((direction='into' obj=NamedObj) | direction='out') + * ((direction='into' obj=NamedObj) | direction='out' | direction='top') */ - protected void sequence_GoInto_GoOut(ISerializationContext context, Go semanticObject) { + protected void sequence_GoInto_GoOut_GoTop(ISerializationContext context, Go semanticObject) { genericSequencer.createSequence(context, semanticObject); } @@ -247,6 +179,24 @@ protected void sequence_GoOut(ISerializationContext context, Go semanticObject) } + /** + * Contexts: + * GoTop returns Go + * + * Constraint: + * direction='top' + */ + protected void sequence_GoTop(ISerializationContext context, Go semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, TqclPackage.Literals.GO__DIRECTION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TqclPackage.Literals.GO__DIRECTION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getGoTopAccess().getDirectionTopKeyword_1_0(), semanticObject.getDirection()); + feeder.finish(); + } + + /** * Contexts: * Command returns Include @@ -272,7 +222,7 @@ protected void sequence_Include(ISerializationContext context, Include semanticO * Insert returns Insert * * Constraint: - * (category=Category? obj=NamedObj name=STRING (parameters+=Parameter parameters+=Parameter*)?) + * (category=Category? entityClass=ENTITY_CLASS name=STRING (parameters+=Parameter parameters+=Parameter*)?) */ protected void sequence_Insert(ISerializationContext context, Insert semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -302,7 +252,7 @@ protected void sequence_Library(ISerializationContext context, Library semanticO * Parameter returns Parameter * * Constraint: - * (id=NamedObj value=STRING) + * (id=Parameter_id value=STRING) */ protected void sequence_Parameter(ISerializationContext context, org.eclipse.triquetrum.commands.tqcl.Parameter semanticObject) { if (errorAcceptor != null) { @@ -312,7 +262,7 @@ protected void sequence_Parameter(ISerializationContext context, org.eclipse.tri errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, TqclPackage.Literals.PARAMETER__VALUE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); - feeder.accept(grammarAccess.getParameterAccess().getIdNamedObjParserRuleCall_0_0(), semanticObject.getId()); + feeder.accept(grammarAccess.getParameterAccess().getIdParameter_idParserRuleCall_0_0(), semanticObject.getId()); feeder.accept(grammarAccess.getParameterAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); feeder.finish(); } diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSyntacticSequencer.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSyntacticSequencer.java index bf857bc4..5417b48b 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSyntacticSequencer.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/serializer/AbstractTqclSyntacticSequencer.java @@ -20,9 +20,6 @@ import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.nodemodel.INode; import org.eclipse.xtext.serializer.analysis.GrammarAlias.AbstractElementAlias; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.GroupAlias; -import org.eclipse.xtext.serializer.analysis.GrammarAlias.TokenAlias; -import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynNavigable; import org.eclipse.xtext.serializer.analysis.ISyntacticSequencerPDAProvider.ISynTransition; import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer; @@ -30,33 +27,17 @@ public abstract class AbstractTqclSyntacticSequencer extends AbstractSyntacticSequencer { protected TqclGrammarAccess grammarAccess; - protected AbstractElementAlias match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q; - protected AbstractElementAlias match_XImportDeclaration_SemicolonKeyword_2_q; @Inject protected void init(IGrammarAccess access) { grammarAccess = (TqclGrammarAccess) access; - match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()), new TokenAlias(false, false, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2())); - match_XImportDeclaration_SemicolonKeyword_2_q = new TokenAlias(false, true, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_2()); } @Override protected String getUnassignedRuleCallToken(EObject semanticObject, RuleCall ruleCall, INode node) { - if (ruleCall.getRule() == grammarAccess.getArrayBracketsRule()) - return getArrayBracketsToken(semanticObject, ruleCall, node); return ""; } - /** - * ArrayBrackets : - * '[' ']' - * ; - */ - protected String getArrayBracketsToken(EObject semanticObject, RuleCall ruleCall, INode node) { - if (node != null) - return getTokenText(node); - return "[]"; - } @Override protected void emitUnassignedTokens(EObject semanticObject, ISynTransition transition, INode fromNode, INode toNode) { @@ -64,37 +45,8 @@ protected void emitUnassignedTokens(EObject semanticObject, ISynTransition trans List transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List syntaxNodes = getNodesFor(transitionNodes, syntax); - if (match_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q.equals(syntax)) - emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(semanticObject, getLastNavigableState(), syntaxNodes); - else if (match_XImportDeclaration_SemicolonKeyword_2_q.equals(syntax)) - emit_XImportDeclaration_SemicolonKeyword_2_q(semanticObject, getLastNavigableState(), syntaxNodes); - else acceptNodes(getLastNavigableState(), syntaxNodes); + acceptNodes(getLastNavigableState(), syntaxNodes); } } - /** - * Ambiguous syntax: - * ('(' ')')? - * - * This ambiguous syntax occurs at: - * (rule start) (ambiguity) '=>' returnType=JvmTypeReference - */ - protected void emit_XFunctionTypeRef___LeftParenthesisKeyword_0_0_RightParenthesisKeyword_0_2__q(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - - /** - * Ambiguous syntax: - * ';'? - * - * This ambiguous syntax occurs at: - * importedNamespace=QualifiedNameWithWildcard (ambiguity) (rule end) - * importedType=[JvmDeclaredType|QualifiedName] (ambiguity) (rule end) - * memberName=ValidID (ambiguity) (rule end) - * wildcard?='*' (ambiguity) (rule end) - */ - protected void emit_XImportDeclaration_SemicolonKeyword_2_q(EObject semanticObject, ISynNavigable transition, List nodes) { - acceptNodes(transition, nodes); - } - } 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 1f90cbf9..23f28874 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 @@ -27,10 +27,10 @@ import org.eclipse.xtext.ParserRule; import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.common.services.TerminalsGrammarAccess; 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; @Singleton public class TqclGrammarAccess extends AbstractGrammarElementFinder { @@ -72,17 +72,18 @@ 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 cIncludeParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5); + private final RuleCall cGoTopParserRuleCall_0_5 = (RuleCall)cAlternatives_0.eContents().get(5); + private final RuleCall cIncludeParserRuleCall_0_6 = (RuleCall)cAlternatives_0.eContents().get(6); private final Keyword cSemicolonKeyword_1 = (Keyword)cGroup.eContents().get(1); //Command: - // (Insert | Connect | Set | GoInto | GoOut | Include) ";"; + // (Insert | Connect | Set | GoInto | GoOut | GoTop | Include) ";"; @Override public ParserRule getRule() { return rule; } - //(Insert | Connect | Set | GoInto | GoOut | Include) ";" + //(Insert | Connect | Set | GoInto | GoOut | GoTop | Include) ";" public Group getGroup() { return cGroup; } - //(Insert | Connect | Set | GoInto | GoOut | Include) + //(Insert | Connect | Set | GoInto | GoOut | GoTop | Include) public Alternatives getAlternatives_0() { return cAlternatives_0; } //Insert @@ -100,8 +101,11 @@ public class CommandElements extends AbstractParserRuleElementFinder { //GoOut public RuleCall getGoOutParserRuleCall_0_4() { return cGoOutParserRuleCall_0_4; } + //GoTop + public RuleCall getGoTopParserRuleCall_0_5() { return cGoTopParserRuleCall_0_5; } + //Include - public RuleCall getIncludeParserRuleCall_0_5() { return cIncludeParserRuleCall_0_5; } + public RuleCall getIncludeParserRuleCall_0_6() { return cIncludeParserRuleCall_0_6; } //";" public Keyword getSemicolonKeyword_1() { return cSemicolonKeyword_1; } @@ -166,8 +170,8 @@ public class InsertElements extends AbstractParserRuleElementFinder { private final Keyword cInsertKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cCategoryAssignment_1 = (Assignment)cGroup.eContents().get(1); 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 Assignment cEntityClassAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cEntityClassENTITY_CLASSTerminalRuleCall_2_0 = (RuleCall)cEntityClassAssignment_2.eContents().get(0); private final Keyword cAsKeyword_3 = (Keyword)cGroup.eContents().get(3); private final Assignment cNameAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cNameSTRINGTerminalRuleCall_4_0 = (RuleCall)cNameAssignment_4.eContents().get(0); @@ -181,11 +185,12 @@ public class InsertElements extends AbstractParserRuleElementFinder { private final RuleCall cParametersParameterParserRuleCall_5_2_1_0 = (RuleCall)cParametersAssignment_5_2_1.eContents().get(0); //Insert: - // "insert" category=Category? obj=NamedObj "as" name=STRING ("with" parameters+=Parameter ("," + // "insert" category=Category? entityClass=ENTITY_CLASS 'as' name=STRING ("with" parameters+=Parameter ("," // parameters+=Parameter)*)?; @Override public ParserRule getRule() { return rule; } - //"insert" category=Category? obj=NamedObj "as" name=STRING ("with" parameters+=Parameter ("," parameters+=Parameter)*)? + //"insert" category=Category? entityClass=ENTITY_CLASS 'as' name=STRING ("with" parameters+=Parameter ("," + //parameters+=Parameter)*)? public Group getGroup() { return cGroup; } //"insert" @@ -197,13 +202,13 @@ public class InsertElements extends AbstractParserRuleElementFinder { //Category public RuleCall getCategoryCategoryEnumRuleCall_1_0() { return cCategoryCategoryEnumRuleCall_1_0; } - //obj=NamedObj - public Assignment getObjAssignment_2() { return cObjAssignment_2; } + //entityClass=ENTITY_CLASS + public Assignment getEntityClassAssignment_2() { return cEntityClassAssignment_2; } - //NamedObj - public RuleCall getObjNamedObjParserRuleCall_2_0() { return cObjNamedObjParserRuleCall_2_0; } + //ENTITY_CLASS + public RuleCall getEntityClassENTITY_CLASSTerminalRuleCall_2_0() { return cEntityClassENTITY_CLASSTerminalRuleCall_2_0; } - //"as" + //'as' public Keyword getAsKeyword_3() { return cAsKeyword_3; } //name=STRING @@ -380,27 +385,50 @@ public class GoOutElements extends AbstractParserRuleElementFinder { //"out" public Keyword getDirectionOutKeyword_1_0() { return cDirectionOutKeyword_1_0; } } + public class GoTopElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.GoTop"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cGoKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cDirectionAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final Keyword cDirectionTopKeyword_1_0 = (Keyword)cDirectionAssignment_1.eContents().get(0); + + //GoTop Go: + // "go" direction="top" + @Override public ParserRule getRule() { return rule; } + + //"go" direction="top" + public Group getGroup() { return cGroup; } + + //"go" + public Keyword getGoKeyword_0() { return cGoKeyword_0; } + + //direction="top" + public Assignment getDirectionAssignment_1() { return cDirectionAssignment_1; } + + //"top" + public Keyword getDirectionTopKeyword_1_0() { return cDirectionTopKeyword_1_0; } + } 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); private final Assignment cIdAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cIdNamedObjParserRuleCall_0_0 = (RuleCall)cIdAssignment_0.eContents().get(0); + private final RuleCall cIdParameter_idParserRuleCall_0_0 = (RuleCall)cIdAssignment_0.eContents().get(0); private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); //Parameter: - // id=NamedObj "=" value=STRING; + // id=Parameter_id "=" value=STRING; @Override public ParserRule getRule() { return rule; } - //id=NamedObj "=" value=STRING + //id=Parameter_id "=" value=STRING public Group getGroup() { return cGroup; } - //id=NamedObj + //id=Parameter_id public Assignment getIdAssignment_0() { return cIdAssignment_0; } - //NamedObj - public RuleCall getIdNamedObjParserRuleCall_0_0() { return cIdNamedObjParserRuleCall_0_0; } + //Parameter_id + public RuleCall getIdParameter_idParserRuleCall_0_0() { return cIdParameter_idParserRuleCall_0_0; } //"=" public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } @@ -411,21 +439,40 @@ public class ParameterElements extends AbstractParserRuleElementFinder { //STRING public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } } + public class Parameter_idElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.Parameter_id"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cPARAMETER_NAMETerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cSTRINGTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Parameter_id: + // PARAMETER_NAME | STRING; + @Override public ParserRule getRule() { return rule; } + + //PARAMETER_NAME | STRING + public Alternatives getAlternatives() { return cAlternatives; } + + //PARAMETER_NAME + public RuleCall getPARAMETER_NAMETerminalRuleCall_0() { return cPARAMETER_NAMETerminalRuleCall_0; } + + //STRING + public RuleCall getSTRINGTerminalRuleCall_1() { return cSTRINGTerminalRuleCall_1; } + } public class NamedObjElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.NamedObj"); private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cQualifiedNameParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cSTRINGTerminalRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //NamedObj: - // QualifiedName | STRING; + // ID | STRING; @Override public ParserRule getRule() { return rule; } - //QualifiedName | STRING + //ID | STRING public Alternatives getAlternatives() { return cAlternatives; } - //QualifiedName - public RuleCall getQualifiedNameParserRuleCall_0() { return cQualifiedNameParserRuleCall_0; } + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } //STRING public RuleCall getSTRINGTerminalRuleCall_1() { return cSTRINGTerminalRuleCall_1; } @@ -440,6 +487,9 @@ public class ConnectionPortElements extends AbstractParserRuleElementFinder { private final Assignment cPortAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cPortNamedObjParserRuleCall_2_0 = (RuleCall)cPortAssignment_2.eContents().get(0); + ////terminal fragment ESCAPED_CHAR: + //// '\\' ('n'|'t'|'r'|'\\'); + ////terminal ENTITY_INSTANCE_NAME: '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9'|ESCAPED_CHAR)*; //ConnectionPort: // actor=[Insert] '.' port=NamedObj; @Override public ParserRule getRule() { return rule; } @@ -479,34 +529,34 @@ public class CategoryElements extends AbstractEnumRuleElementFinder { private final Keyword cDirectorDirectorKeyword_3_0 = (Keyword)cDirectorEnumLiteralDeclaration_3.eContents().get(0); //enum Category: - // Actor | Parameter | Port | Director; + // actor | parameter | port | director; public EnumRule getRule() { return rule; } - //Actor | Parameter | Port | Director + //actor | parameter | port | director public Alternatives getAlternatives() { return cAlternatives; } - //Actor + //actor public EnumLiteralDeclaration getActorEnumLiteralDeclaration_0() { return cActorEnumLiteralDeclaration_0; } - //"Actor" + //"actor" public Keyword getActorActorKeyword_0_0() { return cActorActorKeyword_0_0; } - //Parameter + //parameter public EnumLiteralDeclaration getParameterEnumLiteralDeclaration_1() { return cParameterEnumLiteralDeclaration_1; } - //"Parameter" + //"parameter" public Keyword getParameterParameterKeyword_1_0() { return cParameterParameterKeyword_1_0; } - //Port + //port public EnumLiteralDeclaration getPortEnumLiteralDeclaration_2() { return cPortEnumLiteralDeclaration_2; } - //"Port" + //"port" public Keyword getPortPortKeyword_2_0() { return cPortPortKeyword_2_0; } - //Director + //director public EnumLiteralDeclaration getDirectorEnumLiteralDeclaration_3() { return cDirectorEnumLiteralDeclaration_3; } - //"Director" + //"director" public Keyword getDirectorDirectorKeyword_3_0() { return cDirectorDirectorKeyword_3_0; } } @@ -519,20 +569,24 @@ public class CategoryElements extends AbstractEnumRuleElementFinder { private final ConnectElements pConnect; private final GoIntoElements pGoInto; private final GoOutElements pGoOut; + private final GoTopElements pGoTop; private final CategoryElements eCategory; private final ParameterElements pParameter; + private final Parameter_idElements pParameter_id; + private final TerminalRule tPARAMETER_NAME; private final NamedObjElements pNamedObj; + private final TerminalRule tENTITY_CLASS; private final ConnectionPortElements pConnectionPort; private final Grammar grammar; - private final XtypeGrammarAccess gaXtype; + private final TerminalsGrammarAccess gaTerminals; @Inject public TqclGrammarAccess(GrammarProvider grammarProvider, - XtypeGrammarAccess gaXtype) { + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); - this.gaXtype = gaXtype; + this.gaTerminals = gaTerminals; this.pTriquetrumScript = new TriquetrumScriptElements(); this.pCommand = new CommandElements(); this.pInclude = new IncludeElements(); @@ -542,9 +596,13 @@ public TqclGrammarAccess(GrammarProvider grammarProvider, this.pConnect = new ConnectElements(); this.pGoInto = new GoIntoElements(); this.pGoOut = new GoOutElements(); + this.pGoTop = new GoTopElements(); this.eCategory = new CategoryElements(); this.pParameter = new ParameterElements(); + this.pParameter_id = new Parameter_idElements(); + this.tPARAMETER_NAME = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.PARAMETER_NAME"); this.pNamedObj = new NamedObjElements(); + this.tENTITY_CLASS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.triquetrum.commands.Tqcl.ENTITY_CLASS"); this.pConnectionPort = new ConnectionPortElements(); } @@ -570,8 +628,8 @@ public Grammar getGrammar() { } - public XtypeGrammarAccess getXtypeGrammarAccess() { - return gaXtype; + public TerminalsGrammarAccess getTerminalsGrammarAccess() { + return gaTerminals; } @@ -587,7 +645,7 @@ public ParserRule getTriquetrumScriptRule() { } //Command: - // (Insert | Connect | Set | GoInto | GoOut | Include) ";"; + // (Insert | Connect | Set | GoInto | GoOut | GoTop | Include) ";"; public CommandElements getCommandAccess() { return pCommand; } @@ -617,7 +675,7 @@ public ParserRule getLibraryRule() { } //Insert: - // "insert" category=Category? obj=NamedObj "as" name=STRING ("with" parameters+=Parameter ("," + // "insert" category=Category? entityClass=ENTITY_CLASS 'as' name=STRING ("with" parameters+=Parameter ("," // parameters+=Parameter)*)?; public InsertElements getInsertAccess() { return pInsert; @@ -667,8 +725,18 @@ public ParserRule getGoOutRule() { return getGoOutAccess().getRule(); } + //GoTop Go: + // "go" direction="top" + public GoTopElements getGoTopAccess() { + return pGoTop; + } + + public ParserRule getGoTopRule() { + return getGoTopAccess().getRule(); + } + //enum Category: - // Actor | Parameter | Port | Director; + // actor | parameter | port | director; public CategoryElements getCategoryAccess() { return eCategory; } @@ -678,7 +746,7 @@ public EnumRule getCategoryRule() { } //Parameter: - // id=NamedObj "=" value=STRING; + // id=Parameter_id "=" value=STRING; public ParameterElements getParameterAccess() { return pParameter; } @@ -687,8 +755,24 @@ public ParserRule getParameterRule() { return getParameterAccess().getRule(); } + //Parameter_id: + // PARAMETER_NAME | STRING; + public Parameter_idElements getParameter_idAccess() { + return pParameter_id; + } + + public ParserRule getParameter_idRule() { + return getParameter_idAccess().getRule(); + } + + //terminal PARAMETER_NAME: + // '$' ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; + public TerminalRule getPARAMETER_NAMERule() { + return tPARAMETER_NAME; + } + //NamedObj: - // QualifiedName | STRING; + // ID | STRING; public NamedObjElements getNamedObjAccess() { return pNamedObj; } @@ -697,6 +781,15 @@ public ParserRule getNamedObjRule() { return getNamedObjAccess().getRule(); } + //terminal ENTITY_CLASS: + // '<'->'>'; + public TerminalRule getENTITY_CLASSRule() { + return tENTITY_CLASS; + } + + ////terminal fragment ESCAPED_CHAR: + //// '\\' ('n'|'t'|'r'|'\\'); + ////terminal ENTITY_INSTANCE_NAME: '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9'|ESCAPED_CHAR)*; //ConnectionPort: // actor=[Insert] '.' port=NamedObj; public ConnectionPortElements getConnectionPortAccess() { @@ -707,216 +800,46 @@ public ParserRule getConnectionPortRule() { return getConnectionPortAccess().getRule(); } - //JvmTypeReference: - // JvmParameterizedTypeReference => ({JvmGenericArrayTypeReference.componentType=current} ArrayBrackets)* - // | XFunctionTypeRef; - public XtypeGrammarAccess.JvmTypeReferenceElements getJvmTypeReferenceAccess() { - return gaXtype.getJvmTypeReferenceAccess(); - } - - public ParserRule getJvmTypeReferenceRule() { - return getJvmTypeReferenceAccess().getRule(); - } - - //ArrayBrackets: - // '[' ']'; - public XtypeGrammarAccess.ArrayBracketsElements getArrayBracketsAccess() { - return gaXtype.getArrayBracketsAccess(); - } - - public ParserRule getArrayBracketsRule() { - return getArrayBracketsAccess().getRule(); - } - - //XFunctionTypeRef: - // ('(' (paramTypes+=JvmTypeReference (',' paramTypes+=JvmTypeReference)*)? ')')? '=>' returnType=JvmTypeReference; - public XtypeGrammarAccess.XFunctionTypeRefElements getXFunctionTypeRefAccess() { - return gaXtype.getXFunctionTypeRefAccess(); - } - - public ParserRule getXFunctionTypeRefRule() { - return getXFunctionTypeRefAccess().getRule(); - } - - //JvmParameterizedTypeReference: - // type=[JvmType|QualifiedName] (=> '<' arguments+=JvmArgumentTypeReference (',' arguments+=JvmArgumentTypeReference)* - // '>' (=> ({JvmInnerTypeReference.outer=current} '.') type=[JvmType|ValidID] (=> '<' arguments+=JvmArgumentTypeReference - // (',' arguments+=JvmArgumentTypeReference)* '>')?)*)?; - public XtypeGrammarAccess.JvmParameterizedTypeReferenceElements getJvmParameterizedTypeReferenceAccess() { - return gaXtype.getJvmParameterizedTypeReferenceAccess(); - } - - public ParserRule getJvmParameterizedTypeReferenceRule() { - return getJvmParameterizedTypeReferenceAccess().getRule(); - } - - //JvmArgumentTypeReference JvmTypeReference: - // JvmTypeReference | JvmWildcardTypeReference - public XtypeGrammarAccess.JvmArgumentTypeReferenceElements getJvmArgumentTypeReferenceAccess() { - return gaXtype.getJvmArgumentTypeReferenceAccess(); - } - - public ParserRule getJvmArgumentTypeReferenceRule() { - return getJvmArgumentTypeReferenceAccess().getRule(); - } - - //JvmWildcardTypeReference: - // {JvmWildcardTypeReference} '?' (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded* - // | constraints+=JvmLowerBound constraints+=JvmLowerBoundAnded*)?; - public XtypeGrammarAccess.JvmWildcardTypeReferenceElements getJvmWildcardTypeReferenceAccess() { - return gaXtype.getJvmWildcardTypeReferenceAccess(); - } - - public ParserRule getJvmWildcardTypeReferenceRule() { - return getJvmWildcardTypeReferenceAccess().getRule(); - } - - //JvmUpperBound: - // 'extends' typeReference=JvmTypeReference; - public XtypeGrammarAccess.JvmUpperBoundElements getJvmUpperBoundAccess() { - return gaXtype.getJvmUpperBoundAccess(); - } - - public ParserRule getJvmUpperBoundRule() { - return getJvmUpperBoundAccess().getRule(); - } - - //JvmUpperBoundAnded JvmUpperBound: - // '&' typeReference=JvmTypeReference - public XtypeGrammarAccess.JvmUpperBoundAndedElements getJvmUpperBoundAndedAccess() { - return gaXtype.getJvmUpperBoundAndedAccess(); - } - - public ParserRule getJvmUpperBoundAndedRule() { - return getJvmUpperBoundAndedAccess().getRule(); - } - - //JvmLowerBound: - // 'super' typeReference=JvmTypeReference; - public XtypeGrammarAccess.JvmLowerBoundElements getJvmLowerBoundAccess() { - return gaXtype.getJvmLowerBoundAccess(); - } - - public ParserRule getJvmLowerBoundRule() { - return getJvmLowerBoundAccess().getRule(); - } - - //JvmLowerBoundAnded JvmLowerBound: - // '&' typeReference=JvmTypeReference - public XtypeGrammarAccess.JvmLowerBoundAndedElements getJvmLowerBoundAndedAccess() { - return gaXtype.getJvmLowerBoundAndedAccess(); - } - - public ParserRule getJvmLowerBoundAndedRule() { - return getJvmLowerBoundAndedAccess().getRule(); - } - - //JvmTypeParameter: - // name=ValidID (constraints+=JvmUpperBound constraints+=JvmUpperBoundAnded*)?; - public XtypeGrammarAccess.JvmTypeParameterElements getJvmTypeParameterAccess() { - return gaXtype.getJvmTypeParameterAccess(); - } - - public ParserRule getJvmTypeParameterRule() { - return getJvmTypeParameterAccess().getRule(); - } - - //QualifiedName: - // ValidID ('.' ValidID)*; - public XtypeGrammarAccess.QualifiedNameElements getQualifiedNameAccess() { - return gaXtype.getQualifiedNameAccess(); - } - - public ParserRule getQualifiedNameRule() { - return getQualifiedNameAccess().getRule(); - } - - //QualifiedNameWithWildcard: - // QualifiedName '.' '*'; - public XtypeGrammarAccess.QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() { - return gaXtype.getQualifiedNameWithWildcardAccess(); - } - - public ParserRule getQualifiedNameWithWildcardRule() { - return getQualifiedNameWithWildcardAccess().getRule(); - } - - //ValidID: - // ID; - public XtypeGrammarAccess.ValidIDElements getValidIDAccess() { - return gaXtype.getValidIDAccess(); - } - - public ParserRule getValidIDRule() { - return getValidIDAccess().getRule(); - } - - //XImportSection: - // importDeclarations+=XImportDeclaration+; - public XtypeGrammarAccess.XImportSectionElements getXImportSectionAccess() { - return gaXtype.getXImportSectionAccess(); - } - - public ParserRule getXImportSectionRule() { - return getXImportSectionAccess().getRule(); - } - - //XImportDeclaration: - // 'import' (static?='static' extension?='extension'? importedType=[JvmDeclaredType|QualifiedNameInStaticImport] - // (wildcard?='*' | memberName=ValidID) | importedType=[JvmDeclaredType|QualifiedName] | - // importedNamespace=QualifiedNameWithWildcard) ';'?; - public XtypeGrammarAccess.XImportDeclarationElements getXImportDeclarationAccess() { - return gaXtype.getXImportDeclarationAccess(); - } - - public ParserRule getXImportDeclarationRule() { - return getXImportDeclarationAccess().getRule(); - } - - //QualifiedNameInStaticImport: - // (ValidID '.')+; - public XtypeGrammarAccess.QualifiedNameInStaticImportElements getQualifiedNameInStaticImportAccess() { - return gaXtype.getQualifiedNameInStaticImportAccess(); - } - - public ParserRule getQualifiedNameInStaticImportRule() { - return getQualifiedNameInStaticImportAccess().getRule(); - } - //terminal ID: - // '^'? ('a'..'z' | 'A'..'Z' | '$' | '_') ('a'..'z' | 'A'..'Z' | '$' | '_' | '0'..'9')*; + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { - return gaXtype.getIDRule(); + return gaTerminals.getIDRule(); + } + + //terminal INT returns ecore::EInt: + // '0'..'9'+; + public TerminalRule getINTRule() { + return gaTerminals.getINTRule(); } //terminal STRING: - // '"' ('\\' . | !('\\' | '"'))* '"'? | - // "'" ('\\' . | !('\\' | "'"))* "'"?; + // '"' ('\\' . | !('\\' | '"'))* '"' | + // "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { - return gaXtype.getSTRINGRule(); + return gaTerminals.getSTRINGRule(); } //terminal ML_COMMENT: // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { - return gaXtype.getML_COMMENTRule(); + return gaTerminals.getML_COMMENTRule(); } //terminal SL_COMMENT: // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { - return gaXtype.getSL_COMMENTRule(); + return gaTerminals.getSL_COMMENTRule(); } //terminal WS: // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { - return gaXtype.getWSRule(); + return gaTerminals.getWSRule(); } //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { - return gaXtype.getANY_OTHERRule(); + return gaTerminals.getANY_OTHERRule(); } } 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 index f3e27c06..c2da3934 100644 --- 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 @@ -39,7 +39,7 @@ public enum Category implements Enumerator * @generated * @ordered */ - ACTOR(0, "Actor", "Actor"), + ACTOR(0, "actor", "actor"), /** * The 'Parameter' literal object. @@ -49,7 +49,7 @@ public enum Category implements Enumerator * @generated * @ordered */ - PARAMETER(1, "Parameter", "Parameter"), + PARAMETER(1, "parameter", "parameter"), /** * The 'Port' literal object. @@ -59,7 +59,7 @@ public enum Category implements Enumerator * @generated * @ordered */ - PORT(2, "Port", "Port"), + PORT(2, "port", "port"), /** * The 'Director' literal object. @@ -69,7 +69,7 @@ public enum Category implements Enumerator * @generated * @ordered */ - DIRECTOR(3, "Director", "Director"); + DIRECTOR(3, "director", "director"); /** * The 'Actor' literal value. @@ -80,7 +80,7 @@ public enum Category implements Enumerator *

* * @see #ACTOR - * @model name="Actor" + * @model name="actor" * @generated * @ordered */ @@ -95,7 +95,7 @@ public enum Category implements Enumerator *

* * @see #PARAMETER - * @model name="Parameter" + * @model name="parameter" * @generated * @ordered */ @@ -110,7 +110,7 @@ public enum Category implements Enumerator *

* * @see #PORT - * @model name="Port" + * @model name="port" * @generated * @ordered */ @@ -125,7 +125,7 @@ public enum Category implements Enumerator *

* * @see #DIRECTOR - * @model name="Director" + * @model name="director" * @generated * @ordered */ 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 9f957253..d0ed2fa2 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 @@ -26,7 +26,7 @@ *

*
    *
  • {@link org.eclipse.triquetrum.commands.tqcl.Insert#getCategory Category}
  • - *
  • {@link org.eclipse.triquetrum.commands.tqcl.Insert#getObj Obj}
  • + *
  • {@link org.eclipse.triquetrum.commands.tqcl.Insert#getEntityClass Entity Class}
  • *
  • {@link org.eclipse.triquetrum.commands.tqcl.Insert#getName Name}
  • *
  • {@link org.eclipse.triquetrum.commands.tqcl.Insert#getParameters Parameters}
  • *
@@ -67,30 +67,30 @@ public interface Insert extends Command void setCategory(Category value); /** - * Returns the value of the 'Obj' attribute. + * Returns the value of the 'Entity Class' attribute. * *

- * If the meaning of the 'Obj' attribute isn't clear, + * If the meaning of the 'Entity Class' attribute isn't clear, * there really should be more of a description here... *

* - * @return the value of the 'Obj' attribute. - * @see #setObj(String) - * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getInsert_Obj() + * @return the value of the 'Entity Class' attribute. + * @see #setEntityClass(String) + * @see org.eclipse.triquetrum.commands.tqcl.TqclPackage#getInsert_EntityClass() * @model * @generated */ - String getObj(); + String getEntityClass(); /** - * Sets the value of the '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getObj Obj}' attribute. + * Sets the value of the '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getEntityClass Entity Class}' attribute. * * - * @param value the new value of the 'Obj' attribute. - * @see #getObj() + * @param value the new value of the 'Entity Class' attribute. + * @see #getEntityClass() * @generated */ - void setObj(String value); + void setEntityClass(String value); /** * Returns the value of the 'Name' attribute. 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 f6ac6064..18421a41 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 @@ -201,13 +201,13 @@ public interface TqclPackage extends EPackage int INSERT__CATEGORY = COMMAND_FEATURE_COUNT + 0; /** - * The feature id for the 'Obj' attribute. + * The feature id for the 'Entity Class' attribute. * * * @generated * @ordered */ - int INSERT__OBJ = COMMAND_FEATURE_COUNT + 1; + int INSERT__ENTITY_CLASS = COMMAND_FEATURE_COUNT + 1; /** * The feature id for the 'Name' attribute. @@ -529,15 +529,15 @@ public interface TqclPackage extends EPackage EAttribute getInsert_Category(); /** - * Returns the meta object for the attribute '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getObj Obj}'. + * Returns the meta object for the attribute '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getEntityClass Entity Class}'. * * - * @return the meta object for the attribute 'Obj'. - * @see org.eclipse.triquetrum.commands.tqcl.Insert#getObj() + * @return the meta object for the attribute 'Entity Class'. + * @see org.eclipse.triquetrum.commands.tqcl.Insert#getEntityClass() * @see #getInsert() * @generated */ - EAttribute getInsert_Obj(); + EAttribute getInsert_EntityClass(); /** * Returns the meta object for the attribute '{@link org.eclipse.triquetrum.commands.tqcl.Insert#getName Name}'. @@ -834,12 +834,12 @@ interface Literals EAttribute INSERT__CATEGORY = eINSTANCE.getInsert_Category(); /** - * The meta object literal for the 'Obj' attribute feature. + * The meta object literal for the 'Entity Class' attribute feature. * * * @generated */ - EAttribute INSERT__OBJ = eINSTANCE.getInsert_Obj(); + EAttribute INSERT__ENTITY_CLASS = eINSTANCE.getInsert_EntityClass(); /** * The meta object literal for the 'Name' attribute feature. 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 cd020b90..3ad6a6e5 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 @@ -43,7 +43,7 @@ *

*
    *
  • {@link org.eclipse.triquetrum.commands.tqcl.impl.InsertImpl#getCategory Category}
  • - *
  • {@link org.eclipse.triquetrum.commands.tqcl.impl.InsertImpl#getObj Obj}
  • + *
  • {@link org.eclipse.triquetrum.commands.tqcl.impl.InsertImpl#getEntityClass Entity Class}
  • *
  • {@link org.eclipse.triquetrum.commands.tqcl.impl.InsertImpl#getName Name}
  • *
  • {@link org.eclipse.triquetrum.commands.tqcl.impl.InsertImpl#getParameters Parameters}
  • *
@@ -73,24 +73,24 @@ public class InsertImpl extends CommandImpl implements Insert protected Category category = CATEGORY_EDEFAULT; /** - * The default value of the '{@link #getObj() Obj}' attribute. + * The default value of the '{@link #getEntityClass() Entity Class}' attribute. * * - * @see #getObj() + * @see #getEntityClass() * @generated * @ordered */ - protected static final String OBJ_EDEFAULT = null; + protected static final String ENTITY_CLASS_EDEFAULT = null; /** - * The cached value of the '{@link #getObj() Obj}' attribute. + * The cached value of the '{@link #getEntityClass() Entity Class}' attribute. * * - * @see #getObj() + * @see #getEntityClass() * @generated * @ordered */ - protected String obj = OBJ_EDEFAULT; + protected String entityClass = ENTITY_CLASS_EDEFAULT; /** * The default value of the '{@link #getName() Name}' attribute. @@ -171,9 +171,9 @@ public void setCategory(Category newCategory) * * @generated */ - public String getObj() + public String getEntityClass() { - return obj; + return entityClass; } /** @@ -181,12 +181,12 @@ public String getObj() * * @generated */ - public void setObj(String newObj) + public void setEntityClass(String newEntityClass) { - String oldObj = obj; - obj = newObj; + String oldEntityClass = entityClass; + entityClass = newEntityClass; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TqclPackage.INSERT__OBJ, oldObj, obj)); + eNotify(new ENotificationImpl(this, Notification.SET, TqclPackage.INSERT__ENTITY_CLASS, oldEntityClass, entityClass)); } /** @@ -254,8 +254,8 @@ public Object eGet(int featureID, boolean resolve, boolean coreType) { case TqclPackage.INSERT__CATEGORY: return getCategory(); - case TqclPackage.INSERT__OBJ: - return getObj(); + case TqclPackage.INSERT__ENTITY_CLASS: + return getEntityClass(); case TqclPackage.INSERT__NAME: return getName(); case TqclPackage.INSERT__PARAMETERS: @@ -278,8 +278,8 @@ public void eSet(int featureID, Object newValue) case TqclPackage.INSERT__CATEGORY: setCategory((Category)newValue); return; - case TqclPackage.INSERT__OBJ: - setObj((String)newValue); + case TqclPackage.INSERT__ENTITY_CLASS: + setEntityClass((String)newValue); return; case TqclPackage.INSERT__NAME: setName((String)newValue); @@ -305,8 +305,8 @@ public void eUnset(int featureID) case TqclPackage.INSERT__CATEGORY: setCategory(CATEGORY_EDEFAULT); return; - case TqclPackage.INSERT__OBJ: - setObj(OBJ_EDEFAULT); + case TqclPackage.INSERT__ENTITY_CLASS: + setEntityClass(ENTITY_CLASS_EDEFAULT); return; case TqclPackage.INSERT__NAME: setName(NAME_EDEFAULT); @@ -330,8 +330,8 @@ public boolean eIsSet(int featureID) { case TqclPackage.INSERT__CATEGORY: return category != CATEGORY_EDEFAULT; - case TqclPackage.INSERT__OBJ: - return OBJ_EDEFAULT == null ? obj != null : !OBJ_EDEFAULT.equals(obj); + case TqclPackage.INSERT__ENTITY_CLASS: + return ENTITY_CLASS_EDEFAULT == null ? entityClass != null : !ENTITY_CLASS_EDEFAULT.equals(entityClass); case TqclPackage.INSERT__NAME: return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case TqclPackage.INSERT__PARAMETERS: @@ -353,8 +353,8 @@ public String toString() StringBuffer result = new StringBuffer(super.toString()); result.append(" (category: "); result.append(category); - result.append(", obj: "); - result.append(obj); + result.append(", entityClass: "); + result.append(entityClass); result.append(", name: "); result.append(name); result.append(')'); 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 e907d4dc..af3f1e19 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 @@ -289,7 +289,7 @@ public EAttribute getInsert_Category() * * @generated */ - public EAttribute getInsert_Obj() + public EAttribute getInsert_EntityClass() { return (EAttribute)insertEClass.getEStructuralFeatures().get(1); } @@ -508,7 +508,7 @@ public void createPackageContents() insertEClass = createEClass(INSERT); createEAttribute(insertEClass, INSERT__CATEGORY); - createEAttribute(insertEClass, INSERT__OBJ); + createEAttribute(insertEClass, INSERT__ENTITY_CLASS); createEAttribute(insertEClass, INSERT__NAME); createEReference(insertEClass, INSERT__PARAMETERS); @@ -585,7 +585,7 @@ public void initializePackageContents() initEClass(insertEClass, Insert.class, "Insert", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); 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_EntityClass(), ecorePackage.getEString(), "entityClass", 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); diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/validation/AbstractTqclValidator.java b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/validation/AbstractTqclValidator.java index 5c5b549b..d435aef1 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/validation/AbstractTqclValidator.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java-gen/org/eclipse/triquetrum/commands/validation/AbstractTqclValidator.java @@ -15,16 +15,14 @@ import java.util.ArrayList; import java.util.List; import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.xbase.validation.XtypeValidator; +import org.eclipse.xtext.validation.AbstractDeclarativeValidator; -public abstract class AbstractTqclValidator extends XtypeValidator { +public abstract class AbstractTqclValidator extends AbstractDeclarativeValidator { @Override protected List getEPackages() { - List result = new ArrayList(super.getEPackages()); + List result = new ArrayList(); result.add(org.eclipse.triquetrum.commands.tqcl.TqclPackage.eINSTANCE); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/common/JavaVMTypes")); - result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/xtext/xbase/Xtype")); return result; } 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 92c64f9c..6df98985 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 @@ -1,4 +1,4 @@ -grammar org.eclipse.triquetrum.commands.Tqcl with org.eclipse.xtext.xbase.Xtype +grammar org.eclipse.triquetrum.commands.Tqcl with org.eclipse.xtext.common.Terminals generate tqcl "http://www.eclipse.org/triquetrum/commands/Tqcl" @@ -9,7 +9,7 @@ TriquetrumScript: Command returns Command: - (Insert|Connect|Set|GoInto|GoOut|Include) ";" + (Insert|Connect|Set|GoInto|GoOut|GoTop|Include) ";" ; Include: @@ -22,7 +22,7 @@ Library: Insert: - "insert" (category=Category)? obj=NamedObj "as" name=STRING ("with" parameters+=(Parameter) ("," parameters+=Parameter)*)?; + "insert" (category=Category)? entityClass=ENTITY_CLASS 'as' name=STRING ("with" parameters+=(Parameter) ("," parameters+=Parameter)*)? ; Set: "set" param = Parameter @@ -40,16 +40,38 @@ GoOut returns Go: "go" direction="out" ; +GoTop returns Go: + "go" direction="top" +; + enum Category: - Actor | Parameter | Port | Director; + actor | parameter | port | director; Parameter: - id=NamedObj "=" value=STRING; + id=Parameter_id "=" value=STRING; + +Parameter_id: + PARAMETER_NAME|STRING +; + +terminal PARAMETER_NAME: + '$'('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')* +; NamedObj: - (QualifiedName | STRING) + (ID | STRING) ; +terminal ENTITY_CLASS: + ('<'->'>') +; + + +//terminal fragment ESCAPED_CHAR: +// '\\' ('n'|'t'|'r'|'\\'); + +//terminal ENTITY_INSTANCE_NAME: '^'?('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9'|ESCAPED_CHAR)*; + ConnectionPort: actor=[Insert] '.' port=NamedObj; diff --git a/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/generator/TqclGenerator.java b/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/generator/TqclGenerator.java index a8d0e249..afbd01ac 100644 --- a/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/generator/TqclGenerator.java +++ b/org.eclipse.triquetrum.commands.xtext/src/main/java/org/eclipse/triquetrum/commands/generator/TqclGenerator.java @@ -13,40 +13,7 @@ */ package org.eclipse.triquetrum.commands.generator; -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.edit.command.SetCommand; -import org.eclipse.emf.transaction.TransactionalEditingDomain; -import org.eclipse.graphiti.dt.IDiagramTypeProvider; -import org.eclipse.graphiti.features.ICreateFeature; -import org.eclipse.graphiti.features.IFeatureProvider; -import org.eclipse.graphiti.features.context.impl.CreateConnectionContext; -import org.eclipse.graphiti.features.context.impl.CreateContext; -import org.eclipse.graphiti.mm.pictograms.Anchor; -import org.eclipse.graphiti.mm.pictograms.Diagram; -import org.eclipse.graphiti.mm.pictograms.Shape; -import org.eclipse.graphiti.services.Graphiti; -import org.eclipse.graphiti.ui.editor.DiagramBehavior; -import org.eclipse.swt.widgets.Display; -import org.eclipse.triquetrum.commands.tqcl.Command; -import org.eclipse.triquetrum.commands.tqcl.Connect; -import org.eclipse.triquetrum.commands.tqcl.Insert; -import org.eclipse.triquetrum.commands.tqcl.Parameter; -import org.eclipse.triquetrum.commands.tqcl.TriquetrumScript; -import org.eclipse.triquetrum.workflow.editor.TriqDiagramEditor; -import org.eclipse.triquetrum.workflow.editor.features.ConnectionCreateFeature; -import org.eclipse.triquetrum.workflow.editor.features.ModelElementCreateFeature; -import org.eclipse.triquetrum.workflow.model.Actor; -import org.eclipse.triquetrum.workflow.model.CompositeActor; -import org.eclipse.triquetrum.workflow.model.Port; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IEditorReference; -import org.eclipse.ui.PlatformUI; import org.eclipse.xtext.generator.AbstractGenerator; import org.eclipse.xtext.generator.IFileSystemAccess2; import org.eclipse.xtext.generator.IGeneratorContext; @@ -59,149 +26,10 @@ */ public class TqclGenerator extends AbstractGenerator { - private Map featuresMap = new HashMap<>(); - - TriqDiagramEditor triqDiagramEditor = null; - @Override - public void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) { - - - Display.getDefault().syncExec(new Runnable() { - - @Override - public void run() { - // TODO Auto-generated method stub - IEditorReference[] editorReferences = PlatformUI.getWorkbench().getActiveWorkbenchWindow() - .getActivePage().getEditorReferences(); - for (IEditorReference iEditorReference : editorReferences) { - - IEditorPart editor = iEditorReference.getEditor(true); - if (editor instanceof TriqDiagramEditor) { - triqDiagramEditor = (TriqDiagramEditor) editor; - break; - } - } - } - }); - DiagramBehavior diagramBehavior = triqDiagramEditor.getDiagramBehavior(); - IDiagramTypeProvider diagramTypeProvider = triqDiagramEditor.getDiagramTypeProvider(); - IFeatureProvider featureProvider = diagramTypeProvider.getFeatureProvider(); - Diagram diagram = diagramTypeProvider.getDiagram(); - - + public void doGenerate(Resource arg0, IFileSystemAccess2 arg1, IGeneratorContext arg2) { + // TODO Auto-generated method stub - initFeatureMap(featureProvider); - - EList contents = resource.getContents(); - for (EObject eObject : contents) { - if (eObject instanceof TriquetrumScript) { - - TriquetrumScript triquetrumScript = (TriquetrumScript) eObject; - final EList commands = triquetrumScript.getCommands(); - - for (Command command : commands) { - if (command instanceof Insert) { - insertActor(diagramBehavior, diagram, command); - } - else if (command instanceof Connect) { - Connect connect = (Connect) command; - createConnection(diagramBehavior, featureProvider, diagram, connect); - } - - } - - } - - } - - } - - private void createConnection(DiagramBehavior diagramBehavior, IFeatureProvider featureProvider, Diagram diagram, - Connect connect) { - ConnectionCreateFeature feature = new ConnectionCreateFeature(featureProvider); - CreateConnectionContext createContext = new CreateConnectionContext(); - EList children = diagram.getChildren(); - - for (Shape shape : children) { - EList anchors = shape.getAnchors(); - for (Anchor anchor : anchors) { - EObject bo = Graphiti.getLinkService().getBusinessObjectForLinkedPictogramElement(anchor); - if (bo instanceof Port) { - Port port = (Port) bo; - String fullName = port.getFullName(); -// if(fullName.endsWith(connect.getFrom().getName().toString())) -// { -// createContext.setSourceAnchor(anchor); -// } -// if(fullName.endsWith(connect.getTo().getName().toString())) -// { -// createContext.setTargetAnchor(anchor); -// } - } - } - } - - diagramBehavior.executeFeature(feature, createContext); - } - - private void insertActor(DiagramBehavior diagramBehavior, Diagram diagram, Command command) { - Insert insert = (Insert) command; - String obj = insert.getObj(); - String paleteKey = obj; - String actorInstanceName = insert.getName(); - - EList parameters = insert.getParameters(); - - - ModelElementCreateFeature modelElementCreateFeature = featuresMap - .get(paleteKey.replaceAll("\"", "")); - CreateContext createContext = new CreateContext(); - createContext.setTargetContainer(diagram); - Object executeFeature = diagramBehavior.executeFeature(modelElementCreateFeature, createContext); - - - - EObject businessObjectForLinkedPictogramElement = Graphiti.getLinkService().getBusinessObjectForLinkedPictogramElement(diagram); - if (businessObjectForLinkedPictogramElement instanceof CompositeActor) { - CompositeActor mainActor = (CompositeActor) businessObjectForLinkedPictogramElement; - org.eclipse.triquetrum.workflow.model.NamedObj child = mainActor.getChild(modelElementCreateFeature.getCreateName()); - TransactionalEditingDomain editingDomain = diagramBehavior.getEditingDomain(); - if (child instanceof Actor) { - Actor actor = (Actor) child; - Map modelParameters = new HashMap<>(); - for (org.eclipse.triquetrum.workflow.model.Parameter parameter : actor.getParameters()) { - modelParameters.put(parameter.getName(), parameter); - } -// EStructuralFeature eStructuralFeatureName = actor.eClass().getEStructuralFeature("name"); -// editingDomain.getCommandStack().execute(new SetCommand(editingDomain, actor, eStructuralFeatureName, actorInstanceName)); - - for (Parameter parameter : parameters) { - String paramName = parameter.getId(); - org.eclipse.triquetrum.workflow.model.Parameter parameterToSet = modelParameters.get(paramName); - EStructuralFeature eStructuralFeatureExpression = parameterToSet.eClass().getEStructuralFeature("expression"); - editingDomain.getCommandStack().execute(new SetCommand(editingDomain, parameterToSet,eStructuralFeatureExpression ,parameter.getValue())); - } - - } - - } - - - - System.out.println(executeFeature); - } - - private void initFeatureMap(IFeatureProvider featureProvider) { - if (featuresMap.isEmpty()) { - ICreateFeature[] createFeatures = featureProvider.getCreateFeatures(); - for (ICreateFeature feature : createFeatures) { - if (feature instanceof ModelElementCreateFeature) { - ModelElementCreateFeature modelfeature = (ModelElementCreateFeature) feature; - String key = modelfeature.getGroup() + "." + modelfeature.getName(); - featuresMap.put(key, modelfeature); - } - } - } } -} + +} \ No newline at end of file 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 675049c0245b0b758fe85605737a6cebff323630..dde8342650c91ec0c60d5ebb888f02a3be54494a 100644 GIT binary patch delta 650 zcmey!bBl*Bz?+#xgn@&DgP}4)&1)l{1``X2G1-bqwSKZ=wy>kf@%UN3QQgxQh}v*C zy|;cT<$SwaG$*IqafRcB$&>GT8YPyc8-F(2{dQr%2k(jx(iPvdl#Xte`^z-XrrZ2} zo=|WU)2;5}8MQXg{?@<$pZ4u8|B47^-P~X6K1}UdTVO0AxyvnLu0;HfjRs*+B7#TH zw@i#VnS3wwQ9)JxgNYmVO*Hh9W!1lZ|Nj41fA;WAIQlZ%qEqzvJhO*pvrlgPtYT6$ zg~P=2#V;$KN|76!b0Z&bo^ZN@_veh~ra4iEpPA-_9kx=AmsJxy6|kjr!iq!AA`A|l zXWqsgyz}nzyMP}R=WgHo;QV1xnc18Q>*mYrJCq+w+ z@Ns4xo&3EI-TgD9Zoa&3op1Mfd#c9U=H#av zPbAGsRW1D_yU<6V<*BAnV(C5eL#Nghx7=EK&sgc&vm>^7?74E`)ArZ?DS3T$x{=P- zgwRa6Ej#*ey*X?ubD@AeiZ$|2LOuJZP_OWe_*2TSj(EL#@@}u&;_FWituB|o=T@-) zWvJ?I31NnfeZ+hggDxv$#gAQ-x4B(QtZtFW6`Z7UGX7RQ&$rNsgtt3Q{VO`WKwFeeyaWD&S%ReSAUOQ>p0tJ`_25Fum3e~ z+kNp?PW~?Gyw!J0*nRDNKQDT7xgZGJ@kxg-8nHOX7&cE4dG5-sHfHymb z>$*>TnoJA~4_Fu&P}9}sJ{BHENWz-OYQ_snVQ|HhAF`T4q@>uS7^hD*Ws_%H%E|x) E09COy#Q*>R 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 99d190039c9a08adf02d0d1d7fd8ab856f85bea7..45c2a1b0da193d3a645efd8d39fdae0ae6449e77 100644 GIT binary patch delta 70 zcmaFE_lA!zz?+#xgn@&DgCRIf&1)l{7&8lqu~~!Jf(gP(VfA1HvnFp~GlMW*vDrZw HI_wSrKp7Dh delta 70 zcmaFE_lA!zz?+#xgn@&DgCW#wzUM|hF=iGJW3vXc1rvmo!s@{YW=-C}W(HxrVzYxV Hbl4pLi;okk