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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * Metadata that specifies the DOM name associated with the element. | 47 * Metadata that specifies the DOM name associated with the element. |
48 * | 48 * |
49 * This is used for API generation. | 49 * This is used for API generation. |
50 * | 50 * |
51 * [name] should be formatted as `interface.member`. | 51 * [name] should be formatted as `interface.member`. |
52 */ | 52 */ |
53 class DomName { | 53 class DomName { |
54 final String name; | 54 final String name; |
55 const DomName(this.name); | 55 const DomName(this.name); |
56 } | 56 } |
| 57 |
| 58 |
| 59 /// Metadata that specifies that that member is editable through generated |
| 60 /// files. |
| 61 class DocsEditable { |
| 62 const DocsEditable(); |
| 63 } |
OLD | NEW |