A B C E G H I J L M N O R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- allowImport(String) - Method in interface org.apache.sling.scripting.sightly.java.compiler.JavaImportsAnalyzer
-
Analyses the provided
importedClass
and decides if this class should be an explicit import or not in the generated HTL Java class. - AND - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
B
- BinaryOpGen - Interface in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for a binary operator
- build(ClassInfo) - Method in class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
- build(ClassInfo) - Method in class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
-
Provided the class information, this method will build the source code for the generated Java class.
C
- ClassInfo - Interface in org.apache.sling.scripting.sightly.java.compiler
-
This interface provides information about classes that will be generated by the
JavaClassBackendCompiler
. - commonType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LongOpGen
- commonType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NumericOpGen
- ComparisonOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for logical operators
- ComparisonOpGen(BinaryOperator) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ComparisonOpGen
- CompilationOutput - Interface in org.apache.sling.scripting.sightly.java.compiler
-
The
CompilationOutput
encapsulates the result of a compile operation as processed by theJavaClassBackendCompiler
. - ConcatenateOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Concatenation operator generation
E
- EquivalenceOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for logical operators
- EquivalenceOpGen(boolean) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.EquivalenceOpGen
G
- generate(JavaSource, ExpressionTranslator, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.IsWhiteSpaceGen
- generate(JavaSource, ExpressionTranslator, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LengthOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NotOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode) - Method in interface org.apache.sling.scripting.sightly.java.compiler.impl.operator.UnaryOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in interface org.apache.sling.scripting.sightly.java.compiler.impl.operator.BinaryOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ComparisonOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ConcatenateOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.EquivalenceOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.InOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NumericOpGen
- generate(JavaSource, ExpressionTranslator, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.StrictEqGenOp
- generateGeneric(JavaSource, SideEffectVisitor, TypedNode, TypedNode) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
- generatorFor(BinaryOperator) - Static method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.Operators
-
Provide the signature of the given operator
- generatorFor(UnaryOperator) - Static method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.Operators
-
Provide the signature of the given operator
- getFullyQualifiedClassName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
-
Returns the fully qualified class name.
- getMainBody() - Method in interface org.apache.sling.scripting.sightly.java.compiler.CompilationOutput
-
Provides the generated class' main body section.
- getNode() - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.TypedNode
- getPackageName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
-
Returns the class' package name.
- getSimpleClassName() - Method in interface org.apache.sling.scripting.sightly.java.compiler.ClassInfo
-
Returns the class simple name.
- getSubTemplates() - Method in interface org.apache.sling.scripting.sightly.java.compiler.CompilationOutput
-
Provides the sub-templates (
data-sly-template
) code sections. - getType() - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.TypedNode
- GlobalShadowCheckBackendCompiler - Class in org.apache.sling.scripting.sightly.java.compiler
-
Wrapping
BackendCompiler
that checks for global bindings shadowing. - GlobalShadowCheckBackendCompiler(BackendCompiler, Set<String>) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
H
- handle(CommandStream) - Method in class org.apache.sling.scripting.sightly.java.compiler.GlobalShadowCheckBackendCompiler
- handle(CommandStream) - Method in class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
I
- InOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Operator generator for
BinaryOperator.IN
. - InOpGen() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.InOpGen
- INSTANCE - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ConcatenateOpGen
- INSTANCE - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.IsWhiteSpaceGen
- INSTANCE - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LengthOpGen
- INSTANCE - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NotOpGen
- isJavaKeyword(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.Test whether the argument is a Java keyword.
- isNumericType(Type) - Static method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.OpHelper
- IsWhiteSpaceGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for IS_WHITESPACE operator
J
- JavaClassBackendCompiler - Class in org.apache.sling.scripting.sightly.java.compiler
-
BackendCompiler
that generates a Java class. - JavaClassBackendCompiler() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
- JavaClassBackendCompiler(JavaImportsAnalyzer) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaClassBackendCompiler
- JavaEscapeUtils - Class in org.apache.sling.scripting.sightly.java.compiler
-
Deprecated.since version 2.1.0 of the API; see
JavaEscapeHelper
for a replacement. - JavaEscapeUtils() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.
- JavaImportsAnalyzer - Interface in org.apache.sling.scripting.sightly.java.compiler
-
The
JavaImportsAnalyzer
allows checking imports in generated HTL Java classes, in order to optimise dependencies.
L
- LengthOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for the collection length operator
- LogicalOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for logical operators
- LogicalOpGen(String) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
- LongOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for long numeric operators
- LongOpGen(String, BinaryOperator) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LongOpGen
M
- makeJavaIdentifier(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.Converts the given identifier to a legal Java identifier
- makeJavaPackage(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.Converts the given scriptName to a Java package or fully-qualified class name
- mangleChar(char) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.Mangle the specified character to create a legal Java class name.
N
- NotOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for the not operator
- NumericOpGen - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for numeric value
- NumericOpGen(String, BinaryOperator) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NumericOpGen
O
- Operators - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Provides mappings from operators to generators
- Operators() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.Operators
- OpHelper - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Helper class for operator generation
- OpHelper() - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.OpHelper
- OR - Static variable in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
- org.apache.sling.scripting.sightly.java.compiler - package org.apache.sling.scripting.sightly.java.compiler
-
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
- org.apache.sling.scripting.sightly.java.compiler.impl.operator - package org.apache.sling.scripting.sightly.java.compiler.impl.operator
R
- returnType(Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.IsWhiteSpaceGen
- returnType(Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LengthOpGen
- returnType(Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NotOpGen
- returnType(Type) - Method in interface org.apache.sling.scripting.sightly.java.compiler.impl.operator.UnaryOpGen
- returnType(Type, Type) - Method in interface org.apache.sling.scripting.sightly.java.compiler.impl.operator.BinaryOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ComparisonOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.ConcatenateOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.EquivalenceOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.InOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.LogicalOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.NumericOpGen
- returnType(Type, Type) - Method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.StrictEqGenOp
S
- sameType(TypedNode, TypedNode) - Static method in class org.apache.sling.scripting.sightly.java.compiler.impl.operator.OpHelper
- SightlyJavaCompilerException - Exception in org.apache.sling.scripting.sightly.java.compiler
- SightlyJavaCompilerException() - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
- SightlyJavaCompilerException(String) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
- SightlyJavaCompilerException(String, Throwable) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
- SightlyJavaCompilerException(String, Throwable, boolean, boolean) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
- SightlyJavaCompilerException(Throwable) - Constructor for exception org.apache.sling.scripting.sightly.java.compiler.SightlyJavaCompilerException
- StrictEqGenOp - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Generator for strict equality
- StrictEqGenOp(boolean) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.StrictEqGenOp
T
- TypedNode - Class in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Expression nodes with type information
- TypedNode(ExpressionNode, Type) - Constructor for class org.apache.sling.scripting.sightly.java.compiler.impl.operator.TypedNode
U
- UnaryOpGen - Interface in org.apache.sling.scripting.sightly.java.compiler.impl.operator
-
Interface for generators of unary operators
- unmangle(String) - Static method in class org.apache.sling.scripting.sightly.java.compiler.JavaEscapeUtils
-
Deprecated.Provided a mangled string (obtained by calling
JavaEscapeUtils.mangleChar(char)
) it will will return the character that was mangled.
All Classes All Packages