use of org.eclipse.xtext.parsetree.unassignedtext.unassignedtext.MultiRule in project xtext-core by eclipse.
the class AbstractUnassignedTextTestLanguageSemanticSequencer 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 == UnassignedtextPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case UnassignedtextPackage.CASE_INSENSITIVE_KEYWORD_RULE:
sequence_CaseInsensitiveKeywordRule(context, (CaseInsensitiveKeywordRule) semanticObject);
return;
case UnassignedtextPackage.COMMON_TERMINALS_RULE:
sequence_CommonTerminalsRule(context, (CommonTerminalsRule) semanticObject);
return;
case UnassignedtextPackage.DATATYPE_RULE:
sequence_DatatypeRule(context, (DatatypeRule) semanticObject);
return;
case UnassignedtextPackage.MULTI_RULE:
sequence_MultiRule(context, (MultiRule) semanticObject);
return;
case UnassignedtextPackage.PLURAL_RULE:
sequence_PluralRule(context, (PluralRule) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations