class ExtractorCallProd extends ExtractorCall
- Source
- MatchTranslation.scala
- Alphabetic
- By Inheritance
- ExtractorCallProd
- ExtractorCall
- ExtractorAlignment
- ExtractorSubPatternAlignment
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ExtractorCallProd(fun: Global.Tree, args: List[Global.Tree])
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 ExtractorCallProd to any2stringadd[ExtractorCallProd] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ExtractorCallProd, B)
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to ArrowAssoc[ExtractorCallProd] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
args: List[Global.Tree]
Args will be broken down into the concatenation of:
productArity
product patterns (fixed length, corresponding to fields in case class or tuple components in classic unapply, or product selectors in product-based unapply)elementArity
element patterns (explicit patterns that pick off the prefix of the final sequence-valued component of the unapply, or a repeated case constructor arg)starArity
star patterns (0 or 1, absorbs the remaining variable-length components)Args will be broken down into the concatenation of:
productArity
product patterns (fixed length, corresponding to fields in case class or tuple components in classic unapply, or product selectors in product-based unapply)elementArity
element patterns (explicit patterns that pick off the prefix of the final sequence-valued component of the unapply, or a repeated case constructor arg)starArity
star patterns (0 or 1, absorbs the remaining variable-length components)- Definition Classes
- ExtractorAlignment → ExtractorSubPatternAlignment
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkedLength: Option[Int]
- Definition Classes
- ExtractorCall
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
elementArity: Int
- Definition Classes
- ExtractorAlignment
-
def
ensuring(cond: (ExtractorCallProd) ⇒ Boolean, msg: ⇒ Any): ExtractorCallProd
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to Ensuring[ExtractorCallProd] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ExtractorCallProd) ⇒ Boolean): ExtractorCallProd
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to Ensuring[ExtractorCallProd] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ExtractorCallProd
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to Ensuring[ExtractorCallProd] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ExtractorCallProd
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to Ensuring[ExtractorCallProd] 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
expectedExtractedType: Global.Type
- Definition Classes
- ExtractorAlignment
-
def
expectedLength: Int
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstIndexingBinder: Int
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
val
fun: Global.Tree
- Definition Classes
- ExtractorAlignment
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
ignoredSubPatBinders: Set[Global.Symbol]
- Definition Classes
- ExtractorCall
-
def
isBool: Boolean
- Definition Classes
- ExtractorAlignment
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSeq: Boolean
- Definition Classes
- ExtractorAlignment
-
def
isSingle: Boolean
- Definition Classes
- ExtractorAlignment
-
val
isStar: Boolean
- Definition Classes
- ExtractorSubPatternAlignment
-
def
lastIndexingBinder: Int
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
def
lengthCompareSym: Global.Symbol
- Definition Classes
- ExtractorAlignment
-
def
lengthGuard(binder: Global.Symbol): Option[Global.Tree]
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
nonStarArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
productArity: Int
- Definition Classes
- ExtractorAlignment
-
def
resultInMonad(extractedBinder: Global.Symbol): Global.Type
- Definition Classes
- ExtractorAlignment
-
def
seqTree(binder: Global.Symbol): Global.Tree
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
def
starArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
-
lazy val
subBoundTrees: List[BoundTree]
- Definition Classes
- ExtractorCall
-
def
subPatBinders: collection.immutable.List[Global.Symbol]
- Definition Classes
- ExtractorCall
-
def
subPatRefs(binder: Global.Symbol): List[Global.Tree]
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
def
subPatRefsSeq(binder: Global.Symbol): List[Global.Tree]
- Attributes
- protected
- Definition Classes
- ExtractorCall
-
def
subPatTypes(extractedBinder: Global.Symbol): List[Global.Type]
- Definition Classes
- ExtractorAlignment
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
totalArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
-
def
treeMakers(binder: Global.Symbol, binderKnownNonNull: Boolean, pos: Global.Position): List[MatchTranslator.TreeMaker]
Create the TreeMaker that embodies this extractor call
Create the TreeMaker that embodies this extractor call
binder
has been casted toparamType
if necessarybinderKnownNonNull
indicates whether the cast impliesbinder
cannot be null whenbinderKnownNonNull
istrue
,ProductExtractorTreeMaker
does not do a (redundant) null check on binder- Definition Classes
- ExtractorCallProd → ExtractorCall
-
def
tupleSel(binder: Global.Symbol)(i: Int): Global.Tree
- Attributes
- protected
- Definition Classes
- ExtractorCallProd → ExtractorCall
-
def
unapplyFormals: List[Global.Type]
- Definition Classes
- ExtractorAlignment
-
def
unapplySelector: Global.Symbol
- Definition Classes
- ExtractorAlignment
-
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): (ExtractorCallProd, B)
- Implicit
- This member is added by an implicit conversion from ExtractorCallProd to ArrowAssoc[ExtractorCallProd] 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 ExtractorCallProd to StringFormat[ExtractorCallProd] 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.