diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g')
-rw-r--r-- | plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g | 1181 |
1 files changed, 1181 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g index b741001d2..688e37e9f 100644 --- a/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g +++ b/plugins/org.eclipse.etrice.core.config.ui/src-gen/org/eclipse/etrice/core/ui/contentassist/antlr/internal/InternalConfig.g @@ -5,6 +5,7 @@ grammar InternalConfig; options { superClass=AbstractInternalContentAssistParser; + backtrack=true; } @@ -478,6 +479,178 @@ finally { + + +// Entry rule entryRuleKeyValue +entryRuleKeyValue +: +{ before(grammarAccess.getKeyValueRule()); } + ruleKeyValue +{ after(grammarAccess.getKeyValueRule()); } + EOF +; + +// Rule KeyValue +ruleKeyValue + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getKeyValueAccess().getGroup()); } +(rule__KeyValue__Group__0) +{ after(grammarAccess.getKeyValueAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + +// Entry rule entryRuleAnnotationTargetType +entryRuleAnnotationTargetType +: +{ before(grammarAccess.getAnnotationTargetTypeRule()); } + ruleAnnotationTargetType +{ after(grammarAccess.getAnnotationTargetTypeRule()); } + EOF +; + +// Rule AnnotationTargetType +ruleAnnotationTargetType + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall()); } + RULE_ID +{ after(grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleAnnotationAttribute +entryRuleAnnotationAttribute +: +{ before(grammarAccess.getAnnotationAttributeRule()); } + ruleAnnotationAttribute +{ after(grammarAccess.getAnnotationAttributeRule()); } + EOF +; + +// Rule AnnotationAttribute +ruleAnnotationAttribute + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getAnnotationAttributeAccess().getAlternatives()); } +(rule__AnnotationAttribute__Alternatives) +{ after(grammarAccess.getAnnotationAttributeAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleSimpleAnnotationAttribute +entryRuleSimpleAnnotationAttribute +: +{ before(grammarAccess.getSimpleAnnotationAttributeRule()); } + ruleSimpleAnnotationAttribute +{ after(grammarAccess.getSimpleAnnotationAttributeRule()); } + EOF +; + +// Rule SimpleAnnotationAttribute +ruleSimpleAnnotationAttribute + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getGroup()); } +(rule__SimpleAnnotationAttribute__Group__0) +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleEnumAnnotationAttribute +entryRuleEnumAnnotationAttribute +: +{ before(grammarAccess.getEnumAnnotationAttributeRule()); } + ruleEnumAnnotationAttribute +{ after(grammarAccess.getEnumAnnotationAttributeRule()); } + EOF +; + +// Rule EnumAnnotationAttribute +ruleEnumAnnotationAttribute + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getGroup()); } +(rule__EnumAnnotationAttribute__Group__0) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + +// Entry rule entryRuleDocumentation +entryRuleDocumentation +: +{ before(grammarAccess.getDocumentationRule()); } + ruleDocumentation +{ after(grammarAccess.getDocumentationRule()); } + EOF +; + +// Rule Documentation +ruleDocumentation + @init { + int stackSize = keepStackSize(); + } + : +( +{ before(grammarAccess.getDocumentationAccess().getGroup()); } +(rule__Documentation__Group__0) +{ after(grammarAccess.getDocumentationAccess().getGroup()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + // Entry rule entryRuleLiteralArray entryRuleLiteralArray : @@ -947,6 +1120,25 @@ finally { +// Rule LiteralType +ruleLiteralType + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getLiteralTypeAccess().getAlternatives()); } +(rule__LiteralType__Alternatives) +{ after(grammarAccess.getLiteralTypeAccess().getAlternatives()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + rule__ConfigElement__Alternatives @init { int stackSize = keepStackSize(); @@ -1052,6 +1244,77 @@ finally { restoreStackSize(stackSize); } + +rule__AnnotationAttribute__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); } + ruleSimpleAnnotationAttribute +{ after(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); } +) + + |( +{ before(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); } + ruleEnumAnnotationAttribute +{ after(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalAssignment_0_0()); } +(rule__SimpleAnnotationAttribute__OptionalAssignment_0_0) +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalAssignment_0_0()); } +) + + |( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); } + + 'mandatory' + +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Alternatives_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalAssignment_0_0()); } +(rule__EnumAnnotationAttribute__OptionalAssignment_0_0) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalAssignment_0_0()); } +) + + |( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); } + + 'mandatory' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + rule__Literal__Alternatives @init { int stackSize = keepStackSize(); @@ -1312,6 +1575,44 @@ finally { restoreStackSize(stackSize); } +rule__LiteralType__Alternatives + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); } +( 'ptBoolean' +) +{ after(grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); } +) + + |( +{ before(grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); } +( 'ptInteger' +) +{ after(grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); } +) + + |( +{ before(grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); } +( 'ptReal' +) +{ after(grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); } +) + + |( +{ before(grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); } +( 'ptCharacter' +) +{ after(grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + rule__ConfigModel__Group__0 @@ -4669,6 +4970,711 @@ finally { + + + +rule__KeyValue__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__KeyValue__Group__0__Impl + rule__KeyValue__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__KeyValue__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getKeyValueAccess().getKeyAssignment_0()); } +(rule__KeyValue__KeyAssignment_0) +{ after(grammarAccess.getKeyValueAccess().getKeyAssignment_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__KeyValue__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__KeyValue__Group__1__Impl + rule__KeyValue__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__KeyValue__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); } + + '=' + +{ after(grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__KeyValue__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__KeyValue__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__KeyValue__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getKeyValueAccess().getValueAssignment_2()); } +(rule__KeyValue__ValueAssignment_2) +{ after(grammarAccess.getKeyValueAccess().getValueAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + +rule__SimpleAnnotationAttribute__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__SimpleAnnotationAttribute__Group__0__Impl + rule__SimpleAnnotationAttribute__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getAlternatives_0()); } +(rule__SimpleAnnotationAttribute__Alternatives_0) +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getAlternatives_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SimpleAnnotationAttribute__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__SimpleAnnotationAttribute__Group__1__Impl + rule__SimpleAnnotationAttribute__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); } + + 'attribute' + +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SimpleAnnotationAttribute__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__SimpleAnnotationAttribute__Group__2__Impl + rule__SimpleAnnotationAttribute__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getNameAssignment_2()); } +(rule__SimpleAnnotationAttribute__NameAssignment_2) +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SimpleAnnotationAttribute__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__SimpleAnnotationAttribute__Group__3__Impl + rule__SimpleAnnotationAttribute__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); } + + ':' + +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__SimpleAnnotationAttribute__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__SimpleAnnotationAttribute__Group__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeAssignment_4()); } +(rule__SimpleAnnotationAttribute__TypeAssignment_4) +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeAssignment_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + +rule__EnumAnnotationAttribute__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__0__Impl + rule__EnumAnnotationAttribute__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getAlternatives_0()); } +(rule__EnumAnnotationAttribute__Alternatives_0) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getAlternatives_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__1__Impl + rule__EnumAnnotationAttribute__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); } + + 'attribute' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__2__Impl + rule__EnumAnnotationAttribute__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getNameAssignment_2()); } +(rule__EnumAnnotationAttribute__NameAssignment_2) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getNameAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__3__Impl + rule__EnumAnnotationAttribute__Group__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); } + + ':' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__4__Impl + rule__EnumAnnotationAttribute__Group__5 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); } + + '{' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__5 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__5__Impl + rule__EnumAnnotationAttribute__Group__6 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__5__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getValuesAssignment_5()); } +(rule__EnumAnnotationAttribute__ValuesAssignment_5) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getValuesAssignment_5()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__6 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__6__Impl + rule__EnumAnnotationAttribute__Group__7 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__6__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getGroup_6()); } +(rule__EnumAnnotationAttribute__Group_6__0)* +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getGroup_6()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group__7 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group__7__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group__7__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); } + + '}' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + + + + + + + + + +rule__EnumAnnotationAttribute__Group_6__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group_6__0__Impl + rule__EnumAnnotationAttribute__Group_6__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group_6__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); } + + ',' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__EnumAnnotationAttribute__Group_6__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EnumAnnotationAttribute__Group_6__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__Group_6__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getValuesAssignment_6_1()); } +(rule__EnumAnnotationAttribute__ValuesAssignment_6_1) +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getValuesAssignment_6_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + +rule__Documentation__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__Documentation__Group__0__Impl + rule__Documentation__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__Documentation__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDocumentationAccess().getDocumentationAction_0()); } +( + +) +{ after(grammarAccess.getDocumentationAccess().getDocumentationAction_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Documentation__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__Documentation__Group__1__Impl + rule__Documentation__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__Documentation__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); } + + '[' + +{ after(grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Documentation__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__Documentation__Group__2__Impl + rule__Documentation__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__Documentation__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDocumentationAccess().getLinesAssignment_2()); } +(rule__Documentation__LinesAssignment_2)* +{ after(grammarAccess.getDocumentationAccess().getLinesAssignment_2()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + +rule__Documentation__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__Documentation__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__Documentation__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); } + + ']' + +{ after(grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + + + + rule__LiteralArray__Group__0 @init { int stackSize = keepStackSize(); @@ -6482,6 +7488,181 @@ finally { restoreStackSize(stackSize); } + + + +rule__KeyValue__KeyAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); } + RULE_ID{ after(grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__KeyValue__ValueAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); } + ruleLiteral{ after(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + + + + + + + +rule__SimpleAnnotationAttribute__OptionalAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } + + 'optional' + +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +) + +{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__SimpleAnnotationAttribute__TypeAssignment_4 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); } + ruleLiteralType{ after(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__OptionalAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } + + 'optional' + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +) + +{ after(grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__NameAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); } + RULE_ID{ after(grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__ValuesAssignment_5 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); } + RULE_STRING{ after(grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__EnumAnnotationAttribute__ValuesAssignment_6_1 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); } + RULE_STRING{ after(grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + +rule__Documentation__LinesAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: +( +{ before(grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); } + RULE_STRING{ after(grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); } +) + +; +finally { + restoreStackSize(stackSize); +} + rule__LiteralArray__LiteralsAssignment_0 @init { int stackSize = keepStackSize(); |