object TextTree
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TextTree
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait InterpolationArg[+T] extends AnyRef
Typeclass for values that can be interpolated into TextTree interpolators
- trait LowPrioInterpolationArg_1 extends LowPrioInterpolationArg_2
- Attributes
- protected
- trait LowPrioInterpolationArg_2 extends AnyRef
- Attributes
- protected
- case class Node[+T](chunks: NEList[TextTree[T]]) extends TextTree[T] with Product with Serializable
A composite node containing multiple child trees
- implicit final class Quote extends AnyVal
String interpolators for building TextTrees
- case class Shift[+T](nested: TextTree[T], shift: Int) extends TextTree[T] with Product with Serializable
Indents nested tree by specified number of spaces on each line
- case class StringNode(value: String) extends TextTree[Nothing] with Product with Serializable
Plain text with escape sequences (like \n) processed during rendering
- implicit final class TextTreeGenericOps[T] extends AnyRef
Core operations for TextTree
- implicit class TextTreeSeqOps[T] extends AnyRef
Operations for sequences of TextTrees
- case class Trim[+T](nested: TextTree[T]) extends TextTree[T] with Product with Serializable
Trims whitespace from the beginning and end of nested tree
- case class ValueNode[+T](value: T) extends TextTree[T] with Product with Serializable
A typed value that will be rendered using a provided function
- case class VerbatimNode(value: String) extends TextTree[Nothing] with Product with Serializable
Plain text with escape sequences kept literal (raw strings)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text[T](value: String): TextTree[T]
Create a text node with escape sequence processing
- def toString(): String
- Definition Classes
- AnyRef → Any
- def value[T](value: T): TextTree[T]
Create a typed value node
- def verbatim[T](value: String): TextTree[T]
Create a verbatim text node without escape sequence processing
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object InterpolationArg extends LowPrioInterpolationArg_1
- object style
Language-specific rendering styles