ASTRenderer

laika.render.ASTRenderer$
object ASTRenderer extends (TextFormatter, Element) => String

Default renderer implementation for the Formatted AST output format.

Attributes

Graph
Supertypes
trait (TextFormatter, Element) => String
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(fmt: TextFormatter, element: Element): String

Inherited methods

def curried: T1 => T2 => R

Attributes

Inherited from:
Function2
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function2 -> Any
Inherited from:
Function2
def tupled: ((T1, T2)) => R

Attributes

Inherited from:
Function2

Concrete fields

val maxTextWidth: Int

The maximum width of a single text element. For any text that exceeds this limit only the beginning and end of the line will be displayed up to the maximum number of characters allowed. This increases readability for the majority of cases where primarily the document structure is relevant.

The maximum width of a single text element. For any text that exceeds this limit only the beginning and end of the line will be displayed up to the maximum number of characters allowed. This increases readability for the majority of cases where primarily the document structure is relevant.

Attributes