| 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 file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script | 6 // To regenerate the file, use the script |
| 7 // "pkg/analysis_server/tool/spec/generate_files". | 7 // "pkg/analysis_server/tool/spec/generate_files". |
| 8 | 8 |
| 9 part of analysis_server.plugin.protocol.protocol; | 9 part of analysis_server.plugin.protocol.protocol; |
| 10 | 10 |
| (...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1707 /** | 1707 /** |
| 1708 * A list of the files and directories within the included directories that | 1708 * A list of the files and directories within the included directories that |
| 1709 * should not be analyzed. | 1709 * should not be analyzed. |
| 1710 */ | 1710 */ |
| 1711 void set excluded(List<String> value) { | 1711 void set excluded(List<String> value) { |
| 1712 assert(value != null); | 1712 assert(value != null); |
| 1713 this._excluded = value; | 1713 this._excluded = value; |
| 1714 } | 1714 } |
| 1715 | 1715 |
| 1716 /** | 1716 /** |
| 1717 * Deprecated: This field is now ignored by server. |
| 1718 * |
| 1717 * A mapping from source directories to package roots that should override | 1719 * A mapping from source directories to package roots that should override |
| 1718 * the normal package: URI resolution mechanism. | 1720 * the normal package: URI resolution mechanism. |
| 1719 * | 1721 * |
| 1720 * If a package root is a directory, then the analyzer will behave as though | 1722 * If a package root is a directory, then the analyzer will behave as though |
| 1721 * the associated source directory in the map contains a special pubspec.yaml | 1723 * the associated source directory in the map contains a special pubspec.yaml |
| 1722 * file which resolves any package: URI to the corresponding path within that | 1724 * file which resolves any package: URI to the corresponding path within that |
| 1723 * package root directory. The effect is the same as specifying the package | 1725 * package root directory. The effect is the same as specifying the package |
| 1724 * root directory as a "--package_root" parameter to the Dart VM when | 1726 * root directory as a "--package_root" parameter to the Dart VM when |
| 1725 * executing any Dart file inside the source directory. | 1727 * executing any Dart file inside the source directory. |
| 1726 * | 1728 * |
| 1727 * If a package root is a file, then the analyzer will behave as though that | 1729 * If a package root is a file, then the analyzer will behave as though that |
| 1728 * file is a ".packages" file in the source directory. The effect is the same | 1730 * file is a ".packages" file in the source directory. The effect is the same |
| 1729 * as specifying the file as a "--packages" parameter to the Dart VM when | 1731 * as specifying the file as a "--packages" parameter to the Dart VM when |
| 1730 * executing any Dart file inside the source directory. | 1732 * executing any Dart file inside the source directory. |
| 1731 * | 1733 * |
| 1732 * Files in any directories that are not overridden by this mapping have | 1734 * Files in any directories that are not overridden by this mapping have |
| 1733 * their package: URI's resolved using the normal pubspec.yaml mechanism. If | 1735 * their package: URI's resolved using the normal pubspec.yaml mechanism. If |
| 1734 * this field is absent, or the empty map is specified, that indicates that | 1736 * this field is absent, or the empty map is specified, that indicates that |
| 1735 * the normal pubspec.yaml mechanism should always be used. | 1737 * the normal pubspec.yaml mechanism should always be used. |
| 1736 */ | 1738 */ |
| 1737 Map<String, String> get packageRoots => _packageRoots; | 1739 Map<String, String> get packageRoots => _packageRoots; |
| 1738 | 1740 |
| 1739 /** | 1741 /** |
| 1742 * Deprecated: This field is now ignored by server. |
| 1743 * |
| 1740 * A mapping from source directories to package roots that should override | 1744 * A mapping from source directories to package roots that should override |
| 1741 * the normal package: URI resolution mechanism. | 1745 * the normal package: URI resolution mechanism. |
| 1742 * | 1746 * |
| 1743 * If a package root is a directory, then the analyzer will behave as though | 1747 * If a package root is a directory, then the analyzer will behave as though |
| 1744 * the associated source directory in the map contains a special pubspec.yaml | 1748 * the associated source directory in the map contains a special pubspec.yaml |
| 1745 * file which resolves any package: URI to the corresponding path within that | 1749 * file which resolves any package: URI to the corresponding path within that |
| 1746 * package root directory. The effect is the same as specifying the package | 1750 * package root directory. The effect is the same as specifying the package |
| 1747 * root directory as a "--package_root" parameter to the Dart VM when | 1751 * root directory as a "--package_root" parameter to the Dart VM when |
| 1748 * executing any Dart file inside the source directory. | 1752 * executing any Dart file inside the source directory. |
| 1749 * | 1753 * |
| (...skipping 15285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17035 return false; | 17039 return false; |
| 17036 } | 17040 } |
| 17037 | 17041 |
| 17038 @override | 17042 @override |
| 17039 int get hashCode { | 17043 int get hashCode { |
| 17040 int hash = 0; | 17044 int hash = 0; |
| 17041 hash = JenkinsSmiHash.combine(hash, newName.hashCode); | 17045 hash = JenkinsSmiHash.combine(hash, newName.hashCode); |
| 17042 return JenkinsSmiHash.finish(hash); | 17046 return JenkinsSmiHash.finish(hash); |
| 17043 } | 17047 } |
| 17044 } | 17048 } |
| OLD | NEW |