Fork me on GitHub

MacroNode

In package com.mitchellbosecke.pebble.node

public class MacroNode extends AbstractRenderableNode

Constructors

public MacroNode(String name, ArgumentsNode args, BodyNode body)
Parameters:

Methods

public void render(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context)
Parameters:
public void accept(NodeVisitor visitor)
Parameters:
public Macro getMacro()
Parameters:
  • No parameters
public BodyNode getBody()
Parameters:
  • No parameters
public ArgumentsNode getArgs()
Parameters:
  • No parameters
public String getName()
Parameters:
  • No parameters