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

Unified Diff: runtime/vm/parser.h

Issue 922023002: Implement DeclarationMirror.location for all but ParameterMirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index 326906dfe6216ec7d1e18bdf5c6d066b49c6089d..e5089c4145428f992d0dd0622ee70efa864b1e8d 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -208,6 +208,9 @@ class Parser : public ValueObject {
static void ParseCompilationUnit(const Library& library,
const Script& script);
+ static intptr_t FindLibraryDeclarationPosition(const Library& library,
+ const Script& script);
+
// Parse top level of a class and register all functions/fields.
static void ParseClass(const Class& cls);
@@ -439,6 +442,7 @@ class Parser : public ValueObject {
const String& url);
void ParseIdentList(GrowableObjectArray* names);
void ParseLibraryDefinition();
+ intptr_t GetLibraryDeclarationPosition();
void ParseLibraryName();
void ParseLibraryImportExport(intptr_t metadata_pos);
void ParseLibraryPart();
« 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