scala.tools.nsc.typechecker.PatMatVirtualiser.TreeMakers

ExtractorTreeMaker

case class ExtractorTreeMaker(extractor: Tree, extraCond: Option[Tree], nextBinder: Symbol, localSubstitution: Substitution, extractorReturnsBoolean: Boolean) extends FunTreeMaker with Product with Serializable

Make a TreeMaker that will result in an extractor call specified by extractor the next TreeMaker (here, we don't know which it'll be) is chained after this one by flatMap'ing a function with binder nextBinder over our extractor's result the function's body is determined by the next TreeMaker in this function's body, and all the subsequent ones, references to the symbols in from will be replaced by the corresponding tree in to

Source
PatMatVirtualiser.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, FunTreeMaker, TreeMaker, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExtractorTreeMaker
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. FunTreeMaker
  7. TreeMaker
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtractorTreeMaker(extractor: Tree, extraCond: Option[Tree], nextBinder: Symbol, localSubstitution: Substitution)(extractorReturnsBoolean: Boolean)

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ExtractorTreeMaker, B)

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to ArrowAssoc[ExtractorTreeMaker] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def chainBefore(next: Tree)(casegen: Casegen): Tree

    Definition Classes
    ExtractorTreeMakerTreeMaker
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def ensuring(cond: (ExtractorTreeMaker) ⇒ Boolean, msg: ⇒ Any): ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (ExtractorTreeMaker) ⇒ Boolean): ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. val extraCond: Option[Tree]

  17. val extractor: Tree

  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

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

    Definition Classes
    Any
  22. val localSubstitution: Substitution

    Definition Classes
    ExtractorTreeMakerTreeMaker
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. val nextBinder: Symbol

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

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

    Definition Classes
    AnyRef
  27. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  28. val self: Any

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  29. def substitution: Substitution

    captures the scope and the value of the bindings in patterns important *when* the substitution happens (can't accumulate and do at once after the full matcher has been constructed)

    captures the scope and the value of the bindings in patterns important *when* the substitution happens (can't accumulate and do at once after the full matcher has been constructed)

    Definition Classes
    TreeMaker
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def [B](y: B): (ExtractorTreeMaker, B)

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to ArrowAssoc[ExtractorTreeMaker] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to ArrowAssoc[ExtractorTreeMaker] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ExtractorTreeMaker

    Implicit information
    This member is added by an implicit conversion from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from FunTreeMaker

Inherited from TreeMaker

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from ExtractorTreeMaker to StringFormat

Inherited by implicit conversion any2stringadd from ExtractorTreeMaker to StringAdd

Inherited by implicit conversion any2ArrowAssoc from ExtractorTreeMaker to ArrowAssoc[ExtractorTreeMaker]

Inherited by implicit conversion any2Ensuring from ExtractorTreeMaker to Ensuring[ExtractorTreeMaker]