class

Crst::TextRenderer

Inherits Crst::BaseRenderer < Reference < Object

Renders the AST as plain text

This class traverses the document tree and converts each node to plain text representation.

Instance methods

render(node : Node) : String

Render a node to plain text string

node - The node to render Returns the plain text representation of the node

Source