Uses of Class
org.apache.sling.scripting.sightly.compiler.expression.Expression
-
Packages that use Expression Package Description org.apache.sling.scripting.sightly.compiler.expression Theorg.apache.sling.scripting.sightly.compiler.expression
package defines the API forExpression
processing.org.apache.sling.scripting.sightly.compiler.expression.nodes Theorg.apache.sling.scripting.sightly.compiler.expression.nodes
package exposes the variousExpressionNode
types.org.apache.sling.scripting.sightly.impl.compiler.frontend org.apache.sling.scripting.sightly.impl.filter org.apache.sling.scripting.sightly.impl.parser.expr.generated org.apache.sling.scripting.sightly.impl.plugin -
-
Uses of Expression in org.apache.sling.scripting.sightly.compiler.expression
Methods in org.apache.sling.scripting.sightly.compiler.expression that return Expression Modifier and Type Method Description Expression
Expression. withNode(ExpressionNode node)
Return a copy, but with the specified node as root.Expression
Expression. withRawText(String rawText)
Return a copy that provides information about the expression's raw text. -
Uses of Expression in org.apache.sling.scripting.sightly.compiler.expression.nodes
Methods in org.apache.sling.scripting.sightly.compiler.expression.nodes that return Expression Modifier and Type Method Description Expression
BinaryOperation. getParentExpression()
Returns the parent expression, if any.Methods in org.apache.sling.scripting.sightly.compiler.expression.nodes with parameters of type Expression Modifier and Type Method Description BinaryOperation
BinaryOperation. withParentExpression(Expression parentExpression)
Returns a copy of thisBinaryOperation
that contains information about the node's parent expression.Constructors in org.apache.sling.scripting.sightly.compiler.expression.nodes with parameters of type Expression Constructor Description BinaryOperation(BinaryOperator operator, ExpressionNode leftOperand, ExpressionNode rightOperand, Expression parentExpression)
Creates aBinaryOperation
. -
Uses of Expression in org.apache.sling.scripting.sightly.impl.compiler.frontend
Methods in org.apache.sling.scripting.sightly.impl.compiler.frontend that return Expression Modifier and Type Method Description Expression
CompilerContext. adjustToContext(Expression expression, MarkupContext context, ExpressionContext expressionContext)
Expression
ExpressionWrapper. adjustToContext(Expression expression, MarkupContext context, ExpressionContext expressionContext)
Expression
Fragment.Expr. getExpression()
Expression
Fragment. getExpression()
Expression
Fragment.Text. getExpression()
Expression
ExpressionWrapper. transform(Interpolation interpolation, MarkupContext markupContext, ExpressionContext expressionContext)
Methods in org.apache.sling.scripting.sightly.impl.compiler.frontend with parameters of type Expression Modifier and Type Method Description void
Interpolation. addExpression(Expression expression)
void
ElementContext. addPluginCall(String name, PluginCallInfo info, Expression expression)
Expression
CompilerContext. adjustToContext(Expression expression, MarkupContext context, ExpressionContext expressionContext)
Expression
ExpressionWrapper. adjustToContext(Expression expression, MarkupContext context, ExpressionContext expressionContext)
Constructors in org.apache.sling.scripting.sightly.impl.compiler.frontend with parameters of type Expression Constructor Description Expr(Expression expression)
-
Uses of Expression in org.apache.sling.scripting.sightly.impl.filter
Methods in org.apache.sling.scripting.sightly.impl.filter that return Expression Modifier and Type Method Description protected abstract Expression
AbstractFilter. apply(Expression expression, Map<String,ExpressionNode> options)
Expression
AbstractFilter. apply(Expression expression, ExpressionContext expressionContext)
Expression
Filter. apply(Expression expression, ExpressionContext expressionContext)
Transform the given expressionprotected Expression
FormatFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
I18nFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
JoinFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
URIManipulationFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
XSSFilter. apply(Expression expression, Map<String,ExpressionNode> options)
Methods in org.apache.sling.scripting.sightly.impl.filter with parameters of type Expression Modifier and Type Method Description protected abstract Expression
AbstractFilter. apply(Expression expression, Map<String,ExpressionNode> options)
Expression
AbstractFilter. apply(Expression expression, ExpressionContext expressionContext)
Expression
Filter. apply(Expression expression, ExpressionContext expressionContext)
Transform the given expressionprotected Expression
FormatFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
I18nFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
JoinFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
URIManipulationFilter. apply(Expression expression, Map<String,ExpressionNode> options)
protected Expression
XSSFilter. apply(Expression expression, Map<String,ExpressionNode> options)
-
Uses of Expression in org.apache.sling.scripting.sightly.impl.parser.expr.generated
Fields in org.apache.sling.scripting.sightly.impl.parser.expr.generated declared as Expression Modifier and Type Field Description Expression
SightlyParser.ExpressionContext. expr
-
Uses of Expression in org.apache.sling.scripting.sightly.impl.plugin
Methods in org.apache.sling.scripting.sightly.impl.plugin with parameters of type Expression Modifier and Type Method Description PluginInvoke
AttributePlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
CallPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
ElementPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
IncludePlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
ListPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
Plugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
Given the plugin invocation provide an invoke object which will influence the rendering command streamPluginInvoke
RepeatPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
ResourcePlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
SetPlugin. invoke(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
TemplatePlugin. invoke(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
TestPlugin. invoke(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
TextPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
UnwrapPlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
PluginInvoke
UsePlugin. invoke(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext)
void
AggregatePluginInvoke. onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
void
DefaultPluginInvoke. onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
void
PluginInvoke. onPluginCall(PushStream stream, PluginCallInfo callInfo, Expression expression)
-