public class GetAttributeExpression extends Object implements Expression<Object>
| Constructor and Description |
|---|
GetAttributeExpression(Expression<?> node,
String attributeName) |
GetAttributeExpression(Expression<?> node,
String attributeName,
ArgumentsNode args) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeVisitor visitor) |
Object |
evaluate(PebbleTemplateImpl self,
EvaluationContext context) |
ArgumentsNode |
getArgumentsNode() |
String |
getAttribute() |
Expression<?> |
getNode() |
public GetAttributeExpression(Expression<?> node, String attributeName)
public GetAttributeExpression(Expression<?> node, String attributeName, ArgumentsNode args)
public Object evaluate(PebbleTemplateImpl self, EvaluationContext context) throws PebbleException
evaluate in interface Expression<Object>PebbleExceptionpublic void accept(NodeVisitor visitor)
public Expression<?> getNode()
public String getAttribute()
public ArgumentsNode getArgumentsNode()
Copyright © 2015. All rights reserved.