Interface Expression<T>

All Superinterfaces:
Node
All Known Implementing Classes:
AddExpression, AndExpression, ArrayExpression, BinaryExpression, BlockFunctionExpression, ConcatenateExpression, ContainsExpression, ContextVariableExpression, DivideExpression, EqualsExpression, FilterExpression, FilterInvocationExpression, FunctionOrMacroInvocationExpression, FunctionOrMacroNameNode, GetAttributeExpression, GreaterThanEqualsExpression, GreaterThanExpression, LessThanEqualsExpression, LessThanExpression, LiteralBigDecimalExpression, LiteralBooleanExpression, LiteralDoubleExpression, LiteralIntegerExpression, LiteralLongExpression, LiteralNullExpression, LiteralStringExpression, MapExpression, ModulusExpression, MultiplyExpression, NegativeTestExpression, NotEqualsExpression, OrExpression, ParentFunctionExpression, PositiveTestExpression, RangeExpression, RenderableNodeExpression, SubtractExpression, TernaryExpression, TestInvocationExpression, UnaryExpression, UnaryMinusExpression, UnaryNotExpression, UnaryPlusExpression

public interface Expression<T> extends Node
  • Method Details

    • evaluate

      T evaluate(PebbleTemplateImpl self, EvaluationContextImpl context)
    • getLineNumber

      int getLineNumber()
      Returns the line number on which the expression is defined on.
      Returns:
      the line number on which the expression is defined on.