| OLD | NEW |
| 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 analyzer.src.generated.source; | 5 library analyzer.src.generated.source; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import "dart:math" as math; | 8 import "dart:math" as math; |
| 9 | 9 |
| 10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 @override | 477 @override |
| 478 int get hashCode; | 478 int get hashCode; |
| 479 | 479 |
| 480 /** | 480 /** |
| 481 * Return `true` if this source is in one of the system libraries. | 481 * Return `true` if this source is in one of the system libraries. |
| 482 * | 482 * |
| 483 * @return `true` if this is in a system library | 483 * @return `true` if this is in a system library |
| 484 */ | 484 */ |
| 485 bool get isInSystemLibrary; | 485 bool get isInSystemLibrary; |
| 486 | 486 |
| 487 @override |
| 488 Source get librarySource => null; |
| 489 |
| 487 /** | 490 /** |
| 488 * Return the modification stamp for this source, or a negative value if the | 491 * Return the modification stamp for this source, or a negative value if the |
| 489 * source does not exist. A modification stamp is a non-negative integer with | 492 * source does not exist. A modification stamp is a non-negative integer with |
| 490 * the property that if the contents of the source have not been modified | 493 * the property that if the contents of the source have not been modified |
| 491 * since the last time the modification stamp was accessed then the same value | 494 * since the last time the modification stamp was accessed then the same value |
| 492 * will be returned, but if the contents of the source have been modified one | 495 * will be returned, but if the contents of the source have been modified one |
| 493 * or more times (even if the net change is zero) the stamps will be different
. | 496 * or more times (even if the net change is zero) the stamps will be different
. |
| 494 * | 497 * |
| 495 * Clients should consider using the method | 498 * Clients should consider using the method |
| 496 * [AnalysisContext.getModificationStamp] because contexts can have local | 499 * [AnalysisContext.getModificationStamp] because contexts can have local |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 Source resolveAbsolute(Uri uri, [Uri actualUri]); | 933 Source resolveAbsolute(Uri uri, [Uri actualUri]); |
| 931 | 934 |
| 932 /** | 935 /** |
| 933 * Return an absolute URI that represents the given [source], or `null` if a | 936 * Return an absolute URI that represents the given [source], or `null` if a |
| 934 * valid URI cannot be computed. | 937 * valid URI cannot be computed. |
| 935 * | 938 * |
| 936 * The computation should be based solely on [source.fullName]. | 939 * The computation should be based solely on [source.fullName]. |
| 937 */ | 940 */ |
| 938 Uri restoreAbsolute(Source source) => null; | 941 Uri restoreAbsolute(Source source) => null; |
| 939 } | 942 } |
| OLD | NEW |