OLD | NEW |
1 // Copyright (c) 2017, 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 /** | 5 /** |
6 * Code generation for the file "matchers.dart". | 6 * Code generation for the file "matchers.dart". |
7 */ | 7 */ |
8 import 'dart:convert'; | 8 import 'dart:convert'; |
9 | 9 |
10 import 'package:analyzer/src/codegen/tools.dart'; | 10 import 'package:analyzer/src/codegen/tools.dart'; |
11 import 'package:front_end/src/codegen/tools.dart'; | 11 import 'package:front_end/src/codegen/tools.dart'; |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 for (TypeDecl choice in typeUnion.choices) { | 179 for (TypeDecl choice in typeUnion.choices) { |
180 if (commaNeeded) { | 180 if (commaNeeded) { |
181 write(', '); | 181 write(', '); |
182 } | 182 } |
183 visitTypeDecl(choice); | 183 visitTypeDecl(choice); |
184 commaNeeded = true; | 184 commaNeeded = true; |
185 } | 185 } |
186 write('])'); | 186 write('])'); |
187 } | 187 } |
188 } | 188 } |
OLD | NEW |