type

NodeRenderer

@Js
mixin NodeRenderer

A renderer for a set of node types

methods

afterRoot

Called after the root node is rendered, to do any final processing at the end

beforeRoot

Called before the root node is rendered, to do any initial processing at the start

nodeTypes

Get the Node types that this renderer handles.

render

Render the specified node

Slot Details

afterRoot

virtual Void afterRoot(Node rootNode)

Called after the root node is rendered, to do any final processing at the end

beforeRoot

virtual Void beforeRoot(Node rootNode)

Called before the root node is rendered, to do any initial processing at the start

nodeTypes

abstract Type[] nodeTypes()

Get the Node types that this renderer handles.

render

abstract Void render(Node node)

Render the specified node