public class ContextVariableExpression extends Object implements Expression<Object>
| Constructor and Description |
|---|
ContextVariableExpression(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeVisitor visitor) |
Object |
evaluate(PebbleTemplateImpl self,
EvaluationContext context) |
String |
getName() |
protected final String name
public ContextVariableExpression(String name)
public void accept(NodeVisitor visitor)
public String getName()
public Object evaluate(PebbleTemplateImpl self, EvaluationContext context) throws PebbleException
evaluate in interface Expression<Object>PebbleExceptionCopyright © 2015. All rights reserved.