Object

scala.tools.refactoring.analysis.PartiallyAppliedMethodsFinder

PartialsFinder

Related Doc: package PartiallyAppliedMethodsFinder

Permalink

object PartialsFinder extends (PartiallyAppliedMethodsFinder.this)#GenericPartialsFinder[nsc.Global.Function]

Finds all DefDefs and ValDefs that are partial applications of a method.

Linear Supertypes
(PartiallyAppliedMethodsFinder.this)#GenericPartialsFinder[nsc.Global.Function], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialsFinder
  2. GenericPartialsFinder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Extractable[In, Out] extends AnyRef

    Permalink

    Enables parameterization of pattern matchings.

    Enables parameterization of pattern matchings.

    Definition Classes
    GenericPartialsFinder

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ContainedSymbol: Extractable[nsc.Global.Function, nsc.Global.Symbol]

    Permalink
    Definition Classes
    PartialsFinderGenericPartialsFinder
  5. val Nested: Extractable[nsc.Global.Function, nsc.Global.Function]

    Permalink
    Definition Classes
    PartialsFinderGenericPartialsFinder
  6. val PartialDefDef: Extractable[nsc.Global.Tree, (nsc.Global.DefDef, nsc.Global.Function)]

    Permalink
    Definition Classes
    GenericPartialsFinder
  7. val PartialValDef: Extractable[nsc.Global.Tree, (nsc.Global.ValDef, nsc.Global.Function)]

    Permalink
    Definition Classes
    GenericPartialsFinder
  8. val RHSExtractor: Extractable[nsc.Global.Tree, nsc.Global.Function]

    Permalink
    Definition Classes
    PartialsFinderGenericPartialsFinder
  9. def accessor(v: nsc.Global.ValDef): Option[nsc.Global.Symbol]

    Permalink

    Finds the accessor method for the given ValDef.

    Finds the accessor method for the given ValDef.

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

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

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

    Permalink

    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
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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
  17. def findPartialsForDef(partial: (PartiallyAppliedMethodsFinder.this)#DefInfo): collection.immutable.List[(PartiallyAppliedMethodsFinder.this)#DefInfo]

    Permalink

    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
  18. final def getClass(): Class[_]

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

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

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

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

    Permalink

    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
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. val needsRecursion: Boolean

    Permalink

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

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

    Definition Classes
    GenericPartialsFinder
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. def nrParamLists(f: nsc.Global.Function, origNrParamLists: Int): Int

    Permalink

    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
    PartialsFinderGenericPartialsFinder
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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

Inherited from AnyRef

Inherited from Any

Ungrouped