Class Operators
- java.lang.Object
-
- org.apache.sling.scripting.sightly.java.compiler.impl.operator.Operators
-
public class Operators extends Object
Provides mappings from operators to generators
-
-
Constructor Summary
Constructors Constructor Description Operators()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BinaryOpGen
generatorFor(org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator operator)
Provide the signature of the given operatorstatic UnaryOpGen
generatorFor(org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator operator)
Provide the signature of the given operator
-
-
-
Method Detail
-
generatorFor
public static BinaryOpGen generatorFor(org.apache.sling.scripting.sightly.compiler.expression.nodes.BinaryOperator operator)
Provide the signature of the given operator- Parameters:
operator
- - the operator- Returns:
- - the signature for the operator
-
generatorFor
public static UnaryOpGen generatorFor(org.apache.sling.scripting.sightly.compiler.expression.nodes.UnaryOperator operator)
Provide the signature of the given operator- Parameters:
operator
- - the operator- Returns:
- - the signature for the operator
-
-