use of org.eclipse.xtext.parser.antlr.bug296889ExTest.Variable in project xtext-core by eclipse.
the class Bug296889ExTestLanguageSemanticSequencer 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 == Bug296889ExTestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case Bug296889ExTestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case Bug296889ExTestPackage.POSTOP:
sequence_Postop(context, (Postop) semanticObject);
return;
case Bug296889ExTestPackage.PREOP:
sequence_Preop(context, (Preop) semanticObject);
return;
case Bug296889ExTestPackage.VARIABLE:
sequence_Variable(context, (Variable) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations