Surface.Formatter.Phases.Render (SurfaceFormatter v0.7.5) View Source
Render the formatted Surface code after it has run through the other transforming phases.
Link to this section Summary
Functions
Given a Surface.Formatter.formatter_node/0
node, render it to a string
for writing back into a file.
Callback implementation for Surface.Formatter.Phase.run/2
.
Link to this section Types
Specs
render_attribute_option() :: {:attributes, [Surface.Formatter.attribute()]}
Link to this section Functions
Specs
render_node(Surface.Formatter.formatter_node(), [Surface.Formatter.option()]) :: String.t() | nil
Given a Surface.Formatter.formatter_node/0
node, render it to a string
for writing back into a file.
Callback implementation for Surface.Formatter.Phase.run/2
.