class ExtractorAlignment extends ExtractorSubPatternAlignment
- Alphabetic
- By Inheritance
- ExtractorAlignment
- ExtractorSubPatternAlignment
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ExtractorAlignment(fun: Global.Tree, args: List[Global.Tree])(context: Context)
Value Members
-
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
- def elementArity: Int
- def expectedExtractedType: Global.Type
- val fun: Global.Tree
- def isBool: Boolean
- def isSeq: Boolean
- def isSingle: Boolean
-
val
isStar: Boolean
- Definition Classes
- ExtractorSubPatternAlignment
- def lengthCompareSym: Global.Symbol
-
val
nonStarArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
- def productArity: Int
- def resultInMonad(extractedBinder: Global.Symbol): Global.Type
-
def
starArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
- def subPatTypes(extractedBinder: Global.Symbol): List[Global.Type]
-
def
totalArity: Int
- Definition Classes
- ExtractorSubPatternAlignment
- def unapplyFormals: List[Global.Type]
- def unapplySelector: Global.Symbol
The Scala compiler and reflection APIs.