Class

scala.tools.refactoring.implementations.extraction.ExtractorExtractions

PatternExtraction

Related Doc: package ExtractorExtractions

Permalink

case class PatternExtraction(pattern: nsc.Global.Tree, extractionSource: ExtractorExtractions.Selection, extractionTarget: ExtractorExtractions.ExtractionTarget, abstractionName: String = "Extracted") extends ExtractorExtraction with Product with Serializable

Extracts an extractor based on a pattern.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PatternExtraction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ExtractorExtraction
  7. Extraction
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PatternExtraction(pattern: nsc.Global.Tree, extractionSource: ExtractorExtractions.Selection, extractionTarget: ExtractorExtractions.ExtractionTarget, abstractionName: String = "Extracted")

    Permalink

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 abstractionName: String

    Permalink

    Name of the new abstraction introduced by this extraction.

    Name of the new abstraction introduced by this extraction.

    Definition Classes
    PatternExtractionExtraction
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val bindings: List[nsc.Global.Bind]

    Permalink
    Definition Classes
    ExtractorExtraction
  7. val boundNames: collection.immutable.List[String]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val displayName: String

    Permalink

    A brief description of the extraction.

    A brief description of the extraction.

    Definition Classes
    ExtractorExtractionExtraction
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. val extractionSource: ExtractorExtractions.Selection

    Permalink

    The code to extract

    The code to extract

    Definition Classes
    PatternExtractionExtraction
  12. val extractionTarget: ExtractorExtractions.ExtractionTarget

    Permalink

    Where the new abstraction will be inserted.

    Where the new abstraction will be inserted.

    Definition Classes
    PatternExtractionExtraction
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  16. val matchedResult: nsc.Global.Tree with Serializable

    Permalink
    Definition Classes
    ExtractorExtraction
  17. val matchedTpe: nsc.Global.Type

    Permalink
    Definition Classes
    ExtractorExtraction
  18. def mkExtractor(unapplyBody: nsc.Global.Tree): nsc.Global.ModuleDef

    Permalink
    Definition Classes
    ExtractorExtraction
  19. def mkUnapplyCall(): Raw

    Permalink
    Definition Classes
    ExtractorExtraction
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val notMatchedResult: nsc.Global.Tree with Serializable

    Permalink
    Definition Classes
    ExtractorExtraction
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val pattern: nsc.Global.Tree

    Permalink
  25. def perform(): collection.immutable.List[ExtractorExtractions.Transformation[nsc.Global.Tree, nsc.Global.Tree]]

    Permalink

    Returns one or more transformations required to perform the extraction.

    Returns one or more transformations required to perform the extraction.

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

    Permalink
    Definition Classes
    AnyRef
  27. val unapplyParamName: String

    Permalink
    Definition Classes
    ExtractorExtraction
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withAbstractionName(name: String): PatternExtraction.this.type

    Permalink
    Definition Classes
    PatternExtractionExtraction

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from ExtractorExtraction

Inherited from AnyRef

Inherited from Any

Ungrouped