Object

scala.tools.refactoring.analysis.PartiallyAppliedMethodsFinder

PartialPartialsFinder

Related Doc: package PartiallyAppliedMethodsFinder

Permalink

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
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.Apply, nsc.Global.Symbol]

    Permalink
  5. val Nested: Extractable[nsc.Global.Apply, nsc.Global.Apply]

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

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

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

    Permalink
  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.Apply, 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.Apply) ⇒ T, handleValDefMatch: (nsc.Global.ValDef, nsc.Global.Apply) ⇒ 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
    PartialPartialsFinderGenericPartialsFinder
  25. final def notify(): Unit

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

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

    Permalink
  28. def nrParamLists(apply: nsc.Global.Apply, 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
    PartialPartialsFinderGenericPartialsFinder
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped