trait
Extract[A, B] extends AnyRef
Abstract Value Members
-
abstract
def
extract(a: A): List[B]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Extract[A, B], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Extract[A, B]) ⇒ Boolean, msg: ⇒ Any): Extract[A, B]
-
def
ensuring(cond: (Extract[A, B]) ⇒ Boolean): Extract[A, B]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Extract[A, B]
-
def
ensuring(cond: Boolean): Extract[A, B]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hasMod(mod: Mod)(implicit ev: Extract[Extract[A, B], Mod]): Boolean
-
def
hashCode(): Int
-
def
is[U](implicit classifier: Classifier[Extract[A, B], U]): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isNot[U](implicit classifier: Classifier[Extract[A, B], U]): Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
parse[U](implicit convert: Convert[Extract[A, B], inputs.Input], parse: Parse[U], dialect: Dialect): parsers.Parsed[U]
-
def
show[Style[X] <: Show[X]](implicit style: Style[Extract[A, B]]): String
-
def
structure: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
syntax: String
-
def
toString(): String
-
def
tokenize(implicit convert: Convert[Extract[A, B], inputs.Input], tokenize: Tokenize, dialect: Dialect): tokenizers.Tokenized
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withMods(bs: List[Mod])(implicit ev: Replace[Extract[A, B], Mod]): Extract[A, B]
-
def
withStats(bs: List[Stat])(implicit ev: Replace[Extract[A, B], Stat]): Extract[A, B]
-
def
→[B](y: B): (Extract[A, B], B)
Shadowed Implicit Value Members
-
def
extract[B](implicit ev: Extract[Extract[A, B], B]): List[B]
Inherited from Any
Inherited by implicit conversion any2stringadd from
Extract[A, B] to any2stringadd[Extract[A, B]]
Inherited by implicit conversion StringFormat from
Extract[A, B] to StringFormat[Extract[A, B]]
Inherited by implicit conversion Ensuring from
Extract[A, B] to Ensuring[Extract[A, B]]
Inherited by implicit conversion ArrowAssoc from
Extract[A, B] to ArrowAssoc[Extract[A, B]]
The motivation for this typeclass is to extract values out of trees that could have been fields on the classes. However, these values are not included as fields on the tree nodes because of various reasons.