| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart2js.mirrors; | 5 part of dart2js.mirrors; |
| 6 | 6 |
| 7 | 7 |
| 8 class Dart2JsLibraryMirror | 8 class Dart2JsLibraryMirror |
| 9 extends Dart2JsElementMirror | 9 extends Dart2JsElementMirror |
| 10 with ObjectMirrorMixin, ContainerMixin | 10 with ObjectMirrorMixin, ContainerMixin |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 int get offset => _span.begin; | 227 int get offset => _span.begin; |
| 228 | 228 |
| 229 int get length => _span.end - _span.begin; | 229 int get length => _span.end - _span.begin; |
| 230 | 230 |
| 231 String get text => _script.text.substring(_span.begin, _span.end); | 231 String get text => _script.text.substring(_span.begin, _span.end); |
| 232 | 232 |
| 233 Uri get sourceUri => _script.resourceUri; | 233 Uri get sourceUri => _script.resourceUri; |
| 234 | 234 |
| 235 String get sourceText => _script.text; | 235 String get sourceText => _script.text; |
| 236 } | 236 } |
| OLD | NEW |