diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-17 00:46:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-17 00:46:39 +0300 |
commit | ebea1825f3ad04450175043f4949b5e0db74e40e (patch) | |
tree | b5662363fcec8fecf6f54030e98897bf3c30f986 /src/nodes | |
parent | 1c22be28854915b6b1e4172e4324a38d6afd4682 (diff) | |
download | paranucker-ebea1825f3ad04450175043f4949b5e0db74e40e.tar.gz paranucker-ebea1825f3ad04450175043f4949b5e0db74e40e.tar.bz2 paranucker-ebea1825f3ad04450175043f4949b5e0db74e40e.tar.xz paranucker-ebea1825f3ad04450175043f4949b5e0db74e40e.zip |
Add parsing node TEMPLATE_TYPE_PARM.
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/templatetypeparm.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/nodes/templatetypeparm.h b/src/nodes/templatetypeparm.h new file mode 100644 index 0000000..f4590cc --- /dev/null +++ b/src/nodes/templatetypeparm.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_TEMPLATETYPEPARMNODE_H +#define NODES_TEMPLATETYPEPARMNODE_H + +#include "nodes/base/node.h" + +#include <string> + +struct TemplateTypeParmNode : public Node +{ + TemplateTypeParmNode() : + Node(), + index(nullptr) + { + } + + Node *index; +}; + +#endif // NODES_TEMPLATETYPEPARMNODE_H |