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 clearSyntheticSyms(): Unit

  9. def clone(): AnyRef

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

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

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

  13. val cunit: CompilationUnit

  14. val emptyPatternVarGroup: PatternVarGroup

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

    Definition Classes
    AnyRef
  16. def finalize(): Unit

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

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

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val matchResultType: Type

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

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

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

    Definition Classes
    AnyRef
  24. val owner: Symbol

  25. implicit def pvlist2pvgroup(xs: List[PatternVar]): PatternVarGroup

  26. def recordSyntheticSym(sym: Symbol): Symbol

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

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

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

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

    Definition Classes
    AnyRef
  30. val typer: Typer

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Squeezer

Inherited from AnyRef

Inherited from Any