scala.tools.nsc.matching.ParallelMatching

MatchMatrix

abstract class MatchMatrix extends transform.ExplicitOuter.MatchMatrixOptimizer with transform.ExplicitOuter.MatrixExhaustiveness

The umbrella matrix class. *

Linear Supertypes
transform.ExplicitOuter.MatrixExhaustiveness, transform.ExplicitOuter.MatchMatrixOptimizer, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MatchMatrix
  2. MatrixExhaustiveness
  3. MatchMatrixOptimizer
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  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 MatchMatrix(context: transform.ExplicitOuter.MatrixContext)

Type Members

  1. class ExhaustivenessChecker extends AnyRef

    Exhaustiveness checking requires looking for sealed classes and if found, making sure all children are covered by a pattern.

    Exhaustiveness checking requires looking for sealed classes and if found, making sure all children are covered by a pattern.

    Definition Classes
    MatrixExhaustiveness
  2. case class FinalState(bx: Int, params: List[Global.Symbol], body: Global.Tree) extends State with Product with Serializable

  3. case class LiteralState(bx: Int, params: List[Global.Symbol], body: Global.Tree) extends State with Product with Serializable

  4. class MixEquals extends RuleApplication

  5. class MixLiteralInts extends RuleApplication

  6. sealed class MixSequence extends RuleApplication

    Handle Sequence patterns (including Star patterns.

  7. class MixTypes extends RuleApplication

    Mixture rule for type tests.

  8. class MixUnapply extends RuleApplication

    mixture rule for unapply pattern

  9. case class PatternMatch(scrut: Scrutinee, ps: List[transform.ExplicitOuter.Pattern]) extends Product with Serializable

  10. class PatternSwitch extends PatternMatch

  11. case class Rep(tvars: PatternVarGroup, rows: List[Row]) extends Product with Serializable

  12. case class Row(pats: List[transform.ExplicitOuter.Pattern], subst: transform.ExplicitOuter.Bindings, guard: Global.Tree, bx: Int) extends Product with Serializable

    * States, Rows, Etc.

  13. sealed abstract class RuleApplication extends AnyRef

    *** Rule Applications ****

  14. class Scrutinee extends AnyRef

    Encapsulates a symbol being matched on.

  15. abstract class State extends AnyRef

  16. case class VariableRule(subst: transform.ExplicitOuter.Bindings, guard: Global.Tree, guardedRest: Rep, bx: Int) extends RuleApplication with Product with Serializable

    VariableRule: The top-most rows has only variable (non-constructor) patterns.

Abstract Value Members

  1. abstract def data: MatrixInit

Concrete 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 transform.ExplicitOuter.MatchMatrix to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (transform.ExplicitOuter.MatchMatrix, B)

    Implicit information
    This member is added by an implicit conversion from transform.ExplicitOuter.MatchMatrix to ArrowAssoc[transform.ExplicitOuter.MatchMatrix] 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 addOuterCondition(cond: Global.Tree, tpe2test: Global.Type, scrut: Global.Tree): Global.Tree

    adds a test comparing the dynamic outer to the static outer

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. lazy val cases: List[Global.CaseDef]

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def condition(tpe: Global.Type, scrutTree: Global.Tree, isBound: Boolean): Global.Tree

  13. final def condition(tpe: Global.Type, scrut: Scrutinee, isBound: Boolean): Global.Tree

    returns the condition in "if (cond) k1 else k2"

  14. val context: transform.ExplicitOuter.MatrixContext

  15. def createLabelDef(namePrefix: String, body: Global.Tree, params: List[Global.Symbol] = Nil, restpe: Global.Type = matchResultType): Global.LabelDef

  16. final def createShortCut(theLabel: Global.Symbol): Int

  17. def ensuring(cond: (transform.ExplicitOuter.MatchMatrix) ⇒ Boolean, msg: ⇒ Any): transform.ExplicitOuter.MatchMatrix

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  23. final def expand(roots: List[Matrix.MatrixContext.PatternVar], cases: List[Global.CaseDef]): collection.immutable.List[(Row, Product with Serializable with State)]

    Expands the patterns recursively.

  24. lazy val expansion: Rep

  25. lazy val failTree: Global.Tree

  26. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def formatted(fmtstr: String): String

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

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

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

    Definition Classes
    Any
  31. def isPatternSwitch(scrut: Scrutinee, ps: List[transform.ExplicitOuter.Pattern]): Option[PatternSwitch]

  32. final def make(roots1: PatternVarGroup, rows1: List[Row]): Rep

    This is the recursively focal point for translating the current list of pattern variables and a list of pattern match rows into a tree suitable for entering erasure.

    This is the recursively focal point for translating the current list of pattern variables and a list of pattern match rows into a tree suitable for entering erasure.

    The first time it is called, the variables are (copies of) the original pattern matcher roots, and the rows correspond to the original casedefs.

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

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

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

    Definition Classes
    AnyRef
  36. final def optimize(tree: Global.Tree): Global.Tree

    Definition Classes
    MatchMatrixOptimizer
  37. lazy val roots: List[Matrix.MatrixContext.PatternVar]

  38. lazy val rows: collection.immutable.List[Row]

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. lazy val targets: collection.immutable.List[Product with Serializable with State]

  41. def toString(): String

    Definition Classes
    MatchMatrix → AnyRef → Any
  42. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def [B](y: B): (transform.ExplicitOuter.MatchMatrix, B)

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

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from transform.ExplicitOuter.MatchMatrix to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (matchMatrix: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from transform.ExplicitOuter.MatchMatrix to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (matchMatrix: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: transform.ExplicitOuter.MatchMatrix

    Implicit information
    This member is added by an implicit conversion from transform.ExplicitOuter.MatchMatrix to ArrowAssoc[transform.ExplicitOuter.MatchMatrix] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (matchMatrix: ArrowAssoc[transform.ExplicitOuter.MatchMatrix]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: transform.ExplicitOuter.MatchMatrix

    Implicit information
    This member is added by an implicit conversion from transform.ExplicitOuter.MatchMatrix to Ensuring[transform.ExplicitOuter.MatchMatrix] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (matchMatrix: Ensuring[transform.ExplicitOuter.MatchMatrix]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from transform.ExplicitOuter.MatrixExhaustiveness

Inherited from transform.ExplicitOuter.MatchMatrixOptimizer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from transform.ExplicitOuter.MatchMatrix to StringAdd

Inherited by implicit conversion any2stringfmt from transform.ExplicitOuter.MatchMatrix to StringFormat

Inherited by implicit conversion any2ArrowAssoc from transform.ExplicitOuter.MatchMatrix to ArrowAssoc[transform.ExplicitOuter.MatchMatrix]

Inherited by implicit conversion any2Ensuring from transform.ExplicitOuter.MatchMatrix to Ensuring[transform.ExplicitOuter.MatchMatrix]

Ungrouped