scala.tools.nsc.matching.Matrix

MatrixContext

case class MatrixContext(cunit: CompilationUnit, handleOuter: (Tree) ⇒ Tree, typer: Typer, owner: Symbol, matchResultType: Type) extends Squeezer with Product with Serializable

Source
Matrix.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Squeezer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MatrixContext
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Squeezer
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MatrixContext(cunit: CompilationUnit, handleOuter: (Tree) ⇒ Tree, typer: Typer, owner: Symbol, matchResultType: Type)

Type Members

  1. case class MatrixInit(roots: List[PatternVar], cases: List[CaseDef], default: Tree) extends Product with Serializable

  2. class PatternVar extends AnyRef

    Every temporary variable allocated is put in a PatternVar.

  3. class PatternVarGroup extends AnyRef

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. object PatternVarGroup extends AnyRef

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    MatrixContext → Equals
  9. def clearSyntheticSyms(): Unit

  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def copyVar(root: Tree, checked: Boolean, _tpe: Type = null, label: String = "temp"): PatternVar

    Given a tree, creates a new synthetic variable of the same type and assigns the tree to it.

  12. def createLazy(tpe: Type, f: (Symbol) ⇒ Tree, checked: Boolean): PatternVar

  13. def createVar(tpe: Type, f: (Symbol) ⇒ Tree, checked: Boolean): PatternVar

    Creates a new synthetic variable of the specified type and assigns the result of f(symbol) to it.

  14. val cunit: CompilationUnit

  15. val emptyPatternVarGroup: PatternVarGroup

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

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

    Definition Classes
    MatrixContext → Equals → AnyRef → Any
  18. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  20. val handleOuter: (Tree) ⇒ Tree

  21. def hashCode(): Int

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

    Definition Classes
    Any
  23. val matchResultType: Type

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

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

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

    Definition Classes
    AnyRef
  27. val owner: Symbol

  28. def productArity: Int

    Definition Classes
    MatrixContext → Product
  29. def productElement(arg0: Int): Any

    Definition Classes
    MatrixContext → Product
  30. def productIterator: Iterator[Any]

    Definition Classes
    Product
  31. def productPrefix: String

    Definition Classes
    MatrixContext → Product
  32. implicit def pvlist2pvgroup(xs: List[PatternVar]): PatternVarGroup

  33. def recordSyntheticSym(sym: Symbol): Symbol

  34. def specialVar(lhs: Symbol, checked: Boolean): PatternVar

    Sets the rhs to EmptyTree, which makes the valDef ignored in Scrutinee.

  35. def squeezedBlock(vds: List[Tree], exp: Tree): Tree

    Definition Classes
    Squeezer
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    MatrixContext → AnyRef → Any
  38. val typer: Typer

  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Squeezer

Inherited from AnyRef

Inherited from Any