Parse dependants given a module, a root and an import syntax