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

Side by Side Diff: sdk/lib/core/function.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/expando.dart ('k') | sdk/lib/core/identical.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 * The base class for all function types. 8 * The base class for all function types.
9 * 9 *
10 * A function value, or an instance of a class with a "call" method, is a 10 * A function value, or an instance of a class with a "call" method, is a
11 * subtype of a function type, and as such, a subtype of [Function]. 11 * subtype of a function type, and as such, a subtype of [Function].
12 */ 12 */
13 abstract class Function { 13 abstract class Function {
14 /** 14 /**
15 * Dynamically call [function] with the specified arguments. 15 * Dynamically call [function] with the specified arguments.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 * 57 *
58 * Function expressions never give rise to equal function objects. Each time 58 * Function expressions never give rise to equal function objects. Each time
59 * a function expression is evaluated, it creates a new closure value that 59 * a function expression is evaluated, it creates a new closure value that
60 * is not known to be equal to other closures created by the same expression. 60 * is not known to be equal to other closures created by the same expression.
61 * 61 *
62 * Classes implementing `Function` by having a `call` method should have their 62 * Classes implementing `Function` by having a `call` method should have their
63 * own `operator==` and `hashCode` depending on the object. 63 * own `operator==` and `hashCode` depending on the object.
64 */ 64 */
65 bool operator ==(Object other); 65 bool operator ==(Object other);
66 } 66 }
OLDNEW
« no previous file with comments | « sdk/lib/core/expando.dart ('k') | sdk/lib/core/identical.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698