Class LiteralStringExpression
java.lang.Object
io.pebbletemplates.pebble.node.expression.LiteralStringExpression
- All Implemented Interfaces:
Expression<String>
,Node
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(NodeVisitor visitor) evaluate
(PebbleTemplateImpl self, EvaluationContextImpl context) int
Returns the line number on which the expression is defined on.getValue()
toString()
-
Field Details
-
value
-
lineNumber
private final int lineNumber
-
-
Constructor Details
-
LiteralStringExpression
-
-
Method Details
-
accept
-
evaluate
- Specified by:
evaluate
in interfaceExpression<String>
-
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<String>
- Returns:
- the line number on which the expression is defined on.
-
getValue
-
toString
-