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

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

Issue 2345023003: Use dartfmt on Observatory code (Closed)
Patch Set: merge Created 4 years, 3 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/source_location.dart
diff --git a/runtime/observatory/lib/src/models/objects/source_location.dart b/runtime/observatory/lib/src/models/objects/source_location.dart
index 5fc8b6cf8198a1050983c5495310324906e30120..1e1188baba97d1cf620eea3d887ce05a625f3f48 100644
--- a/runtime/observatory/lib/src/models/objects/source_location.dart
+++ b/runtime/observatory/lib/src/models/objects/source_location.dart
@@ -7,6 +7,7 @@ part of models;
abstract class Location {
/// The script containing the source location.
ScriptRef get script;
+
/// The last token of the location if this is a range. [optional]
int get tokenPos;
}
@@ -14,6 +15,7 @@ abstract class Location {
abstract class SourceLocation implements Location {
/// The last token of the location if this is a range.
int get tokenPos;
+
/// The last token of the location if this is a range. [optional]
int get endTokenPos;
}
@@ -22,9 +24,11 @@ abstract class UnresolvedSourceLocation implements Location {
// [optional] The uri of the script containing the source location if the
// script has yet to be loaded.
String get scriptUri;
+
/// [optional] An approximate line number for the source location. This may
/// change when the location is resolved.
int get line;
+
/// [optional] An approximate column number for the source location. This may
/// change when the location is resolved.
int get column;

Powered by Google App Engine
This is Rietveld 408576698