1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsParenthesis.h 7758 2009-03-26 20:49:59Z dpage $
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
6
// This software is released under the BSD Licence
8
//////////////////////////////////////////////////////////////////////////
11
#ifndef PGSPARENTHESIS_H_
12
#define PGSPARENTHESIS_H_
14
#include "pgscript/pgScript.h"
15
#include "pgscript/expressions/pgsOperation.h"
17
class pgsParenthesis : public pgsOperation
22
pgsParenthesis(const pgsExpression * left);
24
virtual ~pgsParenthesis();
26
virtual pgsExpression * clone() const;
28
pgsParenthesis(const pgsParenthesis & that);
30
pgsParenthesis & operator =(const pgsParenthesis & that);
32
virtual wxString value() const;
34
virtual pgsOperand eval(pgsVarMap & vars) const;
38
#endif /*PGSPARENTHESIS_H_*/