//////////////////////////////////////////////////////////////////////////
//
// pgScript - PostgreSQL Tools
//
// Copyright (C) 2002 - 2013, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
//////////////////////////////////////////////////////////////////////////


#ifndef PGSPARENTHESIS_H_
#define PGSPARENTHESIS_H_

#include "pgscript/pgScript.h"
#include "pgscript/expressions/pgsOperation.h"

class pgsParenthesis : public pgsOperation
{

public:

	pgsParenthesis(const pgsExpression *left);

	virtual ~pgsParenthesis();

	virtual pgsExpression *clone() const;

	pgsParenthesis(const pgsParenthesis &that);

	pgsParenthesis &operator =(const pgsParenthesis &that);

	virtual wxString value() const;

	virtual pgsOperand eval(pgsVarMap &vars) const;

};

#endif /*PGSPARENTHESIS_H_*/
