use of org.eclipse.xtext.parser.assignments.bug287184Test.AssociatedDetail in project xtext-core by eclipse.
the class Bug287184TestLanguageSemanticSequencer 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 == Bug287184TestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case Bug287184TestPackage.ASSOCIATED_DETAIL:
sequence_AssociatedDetail(context, (AssociatedDetail) semanticObject);
return;
case Bug287184TestPackage.DETAIL:
sequence_Detail(context, (Detail) semanticObject);
return;
case Bug287184TestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations