newLeafNode(lv_name_0_0, grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); newLeafNode(lv_description_1_0, grammarAccess.getEnumLiteralAccess().getDescriptionSTRINGTerminalRuleCall_1_0());
FormattingConfig.LinewrapLocator _setLinewrap_16 = c.setLinewrap(1); DatatypeGrammarAccess.EnumLiteralElements _enumLiteralAccess = this.f.getEnumLiteralAccess(); Assignment _nameAssignment_0 = _enumLiteralAccess.getNameAssignment_0(); _setLinewrap_16.before(_nameAssignment_0); List<Pair<Keyword, Keyword>> _findKeywordPairs = this.f.findKeywordPairs("{", "}");
before(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1()); after(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1());
put(grammarAccess.getEnumAccess().getGroup_11(), "rule__Enum__Group_11__0"); put(grammarAccess.getEnumAccess().getGroup_11_1(), "rule__Enum__Group_11_1__0"); put(grammarAccess.getEnumLiteralAccess().getGroup(), "rule__EnumLiteral__Group__0"); put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); put(grammarAccess.getPropertyAccess().getGroup_5(), "rule__Property__Group_5__0"); put(grammarAccess.getEnumAccess().getEnumsAssignment_11_0(), "rule__Enum__EnumsAssignment_11_0"); put(grammarAccess.getEnumAccess().getEnumsAssignment_11_1_1(), "rule__Enum__EnumsAssignment_11_1_1"); put(grammarAccess.getEnumLiteralAccess().getNameAssignment_0(), "rule__EnumLiteral__NameAssignment_0"); put(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1(), "rule__EnumLiteral__DescriptionAssignment_1"); put(grammarAccess.getPropertyAccess().getPresenceAssignment_0(), "rule__Property__PresenceAssignment_0"); put(grammarAccess.getPropertyAccess().getMultiplicityAssignment_1(), "rule__Property__MultiplicityAssignment_1");
put(grammarAccess.getEnumAccess().getGroup_11(), "rule__Enum__Group_11__0"); put(grammarAccess.getEnumAccess().getGroup_11_1(), "rule__Enum__Group_11_1__0"); put(grammarAccess.getEnumLiteralAccess().getGroup(), "rule__EnumLiteral__Group__0"); put(grammarAccess.getPropertyAccess().getGroup(), "rule__Property__Group__0"); put(grammarAccess.getPropertyAccess().getGroup_5(), "rule__Property__Group_5__0"); put(grammarAccess.getEnumAccess().getEnumsAssignment_11_0(), "rule__Enum__EnumsAssignment_11_0"); put(grammarAccess.getEnumAccess().getEnumsAssignment_11_1_1(), "rule__Enum__EnumsAssignment_11_1_1"); put(grammarAccess.getEnumLiteralAccess().getNameAssignment_0(), "rule__EnumLiteral__NameAssignment_0"); put(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1(), "rule__EnumLiteral__DescriptionAssignment_1"); put(grammarAccess.getPropertyAccess().getPresenceAssignment_0(), "rule__Property__PresenceAssignment_0"); put(grammarAccess.getPropertyAccess().getMultiplicityAssignment_1(), "rule__Property__MultiplicityAssignment_1");
before(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1()); after(grammarAccess.getEnumLiteralAccess().getDescriptionAssignment_1());
this.pEntity = new EntityElements(); this.pEnum = new EnumElements(); this.pEnumLiteral = new EnumLiteralElements(); this.pProperty = new PropertyElements(); this.pConstraintRule = new ConstraintRuleElements();
before(grammarAccess.getEnumLiteralAccess().getNameAssignment_0()); after(grammarAccess.getEnumLiteralAccess().getNameAssignment_0());
before(grammarAccess.getEnumLiteralAccess().getNameAssignment_0()); after(grammarAccess.getEnumLiteralAccess().getNameAssignment_0());
public final void rule__EnumLiteral__DescriptionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalFunctionblock.g:7549:1: ( ( RULE_STRING ) ) // InternalFunctionblock.g:7550:2: ( RULE_STRING ) { // InternalFunctionblock.g:7550:2: ( RULE_STRING ) // InternalFunctionblock.g:7551:3: RULE_STRING { before(grammarAccess.getEnumLiteralAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getEnumLiteralAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteral__DescriptionAssignment_1"
public final void rule__EnumLiteral__DescriptionAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalDatatype.g:4103:1: ( ( RULE_STRING ) ) // InternalDatatype.g:4104:2: ( RULE_STRING ) { // InternalDatatype.g:4104:2: ( RULE_STRING ) // InternalDatatype.g:4105:3: RULE_STRING { before(grammarAccess.getEnumLiteralAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); match(input,RULE_STRING,FOLLOW_2); after(grammarAccess.getEnumLiteralAccess().getDescriptionSTRINGTerminalRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteral__DescriptionAssignment_1"
public final void rule__EnumLiteral__NameAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalFunctionblock.g:7534:1: ( ( RULE_ID ) ) // InternalFunctionblock.g:7535:2: ( RULE_ID ) { // InternalFunctionblock.g:7535:2: ( RULE_ID ) // InternalFunctionblock.g:7536:3: RULE_ID { before(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteral__NameAssignment_0"
public final void rule__EnumLiteral__NameAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalDatatype.g:4088:1: ( ( RULE_ID ) ) // InternalDatatype.g:4089:2: ( RULE_ID ) { // InternalDatatype.g:4089:2: ( RULE_ID ) // InternalDatatype.g:4090:3: RULE_ID { before(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); match(input,RULE_ID,FOLLOW_2); after(grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteral__NameAssignment_0"
public ParserRule getEnumLiteralRule() { return getEnumLiteralAccess().getRule(); }