Fork me on GitHub

RenderableNodeExpression

In package com.mitchellbosecke.pebble.node.expression

public class RenderableNodeExpression extends UnaryExpression

This class wraps a {@link RenderableNode} into an expression. This is used by the filter TAG to apply a filter to large chunk of template which is contained within a renderable node.

Constructors

public RenderableNodeExpression(RenderableNode node, int lineNumber)
Parameters:

Methods

public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
Parameters:
public int getLineNumber()
Parameters:
  • No parameters