Package liqp.blocks

Class For


public class For extends Block
Documentation: https://shopify.dev/docs/themes/liquid/reference/tags/iteration-tags https://shopify.github.io/liquid/tags/iteration/ https://shopify.dev/docs/themes/liquid/reference/objects/for-loops
  • Constructor Details

    • For

      public For()
  • Method Details

    • render

      public Object render(TemplateContext context, LNode... nodes)
      Description copied from class: Insertion
      Renders this insertion.
      Specified by:
      render in class Insertion
      Parameters:
      context - the context (variables) with which this node should be rendered.
      nodes - the nodes of this tag is created with. See the file `src/grammar/LiquidWalker.g` to see how each of the tags is created.
      Returns:
      an Object denoting the rendered AST.
    • popLoopDropFromStack

      public void popLoopDropFromStack(TemplateContext context)