TextTree

izumi.fundamentals.platform.strings.TextTree
See theTextTree companion trait
object TextTree

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
TextTree.type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait InterpolationArg[+T]

Typeclass for values that can be interpolated into TextTree interpolators

Typeclass for values that can be interpolated into TextTree interpolators

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
case class Node[+T](chunks: NEList[TextTree[T]]) extends TextTree[T]

A composite node containing multiple child trees

A composite node containing multiple child trees

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[T]
class Object
trait Matchable
class Any
Show all
final implicit class Quote(val sc: StringContext) extends AnyVal

String interpolators for building TextTrees

String interpolators for building TextTrees

Attributes

Supertypes
class AnyVal
trait Matchable
class Any
case class Shift[+T](nested: TextTree[T], shift: Int) extends TextTree[T]

Indents nested tree by specified number of spaces on each line

Indents nested tree by specified number of spaces on each line

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[T]
class Object
trait Matchable
class Any
Show all
case class StringNode(value: String) extends TextTree[Nothing]

Plain text with escape sequences (like \n) processed during rendering

Plain text with escape sequences (like \n) processed during rendering

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[Nothing]
class Object
trait Matchable
class Any
Show all
final implicit class TextTreeGenericOps[T](target: TextTree[T])

Core operations for TextTree

Core operations for TextTree

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class TextTreeSeqOps[T](target: Seq[TextTree[T]])

Operations for sequences of TextTrees

Operations for sequences of TextTrees

Attributes

Supertypes
class Object
trait Matchable
class Any
case class Trim[+T](nested: TextTree[T]) extends TextTree[T]

Trims whitespace from the beginning and end of nested tree

Trims whitespace from the beginning and end of nested tree

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[T]
class Object
trait Matchable
class Any
Show all
case class ValueNode[+T](value: T) extends TextTree[T]

A typed value that will be rendered using a provided function

A typed value that will be rendered using a provided function

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[T]
class Object
trait Matchable
class Any
Show all
case class VerbatimNode(value: String) extends TextTree[Nothing]

Plain text with escape sequences kept literal (raw strings)

Plain text with escape sequences kept literal (raw strings)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait TextTree[Nothing]
class Object
trait Matchable
class Any
Show all
object style

Language-specific rendering styles

Language-specific rendering styles

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
style.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def text[T](value: String): TextTree[T]

Create a text node with escape sequence processing

Create a text node with escape sequence processing

Attributes

def value[T](value: T): TextTree[T]

Create a typed value node

Create a typed value node

Attributes

def verbatim[T](value: String): TextTree[T]

Create a verbatim text node without escape sequence processing

Create a verbatim text node without escape sequence processing

Attributes

Implicits

Implicits

final implicit def Quote(sc: StringContext): Quote

String interpolators for building TextTrees

String interpolators for building TextTrees

Attributes

final implicit def TextTreeGenericOps[T](target: TextTree[T]): TextTreeGenericOps[T]

Core operations for TextTree

Core operations for TextTree

Attributes

final implicit def TextTreeSeqOps[T](target: Seq[TextTree[T]]): TextTreeSeqOps[T]

Operations for sequences of TextTrees

Operations for sequences of TextTrees

Attributes