summaryrefslogtreecommitdiff
path: root/src/nodes
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-07 16:34:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-07 16:34:47 +0300
commitb36bffe16cb613f3267513ff107a58b16562015f (patch)
treea07a74f9b400ef5c3e968715b1c14378226c79ba /src/nodes
parent0074a9a28381636383c3fe3af8c18a0a147c256d (diff)
downloadparanucker-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')
-rw-r--r--src/nodes/base/node.h2
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;