type

NodeRenderer

src @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

src virtual Void afterRoot(Node rootNode)

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

beforeRoot

src virtual Void beforeRoot(Node rootNode)

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

nodeTypes

src abstract Type[] nodeTypes()

Get the Node types that this renderer handles.

render

src abstract Void render(Node node)

Render the specified node