From 5a2e172ce1f2d823bf0957602662bbab0c0dcd0b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 11 May 2012 12:07:56 +0200 Subject: Move lookup to semantic graph from parser --- cli/parser.hxx | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'cli/parser.hxx') diff --git a/cli/parser.hxx b/cli/parser.hxx index f7f6d68..29f4b22 100644 --- a/cli/parser.hxx +++ b/cli/parser.hxx @@ -61,25 +61,6 @@ private: void recover (token& t); - // Lookup a name in the specified starting scope. Empty scope denotes - // the global namespace. Starting scope should be a fully-qualified - // name while name can be qualified but should not be fully-qualified - // (to lookup a fully-qualified name use the global namespace as the - // starting scope). - // - // If starting unit is not specified, the lookup is performed in the - // current unit. It then continues in all the units that the starting - // unit includes, transitively. - // - // The outer flag specifies whether to search the outer scopes. - // - template - T* - lookup (std::string const& scope, - std::string const& name, - semantics::cli_unit* unit = 0, - bool outer = true); - private: paths const include_paths_; -- cgit v1.1