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

Side by Side Diff: pkg/analysis_server/tool/spec/codegen_dart_protocol.dart

Issue 1409353002: Clean up wording of client usage expectations (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « pkg/analysis_server/lib/starter.dart ('k') | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, 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 library codegen.protocol; 5 library codegen.protocol;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 8
9 import 'package:html/dom.dart' as dom; 9 import 'package:html/dom.dart' as dom;
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'SourceChange': const ['edits', 'linkedEditGroups'], 64 'SourceChange': const ['edits', 'linkedEditGroups'],
65 'SourceFileEdit': const ['edits'], 65 'SourceFileEdit': const ['edits'],
66 'TypeHierarchyItem': const ['interfaces', 'mixins', 'subclasses'], 66 'TypeHierarchyItem': const ['interfaces', 'mixins', 'subclasses'],
67 }; 67 };
68 68
69 /** 69 /**
70 * The disclaimer added to the documentation comment for each of the classes 70 * The disclaimer added to the documentation comment for each of the classes
71 * that are generated. 71 * that are generated.
72 */ 72 */
73 static const String disclaimer = 73 static const String disclaimer =
74 'Clients are not expected to subtype this class.'; 74 'Clients may not extend, implement or mix-in this class.';
75 75
76 /** 76 /**
77 * Visitor used to produce doc comments. 77 * Visitor used to produce doc comments.
78 */ 78 */
79 final ToHtmlVisitor toHtmlVisitor; 79 final ToHtmlVisitor toHtmlVisitor;
80 80
81 /** 81 /**
82 * Types implied by the API. This includes types explicitly named in the 82 * Types implied by the API. This includes types explicitly named in the
83 * API as well as those implied by the definitions of requests, responses, 83 * API as well as those implied by the definitions of requests, responses,
84 * notifications, etc. 84 * notifications, etc.
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 1240
1241 @override 1241 @override
1242 String get asClosure => '($type value) => ${callback('value')}'; 1242 String get asClosure => '($type value) => ${callback('value')}';
1243 1243
1244 @override 1244 @override
1245 bool get isIdentity => false; 1245 bool get isIdentity => false;
1246 1246
1247 @override 1247 @override
1248 String asSnippet(String value) => callback(value); 1248 String asSnippet(String value) => callback(value);
1249 } 1249 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/starter.dart ('k') | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698