src: moved bundling info to NodeType

* also: fixed NodeType for global variables not in NodeTypeSet::all()
This commit is contained in:
mlangkabel
2017-12-08 15:07:33 +01:00
parent 9ae7f70062
commit 21189bb887
7 changed files with 148 additions and 80 deletions
@@ -97,7 +97,11 @@ private:
const std::string& name);
std::shared_ptr<DummyNode> bundleNodesMatching(
std::list<std::shared_ptr<DummyNode>>& nodes, std::function<bool(const DummyNode*)> matcher, const std::string& name);
void bundleByType(std::list<std::shared_ptr<DummyNode>>& nodes, NodeType::Type type, const std::string& name);
std::shared_ptr<DummyNode> bundleByType(
std::list<std::shared_ptr<DummyNode>>& nodes,
const NodeType& type,
const Tree<NodeType::BundleInfo>& bundleInfoTree,
const bool considerInvisibleNodes = false);
void bundleNodesByType();
void addCharacterIndex();