use of org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.UnorderedSerialization in project xtext-core by eclipse.
the class ExUnorderedGroupsTestLanguageSemanticSequencer 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 == UnorderedGroupsTestLanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case UnorderedGroupsTestLanguagePackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.NESTED_MODEL:
sequence_NestedModel(context, (NestedModel) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.UNORDERED_SERIALIZATION:
sequence_UnorderedSerialization(context, (UnorderedSerialization) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.UnorderedSerialization in project xtext-core by eclipse.
the class ModelImpl method basicSetSerialized.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSerialized(UnorderedSerialization newSerialized, NotificationChain msgs) {
UnorderedSerialization oldSerialized = serialized;
serialized = newSerialized;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UnorderedGroupsTestLanguagePackage.MODEL__SERIALIZED, oldSerialized, newSerialized);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.UnorderedSerialization in project xtext-core by eclipse.
the class SimpleUnorderedGroupsTestLanguageSemanticSequencer 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 == UnorderedGroupsTestLanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case UnorderedGroupsTestLanguagePackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.NESTED_MODEL:
sequence_NestedModel(context, (NestedModel) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.UNORDERED_SERIALIZATION:
sequence_UnorderedSerialization(context, (UnorderedSerialization) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.parser.unorderedGroups.unorderedGroupsTestLanguage.UnorderedSerialization in project xtext-core by eclipse.
the class UnorderedGroupsTestLanguageSemanticSequencer 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 == UnorderedGroupsTestLanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case UnorderedGroupsTestLanguagePackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.NESTED_MODEL:
sequence_NestedModel(context, (NestedModel) semanticObject);
return;
case UnorderedGroupsTestLanguagePackage.UNORDERED_SERIALIZATION:
sequence_UnorderedSerialization(context, (UnorderedSerialization) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations