use of org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.OverridingHiddensCall in project xtext-core by eclipse.
the class OverridingHiddensImpl method basicSetCalled.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCalled(OverridingHiddensCall newCalled, NotificationChain msgs) {
OverridingHiddensCall oldCalled = called;
called = newCalled;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, HiddenTerminalsTestLanguagePackage.OVERRIDING_HIDDENS__CALLED, oldCalled, newCalled);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.parser.terminalrules.hiddenTerminalsTestLanguage.OverridingHiddensCall 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