Fork me on GitHub

BlockNode

In package com.mitchellbosecke.pebble.node

public class BlockNode extends AbstractRenderableNode

Constructors

public BlockNode(int lineNumber, String name)
Parameters:
  • int lineNumber
  • String name
public BlockNode(int lineNumber, String name, BodyNode body)
Parameters:
  • int lineNumber
  • String name
  • BodyNode body

Methods

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