Class ExpressionWrapper
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.frontend.ExpressionWrapper
This object wraps expressions in filter applications depending on options.
-
Constructor Summary
ConstructorDescriptionExpressionWrapper
(PushStream stream, List<Filter> filters, Set<String> knownExpressionOptions) -
Method Summary
Modifier and TypeMethodDescriptionadjustToContext
(Expression expression, MarkupContext context, ExpressionContext expressionContext) transform
(Interpolation interpolation, MarkupContext markupContext, ExpressionContext expressionContext)
-
Constructor Details
-
ExpressionWrapper
public ExpressionWrapper(PushStream stream, List<Filter> filters, Set<String> knownExpressionOptions)
-
-
Method Details
-
transform
public Expression transform(Interpolation interpolation, MarkupContext markupContext, ExpressionContext expressionContext) -
adjustToContext
public Expression adjustToContext(Expression expression, MarkupContext context, ExpressionContext expressionContext)
-