org.pkl.thirdparty.commonmark.renderer.Renderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pkl-tools Show documentation
Show all versions of pkl-tools Show documentation
Fat Jar containing pkl-cli, pkl-codegen-java, pkl-codegen-kotlin, pkl-config-java, pkl-core, pkl-doc, and their shaded third-party dependencies.
package org.pkl.thirdparty.commonmark.renderer;
import org.pkl.thirdparty.commonmark.node.Node;
public interface Renderer {
/**
* Render the tree of nodes to output.
*
* @param node the root node
* @param output output for rendering
*/
void render(Node node, Appendable output);
/**
* Render the tree of nodes to string.
*
* @param node the root node
* @return the rendered string
*/
String render(Node node);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy