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 reasonable toString() implementation that supports shadowing of parents elements by means of filtering.
  • Constructor Details

    • ParentIterable

      protected ParentIterable(LightAbstractScope scope, com.google.inject.Provider<Iterable<org.eclipse.xtext.resource.IEObjectDescription>> provider)
  • Method Details

    • apply

      public boolean apply(org.eclipse.xtext.resource.IEObjectDescription input)
      Specified by:
      apply in interface com.google.common.base.Predicate<org.eclipse.xtext.resource.IEObjectDescription>
    • iterator

      public Iterator<org.eclipse.xtext.resource.IEObjectDescription> iterator()
      Specified by:
      iterator in interface Iterable<org.eclipse.xtext.resource.IEObjectDescription>
    • toString

      public String toString()
      Overrides:
      toString in class Object