Chromium Code Reviews| 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); |