| 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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 if (name.contains('*')) { | 1279 if (name.contains('*')) { |
| 1279 name = name.replaceAll('*', ''); | 1280 name = name.replaceAll('*', ''); |
| 1280 isConstructorHidden = true; | 1281 isConstructorHidden = true; |
| 1281 } | 1282 } |
| 1282 if (name.contains('=')) { | 1283 if (name.contains('=')) { |
| 1283 name = name.replaceAll('=', ''); | 1284 name = name.replaceAll('=', ''); |
| 1284 isSingleton = true; | 1285 isSingleton = true; |
| 1285 } | 1286 } |
| 1286 } | 1287 } |
| 1287 } | 1288 } |
| OLD | NEW |