class RegularSwitchMaker extends SwitchMaker
- Source
- MatchOptimization.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RegularSwitchMaker
- SwitchMaker
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RegularSwitchMaker(scrutSym: Global.Symbol, matchFailGenOverride: Option[(Global.Tree) ⇒ Global.Tree], unchecked: Boolean)
Type Members
-
abstract
class
SwitchableTreeMakerExtractor extends AnyRef
- Definition Classes
- SwitchMaker
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to any2stringadd[RegularSwitchMaker] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (RegularSwitchMaker, B)
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to ArrowAssoc[RegularSwitchMaker] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
alternativesSupported: Boolean
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
def
apply(cases: List[(Global.Symbol, List[SwitchEmission.TreeMaker])], pt: Global.Type): List[Global.CaseDef]
- Definition Classes
- SwitchMaker
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
canJump: Boolean
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
defaultBody: Global.Tree
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
def
defaultCase(scrutSym: Global.Symbol = defaultSym, guard: Global.Tree = EmptyTree, body: Global.Tree = defaultBody): Global.CaseDef
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
def
defaultSym: Global.Symbol
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
def
ensuring(cond: (RegularSwitchMaker) ⇒ Boolean, msg: ⇒ Any): RegularSwitchMaker
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to Ensuring[RegularSwitchMaker] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (RegularSwitchMaker) ⇒ Boolean): RegularSwitchMaker
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to Ensuring[RegularSwitchMaker] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RegularSwitchMaker
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to Ensuring[RegularSwitchMaker] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): RegularSwitchMaker
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to Ensuring[RegularSwitchMaker] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isDefault(x: Global.CaseDef): Boolean
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val switchableTpe: Set[Global.Type]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
unchecked: Boolean
Should exhaustivity analysis be skipped?
Should exhaustivity analysis be skipped?
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (RegularSwitchMaker, B)
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to ArrowAssoc[RegularSwitchMaker] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- object SwitchablePattern
-
object
SwitchableTreeMaker extends SwitchableTreeMakerExtractor
- Definition Classes
- RegularSwitchMaker → SwitchMaker
-
object
GuardAndBodyTreeMakers
- Definition Classes
- SwitchMaker
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RegularSwitchMaker to StringFormat[RegularSwitchMaker] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.