Package liqp.nodes

Class KeyValueNode

java.lang.Object
liqp.nodes.KeyValueNode
All Implemented Interfaces:
LNode

public class KeyValueNode extends Object implements LNode
  • Field Details

    • key

      public final String key
    • value

      public final LNode value
  • Constructor Details

    • KeyValueNode

      public KeyValueNode(String key, LNode value)
  • Method Details

    • render

      public Object render(TemplateContext context)
      Description copied from interface: LNode
      Renders this AST.
      Specified by:
      render in interface LNode
      Parameters:
      context - the context (variables) with which this node should be rendered.
      Returns:
      an Object denoting the rendered AST.