Class ModuleMethodsScope

  • All Implemented Interfaces:
    org.eclipse.xtext.scoping.IScope

    public class ModuleMethodsScope
    extends LightAbstractScope
    Special scope for getting Method from Bsl module
    • Constructor Detail

      • ModuleMethodsScope

        public ModuleMethodsScope​(org.eclipse.xtext.scoping.IScope parent,
                                  Module module,
                                  com.google.common.base.Predicate<Method> filter)
        Initialize
        Parameters:
        parent - parent scope. Can't be null
        module - Bsl module
        filter - filter for Method in module
    • Method Detail

      • getSingleLocalElementByName

        protected org.eclipse.xtext.resource.IEObjectDescription getSingleLocalElementByName​(org.eclipse.xtext.naming.QualifiedName qName)
        Overrides:
        getSingleLocalElementByName in class LightAbstractScope
      • isShadowed

        protected boolean isShadowed​(org.eclipse.xtext.resource.IEObjectDescription input)
        Description copied from class: LightAbstractScope
        Returns true if the given description input from the parent scope is shadowed by local elements.
        Overrides:
        isShadowed in class LightAbstractScope
        Returns:
        true if the given description input from the parent scope is shadowed by local elements.