scala.tools.refactoring.analysis.PartiallyAppliedMethodsFinder

GenericPartialsFinder

trait GenericPartialsFinder[RHS] extends AnyRef

Contains the common framework of PartialsFinder and PartialPartialsFinder that fill in the missing parts.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenericPartialsFinder
  2. AnyRef
  3. 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.

Abstract Value Members

  1. abstract val ContainedSymbol: Extractable[RHS, nsc.Global.Symbol]

  2. abstract val Nested: Extractable[RHS, RHS]

  3. abstract val RHSExtractor: Extractable[nsc.Global.Tree, RHS]

  4. abstract def nrParamLists(r: RHS, origNrParamLists: Int): Int

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

Concrete 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 PartialDefDef: Extractable[nsc.Global.Tree, (nsc.Global.DefDef, RHS)]

  7. val PartialValDef: Extractable[nsc.Global.Tree, (nsc.Global.ValDef, RHS)]

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

    Finds the accessor method for the given ValDef.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def containsCall(r: RHS, 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.

  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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.

  16. 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.

  17. final def getClass(): Class[_]

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

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

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

  21. def matchForPartial[T](candidate: nsc.Global.Tree, defSymbol: nsc.Global.Symbol, handleDefDefMatch: (nsc.Global.DefDef, RHS) ⇒ T, handleValDefMatch: (nsc.Global.ValDef, RHS) ⇒ 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.

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. 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...

  24. final def notify(): Unit

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

    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped