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

Side by Side Diff: sdk/lib/core/expando.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years 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 | « sdk/lib/core/exceptions.dart ('k') | sdk/lib/core/expect.dart » ('j') | 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 part of dart.core;
6
5 /** 7 /**
6 * An [Expando] allows adding new properties to objects. 8 * An [Expando] allows adding new properties to objects.
7 */ 9 */
8 class Expando<T> { 10 class Expando<T> {
9 11
10 /** 12 /**
11 * The name of the this [Expando] as passed to the constructor. If 13 * The name of the this [Expando] as passed to the constructor. If
12 * no name was passed to the constructor, the name is [null]. 14 * no name was passed to the constructor, the name is [null].
13 */ 15 */
14 final String name; 16 final String name;
(...skipping 19 matching lines...) Expand all
34 external T operator [](Object object); 36 external T operator [](Object object);
35 37
36 /** 38 /**
37 * Sets the value of this [Expando]'s property on the given 39 * Sets the value of this [Expando]'s property on the given
38 * object. Properties can effectively be removed again by setting 40 * object. Properties can effectively be removed again by setting
39 * their value to null. 41 * their value to null.
40 */ 42 */
41 external void operator []=(Object object, T value); 43 external void operator []=(Object object, T value);
42 44
43 } 45 }
OLDNEW
« no previous file with comments | « sdk/lib/core/exceptions.dart ('k') | sdk/lib/core/expect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698