diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-07 16:34:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-07 16:34:47 +0300 |
commit | b36bffe16cb613f3267513ff107a58b16562015f (patch) | |
tree | a07a74f9b400ef5c3e968715b1c14378226c79ba /src/nodes/base | |
parent | 0074a9a28381636383c3fe3af8c18a0a147c256d (diff) | |
download | paranucker-b36bffe16cb613f3267513ff107a58b16562015f.tar.gz paranucker-b36bffe16cb613f3267513ff107a58b16562015f.tar.bz2 paranucker-b36bffe16cb613f3267513ff107a58b16562015f.tar.xz paranucker-b36bffe16cb613f3267513ff107a58b16562015f.zip |
Collect all child nodes for each node.
Diffstat (limited to 'src/nodes/base')
-rw-r--r-- | src/nodes/base/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodes/base/node.h b/src/nodes/base/node.h index 51aa4ed..0863c1b 100644 --- a/src/nodes/base/node.h +++ b/src/nodes/base/node.h @@ -32,6 +32,7 @@ struct Node label(), file(), tag(), + childs(), gccNode(nullptr), line(-1), column(-1), @@ -53,6 +54,7 @@ struct Node std::string label; std::string file; std::string tag; + std::vector<Node*> childs; tree gccNode; int line; int column; |