OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 types; | 5 part of types; |
6 | 6 |
7 /** | 7 /** |
8 * A [DictionaryTypeMask] is a [TypeMask] for a specific allocation | 8 * A [DictionaryTypeMask] is a [TypeMask] for a specific allocation |
9 * site of a map (currently only internal Map class) that is used as | 9 * site of a map (currently only internal Map class) that is used as |
10 * a dictionary, i.e. a mapping from a set of statically known strings | 10 * a dictionary, i.e. a mapping from a set of statically known strings |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 int get hashCode { | 109 int get hashCode { |
110 return computeHashCode( | 110 return computeHashCode( |
111 allocationNode, isNullable, typeMap, forwardTo); | 111 allocationNode, isNullable, typeMap, forwardTo); |
112 } | 112 } |
113 | 113 |
114 String toString() { | 114 String toString() { |
115 return | 115 return |
116 'Dictionary mask: [$keyType/$valueType with $typeMap] type: $forwardTo'; | 116 'Dictionary mask: [$keyType/$valueType with $typeMap] type: $forwardTo'; |
117 } | 117 } |
118 } | 118 } |
OLD | NEW |