better error-handling, importing entire packages. Cache now keyed by FQName
diff --git a/Coordinator.h b/Coordinator.h
index 54eaa7e..00e7f0b 100644
--- a/Coordinator.h
+++ b/Coordinator.h
@@ -16,14 +16,14 @@
Coordinator();
~Coordinator();
- AST *parse(const char *path);
+ AST *parse(const FQName &fqName);
Type *lookupType(const FQName &fqName) const;
static std::string GetPackagePath(const FQName &fqName);
private:
- KeyedVector<std::string, AST *> mCache;
+ KeyedVector<FQName, AST *> mCache;
DISALLOW_COPY_AND_ASSIGN(Coordinator);
};