pgadmin3/include/pgscript/expressions/pgsParenthesis.h
2020-07-07 22:19:12 +05:00

38 lines
831 B
C++

//////////////////////////////////////////////////////////////////////////
//
// pgScript - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, 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_*/