diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-12 00:48:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-12 00:48:22 +0300 |
commit | bfd29fe799c6bae2d1cd993687ae8c477d78d681 (patch) | |
tree | 5c36f083cbe2cbf08cfa65c96bf80a764bfee3a6 /src/parsers | |
parent | 02ed297d531eabef1c381cfc8104d591621bc941 (diff) | |
download | paranucker-bfd29fe799c6bae2d1cd993687ae8c477d78d681.tar.gz paranucker-bfd29fe799c6bae2d1cd993687ae8c477d78d681.tar.bz2 paranucker-bfd29fe799c6bae2d1cd993687ae8c477d78d681.tar.xz paranucker-bfd29fe799c6bae2d1cd993687ae8c477d78d681.zip |
Add parsing node NULLPTR_TYPE.
Diffstat (limited to 'src/parsers')
-rw-r--r-- | src/parsers/type/nullptr_type.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/parsers/type/nullptr_type.cpp b/src/parsers/type/nullptr_type.cpp new file mode 100644 index 0000000..7e9128c --- /dev/null +++ b/src/parsers/type/nullptr_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(NullPtrType); + +#include "parsers/base/type.h" + +#include "nodes/type/nullptr_type.h" + +namespace Generic +{ + +void parseNullPtrTypeNode(NullPtrTypeNode *node) +{ + fillType(node); + Log::dump(node); + + fillTypeName(node); + fillTypeAttributes(node); +} + +} |