diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-02 23:03:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-02 23:03:52 +0300 |
commit | 49dbfa00f155632dc04ffe71320232799a712dfb (patch) | |
tree | 34e0d4d1f42d48dc5dbc371b59478dab31622d5d /src/parsers/functiondeclnode.h | |
parent | df576e3182e79f130a16ebcd0cbda79f58b1eea8 (diff) | |
download | paranucker-49dbfa00f155632dc04ffe71320232799a712dfb.tar.gz paranucker-49dbfa00f155632dc04ffe71320232799a712dfb.tar.bz2 paranucker-49dbfa00f155632dc04ffe71320232799a712dfb.tar.xz paranucker-49dbfa00f155632dc04ffe71320232799a712dfb.zip |
Add basic code for node initialisation and basic files for FUNCTION_DECL node.
Diffstat (limited to 'src/parsers/functiondeclnode.h')
-rw-r--r-- | src/parsers/functiondeclnode.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/parsers/functiondeclnode.h b/src/parsers/functiondeclnode.h new file mode 100644 index 0000000..10c3882 --- /dev/null +++ b/src/parsers/functiondeclnode.h @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2015 Andrei Karas + * + * This file is part of AstDumper. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef PARSERS_FUNCTIONDECLNODE_H +#define PARSERS_FUNCTIONDECLNODE_H + +#include "plugin.h" + +#include <string> + +struct Node; + +namespace Generic +{ + void parseFunctionDeclNode(Node *parent, + tree gccNode); +} + +#endif // PARSERS_FUNCTIONDECLNODE_H |