Class NonShadowedSelectableBasedScope
- java.lang.Object
- 
- com._1c.g5.modeling.xtext.scoping.LightAbstractScope
- 
- com._1c.g5.modeling.xtext.scoping.LightSelectableBasedScope
- 
- com._1c.g5.modeling.xtext.scoping.NonShadowedSelectableBasedScope
 
 
 
- 
- All Implemented Interfaces:
- ISlicedScope,- org.eclipse.xtext.scoping.IScope
 
 public class NonShadowedSelectableBasedScope extends LightSelectableBasedScope SelectableBasedScopewhich does not shadow any object description
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScopeLightAbstractScope.EObjectFilterPredicate, LightAbstractScope.ParentIterable
 
- 
 - 
Field Summary- 
Fields inherited from interface com._1c.g5.modeling.xtext.scoping.ISlicedScopeNULLSCOPE
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedNonShadowedSelectableBasedScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)Constructor
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.xtext.scoping.IScopecreateScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)CreatesNonShadowedSelectableBasedScopeinstance with given parametersstatic org.eclipse.xtext.scoping.IScopecreateScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)CreatesNonShadowedSelectableBasedScopeinstance with given parametersprotected booleanisShadowed(org.eclipse.xtext.resource.IEObjectDescription input)Returnstrueif the given descriptioninputfrom the parent scope is shadowed by local elements.- 
Methods inherited from class com._1c.g5.modeling.xtext.scoping.LightSelectableBasedScopefilterLocalElements, getAllElements, getAllElements, getAllLocalElements, getElements, getElements, getFilter, getLocalElementsByName, getSelectable, getSingleElement
 - 
Methods inherited from class com._1c.g5.modeling.xtext.scoping.LightAbstractScopegetElements, getElements, getLocalElementsByEObject, getParent, getParentElements, getSingleElement, getSingleElement, getSingleLocalElementByName, isIgnoreCase, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
NonShadowedSelectableBasedScopeprotected NonShadowedSelectableBasedScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)Constructor- Parameters:
- outer- outer scope (not- null, use- ISlicedScope.NULLSCOPEinstead)
- selectable- the selectable instance (not- null)
- filter- filter (may be- null)
- type- the type of objects in scope, can't be- null
- ignoreCase- ignore case or not
- slicePredicateService-- IIndexSlicePredicateServicefor working with index slices, can't be- null
 
 
- 
 - 
Method Detail- 
createScopepublic static org.eclipse.xtext.scoping.IScope createScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)CreatesNonShadowedSelectableBasedScopeinstance with given parameters- Parameters:
- outer- outer scope (not- null, use- ISlicedScope.NULLSCOPEinstead)
- selectable- the selectable instance (not- null)
- type- the type of objects in scope, can't be- null
- ignoreCase- ignore case or not
- slicePredicateService-- IIndexSlicePredicateServicefor working with index slices, can't be- null
- Returns:
- new NonShadowedSelectableBasedScopeinstance
 
 - 
createScopepublic static org.eclipse.xtext.scoping.IScope createScope(org.eclipse.xtext.scoping.IScope outer, org.eclipse.xtext.resource.ISelectable selectable, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription> filter, org.eclipse.emf.ecore.EClass type, boolean ignoreCase, IIndexSlicePredicateService slicePredicateService)CreatesNonShadowedSelectableBasedScopeinstance with given parameters- Parameters:
- outer- outer scope (not- null, use- ISlicedScope.NULLSCOPEinstead)
- selectable- the selectable instance (not- null)
- filter- filter (may be- null)
- type- the type of objects in scope, can't be- null
- ignoreCase- ignore case or not
- slicePredicateService-- IIndexSlicePredicateServicefor working with index slices, can't be- null
- Returns:
- new NonShadowedSelectableBasedScopeinstance
 
 - 
isShadowedprotected boolean isShadowed(org.eclipse.xtext.resource.IEObjectDescription input) Description copied from class:LightAbstractScopeReturnstrueif the given descriptioninputfrom the parent scope is shadowed by local elements.- Overrides:
- isShadowedin class- LightAbstractScope
- Returns:
- trueif the given description- inputfrom the parent scope is shadowed by local elements.
 
 
- 
 
-