trait Extract[A, B] extends AnyRef

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Extract
  2. AnyRef
  3. Any
Implicitly
  1. by XtensionSyntax
  2. by XtensionStructure
  3. by XtensionExtractors
  4. by ExtensionReplacers
  5. by XtensionTokenizeInputLike
  6. by XtensionShow
  7. by XtensionParseInputLike
  8. by XtensionClassifiable
  9. by any2stringadd
  10. by StringFormat
  11. by Ensuring
  12. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def extract(a: A): List[B]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to any2stringadd[Extract[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Extract[A, B], B)
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to ArrowAssoc[Extract[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def ensuring(cond: (Extract[A, B]) ⇒ Boolean, msg: ⇒ Any): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to Ensuring[Extract[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Extract[A, B]) ⇒ Boolean): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to Ensuring[Extract[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to Ensuring[Extract[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to Ensuring[Extract[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to StringFormat[Extract[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hasMod(mod: Mod)(implicit ev: Extract[Extract[A, B], Mod]): Boolean
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to contrib.XtensionExtractors[Extract[A, B]] performed by method XtensionExtractors in scala.meta.contrib.implicits.ExtractExtensions.
    Definition Classes
    XtensionExtractors
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def is[U](implicit classifier: Classifier[Extract[A, B], U]): Boolean
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionClassifiable[Extract[A, B]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Extract[A, B]] is in scope.
    Definition Classes
    XtensionClassifiable
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isNot[U](implicit classifier: Classifier[Extract[A, B], U]): Boolean
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionClassifiable[Extract[A, B]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Extract[A, B]] is in scope.
    Definition Classes
    XtensionClassifiable
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def parse[U](implicit convert: Convert[Extract[A, B], inputs.Input], parse: Parse[U], dialect: Dialect): parsers.Parsed[U]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionParseInputLike[Extract[A, B]] performed by method XtensionParseInputLike in scala.meta.parsers.Api.
    Definition Classes
    XtensionParseInputLike
  26. def show[Style[X] <: Show[X]](implicit style: Style[Extract[A, B]]): String
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionShow[Extract[A, B]] performed by method XtensionShow in scala.meta.prettyprinters.Api.
    Definition Classes
    XtensionShow
  27. def structure: String
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionStructure[Extract[A, B]] performed by method XtensionStructure in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Structure[Extract[A, B]] is in scope.
    Definition Classes
    XtensionStructure
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def syntax: String
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionSyntax[Extract[A, B]] performed by method XtensionSyntax in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Syntax[Extract[A, B]] is in scope.
    Definition Classes
    XtensionSyntax
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def tokenize(implicit convert: Convert[Extract[A, B], inputs.Input], tokenize: Tokenize, dialect: Dialect): tokenizers.Tokenized
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to meta.XtensionTokenizeInputLike[Extract[A, B]] performed by method XtensionTokenizeInputLike in scala.meta.tokenizers.Api.
    Definition Classes
    XtensionTokenizeInputLike
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def withMods(bs: List[Mod])(implicit ev: Replace[Extract[A, B], Mod]): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to contrib.ExtensionReplacers[Extract[A, B]] performed by method ExtensionReplacers in scala.meta.contrib.implicits.ReplaceExtensions.
    Definition Classes
    ExtensionReplacers
  36. def withStats(bs: List[Stat])(implicit ev: Replace[Extract[A, B], Stat]): Extract[A, B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to contrib.ExtensionReplacers[Extract[A, B]] performed by method ExtensionReplacers in scala.meta.contrib.implicits.ReplaceExtensions.
    Definition Classes
    ExtensionReplacers
  37. def [B](y: B): (Extract[A, B], B)
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to ArrowAssoc[Extract[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def extract[B](implicit ev: Extract[Extract[A, B], B]): List[B]
    Implicit
    This member is added by an implicit conversion from Extract[A, B] to contrib.XtensionExtractors[Extract[A, B]] performed by method XtensionExtractors in scala.meta.contrib.implicits.ExtractExtensions.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (extract: contrib.XtensionExtractors[Extract[A, B]]).extract(ev)
    Definition Classes
    XtensionExtractors

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionSyntax from Extract[A, B] to meta.XtensionSyntax[Extract[A, B]]

Inherited by implicit conversion XtensionStructure from Extract[A, B] to meta.XtensionStructure[Extract[A, B]]

Inherited by implicit conversion XtensionExtractors from Extract[A, B] to contrib.XtensionExtractors[Extract[A, B]]

Inherited by implicit conversion ExtensionReplacers from Extract[A, B] to contrib.ExtensionReplacers[Extract[A, B]]

Inherited by implicit conversion XtensionTokenizeInputLike from Extract[A, B] to meta.XtensionTokenizeInputLike[Extract[A, B]]

Inherited by implicit conversion XtensionShow from Extract[A, B] to meta.XtensionShow[Extract[A, B]]

Inherited by implicit conversion XtensionParseInputLike from Extract[A, B] to meta.XtensionParseInputLike[Extract[A, B]]

Inherited by implicit conversion XtensionClassifiable from Extract[A, B] to meta.XtensionClassifiable[Extract[A, B]]

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]]

Ungrouped