Package liqp.tags

Class Include

Direct Known Subclasses:
IncludeRelative

public class Include extends Tag
  • Constructor Details

    • Include

      public Include()
    • Include

      protected Include(String name)
  • 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.
    • detectSource

      protected CharStreamWithLocation detectSource(TemplateContext context, String includeResource) throws IOException
      Throws:
      IOException