32 #ifndef VLXLinker_INCLUDE_ONCE 33 #define VLXLinker_INCLUDE_ONCE 51 std::map< std::string, vl::ref<VLXStructure> > link_map;
55 for(
size_t i=0; i<
mModules.size(); ++i)
56 mModules[i]->acceptVisitor(&link_mapper);
58 if (link_mapper.
error())
63 for(
size_t i=0; i<
mModules.size(); ++i)
74 const std::vector< vl::ref<VLXTaggedValue> >&
modules()
const {
return mModules; }
77 std::vector< vl::ref<VLXTaggedValue> >
mModules;
Links several VLX hierachies also resolving IDs across them.
const std::vector< vl::ref< VLXTaggedValue > > & modules() const
std::vector< vl::ref< VLXTaggedValue > > & modules()
std::vector< vl::ref< VLXTaggedValue > > mModules
Substitutes IDs into VLXStructures using the provided link map.
Compiles the link-map which associates a VLXStructure to it's ID, to be used later by other visitors...
void add(VLXTaggedValue *module)
Base class for VLX values with a tag.