Scala Compiler 2.13.16 - scala.tools.nsc.transform.patmat.MatchApproximation.MatchApproximator.TreeMakersToProps
Keywords: Scala Compiler 2.13.16 scala.tools.nsc.transform.patmat.MatchApproximation.MatchApproximator.TreeMakersToProps

Scala Compiler2.13.16 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package transform
  Definition Classes
    nsc
-  package patmat
  Definition Classes
    transform
-  trait MatchApproximation extends TreeAndTypeAnalysis with ScalaLogic with MatchTreeMaking
  Definition Classes
    patmat
-  trait MatchApproximator extends TreeMakers with TreesAndTypesDomain

  Represent a match as a formula in propositional logic that encodes whether the match matches (abstractly: we only consider types)

  Represent a match as a formula in propositional logic that encodes whether the match matches (abstractly: we only consider types)

  Definition Classes
    MatchApproximation
- AbsCodegen
- AbsVar
- AlternativesTreeMaker
- AnalysisBudget
- And
- AtMostOne
- BodyTreeMaker
- Casegen
- CommonCodegen
- CondTreeMaker
- Const
- DummyTreeMaker
- EmptySubstitution
- Eq
- EqualityTestTreeMaker
- ExtractorTreeMaker
- False
- FunTreeMaker
- GuardTreeMaker
- NoNewBinders
- NonNullTestTreeMaker
- Not
- NullConst
- Or
- PreserveSubPatBinders
- ProductExtractorTreeMaker
- Prop
- PropMap
- PropTraverser
- Solution
- Solvable
- SubstOnlyTreeMaker
- Substitution
- Sym
- Test
- TreeMaker
- TreeMakersToProps
- TrivialTreeMaker
- True
- TypeConst
- TypeConstExtractor
- TypeTestTreeMaker
- ValueConst
- ValueConstExtractor
- Var
- VarExtractor

c

scala.tools.nsc.transform.patmat.MatchApproximation.MatchApproximator

# TreeMakersToProps

###

#### class TreeMakersToProps extends AnyRef

Source
  MatchAnalysis.scala

Linear Supertypes
AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. TreeMakersToProps
2. AnyRef
3. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new TreeMakersToProps(root: Global.Symbol)

### Type Members

1.  abstract class TreeMakerToProp extends (MatchApproximator.TreeMaker) => MatchApproximator.Prop

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from TreeMakersToProps toany2stringadd[TreeMakersToProps] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (TreeMakersToProps, B)
   Implicit
     This member is added by an implicit conversion from TreeMakersToProps toArrowAssoc[TreeMakersToProps] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def approximateMatch(cases: List[List[MatchApproximator.TreeMaker]], treeMakerToProp: TreeMakerToProp = conservative): collection.immutable.List[collection.immutable.List[Test]]
7.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
8.  final def binderToUniqueTree(b: Global.Symbol): MatchApproximator.Tree
9.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
10.  def ensuring(cond: (TreeMakersToProps) => Boolean, msg: => Any): TreeMakersToProps
    Implicit
      This member is added by an implicit conversion from TreeMakersToProps toEnsuring[TreeMakersToProps] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def ensuring(cond: (TreeMakersToProps) => Boolean): TreeMakersToProps
    Implicit
      This member is added by an implicit conversion from TreeMakersToProps toEnsuring[TreeMakersToProps] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  def ensuring(cond: Boolean, msg: => Any): TreeMakersToProps
    Implicit
      This member is added by an implicit conversion from TreeMakersToProps toEnsuring[TreeMakersToProps] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: Boolean): TreeMakersToProps
    Implicit
      This member is added by an implicit conversion from TreeMakersToProps toEnsuring[TreeMakersToProps] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
15.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
16.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
17.  val fullRewrite: PartialFunction[MatchApproximator.TreeMaker, MatchApproximator.Prop]
18.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
19.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
20.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
21.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
22.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
23.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
24.  def onUnknown(handler: (MatchApproximator.TreeMaker) => MatchApproximator.Prop): TreeMakerToProp
    Annotations
      @inline()
25.  val refutableRewrite: PartialFunction[MatchApproximator.TreeMaker, MatchApproximator.Prop]
26.  val root: Global.Symbol
27.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
28.  def toString(): String
    Definition Classes
      AnyRef → Any
29.  def unique(t: MatchApproximator.Tree, tpOverride: MatchApproximator.Type = NoType): MatchApproximator.Tree
30.  def uniqueEqualityProp(testedPath: MatchApproximator.Tree, rhs: MatchApproximator.Tree): MatchApproximator.Prop
31.  def uniqueNonNullProp(testedPath: MatchApproximator.Tree): MatchApproximator.Prop
32.  def uniqueTp(tp: MatchApproximator.Type): MatchApproximator.Type
33.  def uniqueTypeProp(testedPath: MatchApproximator.Tree, pt: MatchApproximator.Type): MatchApproximator.Prop
34.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
35.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
36.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()
37.  object condStrategy extends TypeTestCondStrategy
38.  object conservative extends TreeMakerToProp

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from TreeMakersToProps toStringFormat[TreeMakersToProps] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): (TreeMakersToProps, B)
   Implicit
     This member is added by an implicit conversion from TreeMakersToProps toArrowAssoc[TreeMakersToProps] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromTreeMakersToProps to any2stringadd[TreeMakersToProps]

### Inherited by implicit conversion StringFormat fromTreeMakersToProps to StringFormat[TreeMakersToProps]

### Inherited by implicit conversion Ensuring fromTreeMakersToProps to Ensuring[TreeMakersToProps]

### Inherited by implicit conversion ArrowAssoc fromTreeMakersToProps to ArrowAssoc[TreeMakersToProps]

### Ungrouped