diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-13 12:12:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-13 12:12:06 +0300 |
commit | cad4a8a87daed1ddaeb1a4c0905f073b548b312d (patch) | |
tree | ea98cbc5fc4a5aad81522e284e2928ecaba70c00 /src/nodes | |
parent | 73ee70432eee4aa415f882215475e3efab9f1d4d (diff) | |
download | paranucker-cad4a8a87daed1ddaeb1a4c0905f073b548b312d.tar.gz paranucker-cad4a8a87daed1ddaeb1a4c0905f073b548b312d.tar.bz2 paranucker-cad4a8a87daed1ddaeb1a4c0905f073b548b312d.tar.xz paranucker-cad4a8a87daed1ddaeb1a4c0905f073b548b312d.zip |
Add parsing type REFERENCE_TYPE.
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/type/reference_type.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/nodes/type/reference_type.h b/src/nodes/type/reference_type.h new file mode 100644 index 0000000..dd5217e --- /dev/null +++ b/src/nodes/type/reference_type.h @@ -0,0 +1,38 @@ +/* + * 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 NODES_TYPE_REFERENCETYPENODE_H +#define NODES_TYPE_REFERENCETYPENODE_H + +#include "nodes/base/type.h" + +#include <string> + +struct ReferenceTypeNode : public TypeNode +{ + ReferenceTypeNode() : + TypeNode(), + nestedType(nullptr) + { + } + + TypeNode *nestedType; +}; + +#endif // NODES_TYPE_REFERENCETYPENODE_H |