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

Unified Diff: runtime/vm/object.h

Issue 2512653002: Merge of source position information from kernel-sdk. (Closed)
Patch Set: Created 4 years, 1 month 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 837b83383aed31c5391ce05c4e2302e9edbfd5a4..f58d06b4da325543b232e5e2a5182045d32d8ca7 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3501,6 +3501,10 @@ class Script : public Object {
RawTokenStream* tokens() const { return raw_ptr()->tokens_; }
+ RawArray* line_starts() const { return raw_ptr()->line_starts_; }
+
+ void set_line_starts(const Array& value) const;
+
void Tokenize(const String& private_key, bool use_shared_tokens = true) const;
RawLibrary* FindLibrary() const;
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698