OLD | NEW |
---|---|
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 library metadata; | 5 library metadata; |
6 | 6 |
7 /** | 7 /** |
8 * An annotation used to mark a feature as only being supported by a subset | 8 * An annotation used to mark a feature as only being supported by a subset |
9 * of the browsers that Dart supports by default. | 9 * of the browsers that Dart supports by default. |
10 * | 10 * |
(...skipping 22 matching lines...) Expand all Loading... | |
33 * An API is considered to be experimental if it is still going through the | 33 * An API is considered to be experimental if it is still going through the |
34 * process of stabilizing and is subject to change or removal. | 34 * process of stabilizing and is subject to change or removal. |
35 * | 35 * |
36 * See also: | 36 * See also: |
37 * | 37 * |
38 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation) | 38 * * [W3C recommendation](http://en.wikipedia.org/wiki/W3C_recommendation) |
39 */ | 39 */ |
40 class Experimental { | 40 class Experimental { |
41 const Experimental(); | 41 const Experimental(); |
42 } | 42 } |
43 | |
44 | |
45 /** | |
46 * Metadata that specifies the DOM name associated with the element. | |
47 * | |
48 * This is used for API generation. | |
49 * | |
50 * [name] should be formatted as `interface.member`. | |
51 */ | |
52 class DomName { | |
53 final name; | |
sra1
2013/01/15 11:47:13
Any reason this is not:
final String name;
| |
54 const DomName(this.name); | |
55 } | |
OLD | NEW |