fr.splayce.rel.util

Cleaner

case class Cleaner (clean: (String) ⇒ String, cleanTrack: (TrackString) ⇒ TrackString) extends (String) ⇒ String with Product with Serializable

Cleaner: composable String => String function. Its aim is to clean a String before parsing.

It may have a TrackString => TrackString function to track position shifts when using TrackStrings. Its default implementation is to track nothing when the resulting String keeps the same length, else register a single whole-String replacement.

Linear Supertypes
Serializable, Serializable, Product, Equals, (String) ⇒ String, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Cleaner
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Function1
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cleaner (clean: (String) ⇒ String)

  2. new Cleaner (cleaner: Cleaner)

  3. new Cleaner (clean: (String) ⇒ String, cleanTrack: (TrackString) ⇒ TrackString)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def andThen (next: Cleaner): Cleaner

  7. def andThen [A] (g: (String) ⇒ A): (String) ⇒ A

    Definition Classes
    Function1
  8. def apply (previous: Cleaner): Cleaner

  9. def apply (in: TrackString): TrackString

  10. def apply (in: String): String

    Definition Classes
    Cleaner → Function1
  11. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  12. def canEqual (arg0: Any): Boolean

    Definition Classes
    Cleaner → Equals
  13. val clean : (String) ⇒ String

  14. val cleanTrack : (TrackString) ⇒ TrackString

  15. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def compose (previous: Cleaner): Cleaner

  17. def compose [A] (g: (A) ⇒ String): (A) ⇒ String

    Definition Classes
    Function1
  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    Cleaner → Equals → AnyRef → Any
  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  22. def hashCode (): Int

    Definition Classes
    Cleaner → AnyRef → Any
  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def productArity : Int

    Definition Classes
    Cleaner → Product
  28. def productElement (arg0: Int): Any

    Definition Classes
    Cleaner → Product
  29. def productIterator : Iterator[Any]

    Definition Classes
    Product
  30. def productPrefix : String

    Definition Classes
    Cleaner → Product
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    Function1 → AnyRef → Any
  33. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def | (next: Cleaner): Cleaner

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from (String) ⇒ String

Inherited from AnyRef

Inherited from Any