Class ComparisonOpGen
java.lang.Object
org.apache.sling.scripting.sightly.java.compiler.impl.operator.ComparisonOpGen
- All Implemented Interfaces:
BinaryOpGen
Generator for logical operators
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(org.apache.sling.scripting.sightly.java.compiler.impl.JavaSource source, org.apache.sling.scripting.sightly.java.compiler.impl.ExpressionTranslator visitor, TypedNode left, TypedNode right) org.apache.sling.scripting.sightly.java.compiler.impl.Type
returnType
(org.apache.sling.scripting.sightly.java.compiler.impl.Type left, org.apache.sling.scripting.sightly.java.compiler.impl.Type right)
-
Constructor Details
-
ComparisonOpGen
-
-
Method Details
-
returnType
public org.apache.sling.scripting.sightly.java.compiler.impl.Type returnType(org.apache.sling.scripting.sightly.java.compiler.impl.Type left, org.apache.sling.scripting.sightly.java.compiler.impl.Type right) - Specified by:
returnType
in interfaceBinaryOpGen
-
generate
public void generate(org.apache.sling.scripting.sightly.java.compiler.impl.JavaSource source, org.apache.sling.scripting.sightly.java.compiler.impl.ExpressionTranslator visitor, TypedNode left, TypedNode right) - Specified by:
generate
in interfaceBinaryOpGen
-