AST
A renderer for AST output (a formatted Abstract Syntax Tree), primarily useful for debugging purposes. May be directly passed to the Render
or Transform
APIs:
Renderer.of(AST).build.render(document)
Transformer.from(Markdown).to(AST).build.transform(inputString)
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RenderFormat[TextFormatter]trait Formatclass Objecttrait Matchableclass AnyShow all
- Self type
-
AST.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- RenderFormat
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RenderOverridesclass Objecttrait Matchableclass AnyShow all
Inherited types
Attributes
- Inherited from:
- RenderFormat
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Inherited methods
Short string describing the markup or output format for tooling and logging.
Short string describing the markup or output format for tooling and logging.
Attributes
- Inherited from:
- Format
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Concrete fields
The default renderer function for this output format. It may be overridden by extensions for individual nodes of the AST.
The default renderer function for this output format. It may be overridden by extensions for individual nodes of the AST.
The function takes both, a formatter instance and the element to render and returns a String in the target format.
Attributes
The file suffix to use when rendering the output to a file. When transforming entire directories the suffix of the markup file will be automatically replaced by the suffix for the output format.
The file suffix to use when rendering the output to a file. When transforming entire directories the suffix of the markup file will be automatically replaced by the suffix for the output format.
Attributes
The function for creating a new formatter for each render operation, based on the specified context containing the root element, the indentation mechanism and the delegate function for rendering child elements (that may contain user-specified extensions this render format implementation is not aware of).
The function for creating a new formatter for each render operation, based on the specified context containing the root element, the indentation mechanism and the delegate function for rendering child elements (that may contain user-specified extensions this render format implementation is not aware of).
The formatter created by this function (or copies created from it) will be used when invoking the default renderer.