use of org.eclipse.xtext.testlanguages.referenceGrammar.Erwachsener in project xtext-core by eclipse.
the class ReferenceGrammarTestLanguageSemanticSequencer method sequence.
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
EPackage epackage = semanticObject.eClass().getEPackage();
ParserRule rule = context.getParserRule();
Action action = context.getAssignedAction();
Set<Parameter> parameters = context.getEnabledBooleanParameters();
if (epackage == ReferenceGrammarPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case ReferenceGrammarPackage.ERWACHSENER:
sequence_Erwachsener(context, (Erwachsener) semanticObject);
return;
case ReferenceGrammarPackage.FAMILIE:
sequence_Familie(context, (Familie) semanticObject);
return;
case ReferenceGrammarPackage.FARBE:
sequence_Farbe(context, (Farbe) semanticObject);
return;
case ReferenceGrammarPackage.KIND:
sequence_Kind(context, (Kind) semanticObject);
return;
case ReferenceGrammarPackage.SPIELPLATZ:
sequence_Spielplatz(context, (Spielplatz) semanticObject);
return;
case ReferenceGrammarPackage.SPIELZEUG:
sequence_Spielzeug(context, (Spielzeug) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.testlanguages.referenceGrammar.Erwachsener in project xtext-core by eclipse.
the class FamilieImpl method setMutter.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setMutter(Erwachsener newMutter) {
Erwachsener oldMutter = mutter;
mutter = newMutter;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ReferenceGrammarPackage.FAMILIE__MUTTER, oldMutter, mutter));
}
use of org.eclipse.xtext.testlanguages.referenceGrammar.Erwachsener in project xtext-core by eclipse.
the class FamilieImpl method setVater.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setVater(Erwachsener newVater) {
Erwachsener oldVater = vater;
vater = newVater;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ReferenceGrammarPackage.FAMILIE__VATER, oldVater, vater));
}
Aggregations