Class Reference

    • Method Detail

      • accept

        public <R> R accept​(ExpressionVisitor<R> visitor)
        Description copied from class: Expression
        Invoke the ExpressionVisitor functions for this expression.
        Specified by:
        accept in class Expression
        Type Parameters:
        R - the visitor return type.
        Parameters:
        visitor - the visitor to be invoked.
        Returns:
        the return value of the visitor.
      • equals

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

        public java.lang.String template()
        Description copied from class: Expression
        Converts this expression to a string template. By default this implementation returns a RuntimeException.
        Overrides:
        template in class Expression
        Returns:
        the string template.
      • toString

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

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