Color

replpp.shaded.pprint.PPrinter.Color
object Color extends PPrinter

Attributes

Graph
Supertypes
class PPrinter
trait Serializable
trait Product
trait Equals
class Walker
class Object
trait Matchable
class Any
Show all
Self type
Color.type

Members list

Type members

Inherited classlikes

object err

Attributes

Inherited from:
PPrinter
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def apply(x: Any, width: Int, height: Int, indent: Int, initialOffset: Int, escapeUnicode: Boolean, showFieldNames: Boolean): Str

Converts an Any into a large colored fansi.Str

Converts an Any into a large colored fansi.Str

Attributes

Inherited from:
PPrinter
def log[T](x: Text[T], tag: String, width: Int, height: Int, indent: Int, escapeUnicode: Boolean, showFieldNames: Boolean)(implicit line: Line, fileName: FileName): T

Logs a given value to stdout with some metadata to identify where the log message came from. Hard-coded and not very flexible, but you can easily implement your own log method if you want to customize it further.

Logs a given value to stdout with some metadata to identify where the log message came from. Hard-coded and not very flexible, but you can easily implement your own log method if you want to customize it further.

Attributes

Inherited from:
PPrinter
def pprintln[T](x: T, width: Int, height: Int, indent: Int, initialOffset: Int, escapeUnicode: Boolean, showFieldNames: Boolean): Unit

Converts an Any into a large colored fansi.Str

Converts an Any into a large colored fansi.Str

Attributes

Inherited from:
PPrinter
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def tokenize(x: Any, width: Int, height: Int, indent: Int, initialOffset: Int, escapeUnicode: Boolean, showFieldNames: Boolean): Iterator[Str]

Converts an Any into an iterator of colored chunks, wrapped at a certain width and truncated at a certain height

Converts an Any into an iterator of colored chunks, wrapped at a certain width and truncated at a certain height

Attributes

Inherited from:
PPrinter
def treeify(x: Any, escapeUnicode: Boolean, showFieldNames: Boolean): Tree

Attributes

Inherited from:
Walker

Inherited fields

val tuplePrefix: String

Attributes

Inherited from:
Walker