Fork me on GitHub

ContextVariableExpression

In package com.mitchellbosecke.pebble.node.expression

public class ContextVariableExpression extends Object implements Expression

Fields

protected final String name

Constructors

public ContextVariableExpression(String name, int lineNumber)
Parameters:
  • String name
  • int lineNumber

Methods

public void accept(NodeVisitor visitor)
Parameters:
public String getName()
Parameters:
  • No parameters
public Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
Parameters:
public int getLineNumber()
Parameters:
  • No parameters
public String toString()
Parameters:
  • No parameters