Class SerializerScopeProvider
- java.lang.Object
-
- org.eclipse.xtext.xbase.serializer.SerializerScopeProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScopeProvider,IFeatureNames
public class SerializerScopeProvider extends java.lang.Object implements org.eclipse.xtext.scoping.IScopeProvider, IFeatureNames
Provides minimal scopes for the serialization of feature calls, e.g. scopes that contain only a single element or two elements in case of aliased feature names.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.scoping.batch.IFeatureNames
IT, SELF, SUPER, THIS
-
-
Constructor Summary
Constructors Constructor Description SerializerScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.scoping.IScopecreateAnonymousClassConstructorScope(org.eclipse.emf.ecore.EObject context, org.eclipse.xtext.common.types.JvmType superType)org.eclipse.xtext.scoping.IScopecreateConstructorCallSerializationScope(org.eclipse.emf.ecore.EObject context)org.eclipse.xtext.scoping.IScopecreateFeatureCallSerializationScope(org.eclipse.emf.ecore.EObject context)protected org.eclipse.xtext.scoping.IScopedoCreateConstructorCallSerializationScope(XConstructorCall context)protected org.eclipse.xtext.scoping.IScopedoGetTypeScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType type)protected org.eclipse.xtext.scoping.IScopedoGetTypeScope(XFeatureCall call, org.eclipse.xtext.common.types.JvmType type)protected org.eclipse.xtext.scoping.IScopedoGetTypeScope(XMemberFeatureCall call, org.eclipse.xtext.common.types.JvmType type)protected org.eclipse.xtext.scoping.IScopegetAccessorScope(java.lang.String simpleName, org.eclipse.xtext.naming.QualifiedName qn, org.eclipse.xtext.common.types.JvmIdentifiableElement feature)protected org.eclipse.xtext.scoping.IScopegetExecutableScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmIdentifiableElement feature)protected org.eclipse.xtext.naming.QualifiedNamegetOperator(XAbstractFeatureCall call, org.eclipse.xtext.naming.QualifiedName name)org.eclipse.xtext.scoping.IScopegetScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)protected org.eclipse.xtext.scoping.IScopegetThisOrSuperScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmConstructor constructor)protected org.eclipse.xtext.scoping.IScopegetThisOrSuperScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType thisOrSuper)protected org.eclipse.xtext.scoping.IScopegetTypeScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType type)
-
-
-
Method Detail
-
getScope
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)- Specified by:
getScopein interfaceorg.eclipse.xtext.scoping.IScopeProvider
-
createConstructorCallSerializationScope
public org.eclipse.xtext.scoping.IScope createConstructorCallSerializationScope(org.eclipse.emf.ecore.EObject context)
-
doCreateConstructorCallSerializationScope
protected org.eclipse.xtext.scoping.IScope doCreateConstructorCallSerializationScope(XConstructorCall context)
-
createAnonymousClassConstructorScope
protected org.eclipse.xtext.scoping.IScope createAnonymousClassConstructorScope(org.eclipse.emf.ecore.EObject context, org.eclipse.xtext.common.types.JvmType superType)
-
createFeatureCallSerializationScope
public org.eclipse.xtext.scoping.IScope createFeatureCallSerializationScope(org.eclipse.emf.ecore.EObject context)
-
getExecutableScope
protected org.eclipse.xtext.scoping.IScope getExecutableScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmIdentifiableElement feature)
-
getAccessorScope
protected org.eclipse.xtext.scoping.IScope getAccessorScope(java.lang.String simpleName, org.eclipse.xtext.naming.QualifiedName qn, org.eclipse.xtext.common.types.JvmIdentifiableElement feature)
-
getOperator
protected org.eclipse.xtext.naming.QualifiedName getOperator(XAbstractFeatureCall call, org.eclipse.xtext.naming.QualifiedName name)
-
getThisOrSuperScope
protected org.eclipse.xtext.scoping.IScope getThisOrSuperScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmConstructor constructor)
-
getTypeScope
protected org.eclipse.xtext.scoping.IScope getTypeScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType type)
-
doGetTypeScope
protected org.eclipse.xtext.scoping.IScope doGetTypeScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType type)
-
doGetTypeScope
protected org.eclipse.xtext.scoping.IScope doGetTypeScope(XFeatureCall call, org.eclipse.xtext.common.types.JvmType type)
-
doGetTypeScope
protected org.eclipse.xtext.scoping.IScope doGetTypeScope(XMemberFeatureCall call, org.eclipse.xtext.common.types.JvmType type)
-
getThisOrSuperScope
protected org.eclipse.xtext.scoping.IScope getThisOrSuperScope(XAbstractFeatureCall call, org.eclipse.xtext.common.types.JvmType thisOrSuper)
-
-