Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(484)

Side by Side Diff: pkg/analyzer_plugin/tool/spec/codegen_matchers.dart

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/tool/spec/codegen_inttest_methods.dart ('k') | pkg/analyzer_plugin/tool/spec/from_html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698