use of org.eclipse.xtext.serializer.syntacticsequencertest.MandatoryManyTransition in project xtext-core by eclipse.
the class ModelImpl method basicSetX10.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetX10(MandatoryManyTransition newX10, NotificationChain msgs) {
MandatoryManyTransition oldX10 = x10;
x10 = newX10;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SyntacticsequencertestPackage.MODEL__X10, oldX10, newX10);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.serializer.syntacticsequencertest.MandatoryManyTransition in project xtext-core by eclipse.
the class AbstractSyntacticSequencerTestLanguageSemanticSequencer 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 == SyntacticsequencertestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case SyntacticsequencertestPackage.ACTION_ONLY:
sequence_ActionOnly(context, (ActionOnly) semanticObject);
return;
case SyntacticsequencertestPackage.ADD0:
sequence_Addition0(context, (Add0) semanticObject);
return;
case SyntacticsequencertestPackage.ADD1:
sequence_Addition1(context, (Add1) semanticObject);
return;
case SyntacticsequencertestPackage.ADD2:
sequence_Addition2(context, (Add2) semanticObject);
return;
case SyntacticsequencertestPackage.ALTERNATIVE_TRANSITION:
sequence_AlternativeTransition(context, (AlternativeTransition) semanticObject);
return;
case SyntacticsequencertestPackage.BOOLEAN_ALTERNATIVE:
sequence_BooleanAlternative(context, (BooleanAlternative) semanticObject);
return;
case SyntacticsequencertestPackage.BOOLEAN_ALTERNATIVE_LITERAL:
sequence_BooleanAlternativeLiteral(context, (BooleanAlternativeLiteral) semanticObject);
return;
case SyntacticsequencertestPackage.BOOLEAN_VALUES:
sequence_BooleanValues(context, (BooleanValues) semanticObject);
return;
case SyntacticsequencertestPackage.BUG398890:
sequence_Bug398890(context, (Bug398890) semanticObject);
return;
case SyntacticsequencertestPackage.FRAGMENT_CALLER_TYPE:
sequence_Fragment1_FragmentCaller(context, (FragmentCallerType) semanticObject);
return;
case SyntacticsequencertestPackage.LONG_ALTERNATIVE:
sequence_LongAlternative(context, (LongAlternative) semanticObject);
return;
case SyntacticsequencertestPackage.MANDATORY_KEYWORDS:
sequence_MandatoryKeywords(context, (MandatoryKeywords) semanticObject);
return;
case SyntacticsequencertestPackage.MANDATORY_MANY_TRANSITION:
sequence_MandatoryManyTransition(context, (MandatoryManyTransition) semanticObject);
return;
case SyntacticsequencertestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case SyntacticsequencertestPackage.MULT2:
sequence_Multiplication2(context, (Mult2) semanticObject);
return;
case SyntacticsequencertestPackage.OPTIONAL_MANY_TRANSITION:
sequence_OptionalManyTransition(context, (OptionalManyTransition) semanticObject);
return;
case SyntacticsequencertestPackage.OPTIONAL_SINGLE_TRANSITION:
sequence_OptionalSingleTransition(context, (OptionalSingleTransition) semanticObject);
return;
case SyntacticsequencertestPackage.SINGLE_CROSS_REFERENCE:
sequence_SingleCrossReference(context, (SingleCrossReference) semanticObject);
return;
case SyntacticsequencertestPackage.UNASSIGNED_DATATYPE:
sequence_UnassignedDatatype(context, (UnassignedDatatype) semanticObject);
return;
case SyntacticsequencertestPackage.VAL0:
sequence_Prim0(context, (Val0) semanticObject);
return;
case SyntacticsequencertestPackage.VAL1:
sequence_Prim1(context, (Val1) semanticObject);
return;
case SyntacticsequencertestPackage.VAL2:
sequence_Prim2(context, (Val2) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations