Class StringValueExpr

    • Constructor Detail

      • StringValueExpr

        public StringValueExpr​(String value)
        Creates a new ValueExpr.
        Parameters:
        value - the value
    • Method Detail

      • accept

        public <T,​X extends Throwable> T accept​(ExprVisitor<T,​X> visitor)
                                               throws X extends Throwable
        Description copied from interface: Expr
        Accepts visitor for this expression.
        Specified by:
        accept in interface Expr
        Type Parameters:
        T - the visitor's return type
        X - the exception type the visitor may throw
        Parameters:
        visitor - the visitor
        Returns:
        the result of the visit
        Throws:
        X - if the visitor fails to visit this expression
        X extends Throwable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object