use of org.eclipse.xtext.generator.ecore.second.Second in project xtext-core by eclipse.
the class EcoreFragmentTestLanguageSemanticSequencer 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 == SecondPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case SecondPackage.SECOND:
sequence_Second(context, (Second) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations