class IDL::AST::Module
def copy_from(_template, _context)
def copy_from(_template, _context) super if _template.has_anchor? # module anchor is first to be copied/instantiated and # should be registered in _context @anchor = IDL::AST::TemplateParam.concrete_param(_context, _template.anchor) # link ourself into module chain @anchor.find_last.set_next(self) end @next = nil # to be sure self end