| Package | Description |
|---|---|
| org.apache.sling.scripting.sightly.compiler.expression |
The
org.apache.sling.scripting.sightly.compiler.expression package defines the API for
Expression processing. |
| org.apache.sling.scripting.sightly.compiler.expression.nodes |
The
org.apache.sling.scripting.sightly.compiler.expression.nodes package exposes the various
ExpressionNode 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 |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
BinaryOperation.getParentExpression()
Returns the parent expression, if any.
|
| Modifier and Type | Method and Description |
|---|---|
BinaryOperation |
BinaryOperation.withParentExpression(Expression parentExpression)
Returns a copy of this
BinaryOperation that contains information about the node's parent expression. |
| Constructor and Description |
|---|
BinaryOperation(BinaryOperator operator,
ExpressionNode leftOperand,
ExpressionNode rightOperand,
Expression parentExpression)
Creates a
BinaryOperation. |
| Modifier and Type | Method and Description |
|---|---|
Expression |
CompilerContext.adjustToContext(Expression expression,
MarkupContext context,
ExpressionContext expressionContext) |
Expression |
ExpressionWrapper.adjustToContext(Expression expression,
MarkupContext context,
ExpressionContext expressionContext) |
Expression |
Fragment.getExpression() |
Expression |
Fragment.Expr.getExpression() |
Expression |
Fragment.Text.getExpression() |
Expression |
ExpressionWrapper.transform(Interpolation interpolation,
MarkupContext markupContext,
ExpressionContext expressionContext) |
| Modifier and Type | Method and 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) |
| Constructor and Description |
|---|
Expr(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
Filter.apply(Expression expression,
ExpressionContext expressionContext)
Transform the given expression
|
Expression |
AbstractFilter.apply(Expression expression,
ExpressionContext expressionContext) |
protected Expression |
URIManipulationFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
JoinFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected abstract Expression |
AbstractFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
I18nFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
FormatFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
XSSFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
Filter.apply(Expression expression,
ExpressionContext expressionContext)
Transform the given expression
|
Expression |
AbstractFilter.apply(Expression expression,
ExpressionContext expressionContext) |
protected Expression |
URIManipulationFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
JoinFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected abstract Expression |
AbstractFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
I18nFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
FormatFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
protected Expression |
XSSFilter.apply(Expression expression,
Map<String,ExpressionNode> options) |
| Modifier and Type | Field and Description |
|---|---|
Expression |
SightlyParser.ExpressionContext.expr |
| Modifier and Type | Method and Description |
|---|---|
PluginInvoke |
IncludePlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
ListPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
ElementPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
TestPlugin.invoke(Expression expressionNode,
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
stream
|
PluginInvoke |
SetPlugin.invoke(Expression expressionNode,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
TextPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
CallPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
AttributePlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
RepeatPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
UnwrapPlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
ResourcePlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
UsePlugin.invoke(Expression expression,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
PluginInvoke |
TemplatePlugin.invoke(Expression expressionNode,
PluginCallInfo callInfo,
CompilerContext compilerContext) |
void |
DefaultPluginInvoke.onPluginCall(PushStream stream,
PluginCallInfo callInfo,
Expression expression) |
void |
AggregatePluginInvoke.onPluginCall(PushStream stream,
PluginCallInfo callInfo,
Expression expression) |
void |
PluginInvoke.onPluginCall(PushStream stream,
PluginCallInfo callInfo,
Expression expression) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.