/* | |
* generated by Xtext | |
*/ | |
grammar InternalBase; | |
options { | |
superClass=AbstractInternalContentAssistParser; | |
backtrack=true; | |
} | |
@lexer::header { | |
package org.eclipse.ocl.xtext.base.ui.contentassist.antlr.internal; | |
// Hack: Use our own Lexer superclass by means of import. | |
// Currently there is no other way to specify the superclass for the lexer. | |
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.Lexer; | |
} | |
@parser::header { | |
package org.eclipse.ocl.xtext.base.ui.contentassist.antlr.internal; | |
import java.io.InputStream; | |
import org.eclipse.xtext.*; | |
import org.eclipse.xtext.parser.*; | |
import org.eclipse.xtext.parser.impl.*; | |
import org.eclipse.emf.ecore.util.EcoreUtil; | |
import org.eclipse.emf.ecore.EObject; | |
import org.eclipse.xtext.parser.antlr.XtextTokenStream; | |
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | |
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; | |
import org.eclipse.xtext.ui.editor.contentassist.antlr.internal.DFA; | |
import org.eclipse.ocl.xtext.base.services.BaseGrammarAccess; | |
} | |
@parser::members { | |
private BaseGrammarAccess grammarAccess; | |
public void setGrammarAccess(BaseGrammarAccess grammarAccess) { | |
this.grammarAccess = grammarAccess; | |
} | |
@Override | |
protected Grammar getGrammar() { | |
return grammarAccess.getGrammar(); | |
} | |
@Override | |
protected String getValueForTokenName(String tokenName) { | |
return tokenName; | |
} | |
} | |
// Entry rule entryRuleMultiplicityBoundsCS | |
entryRuleMultiplicityBoundsCS | |
: | |
{ before(grammarAccess.getMultiplicityBoundsCSRule()); } | |
ruleMultiplicityBoundsCS | |
{ after(grammarAccess.getMultiplicityBoundsCSRule()); } | |
EOF | |
; | |
// Rule MultiplicityBoundsCS | |
ruleMultiplicityBoundsCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getGroup()); } | |
(rule__MultiplicityBoundsCS__Group__0) | |
{ after(grammarAccess.getMultiplicityBoundsCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleMultiplicityStringCS | |
entryRuleMultiplicityStringCS | |
: | |
{ before(grammarAccess.getMultiplicityStringCSRule()); } | |
ruleMultiplicityStringCS | |
{ after(grammarAccess.getMultiplicityStringCSRule()); } | |
EOF | |
; | |
// Rule MultiplicityStringCS | |
ruleMultiplicityStringCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAssignment()); } | |
(rule__MultiplicityStringCS__StringBoundsAssignment) | |
{ after(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAssignment()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRulePathNameCS | |
entryRulePathNameCS | |
: | |
{ before(grammarAccess.getPathNameCSRule()); } | |
rulePathNameCS | |
{ after(grammarAccess.getPathNameCSRule()); } | |
EOF | |
; | |
// Rule PathNameCS | |
rulePathNameCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getGroup()); } | |
(rule__PathNameCS__Group__0) | |
{ after(grammarAccess.getPathNameCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleFirstPathElementCS | |
entryRuleFirstPathElementCS | |
: | |
{ before(grammarAccess.getFirstPathElementCSRule()); } | |
ruleFirstPathElementCS | |
{ after(grammarAccess.getFirstPathElementCSRule()); } | |
EOF | |
; | |
// Rule FirstPathElementCS | |
ruleFirstPathElementCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getFirstPathElementCSAccess().getReferredElementAssignment()); } | |
(rule__FirstPathElementCS__ReferredElementAssignment) | |
{ after(grammarAccess.getFirstPathElementCSAccess().getReferredElementAssignment()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleNextPathElementCS | |
entryRuleNextPathElementCS | |
: | |
{ before(grammarAccess.getNextPathElementCSRule()); } | |
ruleNextPathElementCS | |
{ after(grammarAccess.getNextPathElementCSRule()); } | |
EOF | |
; | |
// Rule NextPathElementCS | |
ruleNextPathElementCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getNextPathElementCSAccess().getReferredElementAssignment()); } | |
(rule__NextPathElementCS__ReferredElementAssignment) | |
{ after(grammarAccess.getNextPathElementCSAccess().getReferredElementAssignment()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTemplateBindingCS | |
entryRuleTemplateBindingCS | |
: | |
{ before(grammarAccess.getTemplateBindingCSRule()); } | |
ruleTemplateBindingCS | |
{ after(grammarAccess.getTemplateBindingCSRule()); } | |
EOF | |
; | |
// Rule TemplateBindingCS | |
ruleTemplateBindingCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getGroup()); } | |
(rule__TemplateBindingCS__Group__0) | |
{ after(grammarAccess.getTemplateBindingCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTemplateParameterSubstitutionCS | |
entryRuleTemplateParameterSubstitutionCS | |
: | |
{ before(grammarAccess.getTemplateParameterSubstitutionCSRule()); } | |
ruleTemplateParameterSubstitutionCS | |
{ after(grammarAccess.getTemplateParameterSubstitutionCSRule()); } | |
EOF | |
; | |
// Rule TemplateParameterSubstitutionCS | |
ruleTemplateParameterSubstitutionCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterAssignment()); } | |
(rule__TemplateParameterSubstitutionCS__OwnedActualParameterAssignment) | |
{ after(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterAssignment()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTypeParameterCS | |
entryRuleTypeParameterCS | |
: | |
{ before(grammarAccess.getTypeParameterCSRule()); } | |
ruleTypeParameterCS | |
{ after(grammarAccess.getTypeParameterCSRule()); } | |
EOF | |
; | |
// Rule TypeParameterCS | |
ruleTypeParameterCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getGroup()); } | |
(rule__TypeParameterCS__Group__0) | |
{ after(grammarAccess.getTypeParameterCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTypeRefCS | |
entryRuleTypeRefCS | |
: | |
{ before(grammarAccess.getTypeRefCSRule()); } | |
ruleTypeRefCS | |
{ after(grammarAccess.getTypeRefCSRule()); } | |
EOF | |
; | |
// Rule TypeRefCS | |
ruleTypeRefCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeRefCSAccess().getAlternatives()); } | |
(rule__TypeRefCS__Alternatives) | |
{ after(grammarAccess.getTypeRefCSAccess().getAlternatives()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTypedRefCS | |
entryRuleTypedRefCS | |
: | |
{ before(grammarAccess.getTypedRefCSRule()); } | |
ruleTypedRefCS | |
{ after(grammarAccess.getTypedRefCSRule()); } | |
EOF | |
; | |
// Rule TypedRefCS | |
ruleTypedRefCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedRefCSAccess().getTypedTypeRefCSParserRuleCall()); } | |
ruleTypedTypeRefCS | |
{ after(grammarAccess.getTypedRefCSAccess().getTypedTypeRefCSParserRuleCall()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleTypedTypeRefCS | |
entryRuleTypedTypeRefCS | |
: | |
{ before(grammarAccess.getTypedTypeRefCSRule()); } | |
ruleTypedTypeRefCS | |
{ after(grammarAccess.getTypedTypeRefCSRule()); } | |
EOF | |
; | |
// Rule TypedTypeRefCS | |
ruleTypedTypeRefCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedTypeRefCSAccess().getGroup()); } | |
(rule__TypedTypeRefCS__Group__0) | |
{ after(grammarAccess.getTypedTypeRefCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleUnreservedName | |
entryRuleUnreservedName | |
: | |
{ before(grammarAccess.getUnreservedNameRule()); } | |
ruleUnreservedName | |
{ after(grammarAccess.getUnreservedNameRule()); } | |
EOF | |
; | |
// Rule UnreservedName | |
ruleUnreservedName | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getUnreservedNameAccess().getUnrestrictedNameParserRuleCall()); } | |
ruleUnrestrictedName | |
{ after(grammarAccess.getUnreservedNameAccess().getUnrestrictedNameParserRuleCall()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleUnrestrictedName | |
entryRuleUnrestrictedName | |
: | |
{ before(grammarAccess.getUnrestrictedNameRule()); } | |
ruleUnrestrictedName | |
{ after(grammarAccess.getUnrestrictedNameRule()); } | |
EOF | |
; | |
// Rule UnrestrictedName | |
ruleUnrestrictedName | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getUnrestrictedNameAccess().getIdentifierParserRuleCall()); } | |
ruleIdentifier | |
{ after(grammarAccess.getUnrestrictedNameAccess().getIdentifierParserRuleCall()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleWildcardTypeRefCS | |
entryRuleWildcardTypeRefCS | |
: | |
{ before(grammarAccess.getWildcardTypeRefCSRule()); } | |
ruleWildcardTypeRefCS | |
{ after(grammarAccess.getWildcardTypeRefCSRule()); } | |
EOF | |
; | |
// Rule WildcardTypeRefCS | |
ruleWildcardTypeRefCS | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getGroup()); } | |
(rule__WildcardTypeRefCS__Group__0) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getGroup()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleID | |
entryRuleID | |
: | |
{ before(grammarAccess.getIDRule()); } | |
ruleID | |
{ after(grammarAccess.getIDRule()); } | |
EOF | |
; | |
// Rule ID | |
ruleID | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getIDAccess().getAlternatives()); } | |
(rule__ID__Alternatives) | |
{ after(grammarAccess.getIDAccess().getAlternatives()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleIdentifier | |
entryRuleIdentifier | |
: | |
{ before(grammarAccess.getIdentifierRule()); } | |
ruleIdentifier | |
{ after(grammarAccess.getIdentifierRule()); } | |
EOF | |
; | |
// Rule Identifier | |
ruleIdentifier | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getIdentifierAccess().getIDParserRuleCall()); } | |
ruleID | |
{ after(grammarAccess.getIdentifierAccess().getIDParserRuleCall()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleLOWER | |
entryRuleLOWER | |
: | |
{ before(grammarAccess.getLOWERRule()); } | |
ruleLOWER | |
{ after(grammarAccess.getLOWERRule()); } | |
EOF | |
; | |
// Rule LOWER | |
ruleLOWER | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getLOWERAccess().getINTTerminalRuleCall()); } | |
RULE_INT | |
{ after(grammarAccess.getLOWERAccess().getINTTerminalRuleCall()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
// Entry rule entryRuleUPPER | |
entryRuleUPPER | |
: | |
{ before(grammarAccess.getUPPERRule()); } | |
ruleUPPER | |
{ after(grammarAccess.getUPPERRule()); } | |
EOF | |
; | |
// Rule UPPER | |
ruleUPPER | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getUPPERAccess().getAlternatives()); } | |
(rule__UPPER__Alternatives) | |
{ after(grammarAccess.getUPPERAccess().getAlternatives()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityStringCS__StringBoundsAlternatives_0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAsteriskKeyword_0_0()); } | |
'*' | |
{ after(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAsteriskKeyword_0_0()); } | |
) | |
|( | |
{ before(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsPlusSignKeyword_0_1()); } | |
'+' | |
{ after(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsPlusSignKeyword_0_1()); } | |
) | |
|( | |
{ before(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsQuestionMarkKeyword_0_2()); } | |
'?' | |
{ after(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsQuestionMarkKeyword_0_2()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Alternatives_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getGroup_1_0()); } | |
(rule__TypeParameterCS__Group_1_0__0) | |
{ after(grammarAccess.getTypeParameterCSAccess().getGroup_1_0()); } | |
) | |
|( | |
{ before(grammarAccess.getTypeParameterCSAccess().getGroup_1_1()); } | |
(rule__TypeParameterCS__Group_1_1__0) | |
{ after(grammarAccess.getTypeParameterCSAccess().getGroup_1_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeRefCS__Alternatives | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeRefCSAccess().getTypedRefCSParserRuleCall_0()); } | |
ruleTypedRefCS | |
{ after(grammarAccess.getTypeRefCSAccess().getTypedRefCSParserRuleCall_0()); } | |
) | |
|( | |
{ before(grammarAccess.getTypeRefCSAccess().getWildcardTypeRefCSParserRuleCall_1()); } | |
ruleWildcardTypeRefCS | |
{ after(grammarAccess.getTypeRefCSAccess().getWildcardTypeRefCSParserRuleCall_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Alternatives_2 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getGroup_2_0()); } | |
(rule__WildcardTypeRefCS__Group_2_0__0) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getGroup_2_0()); } | |
) | |
|( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getGroup_2_1()); } | |
(rule__WildcardTypeRefCS__Group_2_1__0) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getGroup_2_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__ID__Alternatives | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getIDAccess().getSIMPLE_IDTerminalRuleCall_0()); } | |
RULE_SIMPLE_ID | |
{ after(grammarAccess.getIDAccess().getSIMPLE_IDTerminalRuleCall_0()); } | |
) | |
|( | |
{ before(grammarAccess.getIDAccess().getESCAPED_IDTerminalRuleCall_1()); } | |
RULE_ESCAPED_ID | |
{ after(grammarAccess.getIDAccess().getESCAPED_IDTerminalRuleCall_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__UPPER__Alternatives | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getUPPERAccess().getINTTerminalRuleCall_0()); } | |
RULE_INT | |
{ after(grammarAccess.getUPPERAccess().getINTTerminalRuleCall_0()); } | |
) | |
|( | |
{ before(grammarAccess.getUPPERAccess().getAsteriskKeyword_1()); } | |
'*' | |
{ after(grammarAccess.getUPPERAccess().getAsteriskKeyword_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__MultiplicityBoundsCS__Group__0__Impl | |
rule__MultiplicityBoundsCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundAssignment_0()); } | |
(rule__MultiplicityBoundsCS__LowerBoundAssignment_0) | |
{ after(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundAssignment_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__MultiplicityBoundsCS__Group__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getGroup_1()); } | |
(rule__MultiplicityBoundsCS__Group_1__0)? | |
{ after(grammarAccess.getMultiplicityBoundsCSAccess().getGroup_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group_1__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__MultiplicityBoundsCS__Group_1__0__Impl | |
rule__MultiplicityBoundsCS__Group_1__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group_1__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getFullStopFullStopKeyword_1_0()); } | |
'..' | |
{ after(grammarAccess.getMultiplicityBoundsCSAccess().getFullStopFullStopKeyword_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group_1__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__MultiplicityBoundsCS__Group_1__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__Group_1__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundAssignment_1_1()); } | |
(rule__MultiplicityBoundsCS__UpperBoundAssignment_1_1) | |
{ after(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundAssignment_1_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__PathNameCS__Group__0__Impl | |
rule__PathNameCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getOwnedPathElementsAssignment_0()); } | |
(rule__PathNameCS__OwnedPathElementsAssignment_0) | |
{ after(grammarAccess.getPathNameCSAccess().getOwnedPathElementsAssignment_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__PathNameCS__Group__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getGroup_1()); } | |
(rule__PathNameCS__Group_1__0)* | |
{ after(grammarAccess.getPathNameCSAccess().getGroup_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group_1__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__PathNameCS__Group_1__0__Impl | |
rule__PathNameCS__Group_1__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group_1__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getColonColonKeyword_1_0()); } | |
'::' | |
{ after(grammarAccess.getPathNameCSAccess().getColonColonKeyword_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group_1__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__PathNameCS__Group_1__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__Group_1__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getOwnedPathElementsAssignment_1_1()); } | |
(rule__PathNameCS__OwnedPathElementsAssignment_1_1) | |
{ after(grammarAccess.getPathNameCSAccess().getOwnedPathElementsAssignment_1_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group__0__Impl | |
rule__TemplateBindingCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getLeftParenthesisKeyword_0()); } | |
'(' | |
{ after(grammarAccess.getTemplateBindingCSAccess().getLeftParenthesisKeyword_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group__1__Impl | |
rule__TemplateBindingCS__Group__2 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsAssignment_1()); } | |
(rule__TemplateBindingCS__OwnedSubstitutionsAssignment_1) | |
{ after(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsAssignment_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__2 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group__2__Impl | |
rule__TemplateBindingCS__Group__3 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__2__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getGroup_2()); } | |
(rule__TemplateBindingCS__Group_2__0)* | |
{ after(grammarAccess.getTemplateBindingCSAccess().getGroup_2()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__3 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group__3__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group__3__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getRightParenthesisKeyword_3()); } | |
')' | |
{ after(grammarAccess.getTemplateBindingCSAccess().getRightParenthesisKeyword_3()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group_2__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group_2__0__Impl | |
rule__TemplateBindingCS__Group_2__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group_2__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getCommaKeyword_2_0()); } | |
',' | |
{ after(grammarAccess.getTemplateBindingCSAccess().getCommaKeyword_2_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group_2__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TemplateBindingCS__Group_2__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__Group_2__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsAssignment_2_1()); } | |
(rule__TemplateBindingCS__OwnedSubstitutionsAssignment_2_1) | |
{ after(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsAssignment_2_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group__0__Impl | |
rule__TypeParameterCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getNameAssignment_0()); } | |
(rule__TypeParameterCS__NameAssignment_0) | |
{ after(grammarAccess.getTypeParameterCSAccess().getNameAssignment_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getAlternatives_1()); } | |
(rule__TypeParameterCS__Alternatives_1)? | |
{ after(grammarAccess.getTypeParameterCSAccess().getAlternatives_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_0__0__Impl | |
rule__TypeParameterCS__Group_1_0__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getExtendsKeyword_1_0_0()); } | |
'extends' | |
{ after(grammarAccess.getTypeParameterCSAccess().getExtendsKeyword_1_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_0__1__Impl | |
rule__TypeParameterCS__Group_1_0__2 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsAssignment_1_0_1()); } | |
(rule__TypeParameterCS__OwnedExtendsAssignment_1_0_1) | |
{ after(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsAssignment_1_0_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__2 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_0__2__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0__2__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getGroup_1_0_2()); } | |
(rule__TypeParameterCS__Group_1_0_2__0)* | |
{ after(grammarAccess.getTypeParameterCSAccess().getGroup_1_0_2()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0_2__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_0_2__0__Impl | |
rule__TypeParameterCS__Group_1_0_2__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0_2__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getAmpersandAmpersandKeyword_1_0_2_0()); } | |
'&&' | |
{ after(grammarAccess.getTypeParameterCSAccess().getAmpersandAmpersandKeyword_1_0_2_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0_2__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_0_2__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_0_2__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsAssignment_1_0_2_1()); } | |
(rule__TypeParameterCS__OwnedExtendsAssignment_1_0_2_1) | |
{ after(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsAssignment_1_0_2_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_1__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_1__0__Impl | |
rule__TypeParameterCS__Group_1_1__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_1__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getSuperKeyword_1_1_0()); } | |
'super' | |
{ after(grammarAccess.getTypeParameterCSAccess().getSuperKeyword_1_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_1__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypeParameterCS__Group_1_1__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__Group_1_1__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedSuperAssignment_1_1_1()); } | |
(rule__TypeParameterCS__OwnedSuperAssignment_1_1_1) | |
{ after(grammarAccess.getTypeParameterCSAccess().getOwnedSuperAssignment_1_1_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypedTypeRefCS__Group__0__Impl | |
rule__TypedTypeRefCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNameAssignment_0()); } | |
(rule__TypedTypeRefCS__OwnedPathNameAssignment_0) | |
{ after(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNameAssignment_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__TypedTypeRefCS__Group__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedTypeRefCSAccess().getOwnedBindingAssignment_1()); } | |
(rule__TypedTypeRefCS__OwnedBindingAssignment_1)? | |
{ after(grammarAccess.getTypedTypeRefCSAccess().getOwnedBindingAssignment_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group__0__Impl | |
rule__WildcardTypeRefCS__Group__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getWildcardTypeRefCSAction_0()); } | |
( | |
) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getWildcardTypeRefCSAction_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group__1__Impl | |
rule__WildcardTypeRefCS__Group__2 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getQuestionMarkKeyword_1()); } | |
'?' | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getQuestionMarkKeyword_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__2 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group__2__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group__2__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getAlternatives_2()); } | |
(rule__WildcardTypeRefCS__Alternatives_2)? | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getAlternatives_2()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_0__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group_2_0__0__Impl | |
rule__WildcardTypeRefCS__Group_2_0__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_0__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getExtendsKeyword_2_0_0()); } | |
'extends' | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getExtendsKeyword_2_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_0__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group_2_0__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_0__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsAssignment_2_0_1()); } | |
(rule__WildcardTypeRefCS__OwnedExtendsAssignment_2_0_1) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsAssignment_2_0_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_1__0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group_2_1__0__Impl | |
rule__WildcardTypeRefCS__Group_2_1__1 | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_1__0__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getSuperKeyword_2_1_0()); } | |
'super' | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getSuperKeyword_2_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_1__1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
rule__WildcardTypeRefCS__Group_2_1__1__Impl | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__Group_2_1__1__Impl | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getOwnedSuperAssignment_2_1_1()); } | |
(rule__WildcardTypeRefCS__OwnedSuperAssignment_2_1_1) | |
{ after(grammarAccess.getWildcardTypeRefCSAccess().getOwnedSuperAssignment_2_1_1()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__LowerBoundAssignment_0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundLOWERParserRuleCall_0_0()); } | |
ruleLOWER{ after(grammarAccess.getMultiplicityBoundsCSAccess().getLowerBoundLOWERParserRuleCall_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityBoundsCS__UpperBoundAssignment_1_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundUPPERParserRuleCall_1_1_0()); } | |
ruleUPPER{ after(grammarAccess.getMultiplicityBoundsCSAccess().getUpperBoundUPPERParserRuleCall_1_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__MultiplicityStringCS__StringBoundsAssignment | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAlternatives_0()); } | |
(rule__MultiplicityStringCS__StringBoundsAlternatives_0) | |
{ after(grammarAccess.getMultiplicityStringCSAccess().getStringBoundsAlternatives_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__OwnedPathElementsAssignment_0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getOwnedPathElementsFirstPathElementCSParserRuleCall_0_0()); } | |
ruleFirstPathElementCS{ after(grammarAccess.getPathNameCSAccess().getOwnedPathElementsFirstPathElementCSParserRuleCall_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__PathNameCS__OwnedPathElementsAssignment_1_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); } | |
ruleNextPathElementCS{ after(grammarAccess.getPathNameCSAccess().getOwnedPathElementsNextPathElementCSParserRuleCall_1_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__FirstPathElementCS__ReferredElementAssignment | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getFirstPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); } | |
( | |
{ before(grammarAccess.getFirstPathElementCSAccess().getReferredElementNamedElementUnrestrictedNameParserRuleCall_0_1()); } | |
ruleUnrestrictedName{ after(grammarAccess.getFirstPathElementCSAccess().getReferredElementNamedElementUnrestrictedNameParserRuleCall_0_1()); } | |
) | |
{ after(grammarAccess.getFirstPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__NextPathElementCS__ReferredElementAssignment | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getNextPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); } | |
( | |
{ before(grammarAccess.getNextPathElementCSAccess().getReferredElementNamedElementUnreservedNameParserRuleCall_0_1()); } | |
ruleUnreservedName{ after(grammarAccess.getNextPathElementCSAccess().getReferredElementNamedElementUnreservedNameParserRuleCall_0_1()); } | |
) | |
{ after(grammarAccess.getNextPathElementCSAccess().getReferredElementNamedElementCrossReference_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__OwnedSubstitutionsAssignment_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_0()); } | |
ruleTemplateParameterSubstitutionCS{ after(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateBindingCS__OwnedSubstitutionsAssignment_2_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_2_1_0()); } | |
ruleTemplateParameterSubstitutionCS{ after(grammarAccess.getTemplateBindingCSAccess().getOwnedSubstitutionsTemplateParameterSubstitutionCSParserRuleCall_2_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TemplateParameterSubstitutionCS__OwnedActualParameterAssignment | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterTypeRefCSParserRuleCall_0()); } | |
ruleTypeRefCS{ after(grammarAccess.getTemplateParameterSubstitutionCSAccess().getOwnedActualParameterTypeRefCSParserRuleCall_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__NameAssignment_0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); } | |
ruleUnrestrictedName{ after(grammarAccess.getTypeParameterCSAccess().getNameUnrestrictedNameParserRuleCall_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__OwnedExtendsAssignment_1_0_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_0_1_0()); } | |
ruleTypedRefCS{ after(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_0_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__OwnedExtendsAssignment_1_0_2_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_0_2_1_0()); } | |
ruleTypedRefCS{ after(grammarAccess.getTypeParameterCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_1_0_2_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypeParameterCS__OwnedSuperAssignment_1_1_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypeParameterCSAccess().getOwnedSuperTypedRefCSParserRuleCall_1_1_1_0()); } | |
ruleTypedRefCS{ after(grammarAccess.getTypeParameterCSAccess().getOwnedSuperTypedRefCSParserRuleCall_1_1_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__OwnedPathNameAssignment_0 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); } | |
rulePathNameCS{ after(grammarAccess.getTypedTypeRefCSAccess().getOwnedPathNamePathNameCSParserRuleCall_0_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__TypedTypeRefCS__OwnedBindingAssignment_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getTypedTypeRefCSAccess().getOwnedBindingTemplateBindingCSParserRuleCall_1_0()); } | |
ruleTemplateBindingCS{ after(grammarAccess.getTypedTypeRefCSAccess().getOwnedBindingTemplateBindingCSParserRuleCall_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__OwnedExtendsAssignment_2_0_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_2_0_1_0()); } | |
ruleTypedRefCS{ after(grammarAccess.getWildcardTypeRefCSAccess().getOwnedExtendsTypedRefCSParserRuleCall_2_0_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
rule__WildcardTypeRefCS__OwnedSuperAssignment_2_1_1 | |
@init { | |
int stackSize = keepStackSize(); | |
} | |
: | |
( | |
{ before(grammarAccess.getWildcardTypeRefCSAccess().getOwnedSuperTypedRefCSParserRuleCall_2_1_1_0()); } | |
ruleTypedRefCS{ after(grammarAccess.getWildcardTypeRefCSAccess().getOwnedSuperTypedRefCSParserRuleCall_2_1_1_0()); } | |
) | |
; | |
finally { | |
restoreStackSize(stackSize); | |
} | |
fragment RULE_ESCAPED_CHARACTER : '\\' ('b'|'t'|'n'|'f'|'r'|'u'|'"'|'\''|'\\'); | |
fragment RULE_LETTER_CHARACTER : ('a'..'z'|'A'..'Z'|'_'); | |
RULE_DOUBLE_QUOTED_STRING : '"' (RULE_ESCAPED_CHARACTER|~(('\\'|'"')))* '"'; | |
RULE_SINGLE_QUOTED_STRING : '\'' (RULE_ESCAPED_CHARACTER|~(('\\'|'\'')))* '\''; | |
RULE_ML_SINGLE_QUOTED_STRING : '/\'' ( options {greedy=false;} : . )*'\'/'; | |
RULE_SIMPLE_ID : RULE_LETTER_CHARACTER (RULE_LETTER_CHARACTER|'0'..'9')*; | |
RULE_ESCAPED_ID : '_' RULE_SINGLE_QUOTED_STRING; | |
RULE_INT : ('0'..'9')+; | |
RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; | |
RULE_SL_COMMENT : '--' ~(('\n'|'\r'))* ('\r'? '\n')?; | |
RULE_WS : (' '|'\t'|'\r'|'\n')+; | |
RULE_ANY_OTHER : .; | |