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

Side by Side Diff: pkg/meta/meta.dart

Issue 10877024: Add support for the metadata we currently support in comments (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« 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
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 /**
6 * This library contains the definitions of annotations that provide additional
7 * semantic information about the program being annotated. These annotations are
8 * intended to be used by tools to provide a better user experience.
9 */
10 library meta;
11
12 /**
13 * An annotation used to mark a class, field, getter, setter, method, top-level
14 * variable, or top-level function as one that should no longer be used. Tools
15 * can use this annotation to provide a warning on references to the marked
16 * element.
17 */
18 const deprecated = const _Deprecated();
19
20 class _Deprecated {
21 const _Deprecated();
22 }
23
24 /**
25 * An annotation used to mark an instance member (method, field, getter or
26 * setter) as one that is intended to be overriding an inherited class member.
Bob Nystrom 2012/08/22 20:41:57 "one that is intended to be overriding" -> "overri
Brian Wilkerson 2012/08/23 14:52:52 Done.
27 * Tools can use this annotation to provide a warning if there is no overridden
28 * member.
29 */
30 const override = const _Override();
31
32 class _Override {
33 const _Override();
34 }
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