scala.util.parsing.ast
trait Mappable

[source: `scala/util/parsing/ast/Mappable.scala`]

`` `trait` Mappable
  `extends` AnyRef

  This trait provides the core Scrap-Your-Boilerplate abstractions as well as implementations for common datatypes.

  Based on Ralph Laemmel's SYB papers.

Author
  Adriaan Moors

Direct Known Subclasses:
  Binders

Method Summary
`implicit def` | ListIsMappable [t](xs : List[t])(`implicit` view$2 : (t) => Mappable[t]) : Mappable[List[t]]
`implicit def` | OptionIsMappable [t](xs : Option[t])(`implicit` view$3 : (t) => Mappable[t]) : Mappable[Option[t]]
`implicit def` | StringIsMappable (s : String) : Mappable[String]

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Class Summary
`trait` | Mappable [T]`extends` AnyRef
`trait` | Mapper `extends` AnyRef

Method Details

`implicit` `def` StringIsMappable(s : String) : Mappable[String]

`implicit` `def` ListIsMappable[t](xs : List[t])(`implicit` view$2 : (t) => Mappable[t]) : Mappable[List[t]]

`implicit` `def` OptionIsMappable[t](xs : Option[t])(`implicit` view$3 : (t) => Mappable[t]) : Mappable[Option[t]]