java.lang.Object
org.apache.sling.scripting.sightly.java.compiler.impl.operator.InOpGen
All Implemented Interfaces:
BinaryOpGen

public class InOpGen extends Object implements BinaryOpGen
Operator generator for BinaryOperator.IN.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    org.apache.sling.scripting.sightly.java.compiler.impl.Type
    returnType(org.apache.sling.scripting.sightly.java.compiler.impl.Type leftType, org.apache.sling.scripting.sightly.java.compiler.impl.Type rightType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InOpGen

      public InOpGen()
  • Method Details

    • returnType

      public org.apache.sling.scripting.sightly.java.compiler.impl.Type returnType(org.apache.sling.scripting.sightly.java.compiler.impl.Type leftType, org.apache.sling.scripting.sightly.java.compiler.impl.Type rightType)
      Specified by:
      returnType in interface BinaryOpGen
    • 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 interface BinaryOpGen