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

Side by Side Diff: sdk/lib/io/platform.dart

Issue 1642683002: Small tweaks to isolate doc comments (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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 | « no previous file | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.io; 5 part of dart.io;
6 6
7 /** 7 /**
8 * Information about the environment in which the current program is running. 8 * Information about the environment in which the current program is running.
9 * 9 *
10 * Platform provides information such as the operating system, 10 * Platform provides information such as the operating system,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 /** 175 /**
176 * Returns the flags passed to the executable used to run the script in this 176 * Returns the flags passed to the executable used to run the script in this
177 * isolate. These are the command-line flags between the executable name 177 * isolate. These are the command-line flags between the executable name
178 * and the script name. Each fetch of executableArguments returns a new 178 * and the script name. Each fetch of executableArguments returns a new
179 * List, containing the flags passed to the executable. 179 * List, containing the flags passed to the executable.
180 */ 180 */
181 static List<String> get executableArguments => _Platform.executableArguments; 181 static List<String> get executableArguments => _Platform.executableArguments;
182 182
183 /** 183 /**
184 * Returns the value of the --package-root flag passed to the executable 184 * Returns the value of the `--package-root` flag passed to the executable
185 * used to run the script in this isolate. This is the directory in which 185 * used to run the script in this isolate. This is the directory in which
186 * Dart packages are looked up. 186 * Dart packages are looked up.
187 * 187 *
188 * If there is no --package-root flag, then null is returned. 188 * If there is no `--package-root` flag, `null` is returned.
189 */ 189 */
190 static String get packageRoot => _Platform.packageRoot; 190 static String get packageRoot => _Platform.packageRoot;
191 191
192 /** 192 /**
193 * Returns the value of the --packages flag passed to the executable 193 * Returns the value of the `--packages` flag passed to the executable
194 * used to run the script in this isolate. This is the configuration which 194 * used to run the script in this isolate. This is the configuration which
195 * specifies how Dart packages are looked up. 195 * specifies how Dart packages are looked up.
196 * 196 *
197 * If there is no --packages flag, then the null is returned. 197 * If there is no `--packages` flag, `null` is returned.
198 */ 198 */
199 static String get packageConfig => _Platform.packageConfig; 199 static String get packageConfig => _Platform.packageConfig;
200 200
201 /** 201 /**
202 * Returns the version of the current Dart runtime. 202 * Returns the version of the current Dart runtime.
203 * 203 *
204 * The returned `String` is formatted as the 204 * The returned `String` is formatted as the
205 * [semver](http://semver.org) version string of the current dart 205 * [semver](http://semver.org) version string of the current dart
206 * runtime, possibly followed by whitespace and other version and 206 * runtime, possibly followed by whitespace and other version and
207 * build details. 207 * build details.
208 */ 208 */
209 static String get version => _version; 209 static String get version => _version;
210 } 210 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698