Uses of Class
org.apache.sling.scripting.sightly.compiler.expression.Expression
Package
Description
The
org.apache.sling.scripting.sightly.compiler.expression
package defines the API for
Expression
processing.The
org.apache.sling.scripting.sightly.compiler.expression.nodes
package exposes the various
ExpressionNode
types.-
Uses of Expression in org.apache.sling.scripting.sightly.compiler.expression
Modifier and TypeMethodDescriptionExpression.withNode
(ExpressionNode node) Return a copy, but with the specified node as root.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
Modifier and TypeMethodDescriptionBinaryOperation.getParentExpression()
Returns the parent expression, if any.Modifier and TypeMethodDescriptionBinaryOperation.withParentExpression
(Expression parentExpression) Returns a copy of thisBinaryOperation
that contains information about the node's parent expression.ModifierConstructorDescriptionBinaryOperation
(BinaryOperator operator, ExpressionNode leftOperand, ExpressionNode rightOperand, Expression parentExpression) Creates aBinaryOperation
. -
Uses of Expression in org.apache.sling.scripting.sightly.impl.compiler.frontend
Modifier and TypeMethodDescriptionCompilerContext.adjustToContext
(Expression expression, MarkupContext context, ExpressionContext expressionContext) ExpressionWrapper.adjustToContext
(Expression expression, MarkupContext context, ExpressionContext expressionContext) Fragment.Expr.getExpression()
Fragment.getExpression()
Fragment.Text.getExpression()
ExpressionWrapper.transform
(Interpolation interpolation, MarkupContext markupContext, ExpressionContext expressionContext) Modifier and TypeMethodDescriptionvoid
Interpolation.addExpression
(Expression expression) void
ElementContext.addPluginCall
(String name, PluginCallInfo info, Expression expression) CompilerContext.adjustToContext
(Expression expression, MarkupContext context, ExpressionContext expressionContext) ExpressionWrapper.adjustToContext
(Expression expression, MarkupContext context, ExpressionContext expressionContext) -
Uses of Expression in org.apache.sling.scripting.sightly.impl.filter
Modifier and TypeMethodDescriptionprotected abstract Expression
AbstractFilter.apply
(Expression expression, Map<String, ExpressionNode> options) AbstractFilter.apply
(Expression expression, ExpressionContext expressionContext) 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) Modifier and TypeMethodDescriptionprotected abstract Expression
AbstractFilter.apply
(Expression expression, Map<String, ExpressionNode> options) AbstractFilter.apply
(Expression expression, ExpressionContext expressionContext) 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
-
Uses of Expression in org.apache.sling.scripting.sightly.impl.plugin
Modifier and TypeMethodDescriptionAttributePlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) CallPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) ElementPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) IncludePlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) ListPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) Plugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) Given the plugin invocation provide an invoke object which will influence the rendering command streamRepeatPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) ResourcePlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) SetPlugin.invoke
(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext) TemplatePlugin.invoke
(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext) TestPlugin.invoke
(Expression expressionNode, PluginCallInfo callInfo, CompilerContext compilerContext) TextPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) UnwrapPlugin.invoke
(Expression expression, PluginCallInfo callInfo, CompilerContext compilerContext) 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)