SyntaxRenderer

fun fun interface SyntaxRenderer

Abstraction of writing MathSyntax as a string of an actual markup language. Typical implementation should involve traversal of MathSyntax with handling each subtype.

Author

Iaroslav Postovalov

Functions

render
Link copied to clipboard
common
abstract fun render(node: MathSyntax, output: Appendable)
Renders the MathSyntax to output.

Inheritors

LatexSyntaxRenderer
Link copied to clipboard
MathMLSyntaxRenderer
Link copied to clipboard

Extensions

renderWithStringBuilder
Link copied to clipboard
common
Calls SyntaxRenderer.render with given node and a new StringBuilder instance, and returns its content.

Sources

common source
Link copied to clipboard