liqp.nodes.LNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liqp Show documentation
Show all versions of liqp Show documentation
A Java implementation of the Liquid templating engine backed up by an ANTLR grammar.
package liqp.nodes;
import liqp.TemplateContext;
/**
* Denotes a node in the AST the parse creates from the
* input source.
*/
public interface LNode {
/**
* Renders this AST.
*
* @param context
* the context (variables) with which this
* node should be rendered.
*
* @return an Object denoting the rendered AST.
*/
Object render(TemplateContext context);
}