Class LightAbstractScope.ParentIterable
- java.lang.Object
-
- com._1c.g5.modeling.xtext.scoping.LightAbstractScope.ParentIterable
-
- All Implemented Interfaces:
com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription>
,Iterable<org.eclipse.xtext.resource.IEObjectDescription>
,Predicate<org.eclipse.xtext.resource.IEObjectDescription>
- Enclosing class:
- LightAbstractScope
protected static class LightAbstractScope.ParentIterable extends Object implements Iterable<org.eclipse.xtext.resource.IEObjectDescription>, com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription>
Lazy iterable with a reasonabletoString()
implementation that supports shadowing of parents elements by means of filtering.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParentIterable(LightAbstractScope scope, com.google.inject.Provider<Iterable<org.eclipse.xtext.resource.IEObjectDescription>> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(org.eclipse.xtext.resource.IEObjectDescription input)
Iterator<org.eclipse.xtext.resource.IEObjectDescription>
iterator()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ParentIterable
protected ParentIterable(LightAbstractScope scope, com.google.inject.Provider<Iterable<org.eclipse.xtext.resource.IEObjectDescription>> provider)
-
-
Method Detail
-
apply
public boolean apply(org.eclipse.xtext.resource.IEObjectDescription input)
- Specified by:
apply
in interfacecom.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription>
-
iterator
public Iterator<org.eclipse.xtext.resource.IEObjectDescription> iterator()
-
-