diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-16 17:02:04 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-16 17:02:04 +0100 |
commit | 378ff2235fdf32983ebf2186a9127e51cbe8a0ab (patch) | |
tree | 12223877b7631dc2adc9d9d69cd7e31da079e27e /src/plugins/xml | |
parent | 6c1288bd3746329c3721c6aca1fb0420061831c3 (diff) |
Allowing deferred resolution of Nodes
Diffstat (limited to 'src/plugins/xml')
-rw-r--r-- | src/plugins/xml/XmlParser.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp index 87a2016..9d1aba4 100644 --- a/src/plugins/xml/XmlParser.cpp +++ b/src/plugins/xml/XmlParser.cpp @@ -85,29 +85,10 @@ public: void end() override { - // Try to resolve the specified parent structure - Rooted<model::StructType> parentStructure; - if (!parent.empty()) { - // TODO: What about (temporarily) unresolved nodes - // Idea: Provide constructor for empty node, store unresolved nodes - // in the scope, resolve later - parentStructure = - scope() - .resolve(Utils::split(parent, '.'), - (const RttiType &)RttiTypes::StructType, logger()) - .cast<model::StructType>(); - } - - Rooted<model::Typesystem> typesystem = - scope().getLeaf().cast<model::Typesystem>(); } void child(std::shared_ptr<Handler> handler) { -/* std::shared_ptr<StructFieldHandler> structFieldHandler = - dynamic_cast<StructFieldHandler>(handler);*/ - - // Try to resolve } static Handler *create(const HandlerData &handlerData) |