| 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;
|
|
|