final case class Aligned(patterns: Patterns, extractor: Extractor) extends Product with Serializable
If elementArity is... 0: A perfect match between extractor and the fixed patterns. If there is a star pattern it will match any sequence. > 0: There are more patterns than products. There will have to be a sequence which can populate at least <elementArity> patterns. < 0: There are more products than patterns: compile time error.
- Source
- PatternExpander.scala
- Alphabetic
- By Inheritance
- Aligned
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Aligned, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def elementArity: Int
- def ensuring(cond: (Aligned) ⇒ Boolean, msg: ⇒ Any): Aligned
- def ensuring(cond: (Aligned) ⇒ Boolean): Aligned
- def ensuring(cond: Boolean, msg: ⇒ Any): Aligned
- def ensuring(cond: Boolean): Aligned
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def extractedTypes: collection.immutable.List[Type]
- val extractor: Extractor
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def isBool: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSeq: Boolean
- def isSingle: Boolean
- def isStar: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val patterns: Patterns
-
def
productArity: Int
- Definition Classes
- Aligned → Product
- def productTypes: List[Type]
- def sequenceType: Type
- def starArity: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Aligned → AnyRef → Any
- def totalArity: Int
- def typedNonStarPatterns: collection.immutable.List[TypedPat]
- def typedPatterns: collection.immutable.List[TypedPat]
-
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( ... )
- def wholeType: Type
- def →[B](y: B): (Aligned, B)
The Scala compiler and reflection APIs.