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

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

Issue 46593003: Add @proxy to annotations.dart - remove package:meta. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head Created 7 years, 1 month 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 | « pkg/logging/lib/logging.dart ('k') | pkg/meta/pubspec.yaml » ('j') | 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 * Constants for use in metadata annotations such as
7 * `@proxy`.
8 *
9 * See also `@deprecated` and `@override` in the `dart:core` library.
10 *
11 * Annotations provide semantic information
12 * that tools can use to provide a better user experience.
13 * For example, an IDE might not autocomplete
14 * the name of a function that's been marked `@deprecated`,
15 * or it might display the function's name differently.
16 *
17 * For information on installing and importing this library, see the
18 * [meta package on pub.dartlang.org]
19 * (http://pub.dartlang.org/packages/meta).
20 * For examples of using annotations, see
21 * [Metadata](https://www.dartlang.org/docs/dart-up-and-running/contents/ch02.ht ml#ch02-metadata)
22 * in the language tour.
23 */
24 library meta;
25
26 /**
27 * An annotation used to mark a class that should be considered to implement
28 * every possible getter, setter and method. Tools can use this annotation to
29 * suppress warnings when there is no explicit implementation of a referenced
30 * member. Tools should provide a hint if this annotation is applied to a class
31 * that does not implement or inherit an implementation of the method
32 * [:noSuchMethod:] (other than the implementation in [Object]). Note that
33 * classes are not affected by the use of this annotation on a supertype.
34 */
35 const proxy = const _Proxy();
36
37 class _Proxy {
38 const _Proxy();
39 }
OLDNEW
« no previous file with comments | « pkg/logging/lib/logging.dart ('k') | pkg/meta/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698