Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(718)

Side by Side Diff: pkg/analysis_server/lib/plugin/protocol/generated_protocol.dart

Issue 1711353003: update setAnalysisRoots to accept package spec file (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/lib/src/context_manager.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 /** 1656 /**
1657 * A list of the files and directories within the included directories that 1657 * A list of the files and directories within the included directories that
1658 * should not be analyzed. 1658 * should not be analyzed.
1659 */ 1659 */
1660 void set excluded(List<String> value) { 1660 void set excluded(List<String> value) {
1661 assert(value != null); 1661 assert(value != null);
1662 this._excluded = value; 1662 this._excluded = value;
1663 } 1663 }
1664 1664
1665 /** 1665 /**
1666 * A mapping from source directories to target directories that should 1666 * A mapping from source directories to package roots that should override
1667 * override the normal package: URI resolution mechanism. The analyzer will 1667 * the normal package: URI resolution mechanism.
1668 * behave as though each source directory in the map contains a special 1668 *
1669 * pubspec.yaml file which resolves any package: URI to the corresponding 1669 * If a package root is a directory, then the analyzer will behave as though
1670 * path within the target directory. The effect is the same as specifying the 1670 * the associated source directory in the map contains a special pubspec.yaml
1671 * target directory as a "--package_root" parameter to the Dart VM when 1671 * file which resolves any package: URI to the corresponding path within that
1672 * package root directory. The effect is the same as specifying the package
1673 * root directory as a "--package_root" parameter to the Dart VM when
1674 * executing any Dart file inside the source directory.
1675 *
1676 * If a package root is a file, then the analyzer will behave as though that
1677 * file is a ".packages" file in the source directory. The effect is the same
1678 * as specifying the file as a "--packages" parameter to the Dart VM when
1672 * executing any Dart file inside the source directory. 1679 * executing any Dart file inside the source directory.
1673 * 1680 *
1674 * Files in any directories that are not overridden by this mapping have 1681 * Files in any directories that are not overridden by this mapping have
1675 * their package: URI's resolved using the normal pubspec.yaml mechanism. If 1682 * their package: URI's resolved using the normal pubspec.yaml mechanism. If
1676 * this field is absent, or the empty map is specified, that indicates that 1683 * this field is absent, or the empty map is specified, that indicates that
1677 * the normal pubspec.yaml mechanism should always be used. 1684 * the normal pubspec.yaml mechanism should always be used.
1678 */ 1685 */
1679 Map<String, String> get packageRoots => _packageRoots; 1686 Map<String, String> get packageRoots => _packageRoots;
1680 1687
1681 /** 1688 /**
1682 * A mapping from source directories to target directories that should 1689 * A mapping from source directories to package roots that should override
1683 * override the normal package: URI resolution mechanism. The analyzer will 1690 * the normal package: URI resolution mechanism.
1684 * behave as though each source directory in the map contains a special 1691 *
1685 * pubspec.yaml file which resolves any package: URI to the corresponding 1692 * If a package root is a directory, then the analyzer will behave as though
1686 * path within the target directory. The effect is the same as specifying the 1693 * the associated source directory in the map contains a special pubspec.yaml
1687 * target directory as a "--package_root" parameter to the Dart VM when 1694 * file which resolves any package: URI to the corresponding path within that
1695 * package root directory. The effect is the same as specifying the package
1696 * root directory as a "--package_root" parameter to the Dart VM when
1697 * executing any Dart file inside the source directory.
1698 *
1699 * If a package root is a file, then the analyzer will behave as though that
1700 * file is a ".packages" file in the source directory. The effect is the same
1701 * as specifying the file as a "--packages" parameter to the Dart VM when
1688 * executing any Dart file inside the source directory. 1702 * executing any Dart file inside the source directory.
1689 * 1703 *
1690 * Files in any directories that are not overridden by this mapping have 1704 * Files in any directories that are not overridden by this mapping have
1691 * their package: URI's resolved using the normal pubspec.yaml mechanism. If 1705 * their package: URI's resolved using the normal pubspec.yaml mechanism. If
1692 * this field is absent, or the empty map is specified, that indicates that 1706 * this field is absent, or the empty map is specified, that indicates that
1693 * the normal pubspec.yaml mechanism should always be used. 1707 * the normal pubspec.yaml mechanism should always be used.
1694 */ 1708 */
1695 void set packageRoots(Map<String, String> value) { 1709 void set packageRoots(Map<String, String> value) {
1696 this._packageRoots = value; 1710 this._packageRoots = value;
1697 } 1711 }
(...skipping 15196 matching lines...) Expand 10 before | Expand all | Expand 10 after
16894 return false; 16908 return false;
16895 } 16909 }
16896 16910
16897 @override 16911 @override
16898 int get hashCode { 16912 int get hashCode {
16899 int hash = 0; 16913 int hash = 0;
16900 hash = JenkinsSmiHash.combine(hash, newName.hashCode); 16914 hash = JenkinsSmiHash.combine(hash, newName.hashCode);
16901 return JenkinsSmiHash.finish(hash); 16915 return JenkinsSmiHash.finish(hash);
16902 } 16916 }
16903 } 16917 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/lib/src/context_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698