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

Side by Side Diff: pkg/compiler/lib/src/diagnostics/generated/shared_messages.dart

Issue 1582903003: Generate dart2js and analyzer files for shared messages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Move json file. Created 4 years, 11 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
(Empty)
1 /*
2 DON'T EDIT. GENERATED. DON'T EDIT.
3 This file has been generated by 'publish.dart' in the dart_messages package.
4 */
5 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file.
8 import '../messages.dart' show MessageTemplate;
9
10 enum SharedMessageKind {
11 exampleMessage
12 }
13
14 const Map<SharedMessageKind, MessageTemplate> TEMPLATES = const <SharedMessageKi nd, MessageTemplate>{
15 SharedMessageKind.exampleMessage: const MessageTemplate(
16 SharedMessageKind.exampleMessage,
17 "#use #named #arguments",
18 howToFix: "an explanation on how to fix things",
19 examples: const [
20 r'''
21 Some multiline example;
22 That generates the bug.''',
23 const {
24 'fileA.dart': r'''
25 or a map from file to content.
26 again multiline''',
27 'fileB.dart': r'''
28 with possibly multiple files.
29 muliline too''',
30 },
31 ]
32 ), // Generated. Don't edit.
33 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698