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

Unified Diff: runtime/observatory/lib/src/models/objects/script.dart

Issue 2277543004: Converted Observatory script-inset & source-inset elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed long line Created 4 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/observatory/lib/src/models/objects/script.dart
diff --git a/runtime/observatory/lib/src/models/objects/script.dart b/runtime/observatory/lib/src/models/objects/script.dart
index 3736651a058fa0813292aefa85f58d372a8e915f..df4b63be8117a49dff0576245429c6fed807a679 100644
--- a/runtime/observatory/lib/src/models/objects/script.dart
+++ b/runtime/observatory/lib/src/models/objects/script.dart
@@ -11,12 +11,18 @@ abstract class ScriptRef extends ObjectRef {
abstract class Script extends Object implements ScriptRef {
/// The library which owns this script.
- // LibraryRef get library;
+ LibraryRef get library;
/// The source code for this script. For certain built-in scripts,
/// this may be reconstructed without source comments.
String get source;
+ DateTime get loadTime;
+ int get firstTokenPos;
+ int get lastTokenPos;
+ int get lineOffset;
+ int get columnOffset;
+
int tokenToLine(int token);
int tokenToCol(int token);
}

Powered by Google App Engine
This is Rietveld 408576698