Class LiteralNullExpression
- java.lang.Object
-
- io.pebbletemplates.pebble.node.expression.LiteralNullExpression
-
- All Implemented Interfaces:
Expression<java.lang.Object>
,Node
public class LiteralNullExpression extends java.lang.Object implements Expression<java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description private int
lineNumber
-
Constructor Summary
Constructors Constructor Description LiteralNullExpression(int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(NodeVisitor visitor)
java.lang.Object
evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
int
getLineNumber()
Returns the line number on which the expression is defined on.
-
-
-
Method Detail
-
accept
public void accept(NodeVisitor visitor)
-
evaluate
public java.lang.Object evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
- Specified by:
evaluate
in interfaceExpression<java.lang.Object>
-
getLineNumber
public int getLineNumber()
Description copied from interface:Expression
Returns the line number on which the expression is defined on.- Specified by:
getLineNumber
in interfaceExpression<java.lang.Object>
- Returns:
- the line number on which the expression is defined on.
-
-