use of org.eclipse.xtext.linking.ignoreCaseLinkingTest.Element in project xtext-core by eclipse.
the class ElementImpl method setReference.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setReference(Element newReference) {
Element oldReference = reference;
reference = newReference;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, IgnoreCaseLinkingTestPackage.ELEMENT__REFERENCE, oldReference, reference));
}
use of org.eclipse.xtext.linking.ignoreCaseLinkingTest.Element in project xtext-core by eclipse.
the class AbstractIgnoreCaseLinkingTestLanguageSemanticSequencer 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 == IgnoreCaseLinkingTestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case IgnoreCaseLinkingTestPackage.ELEMENT:
sequence_Element(context, (Element) semanticObject);
return;
case IgnoreCaseLinkingTestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.linking.ignoreCaseLinkingTest.Element in project xtext-core by eclipse.
the class IgnoreCaseNamespacesTestLanguageSemanticSequencer 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 == IgnoreCaseLinkingTestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case IgnoreCaseLinkingTestPackage.ELEMENT:
sequence_Element(context, (Element) semanticObject);
return;
}
else if (epackage == IgnoreCaseNamespacesTestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case IgnoreCaseNamespacesTestPackage.IMPORT:
sequence_Import(context, (Import) semanticObject);
return;
case IgnoreCaseNamespacesTestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations