use of org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.WithHiddens in project xtext-core by eclipse.
the class HiddenTerminalsTestLanguageSemanticSequencer 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 == HiddenTerminalsTestLanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case HiddenTerminalsTestLanguagePackage.DATATYPE_HIDDENS:
sequence_DatatypeHiddens(context, (DatatypeHiddens) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.HIDING_HIDDENS:
sequence_HidingHiddens(context, (HidingHiddens) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.INHERITING_HIDDENS:
sequence_InheritingHiddens(context, (InheritingHiddens) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.INHERITING_HIDDENS_CALL:
sequence_InheritingHiddensCall(context, (InheritingHiddensCall) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.OVERRIDING_HIDDENS:
sequence_OverridingHiddens(context, (OverridingHiddens) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.OVERRIDING_HIDDENS_CALL:
sequence_OverridingHiddensCall(context, (OverridingHiddensCall) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.WITH_HIDDENS:
sequence_WithHiddens(context, (WithHiddens) semanticObject);
return;
case HiddenTerminalsTestLanguagePackage.WITHOUT_HIDDENS:
sequence_WithoutHiddens(context, (WithoutHiddens) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations