Chromium Code Reviews

Side by Side Diff: packages/source_span/lib/src/location.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library source_span.location; 5 library source_span.location;
6 6
7 import 'span.dart'; 7 import 'span.dart';
8 8
9 // TODO(nweiz): Use SourceLocationMixin once we decide to cut a release with 9 // TODO(nweiz): Use SourceLocationMixin once we decide to cut a release with
10 // breaking changes. See SourceLocationMixin for details. 10 // breaking changes. See SourceLocationMixin for details.
(...skipping 80 matching lines...)
91 91
92 String toString() => '<$runtimeType: $offset $toolString>'; 92 String toString() => '<$runtimeType: $offset $toolString>';
93 } 93 }
94 94
95 /// A base class for source locations with [offset], [line], and [column] known 95 /// A base class for source locations with [offset], [line], and [column] known
96 /// at construction time. 96 /// at construction time.
97 class SourceLocationBase extends SourceLocation { 97 class SourceLocationBase extends SourceLocation {
98 SourceLocationBase(int offset, {sourceUrl, int line, int column}) 98 SourceLocationBase(int offset, {sourceUrl, int line, int column})
99 : super(offset, sourceUrl: sourceUrl, line: line, column: column); 99 : super(offset, sourceUrl: sourceUrl, line: line, column: column);
100 } 100 }
OLDNEW
« no previous file with comments | « packages/source_span/lib/src/file.dart ('k') | packages/source_span/lib/src/location_mixin.dart » ('j') | no next file with comments »

Powered by Google App Engine