Class NotOpGen

  • All Implemented Interfaces:
    UnaryOpGen

    public final class NotOpGen
    extends Object
    implements UnaryOpGen
    Generator for the not operator
    • Field Detail

      • INSTANCE

        public static final NotOpGen INSTANCE
    • Method Detail

      • returnType

        public org.apache.sling.scripting.sightly.java.compiler.impl.Type returnType​(org.apache.sling.scripting.sightly.java.compiler.impl.Type operandType)
        Specified by:
        returnType in interface UnaryOpGen
      • 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 typedNode)
        Specified by:
        generate in interface UnaryOpGen