Uses of Interface
io.pebbletemplates.pebble.node.expression.Expression
-
Packages that use Expression Package Description io.pebbletemplates.pebble.extension.escaper io.pebbletemplates.pebble.node io.pebbletemplates.pebble.node.expression io.pebbletemplates.pebble.parser -
-
Uses of Expression in io.pebbletemplates.pebble.extension.escaper
Methods in io.pebbletemplates.pebble.extension.escaper that return Expression Modifier and Type Method Description private Expression<?>
EscaperNodeVisitor. escape(Expression<?> expression)
Simply wraps the input expression with aEscapeFilter
.Methods in io.pebbletemplates.pebble.extension.escaper with parameters of type Expression Modifier and Type Method Description private Expression<?>
EscaperNodeVisitor. escape(Expression<?> expression)
Simply wraps the input expression with aEscapeFilter
.private boolean
EscaperNodeVisitor. isSafeConcatenateExpr(Expression<?> expr)
private boolean
EscaperNodeVisitor. isUnsafe(Expression<?> expression)
-
Uses of Expression in io.pebbletemplates.pebble.node
Classes in io.pebbletemplates.pebble.node that implement Expression Modifier and Type Class Description class
FunctionOrMacroNameNode
class
TestInvocationExpression
The right hand side to the test expression.Fields in io.pebbletemplates.pebble.node declared as Expression Modifier and Type Field Description private Expression<?>
PrintNode. expression
private Expression<?>
FromNode. fromExpression
private Expression<?>
ImportNode. importExpression
private Expression<?>
EmbedNode. includeExpression
private Expression<?>
IncludeNode. includeExpression
private Expression<?>
ForNode. iterableExpression
private Expression<?>
CacheNode. name
(package private) Expression<?>
ExtendsNode. parentExpression
private Expression<?>
NamedArgumentNode. value
private Expression<?>
PositionalArgumentNode. value
private Expression<?>
SetNode. value
Fields in io.pebbletemplates.pebble.node with type parameters of type Expression Modifier and Type Field Description private java.util.List<Pair<Expression<?>,BodyNode>>
IfNode. conditionsWithBodies
Methods in io.pebbletemplates.pebble.node that return Expression Modifier and Type Method Description Expression<?>
PrintNode. getExpression()
Expression<?>
ImportNode. getImportExpression()
Expression<?>
IncludeNode. getIncludeExpression()
Expression<?>
ForNode. getIterable()
Expression<?>
ExtendsNode. getParentExpression()
Expression<?>
SetNode. getValue()
Expression<?>
NamedArgumentNode. getValueExpression()
Expression<?>
PositionalArgumentNode. getValueExpression()
Methods in io.pebbletemplates.pebble.node that return types with arguments of type Expression Modifier and Type Method Description java.util.List<Pair<Expression<?>,BodyNode>>
IfNode. getConditionsWithBodies()
Methods in io.pebbletemplates.pebble.node with parameters of type Expression Modifier and Type Method Description void
PrintNode. setExpression(Expression<?> expression)
Constructors in io.pebbletemplates.pebble.node with parameters of type Expression Constructor Description CacheNode(int lineNumber, Expression<?> name, BodyNode body)
EmbedNode(int lineNumber, Expression<?> includeExpression, MapExpression mapExpression, java.util.List<BlockNode> nodes)
ExtendsNode(int lineNumber, Expression<?> parentExpression)
ForNode(int lineNumber, java.lang.String variableName, Expression<?> iterableExpression, BodyNode body, BodyNode elseBody)
FromNode(int lineNumber, Expression<?> fromExpression, java.util.List<Pair<java.lang.String,java.lang.String>> namedMacros)
ImportNode(int lineNumber, Expression<?> importExpression, java.lang.String alias)
IncludeNode(int lineNumber, Expression<?> includeExpression, MapExpression mapExpression)
NamedArgumentNode(java.lang.String name, Expression<?> value)
PositionalArgumentNode(Expression<?> value)
PrintNode(Expression<?> expression, int lineNumber)
SetNode(int lineNumber, java.lang.String name, Expression<?> value)
Constructor parameters in io.pebbletemplates.pebble.node with type arguments of type Expression Constructor Description IfNode(int lineNumber, java.util.List<Pair<Expression<?>,BodyNode>> conditionsWithBodies)
IfNode(int lineNumber, java.util.List<Pair<Expression<?>,BodyNode>> conditionsWithBodies, BodyNode elseBody)
-
Uses of Expression in io.pebbletemplates.pebble.node.expression
Fields in io.pebbletemplates.pebble.node.expression declared as Expression Modifier and Type Field Description private Expression<?>
GetAttributeExpression. attributeNameExpression
private Expression<?>
BlockFunctionExpression. blockNameExpression
private Expression<?>
UnaryExpression. childExpression
private Expression<java.lang.Boolean>
TernaryExpression. expression1
private Expression<?>
TernaryExpression. expression2
private Expression<?>
TernaryExpression. expression3
private Expression<?>
BinaryExpression. leftExpression
private Expression<?>
GetAttributeExpression. node
private Expression<?>
BinaryExpression. rightExpression
Fields in io.pebbletemplates.pebble.node.expression with type parameters of type Expression Modifier and Type Field Description private java.util.Map<Expression<?>,Expression<?>>
MapExpression. entries
private java.util.Map<Expression<?>,Expression<?>>
MapExpression. entries
private java.util.List<Expression<?>>
ArrayExpression. values
Methods in io.pebbletemplates.pebble.node.expression that return Expression Modifier and Type Method Description Expression<?>
GetAttributeExpression. getAttributeNameExpression()
Expression<?>
UnaryExpression. getChildExpression()
Expression<java.lang.Boolean>
TernaryExpression. getExpression1()
Expression<?>
TernaryExpression. getExpression2()
Expression<?>
TernaryExpression. getExpression3()
Expression<?>
BinaryExpression. getLeftExpression()
Expression<?>
GetAttributeExpression. getNode()
Expression<?>
BinaryExpression. getRightExpression()
Methods in io.pebbletemplates.pebble.node.expression with parameters of type Expression Modifier and Type Method Description private boolean
AndExpression. evaluateExpression(PebbleTemplateImpl self, EvaluationContextImpl context, Expression<java.lang.Boolean> expression)
private boolean
OrExpression. evaluateExpression(PebbleTemplateImpl self, EvaluationContextImpl context, Expression<java.lang.Boolean> expression)
void
UnaryExpression. setChildExpression(Expression<?> childExpression)
void
TernaryExpression. setExpression2(Expression<?> expression2)
void
TernaryExpression. setExpression3(Expression<?> expression3)
void
BinaryExpression. setLeft(Expression<?> left)
void
BinaryExpression. setRight(Expression<?> right)
Constructors in io.pebbletemplates.pebble.node.expression with parameters of type Expression Constructor Description BinaryExpression(Expression<?> left, Expression<?> right)
Sets the left and right expressions.ConcatenateExpression(Expression<?> left, Expression<?> right)
GetAttributeExpression(Expression<?> node, Expression<?> attributeNameExpression, ArgumentsNode args, java.lang.String filename, int lineNumber)
GetAttributeExpression(Expression<?> node, Expression<?> attributeNameExpression, java.lang.String filename, int lineNumber)
TernaryExpression(Expression<java.lang.Boolean> expression1, Expression<?> expression2, Expression<?> expression3, int lineNumber, java.lang.String filename)
Constructor parameters in io.pebbletemplates.pebble.node.expression with type arguments of type Expression Constructor Description ArrayExpression(java.util.List<Expression<?>> values, int lineNumber)
MapExpression(java.util.Map<Expression<?>,Expression<?>> entries, int lineNumber)
MapExpression(java.util.Map<Expression<?>,Expression<?>> entries, int lineNumber)
-
Uses of Expression in io.pebbletemplates.pebble.parser
Methods in io.pebbletemplates.pebble.parser that return Expression Modifier and Type Method Description private Expression<?>
ExpressionParser. parseArrayDefinitionExpression()
private Expression<?>
ExpressionParser. parseBeanAttributeExpression(Expression<?> node)
A bean attribute expression can either be an expression getting an attribute from a variable in the context, or calling a method from a variable.Expression<?>
ExpressionParser. parseExpression()
The public entry point for parsing an expression.private Expression<?>
ExpressionParser. parseExpression(int minPrecedence)
A private entry point for parsing an expression.private Expression<?>
ExpressionParser. parseFunctionOrMacroInvocation(Expression<?> node)
private Expression<?>
ExpressionParser. parseMapDefinitionExpression()
private Expression<?>
ExpressionParser. parsePostfixExpression(Expression<?> node)
Determines if there is more to the provided expression than we originally thought.private Expression<?>
ExpressionParser. parseStringExpression()
private Expression<?>
ExpressionParser. parseTernaryExpression(Expression<?> expression)
private Expression<?>
ExpressionParser. parseTestInvocationExpression()
private Expression<?>
ExpressionParser. subparseExpression()
Finds and returns the next "simple" expression; an expression of which can be found on either side of a binary operator but does not contain a binary operator.Methods in io.pebbletemplates.pebble.parser with parameters of type Expression Modifier and Type Method Description private Expression<?>
ExpressionParser. parseBeanAttributeExpression(Expression<?> node)
A bean attribute expression can either be an expression getting an attribute from a variable in the context, or calling a method from a variable.private Expression<?>
ExpressionParser. parseFunctionOrMacroInvocation(Expression<?> node)
private Expression<?>
ExpressionParser. parsePostfixExpression(Expression<?> node)
Determines if there is more to the provided expression than we originally thought.private Expression<?>
ExpressionParser. parseTernaryExpression(Expression<?> expression)
-