Class ContextItemsScope<E extends DuallyNamedElement & Environmental>

    • Constructor Detail

      • ContextItemsScope

        public ContextItemsScope​(org.eclipse.xtext.scoping.IScope parent,
                                 Environments envs)
        Constructor
        Parameters:
        parent - parent scope, can't be null
        envs - actual Environments, can't be null
    • 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.
      • collectAllItems

        protected abstract List<E> collectAllItems()
        Gets collection of item
        Returns:
        list of item