| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.source; | 8 library engine.source; |
| 9 | 9 |
| 10 import "dart:math" as math; | 10 import "dart:math" as math; |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 int get hashCode; | 432 int get hashCode; |
| 433 | 433 |
| 434 /** | 434 /** |
| 435 * Return `true` if this source is in one of the system libraries. | 435 * Return `true` if this source is in one of the system libraries. |
| 436 * | 436 * |
| 437 * @return `true` if this is in a system library | 437 * @return `true` if this is in a system library |
| 438 */ | 438 */ |
| 439 bool get isInSystemLibrary; | 439 bool get isInSystemLibrary; |
| 440 | 440 |
| 441 /** | 441 /** |
| 442 * Return the modification stamp for this source. A modification stamp is a no
n-negative integer | 442 * Return the modification stamp for this source, or a negative value if the |
| 443 * with the property that if the contents of the source have not been modified
since the last time | 443 * source does not exist. A modification stamp is a non-negative integer with |
| 444 * the modification stamp was accessed then the same value will be returned, b
ut if the contents | 444 * the property that if the contents of the source have not been modified |
| 445 * of the source have been modified one or more times (even if the net change
is zero) the stamps | 445 * since the last time the modification stamp was accessed then the same value |
| 446 * will be different. | 446 * will be returned, but if the contents of the source have been modified one |
| 447 * or more times (even if the net change is zero) the stamps will be different
. |
| 447 * | 448 * |
| 448 * Clients should consider using the the method | 449 * Clients should consider using the the method |
| 449 * [AnalysisContext.getModificationStamp] because contexts can have local over
rides | 450 * [AnalysisContext.getModificationStamp] because contexts can have local |
| 450 * of the content of a source that the source is not aware of. | 451 * overrides of the content of a source that the source is not aware of. |
| 451 * | |
| 452 * @return the modification stamp for this source | |
| 453 */ | 452 */ |
| 454 int get modificationStamp; | 453 int get modificationStamp; |
| 455 | 454 |
| 456 /** | 455 /** |
| 457 * Return a short version of the name that can be displayed to the user to den
ote this source. For | 456 * Return a short version of the name that can be displayed to the user to den
ote this source. For |
| 458 * example, for a source representing a file this would typically be the name
of the file. | 457 * example, for a source representing a file this would typically be the name
of the file. |
| 459 * | 458 * |
| 460 * @return a name that can be displayed to the user to denote this source | 459 * @return a name that can be displayed to the user to denote this source |
| 461 */ | 460 */ |
| 462 String get shortName; | 461 String get shortName; |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 984 | 983 |
| 985 /** | 984 /** |
| 986 * Return an absolute URI that represents the given source, or `null` if a val
id URI cannot | 985 * Return an absolute URI that represents the given source, or `null` if a val
id URI cannot |
| 987 * be computed. | 986 * be computed. |
| 988 * | 987 * |
| 989 * @param source the source to get URI for | 988 * @param source the source to get URI for |
| 990 * @return the absolute URI representing the given source | 989 * @return the absolute URI representing the given source |
| 991 */ | 990 */ |
| 992 Uri restoreAbsolute(Source source) => null; | 991 Uri restoreAbsolute(Source source) => null; |
| 993 } | 992 } |
| OLD | NEW |