1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4
* Copyright (C) Eran Ifrah (Main file for CodeLite www.codelite.org/ )
5
* Copyright (C) Massimo Cora' 2009 <maxcvs@email.it> (Customizations for Anjuta)
7
* anjuta is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
12
* anjuta is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
* See the GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License along
18
* with this program. If not, see <http://www.gnu.org/licenses/>.
33
std::string m_templateDecl;
35
std::string m_type; /* as in 'int a;' -> type=int */
37
std::string m_typeScope;/* as in 'std::string a;' -> typeScope = std,
40
std::string m_pattern;
41
std::string m_starAmp;
44
std::string m_defaultValue; /* used mainly for function arguments with
45
* default values foo (int = 0);
47
std::string m_arrayBrackets;
54
Variable(const Variable& src);
57
Variable& operator=(const Variable& src);
59
/* clear the class content */
62
/* print the variable to stdout */
66
typedef std::list<Variable> VariableList;
68
#endif // _VARIABLE_H_