Trait

scala.tools.refactoring.analysis.PartiallyAppliedMethodsFinder

GenericPartialsFinder

Related Doc: package PartiallyAppliedMethodsFinder

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. trait Extractable[In, Out] extends AnyRef

    Permalink

    Enables parameterization of pattern matchings.

Abstract Value Members

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

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

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

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

    Permalink

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

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

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

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

    Permalink

    Finds the accessor method for the given ValDef.

  7. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  19. 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

    Permalink

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

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

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

  22. final def notify(): Unit

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped