| OLD | NEW |
| 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 library fasta.codes; | 5 library fasta.codes; |
| 6 | 6 |
| 7 import 'package:front_end/src/fasta/scanner/token.dart' show Token; | 7 import 'package:front_end/src/scanner/token.dart' show Token; |
| 8 | 8 |
| 9 part 'fasta_codes_generated.dart'; | 9 part 'fasta_codes_generated.dart'; |
| 10 | 10 |
| 11 class FastaCode<T> { | 11 class FastaCode<T> { |
| 12 final String template; | 12 final String template; |
| 13 | 13 |
| 14 final String tip; | 14 final String tip; |
| 15 | 15 |
| 16 final String analyzerCode; | 16 final String analyzerCode; |
| 17 | 17 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 final String tip; | 37 final String tip; |
| 38 | 38 |
| 39 final FastaCode code; | 39 final FastaCode code; |
| 40 | 40 |
| 41 final Map<String, dynamic> arguments; | 41 final Map<String, dynamic> arguments; |
| 42 | 42 |
| 43 const FastaMessage(this.uri, this.charOffset, this.code, | 43 const FastaMessage(this.uri, this.charOffset, this.code, |
| 44 {this.message, this.tip, this.arguments}); | 44 {this.message, this.tip, this.arguments}); |
| 45 } | 45 } |
| OLD | NEW |