RenderOverrides

Collects custom render functions that adjust the rendered output of one or more AST nodes.

class Object
trait Matchable
class Any
class Overrides

Type members

Types

The type of the Formatter API a custom render function for these overrides uses.

The type of the Formatter API a custom render function for these overrides uses.

Value members

Abstract methods

def value: PartialFunction[(Formatter, Element), String]

Specifies a custom render function that overrides one or more of the default renderers for the output format this instance uses.

Specifies a custom render function that overrides one or more of the default renderers for the output format this instance uses.

This method expects a function that returns a partial function as the result. The outer function allows to capture the writer instance to write to and will only be invoked once. The partial function will then be invoked for each element it is defined at.