newCompositeNode(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0());
public final void rule__ModelReference__ImportedNamespaceAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalFunctionblock.g:7230:1: ( ( ruleQualifiedName ) ) // InternalFunctionblock.g:7231:2: ( ruleQualifiedName ) { // InternalFunctionblock.g:7231:2: ( ruleQualifiedName ) // InternalFunctionblock.g:7232:3: ruleQualifiedName { before(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; after(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ModelReference__ImportedNamespaceAssignment_1"
public final void rule__ModelReference__ImportedNamespaceAssignment_1() throws RecognitionException { int stackSize = keepStackSize(); try { // InternalDatatype.g:3784:1: ( ( ruleQualifiedName ) ) // InternalDatatype.g:3785:2: ( ruleQualifiedName ) { // InternalDatatype.g:3785:2: ( ruleQualifiedName ) // InternalDatatype.g:3786:3: ruleQualifiedName { before(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); pushFollow(FOLLOW_2); ruleQualifiedName(); state._fsp--; after(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0()); } } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { restoreStackSize(stackSize); } return ; } // $ANTLR end "rule__ModelReference__ImportedNamespaceAssignment_1"
/** * Contexts: * ModelReference returns ModelReference * * Constraint: * (importedNamespace=QualifiedName version=VERSION) */ protected void sequence_ModelReference(ISerializationContext context, ModelReference semanticObject) { if (errorAcceptor != null) { if (transientValues.isValueTransient(semanticObject, ModelPackage.Literals.MODEL_REFERENCE__IMPORTED_NAMESPACE) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ModelPackage.Literals.MODEL_REFERENCE__IMPORTED_NAMESPACE)); if (transientValues.isValueTransient(semanticObject, ModelPackage.Literals.MODEL_REFERENCE__VERSION) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ModelPackage.Literals.MODEL_REFERENCE__VERSION)); } SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getModelReferenceAccess().getImportedNamespaceQualifiedNameParserRuleCall_1_0(), semanticObject.getImportedNamespace()); feeder.accept(grammarAccess.getModelReferenceAccess().getVersionVERSIONTerminalRuleCall_3_0(), semanticObject.getVersion()); feeder.finish(); }