From b36bffe16cb613f3267513ff107a58b16562015f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Jun 2015 16:34:47 +0300 Subject: Collect all child nodes for each node. --- src/nodes/base/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nodes') 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 childs; tree gccNode; int line; int column; -- cgit v1.2.3-70-g09d2