use of org.eclipse.xtext.resource.bug385636.Expression_Smaller_Equal in project xtext-core by eclipse.
the class Bug385636SemanticSequencer 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 == Bug385636Package.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case Bug385636Package.DEFINE_VARIABLE:
sequence_DefineVariable(context, (DefineVariable) semanticObject);
return;
case Bug385636Package.DEFINE_VARIABLES:
sequence_DefineVariables(context, (DefineVariables) semanticObject);
return;
case Bug385636Package.EXPRESSION_EQUAL:
sequence_Statement(context, (Expression_Equal) semanticObject);
return;
case Bug385636Package.EXPRESSION_LARGER_EQUAL:
sequence_Statement(context, (Expression_Larger_Equal) semanticObject);
return;
case Bug385636Package.EXPRESSION_NOT_EQUAL:
sequence_Statement(context, (Expression_Not_Equal) semanticObject);
return;
case Bug385636Package.EXPRESSION_NOT_GREATER:
sequence_Statement(context, (Expression_Not_Greater) semanticObject);
return;
case Bug385636Package.EXPRESSION_NOT_LESS:
sequence_Statement(context, (Expression_Not_Less) semanticObject);
return;
case Bug385636Package.EXPRESSION_SMALLER:
sequence_Statement(context, (Expression_Smaller) semanticObject);
return;
case Bug385636Package.EXPRESSION_SMALLER_EQUAL:
sequence_Statement(context, (Expression_Smaller_Equal) semanticObject);
return;
case Bug385636Package.EXPRESSION_VARIABLE_NAME:
sequence_Expression_VariableName(context, (Expression_VariableName) semanticObject);
return;
case Bug385636Package.NVARIABLE_ACCESS:
sequence_NVariableAccess(context, (NVariableAccess) semanticObject);
return;
case Bug385636Package.PROGRAM:
sequence_Program(context, (Program) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations