scala.tools.refactoring.analysis.PartiallyAppliedMethodsFinder

PartialPartialsFinder

object PartialPartialsFinder extends (PartiallyAppliedMethodsFinder.this)#GenericPartialsFinder[nsc.Global.Apply]

Finds all DefDefs and ValDefs that are partial applications of a partially applied method, i.e. all DefDefs and ValDefs that are partial applications of methods found by PartialsFinder.

Linear Supertypes
(PartiallyAppliedMethodsFinder.this)#GenericPartialsFinder[nsc.Global.Apply], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PartialPartialsFinder
  2. GenericPartialsFinder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Extractable[In, Out] extends AnyRef

    Enables parameterization of pattern matchings.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val ContainedSymbol: Extractable[nsc.Global.Apply, nsc.Global.Symbol]

  7. val Nested: Extractable[nsc.Global.Apply, nsc.Global.Apply]

  8. val PartialDefDef: Extractable[nsc.Global.Tree, (nsc.Global.DefDef, nsc.Global.Apply)]

    Definition Classes
    GenericPartialsFinder
  9. val PartialValDef: Extractable[nsc.Global.Tree, (nsc.Global.ValDef, nsc.Global.Apply)]

    Definition Classes
    GenericPartialsFinder
  10. val RHSExtractor: Extractable[nsc.Global.Tree, nsc.Global.Apply]

  11. def accessor(v: nsc.Global.ValDef): Option[nsc.Global.Symbol]

    Finds the accessor method for the given ValDef.

    Finds the accessor method for the given ValDef.

    Definition Classes
    GenericPartialsFinder
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def containsCall(r: nsc.Global.Apply, defSymbol: nsc.Global.Symbol): Boolean

    Uses the extractors ContainedSymbol and Nested to decide if a tree r of type RHS contains a call to the DefDef or ValDef given by defSymbol.

    Uses the extractors ContainedSymbol and Nested to decide if a tree r of type RHS contains a call to the DefDef or ValDef given by defSymbol.

    Definition Classes
    GenericPartialsFinder
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def findPartials(defs: List[(PartiallyAppliedMethodsFinder.this)#DefInfo], acc: List[(PartiallyAppliedMethodsFinder.this)#DefInfo] = Nil): List[(PartiallyAppliedMethodsFinder.this)#DefInfo]

    Finds all partials for all given defs.

    Finds all partials for all given defs. Each provided def as well as each found partial is represented by its symbol and its number of parameter lists.

    Definition Classes
    GenericPartialsFinder
  19. def findPartialsForDef(partial: (PartiallyAppliedMethodsFinder.this)#DefInfo): collection.immutable.List[(PartiallyAppliedMethodsFinder.this)#DefInfo]

    Finds partials for a given def Symbol and its number of parameter lists.

    Finds partials for a given def Symbol and its number of parameter lists. Returns the def symbols of the partials found including the number of parameter lists left.

    Definition Classes
    GenericPartialsFinder
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isPartialForSymbol(defSymbol: nsc.Global.Symbol)(tree: nsc.Global.Tree): Boolean

    Definition Classes
    GenericPartialsFinder
  24. def matchForPartial[T](candidate: nsc.Global.Tree, defSymbol: nsc.Global.Symbol, handleDefDefMatch: (nsc.Global.DefDef, nsc.Global.Apply) ⇒ T, handleValDefMatch: (nsc.Global.ValDef, nsc.Global.Apply) ⇒ T, handleNonMatch: ⇒ T): T

    Extracts partially applied calls from a candidate tree according to the given extractors and uses the given handlers to process the matches.

    Extracts partially applied calls from a candidate tree according to the given extractors and uses the given handlers to process the matches.

    Definition Classes
    GenericPartialsFinder
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. val needsRecursion: Boolean

    Indicates whether we need to search for partials recursively, i.

    Indicates whether we need to search for partials recursively, i.e. search for partials of partials...

    Definition Classes
    PartialPartialsFinderGenericPartialsFinder
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def nrAppliesInPartial(apply: nsc.Global.Apply): Int

  30. def nrParamLists(apply: nsc.Global.Apply, origNrParamLists: Int): Int

    Returns the number of parameter lists that are left after the currying call.

    Returns the number of parameter lists that are left after the currying call.

    Definition Classes
    PartialPartialsFinderGenericPartialsFinder
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (PartiallyAppliedMethodsFinder.this)#GenericPartialsFinder[nsc.Global.Apply]

Inherited from AnyRef

Inherited from Any

Ungrouped