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-2010 <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/>.
21
#include "function-result.h"
32
void Function::reset()
36
m_returnValue.reset();
40
m_retrunValusConst = "";
42
m_isPureVirtual = false;
46
void Function::print()
49
stdout, "{m_name=%s, m_isConst=%s, m_lineno=%d, m_scope=%s, m_signature=%s, m_isVirtual=%s, m_isPureVirtual=%s, m_retrunValusConst=%s\nm_returnValue=",
51
m_isConst ? "yes" : "no",
55
m_isVirtual ? "yes" : "no",
56
m_isPureVirtual ? "yes" : "no",
57
m_retrunValusConst.c_str()
60
m_returnValue.print();
61
fprintf(stdout, "}\n");