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

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

Issue 23172011: Implement the proxy annotation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
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 /** 5 /**
6 * This library contains the definitions of annotations that provide additional 6 * This library contains the definitions of annotations that provide additional
7 * semantic information about the program being annotated. These annotations are 7 * semantic information about the program being annotated. These annotations are
8 * intended to be used by tools to provide a better user experience. 8 * intended to be used by tools to provide a better user experience.
9 * 9 *
10 * ## Installing ## 10 * ## Installing ##
(...skipping 28 matching lines...) Expand all
39 /** 39 /**
40 * An annotation used to mark an instance member (method, field, getter or 40 * An annotation used to mark an instance member (method, field, getter or
41 * setter) as overriding an inherited class member. Tools can use this 41 * setter) as overriding an inherited class member. Tools can use this
42 * annotation to provide a warning if there is no overridden member. 42 * annotation to provide a warning if there is no overridden member.
43 */ 43 */
44 const override = const _Override(); 44 const override = const _Override();
45 45
46 class _Override { 46 class _Override {
47 const _Override(); 47 const _Override();
48 } 48 }
49
50 /**
51 * An annotation used to mark a class that should be considered to implement
52 * every possible getter, setter and method. Tools can use this annotation to
53 * suppress warnings when there is no explicit implementation of a referenced
54 * member. Tools should provide a hint if this annotation is applied to a class
55 * that does not implement or inherit an implementation of the method
56 * [:noSuchMethod:] (other than the implementation in [Object]).
57 */
58 const proxy = const _Proxy();
59
gbracha 2013/08/20 17:39:32 This seems reasonable to me, though I'm not sure t
Brian Wilkerson 2013/08/20 17:48:29 Understood. I was just doing what Lars suggested.
60 class _Proxy {
61 const _Proxy();
62 }
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