Class 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.
    • Constructor Detail

      • SerializerScopeProvider

        public SerializerScopeProvider()
    • Method Detail

      • getScope

        public org.eclipse.xtext.scoping.IScope getScope​(org.eclipse.emf.ecore.EObject context,
                                                         org.eclipse.emf.ecore.EReference reference)
        Specified by:
        getScope in interface org.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)