fr.splayce.rel.util

TrackString

object TrackString extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TrackString
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class Interval (start: Int, end: Int) extends Product with Serializable

    Interval: left-inclusive, right-exclusive (priority).

  2. case class Repl (substs: List[Subst]) extends Product with Serializable

    Holder for position tracking information across edits.

  3. case class Subst (from: Interval, to: Interval) extends Product with Serializable

    A Substitution from an Interval in the original String to an Interval in the new String.

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. object Repl extends Serializable

  7. object Subst extends Serializable

  8. def apply (source: String): TrackString

  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def defaultReplacer (replacement: CharSequence, useNamedGroup: Boolean = supportsNamedGroup): (Match, Repl) ⇒ (String, Repl)

    Produces a replacer function for a regex-replace-compatible replacement CharSequence.

    Produces a replacer function for a regex-replace-compatible replacement CharSequence. Each effective replacement (match whose replacement is different from the matched String) will append a corresponding Subst to the resulting Repl.

    See also

    scala.util.matching.Regex#replaceFirstIn

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    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()
  15. def getClass (): java.lang.Class[_]

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def perCharReplacer (replacer: (Char) ⇒ Option[String]): (String) ⇒ (String, Repl)

    Produces a replacer function for a char-per-char replacement.

    Produces a replacer function for a char-per-char replacement. Whenever replacer yields Some(str), str will replace the input Char in the resulting edit, maintaining the Repl tracking info.

  22. def readResolve (): AnyRef

    Attributes
    protected
  23. def regexReplacer (template: CharSequence, useNamedGroup: Boolean = supportsNamedGroup): (Match) ⇒ String

    Preprocess a regex replacement template, providing Match => String replacer.

    Preprocess a regex replacement template, providing Match => String replacer.

    template

    Replacement String template

    useNamedGroup

    If true, will try to parse named groups in template

    returns

    A function yielding a consolidated replacement String for a given Regex.Match

    See also

    scala.util.matching.Regex#groupNames

    ,

    java.util.regex.Matcher#replaceAll(java.lang.String) for replacement template syntax

  24. val supportsNamedGroup : Boolean

    true if current Java implementation supports inline-named capturing groups in regex Pattern.

    true if current Java implementation supports inline-named capturing groups in regex Pattern. Should be true for Java >= 7, false otherwise.

    See also

    java.util.regex.Pattern

  25. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any