public ParserRule getEnumLiteralPropertyAttributeRule() { return getEnumLiteralPropertyAttributeAccess().getRule(); }
before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralCrossReference_2_0()); before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralEnumLiteralNameParserRuleCall_2_0_1()); pushFollow(FOLLOW_2); ruleEnumLiteralName(); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralEnumLiteralNameParserRuleCall_2_0_1()); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralCrossReference_2_0());
public final void rule__EnumLiteralPropertyAttribute__Group__1__Impl() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalDatatype.g:3310:1: ( ( ':' ) ) // InternalDatatype.g:3311:1: ( ':' ) { // InternalDatatype.g:3311:1: ( ':' ) // InternalDatatype.g:3312:2: ':' { before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getColonKeyword_1()); match(input,58,FOLLOW_2); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getColonKeyword_1()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteralPropertyAttribute__Group__1__Impl"
public final void rule__EnumLiteralPropertyAttribute__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalDatatype.g:4306:1: ( ( ruleEnumLiteralPropertyAttributeType ) ) // InternalDatatype.g:4307:2: ( ruleEnumLiteralPropertyAttributeType ) { // InternalDatatype.g:4307:2: ( ruleEnumLiteralPropertyAttributeType ) // InternalDatatype.g:4308:3: ruleEnumLiteralPropertyAttributeType { before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeEnumLiteralPropertyAttributeTypeEnumRuleCall_0_0()); pushFollow(FOLLOW_2); ruleEnumLiteralPropertyAttributeType(); state._fsp--; after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeEnumLiteralPropertyAttributeTypeEnumRuleCall_0_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__EnumLiteralPropertyAttribute__TypeAssignment_0"
before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getGroup()); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getGroup());
before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeAssignment_0()); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeAssignment_0());
before(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueAssignment_2()); after(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueAssignment_2());
/** * Contexts: * PropertyAttribute returns EnumLiteralPropertyAttribute * EnumLiteralPropertyAttribute returns EnumLiteralPropertyAttribute * * Constraint: * (type=EnumLiteralPropertyAttributeType value=[EnumLiteral|EnumLiteralName]) */ protected void sequence_EnumLiteralPropertyAttribute(ISerializationContext context, EnumLiteralPropertyAttribute semanticObject) { if (errorAcceptor != null) { if (transientValues.isValueTransient(semanticObject, DatatypePackage.Literals.ENUM_LITERAL_PROPERTY_ATTRIBUTE__TYPE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, DatatypePackage.Literals.ENUM_LITERAL_PROPERTY_ATTRIBUTE__TYPE)); if (transientValues.isValueTransient(semanticObject, DatatypePackage.Literals.ENUM_LITERAL_PROPERTY_ATTRIBUTE__VALUE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, DatatypePackage.Literals.ENUM_LITERAL_PROPERTY_ATTRIBUTE__VALUE)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeEnumLiteralPropertyAttributeTypeEnumRuleCall_0_0(), semanticObject.getType()); feeder.accept(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralEnumLiteralNameParserRuleCall_2_0_1(), semanticObject.getValue()); feeder.finish(); }
newCompositeNode(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeEnumLiteralPropertyAttributeTypeEnumRuleCall_0_0()); newLeafNode(otherlv_1, grammarAccess.getEnumLiteralPropertyAttributeAccess().getColonKeyword_1()); newCompositeNode(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueEnumLiteralCrossReference_2_0());
put(grammarAccess.getEnumLiteralNameAccess().getGroup(), "rule__EnumLiteralName__Group__0"); put(grammarAccess.getBooleanPropertyAttributeAccess().getGroup(), "rule__BooleanPropertyAttribute__Group__0"); put(grammarAccess.getEnumLiteralPropertyAttributeAccess().getGroup(), "rule__EnumLiteralPropertyAttribute__Group__0"); put(grammarAccess.getDictionaryPropertyTypeAccess().getGroup(), "rule__DictionaryPropertyType__Group__0"); put(grammarAccess.getDictionaryPropertyTypeAccess().getGroup_2(), "rule__DictionaryPropertyType__Group_2__0"); put(grammarAccess.getBooleanPropertyAttributeAccess().getTypeAssignment_0(), "rule__BooleanPropertyAttribute__TypeAssignment_0"); put(grammarAccess.getBooleanPropertyAttributeAccess().getValueAssignment_2_0(), "rule__BooleanPropertyAttribute__ValueAssignment_2_0"); put(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeAssignment_0(), "rule__EnumLiteralPropertyAttribute__TypeAssignment_0"); put(grammarAccess.getEnumLiteralPropertyAttributeAccess().getValueAssignment_2(), "rule__EnumLiteralPropertyAttribute__ValueAssignment_2"); put(grammarAccess.getPrimitivePropertyTypeAccess().getTypeAssignment(), "rule__PrimitivePropertyType__TypeAssignment"); put(grammarAccess.getObjectPropertyTypeAccess().getTypeAssignment(), "rule__ObjectPropertyType__TypeAssignment");