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

Side by Side Diff: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java

Issue 2382053002: Remove unused option in server API (Closed)
Patch Set: Created 4 years, 2 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/test/test_all.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015, the Dart project authors. 2 * Copyright (c) 2015, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 * but they will remain in the set of requested roots. 167 * but they will remain in the set of requested roots.
168 * 168 *
169 * If an included path represents a file, then server will look in the directo ry containing the 169 * If an included path represents a file, then server will look in the directo ry containing the
170 * file for a pubspec.yaml file. If none is found, then the parents of the dir ectory will be 170 * file for a pubspec.yaml file. If none is found, then the parents of the dir ectory will be
171 * searched until such a file is found or the root of the file system is reach ed. If such a file is 171 * searched until such a file is found or the root of the file system is reach ed. If such a file is
172 * found, it will be used to resolve package: URI’s within the file. 172 * found, it will be used to resolve package: URI’s within the file.
173 * 173 *
174 * @param included A list of the files and directories that should be analyzed . 174 * @param included A list of the files and directories that should be analyzed .
175 * @param excluded A list of the files and directories within the included dir ectories that should 175 * @param excluded A list of the files and directories within the included dir ectories that should
176 * not be analyzed. 176 * not be analyzed.
177 * @param packageRoots A mapping from source directories to package roots that should override the 177 * @param packageRoots Deprecated: This field is now ignored by server. A mapp ing from source
178 * normal package: URI resolution mechanism. If a package root is a di rectory, then the 178 * directories to package roots that should override the normal packag e: URI resolution
179 * analyzer will behave as though the associated source directory in t he map contains a 179 * mechanism. If a package root is a directory, then the analyzer will behave as though the
180 * special pubspec.yaml file which resolves any package: URI to the co rresponding path 180 * associated source directory in the map contains a special pubspec.y aml file which
181 * within that package root directory. The effect is the same as speci fying the package 181 * resolves any package: URI to the corresponding path within that pac kage root directory.
182 * root directory as a "--package_root" parameter to the Dart VM when executing any Dart 182 * The effect is the same as specifying the package root directory as a "--package_root"
183 * file inside the source directory. If a package root is a file, then the analyzer will 183 * parameter to the Dart VM when executing any Dart file inside the so urce directory. If a
184 * behave as though that file is a ".packages" file in the source dire ctory. The effect is 184 * package root is a file, then the analyzer will behave as though tha t file is a
185 * the same as specifying the file as a "--packages" parameter to the Dart VM when 185 * ".packages" file in the source directory. The effect is the same as specifying the file
186 * executing any Dart file inside the source directory. Files in any d irectories that are 186 * as a "--packages" parameter to the Dart VM when executing any Dart file inside the
187 * not overridden by this mapping have their package: URI's resolved u sing the normal 187 * source directory. Files in any directories that are not overridden by this mapping have
188 * pubspec.yaml mechanism. If this field is absent, or the empty map i s specified, that 188 * their package: URI's resolved using the normal pubspec.yaml mechani sm. If this field is
189 * indicates that the normal pubspec.yaml mechanism should always be u sed. 189 * absent, or the empty map is specified, that indicates that the norm al pubspec.yaml
190 * mechanism should always be used.
190 */ 191 */
191 public void analysis_setAnalysisRoots(List<String> included, List<String> excl uded, Map<String, String> packageRoots); 192 public void analysis_setAnalysisRoots(List<String> included, List<String> excl uded, Map<String, String> packageRoots);
192 193
193 /** 194 /**
194 * {@code analysis.setGeneralSubscriptions} 195 * {@code analysis.setGeneralSubscriptions}
195 * 196 *
196 * Subscribe for general services (that is, services that are not specific to individual files). 197 * Subscribe for general services (that is, services that are not specific to individual files).
197 * All previous subscriptions are replaced by the given set of services. 198 * All previous subscriptions are replaced by the given set of services.
198 * 199 *
199 * It is an error if any of the elements in the list are not valid services. I f there is an error, 200 * It is an error if any of the elements in the list are not valid services. I f there is an error,
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 * the response to this request has been sent. 576 * the response to this request has been sent.
576 */ 577 */
577 public void server_shutdown(); 578 public void server_shutdown();
578 579
579 /** 580 /**
580 * Start the analysis server. 581 * Start the analysis server.
581 */ 582 */
582 public void start() throws Exception; 583 public void start() throws Exception;
583 584
584 } 585 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/test_all.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698