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

Side by Side Diff: pkg/analyzer_plugin/lib/protocol/protocol.dart

Issue 2686933002: Rename generated file (Closed)
Patch Set: Created 3 years, 10 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) 2017, 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 import 'dart:collection'; 5 import 'dart:collection';
6 6
7 import 'package:analyzer_plugin/protocol/generated_protocol.dart'; 7 import 'package:analyzer_plugin/protocol/protocol_generated.dart';
8 import 'package:analyzer_plugin/src/protocol/protocol_internal.dart'; 8 import 'package:analyzer_plugin/src/protocol/protocol_internal.dart';
9 9
10 /** 10 /**
11 * An interface for enumerated types in the protocol. 11 * An interface for enumerated types in the protocol.
12 * 12 *
13 * Clients may not extend, implement or mix-in this class. 13 * Clients may not extend, implement or mix-in this class.
14 */ 14 */
15 abstract class Enum { 15 abstract class Enum {
16 /** 16 /**
17 * The name of the enumerated value. This should match the name of the static 17 * The name of the enumerated value. This should match the name of the static
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 jsonObject[ID] = id; 574 jsonObject[ID] = id;
575 if (error != null) { 575 if (error != null) {
576 jsonObject[ERROR] = error.toJson(); 576 jsonObject[ERROR] = error.toJson();
577 } 577 }
578 if (result != null) { 578 if (result != null) {
579 jsonObject[RESULT] = result; 579 jsonObject[RESULT] = result;
580 } 580 }
581 return jsonObject; 581 return jsonObject;
582 } 582 }
583 } 583 }
OLDNEW
« no previous file with comments | « pkg/analyzer_plugin/lib/protocol/generated_protocol.dart ('k') | pkg/analyzer_plugin/lib/protocol/protocol_generated.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698