Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3037)

Unified Diff: runtime/vm/parser.h

Issue 23484020: Update handling of ambiguous name references (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 27310)
+++ runtime/vm/parser.h (working copy)
@@ -598,23 +598,15 @@
const String& ident);
// Find class with the given name in the library or prefix scope.
- RawClass* ResolveClassInCurrentLibraryScope(intptr_t ident_pos,
- const String& name,
- Error* error);
- RawClass* ResolveClassInPrefixScope(intptr_t ident_pos,
- const LibraryPrefix& prefix,
- const String& name,
- Error* error);
+ RawClass* ResolveClassInCurrentLibraryScope(const String& name);
+ RawClass* ResolveClassInPrefixScope(const LibraryPrefix& prefix,
+ const String& name);
// Find name in the library or prefix scope and return the corresponding
// object (field, class, function etc).
- RawObject* ResolveNameInCurrentLibraryScope(intptr_t ident_pos,
- const String& ident,
- Error* error);
- RawObject* ResolveNameInPrefixScope(intptr_t ident_pos,
- const LibraryPrefix& prefix,
- const String& name,
- Error* error);
+ RawObject* ResolveNameInCurrentLibraryScope(const String& ident);
+ RawObject* ResolveNameInPrefixScope(const LibraryPrefix& prefix,
+ const String& name);
AstNode* ResolveIdent(intptr_t ident_pos,
const String& ident,
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698