OLD | NEW |
(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 Messages are maintained in `lib/shared_messages.dart` of that same package. |
| 6 After any change to that file, run `bin/publish.dart` to generate a new version |
| 7 of the json, dart2js and analyzer representations. |
| 8 */ |
| 9 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 10 // for details. All rights reserved. Use of this source code is governed by a |
| 11 // BSD-style license that can be found in the LICENSE file. |
| 12 import '../messages.dart' show MessageTemplate; |
| 13 |
| 14 enum SharedMessageKind { |
| 15 exampleMessage |
| 16 } |
| 17 |
| 18 const Map<SharedMessageKind, MessageTemplate> TEMPLATES = const <SharedMessageKi
nd, MessageTemplate>{ |
| 19 SharedMessageKind.exampleMessage: const MessageTemplate( |
| 20 SharedMessageKind.exampleMessage, |
| 21 "#use #named #arguments", |
| 22 examples: const [ |
| 23 r''' |
| 24 Some multiline example; |
| 25 That generates the bug.''', |
| 26 const { |
| 27 'fileA.dart': r''' |
| 28 or a map from file to content. |
| 29 again multiline''', |
| 30 'fileB.dart': r''' |
| 31 with possibly multiple files. |
| 32 muliline too''', |
| 33 }, |
| 34 ] |
| 35 ), // Generated. Don't edit. |
| 36 }; |
OLD | NEW |