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

Unified Diff: runtime/vm/parser.h

Issue 10823396: Implement import scope (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 10915)
+++ runtime/vm/parser.h (working copy)
@@ -482,11 +482,21 @@
AstNode** node);
static const bool kResolveLocally = true;
static const bool kResolveIncludingImports = false;
- AstNode* ResolveIdentInLibraryScope(const Library& lib,
- const QualIdent& qual_ident,
- bool resolve_locally);
- AstNode* ResolveIdentInLibraryPrefixScope(const LibraryPrefix& lib_prefix,
- const QualIdent& qual_ident);
+ AstNode* ResolveIdentInPrefixScope(intptr_t ident_pos,
+ const LibraryPrefix& prefix,
+ const String& ident);
+ RawClass* ResolveClassInPrefixScope(intptr_t ident_pos,
+ const LibraryPrefix& prefix,
+ const String& name);
+ RawClass* ResolveClassInCurrentLibraryScope(intptr_t ident_pos,
+ const String& name);
+ RawObject* ResolveNameInCurrentLibraryScope(intptr_t ident_pos,
+ const String& ident);
+ RawObject* ResolveNameInPrefixScope(intptr_t ident_pos,
+ const LibraryPrefix& prefix,
+ const String& name);
+ AstNode* ResolveIdentInCurrentLibraryScope(intptr_t ident_pos,
+ const String& ident);
regis 2012/08/17 20:23:07 Reorder these 6 methods and group them in pairs. E
hausner 2012/08/17 21:05:52 Done.
AstNode* ResolveIdent(intptr_t ident_pos,
const String& ident,
bool allow_closure_names);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698