diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 00:39:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 00:39:15 +0300 |
commit | 02ed297d531eabef1c381cfc8104d591621bc941 (patch) | |
tree | 6210a4d90b1e009202bbf49c66ecec305581a9fc /src/parsers | |
parent | e6916af5a3f6a7bee468aa4df3c102b2ad80d868 (diff) | |
download | paranucker-02ed297d531eabef1c381cfc8104d591621bc941.tar.gz paranucker-02ed297d531eabef1c381cfc8104d591621bc941.tar.bz2 paranucker-02ed297d531eabef1c381cfc8104d591621bc941.tar.xz paranucker-02ed297d531eabef1c381cfc8104d591621bc941.zip |
Add parsing node BOOLEAN_TYPE.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/type/boolean_type.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/type/boolean_type.cpp b/src/parsers/type/boolean_type.cpp new file mode 100644 index 0000000..4a61de1 --- /dev/null +++ b/src/parsers/type/boolean_type.cpp @@ -0,0 +1,40 @@ +/* + * 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/>. + */ + +#include "includes/parserincludes.h" + +parserDefine(BooleanType); + +#include "parsers/base/type.h" + +#include "nodes/type/boolean_type.h" + +namespace Generic +{ + +void parseBooleanTypeNode(BooleanTypeNode *node) +{ + fillType(node); + Log::dump(node); + + fillTypeName(node); + fillTypeAttributes(node); +} + +} |