| OLD | NEW |
| 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 class Type extends Element { | 5 class Type extends Element { |
| 6 bool isTested = false; | 6 bool isTested = false; |
| 7 bool isChecked = false; | 7 bool isChecked = false; |
| 8 bool isWritten = false; |
| 8 | 9 |
| 9 /** | 10 /** |
| 10 * For core types (int, String, etc) this is the generated type assertion | 11 * For core types (int, String, etc) this is the generated type assertion |
| 11 * function (uses JS "typeof"). This field is null for all other types. | 12 * function (uses JS "typeof"). This field is null for all other types. |
| 12 */ | 13 */ |
| 13 String typeCheckCode; | 14 String typeCheckCode; |
| 14 | 15 |
| 15 Member _typeMember; | 16 Member _typeMember; |
| 16 | 17 |
| 17 /** Stubs used to call into this method dynamically. */ | 18 /** Stubs used to call into this method dynamically. */ |
| (...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 if (name.contains('*')) { | 1272 if (name.contains('*')) { |
| 1272 name = name.replaceAll('*', ''); | 1273 name = name.replaceAll('*', ''); |
| 1273 isConstructorHidden = true; | 1274 isConstructorHidden = true; |
| 1274 } | 1275 } |
| 1275 if (name.contains('=')) { | 1276 if (name.contains('=')) { |
| 1276 name = name.replaceAll('=', ''); | 1277 name = name.replaceAll('=', ''); |
| 1277 isSingleton = true; | 1278 isSingleton = true; |
| 1278 } | 1279 } |
| 1279 } | 1280 } |
| 1280 } | 1281 } |
| OLD | NEW |