Class Operators


  • public class Operators
    extends Object
    Provides mappings from operators to generators
    • Constructor Detail

      • Operators

        public Operators()
    • 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