Class LiteralStringExpression
java.lang.Object
io.pebbletemplates.pebble.node.expression.LiteralStringExpression
- All Implemented Interfaces:
Expression<String>,Node
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(NodeVisitor visitor) evaluate(PebbleTemplateImpl self, EvaluationContextImpl context) intReturns the line number on which the expression is defined on.getValue()toString()
-
Constructor Details
-
LiteralStringExpression
-
-
Method Details
-
accept
-
evaluate
- Specified by:
evaluatein interfaceExpression<String>
-
getLineNumber
public int getLineNumber()Description copied from interface:ExpressionReturns the line number on which the expression is defined on.- Specified by:
getLineNumberin interfaceExpression<String>- Returns:
- the line number on which the expression is defined on.
-
getValue
-
toString
-