errorMessage = "Could not parse contents";
}
Module neoModule = parsedModule.module;
ASTNode elem = ASTNodeFinder.findElement(neoModule, offset);
if(elem instanceof DefSymbol) {
DefSymbol defSymbol = (DefSymbol) elem;
defunit = defSymbol.getDefUnit();
} else if(elem instanceof Reference) {
Reference ref = (Reference) elem;
IModuleResolver mr = DToolClient_Bad.getResolverFor(inputPath);
defunit = ref.findTargetDefElement(mr);
if(defunit == null) {