OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
kasperl
2013/04/11 10:48:58
2013
ahe
2013/04/11 11:26:06
Done.
| |
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. | |
4 | |
5 part of dart.core; | |
6 | |
7 /// Opaque name used by mirrors, invocations and [Function.apply]. | |
8 class Symbol { | |
9 | |
10 /** | |
11 * Constructs a new Symbol. | |
12 * | |
13 * An [ArgumentError] is thrown if [name] starts with an underscore, | |
14 * or if [name] is not a [String]. An [ArgumentError] is thrown if | |
15 * [name] is not the empty string and is not a valid identifier | |
16 * optionally followed by [:'=':]. | |
kasperl
2013/04/11 10:48:58
Do we expect to need the = suffix long term?
ahe
2013/04/11 11:26:06
It's in the specification.
| |
17 */ | |
18 external const Symbol(String name); | |
19 } | |
OLD | NEW |