newCompositeNode(grammarAccess.getEnumLiteralPropertyAttributeAccess().getTypeEnumLiteralPropertyAttributeTypeEnumRuleCall_0_0());
public final void rule__EnumLiteralPropertyAttribute__TypeAssignment_0() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalFunctionblock.g:7752:1: ( ( ruleEnumLiteralPropertyAttributeType ) ) // InternalFunctionblock.g:7753:2: ( ruleEnumLiteralPropertyAttributeType ) { // InternalFunctionblock.g:7753:2: ( ruleEnumLiteralPropertyAttributeType ) // InternalFunctionblock.g:7754: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"
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"
/** * 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(); }