use of org.eclipse.xtext.parsetree.formatter.formattertestlanguage.SuppressedHidden in project xtext-core by eclipse.
the class FormatterTestLanguageSemanticSequencer 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 == FormattertestlanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case FormattertestlanguagePackage.ASSIGN:
sequence_Assign(context, (Assign) semanticObject);
return;
case FormattertestlanguagePackage.DATATYPES:
sequence_Datatypes(context, (Datatypes) semanticObject);
return;
case FormattertestlanguagePackage.DECL:
sequence_Decl(context, (Decl) semanticObject);
return;
case FormattertestlanguagePackage.ENUMERATION:
sequence_Enumeration(context, (Enumeration) semanticObject);
return;
case FormattertestlanguagePackage.FQN_OBJ:
sequence_FqnObj(context, (FqnObj) semanticObject);
return;
case FormattertestlanguagePackage.FQN_REF:
sequence_FqnRef(context, (FqnRef) semanticObject);
return;
case FormattertestlanguagePackage.METH:
sequence_Meth(context, (Meth) semanticObject);
return;
case FormattertestlanguagePackage.PARAM:
sequence_Param(context, (Param) semanticObject);
return;
case FormattertestlanguagePackage.SPACE:
sequence_Space(context, (Space) semanticObject);
return;
case FormattertestlanguagePackage.SUPPRESSED_HIDDEN:
sequence_SuppressedHidden(context, (SuppressedHidden) semanticObject);
return;
case FormattertestlanguagePackage.SUPPRESSED_HIDDEN_SUB_ID:
sequence_SuppressedHiddenSubID(context, (SuppressedHiddenSubID) semanticObject);
return;
case FormattertestlanguagePackage.SUPPRESSED_HIDDEN_SUB_SUB:
sequence_SuppressedHiddenSubSub(context, (SuppressedHiddenSubSub) semanticObject);
return;
case FormattertestlanguagePackage.TEST_INDENTATION:
sequence_TestIndentation(context, (TestIndentation) semanticObject);
return;
case FormattertestlanguagePackage.TEST_LINEWRAP:
sequence_TestLinewrap(context, (TestLinewrap) semanticObject);
return;
case FormattertestlanguagePackage.TEST_LINEWRAP_MIN_MAX:
sequence_TestLinewrapMinMax(context, (TestLinewrapMinMax) semanticObject);
return;
case FormattertestlanguagePackage.WRAPPING_DATA_TYPE_TEST:
sequence_WrappingDataTypeTest(context, (WrappingDataTypeTest) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations