c
scala.tools.nsc.transform.patmat.MatchCodeGen.OptimizedCodegen.optimizedCodegen
OptimizedCasegen
class OptimizedCasegen extends OptimizedCodegen.CommonCodegen with OptimizedCodegen.Casegen
- Source
- MatchCodeGen.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OptimizedCasegen
- Casegen
- CommonCodegen
- AbsCodegen
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new OptimizedCasegen(matchEnd: Global.Symbol, nextCase: Global.Symbol)
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 OptimizedCasegen to any2stringadd[OptimizedCasegen] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (OptimizedCasegen, B)
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to ArrowAssoc[OptimizedCasegen] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_asInstanceOf(b: Global.Symbol, tp: Global.Type): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
def
_equals(checker: Global.Tree, binder: Global.Symbol): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
def
_isInstanceOf(b: Global.Symbol, tp: Global.Type): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
drop(tgt: Global.Tree)(n: Int): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
def
ensuring(cond: (OptimizedCasegen) ⇒ Boolean, msg: ⇒ Any): OptimizedCasegen
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to Ensuring[OptimizedCasegen] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (OptimizedCasegen) ⇒ Boolean): OptimizedCasegen
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to Ensuring[OptimizedCasegen] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): OptimizedCasegen
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to Ensuring[OptimizedCasegen] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): OptimizedCasegen
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to Ensuring[OptimizedCasegen] 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] )
-
def
flatMap(prev: Global.Tree, b: Global.Symbol, next: Global.Tree): Global.Tree
- Definition Classes
- OptimizedCasegen → Casegen
-
def
flatMapCond(cond: Global.Tree, res: Global.Tree, nextBinder: Global.Symbol, next: Global.Tree): Global.Tree
- Definition Classes
- OptimizedCasegen → Casegen
- def flatMapCondStored(cond: Global.Tree, condSym: Global.Symbol, res: Global.Tree, nextBinder: Global.Symbol, next: Global.Tree): Global.Tree
-
def
flatMapGuard(guardTree: Global.Tree, next: Global.Tree): Global.Tree
- Definition Classes
- OptimizedCasegen → Casegen
-
def
fun(arg: Global.Symbol, body: Global.Tree): Global.Tree
- Definition Classes
- CommonCodegen
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
ifThenElseZero(c: Global.Tree, thenp: Global.Tree): Global.Tree
- Definition Classes
- Casegen
-
def
index(tgt: Global.Tree)(i: Int): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
matcher(scrut: Global.Tree, scrutSym: Global.Symbol, restpe: Global.Type)(cases: List[(OptimizedCodegen.Casegen) ⇒ Global.Tree], matchFailGen: Option[(Global.Tree) ⇒ Global.Tree]): Global.Tree
- Definition Classes
- OptimizedCasegen → AbsCodegen
-
def
mkZero(tp: Global.Type): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
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()
-
def
one(res: Global.Tree): Global.Tree
- Definition Classes
- OptimizedCasegen → Casegen
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tupleSel(binder: Global.Symbol)(i: Int): Global.Tree
- Definition Classes
- CommonCodegen → AbsCodegen
-
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
zero: Global.Tree
- Attributes
- protected
- Definition Classes
- OptimizedCasegen → Casegen
-
def
→[B](y: B): (OptimizedCasegen, B)
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to ArrowAssoc[OptimizedCasegen] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from OptimizedCasegen to StringFormat[OptimizedCasegen] 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.