parse and cache namespace and use-clauses, and cover in unit-test