36a67fa046803bf0d8b83ae604e8b6a69675320c
This implements const constructor fromEnvironment on bool, int and String. The VM have the added -Dname=value option to define the value for the properties. All values are provided by using the -D - nothing is read from the environment. If the resulting value is null or - in the case of int.fromEnvironment - not a number an ArgumentError is thrown. This CL does not have any implementation for dart2js. This is a continuation of the change https://chromiumcodereview.appspot.com/24975002 by iposva@ BUG= R=iposva@google.com Review URL: https://codereview.chromium.org//50983002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29642 260f80e4-7a28-3924-810f-c04153c831b5
This is the repository of the Dart programming language and its associated tools, libraries, and samples. For license information, please see LICENSE. You can find more about Dart online at http://dartlang.org or http://code.google.com/p/dart. Here's a brief guide to what's in here: editor/ Eclipse-based standalone Dart IDE. lib/ Libraries that ship with the Dart runtime (core, html, etc.). pkg/ Packages that are not shipped with the core runtime. runtime/ Dart VM and code for running it as a standalone app. samples/ Sample Dart programs. tests/ Automated tests. third_party/ External dependencies. tools/ Build scripts, text editor support files, etc. utils/ Utilities for Dart applications.
Description
Languages
Dart
84.6%
C++
13%
Python
0.7%
JavaScript
0.5%
HTML
0.4%
Other
0.5%