Class Function

    • Field Detail

    • Constructor Detail

    • Method Detail

      • condition

        public Condition condition()
        Convert this function into a condition.
        Returns:
        the function as a condition.
      • condition

        public Condition condition​(java.lang.String result)
        Converts this function into a condition which stores the output in the named result.
        Parameters:
        result - the name of the result parameter.
        Returns:
        the function as a condition.
      • getName

        public java.lang.String getName()
        Returns the name of this function, eg. isSet, parseUrl
        Returns:
        The name
      • getArguments

        public java.util.List<Expression> getArguments()
        Returns:
        The arguments to this function
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • expectOneArgument

        protected Expression expectOneArgument()
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in class Expression
      • toNode

        public Node toNode()
        Description copied from interface: ToNode
        Converts a value to a Node.
        Specified by:
        toNode in interface ToNode
        Returns:
        Returns the creates Node.