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 intlineNumber
-
Constructor Summary
Constructors Constructor Description LiteralNullExpression(int lineNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(NodeVisitor visitor)java.lang.Objectevaluate(PebbleTemplateImpl self, EvaluationContextImpl context)intgetLineNumber()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:
evaluatein interfaceExpression<java.lang.Object>
-
getLineNumber
public int getLineNumber()
Description copied from interface:ExpressionReturns the line number on which the expression is defined on.- Specified by:
getLineNumberin interfaceExpression<java.lang.Object>- Returns:
- the line number on which the expression is defined on.
-
-