Uses of Class
org.apache.sling.scripting.sightly.compiler.expression.Expression
Packages that use 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
Methods in org.apache.sling.scripting.sightly.compiler.expression that return ExpressionModifier 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
Methods in org.apache.sling.scripting.sightly.compiler.expression.nodes that return ExpressionModifier and TypeMethodDescriptionBinaryOperation.getParentExpression()
Returns the parent expression, if any.Methods in org.apache.sling.scripting.sightly.compiler.expression.nodes with parameters of type ExpressionModifier and TypeMethodDescriptionBinaryOperation.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 ExpressionModifierConstructorDescriptionBinaryOperation
(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 ExpressionModifier 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) Methods in org.apache.sling.scripting.sightly.impl.compiler.frontend with parameters of type ExpressionModifier 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) Constructors in org.apache.sling.scripting.sightly.impl.compiler.frontend with parameters of type Expression -
Uses of Expression in org.apache.sling.scripting.sightly.impl.filter
Methods in org.apache.sling.scripting.sightly.impl.filter that return ExpressionModifier 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) Methods in org.apache.sling.scripting.sightly.impl.filter with parameters of type ExpressionModifier 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
Fields in org.apache.sling.scripting.sightly.impl.parser.expr.generated declared as Expression -
Uses of Expression in org.apache.sling.scripting.sightly.impl.plugin
Methods in org.apache.sling.scripting.sightly.impl.plugin with parameters of type ExpressionModifier 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)