Nasty.AST.Renderer (Nasty v0.3.0)
View SourceRenders AST nodes back to text.
Traverses AST structure recursively and extracts text from tokens, reconstructing natural language output.
Usage
alias Nasty.AST.{Document, Renderer}
# Render complete document
{:ok, text} = Renderer.render(document)
Summary
Functions
Renders an AST node to text.