OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /// Opaque name used by mirrors, invocations and [Function.apply]. | 7 /// Opaque name used by mirrors, invocations and [Function.apply]. |
8 abstract class Symbol { | 8 abstract class Symbol { |
9 /** | 9 /** |
10 * Constructs a new Symbol. | 10 * Constructs a new Symbol. |
11 * | 11 * |
12 * The name must be a valid public Dart member name, | 12 * The name must be a valid public Dart member name, |
13 * public constructor name, or library name, optionally qualified. | 13 * public constructor name, or library name, optionally qualified. |
14 * | 14 * |
15 * A qualified name is a valid name preceded by a public identifier name | 15 * A qualified name is a valid name preceded by a public identifier name |
(...skipping 28 matching lines...) Expand all Loading... |
44 int get hashCode; | 44 int get hashCode; |
45 | 45 |
46 /** | 46 /** |
47 * Symbols are equal to other symbols that correspond to the same member name. | 47 * Symbols are equal to other symbols that correspond to the same member name. |
48 * | 48 * |
49 * Qualified member names, like `#foo.bar` are equal only if they have the | 49 * Qualified member names, like `#foo.bar` are equal only if they have the |
50 * same identifiers before the same final member name. | 50 * same identifiers before the same final member name. |
51 */ | 51 */ |
52 bool operator ==(other); | 52 bool operator ==(other); |
53 } | 53 } |
OLD | NEW |