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

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

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 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
« no previous file with comments | « sdk/lib/core/exceptions.dart ('k') | sdk/lib/core/function.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 "core.dart"; 5 part of "dart:core";
6 6
7 /** 7 /**
8 * An [Expando] allows adding new properties to objects. 8 * An [Expando] allows adding new properties to objects.
9 * 9 *
10 * Does not work on numbers, strings, booleans or null. 10 * Does not work on numbers, strings, booleans or null.
11 * 11 *
12 * An `Expando` does not hold on to the added property value after an object 12 * An `Expando` does not hold on to the added property value after an object
13 * becomes inaccessible. 13 * becomes inaccessible.
14 * 14 *
15 * Since you can always create a new number that is identical to an existing 15 * Since you can always create a new number that is identical to an existing
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 /** 54 /**
55 * Sets the value of this [Expando]'s property on the given 55 * Sets the value of this [Expando]'s property on the given
56 * object. Properties can effectively be removed again by setting 56 * object. Properties can effectively be removed again by setting
57 * their value to null. 57 * their value to null.
58 * 58 *
59 * The object must not be a number, a string, a boolean or null. 59 * The object must not be a number, a string, a boolean or null.
60 */ 60 */
61 external void operator []=(Object object, T value); 61 external void operator []=(Object object, T value);
62 } 62 }
OLDNEW
« no previous file with comments | « sdk/lib/core/exceptions.dart ('k') | sdk/lib/core/function.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698