use of org.eclipse.xtext.parsetree.transientvalues.transientvaluestest.TestList in project xtext-core by eclipse.
the class TransientValuesTestSemanticSequencer 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 == TransientvaluestestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case TransientvaluestestPackage.TEST_LIST:
sequence_TestList(context, (TestList) semanticObject);
return;
case TransientvaluestestPackage.TEST_OPTIONAL:
sequence_TestOptional(context, (TestOptional) semanticObject);
return;
case TransientvaluestestPackage.TEST_REQUIRED:
sequence_TestRequired(context, (TestRequired) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations