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