Packages

implicit final class TextTreeGenericOps[T] extends AnyRef

Core operations for TextTree

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextTreeGenericOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TextTreeGenericOps(target: TextTree[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[W](implicit conv: (T) => W): TextTree[W]

    Convert tree values using an implicit conversion

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def dump: String

    Render tree to string using .toString on values

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def flatten: TextTree[T]

    Flatten nested Node structures into a single-level Node

  12. def foreach(f: (T) => Unit): Unit

    Apply a side-effecting function to all typed values

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def isEmpty: Boolean

    Check if tree is empty (no values and only empty text)

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def last: Option[Char]

    Get the last character from string nodes, if any

  18. def map[U](f: (T) => U): TextTree[U]

    Transform all typed values in the tree

  19. def mapRender(f: (T) => String): String

    Render tree to string, converting values with provided function

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def nonEmpty: Boolean

    Check if tree is non-empty

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def rawChunks: Seq[String]

    Get a list of string nodes (values ingored)

  25. def render(implicit ev: =:=[T, Nothing]): String

    Render tree to string (only for trees without typed values)

  26. def shift(pad: Int): TextTree[T]

    Wrap tree in Shift node to indent by specified spaces when rendering

  27. def stripMargin: TextTree[T]

    Strip margin from string nodes using default '|' margin character

  28. def stripMargin(marginChar: Char): TextTree[T]

    Strip margin from string nodes using custom margin character

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. def trim: TextTree[T]

    Wrap tree in Trim node to trim whitespace when rendering

  32. def values: Seq[T]

    Extract all typed values from the tree

  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped