OLD | NEW |
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 /// Static implementation of smoke services using code-generated data. | 5 /// Static implementation of smoke services using code-generated data. |
6 library smoke.static; | 6 library smoke.static; |
7 | 7 |
8 import 'dart:math' as math; | 8 import 'dart:math' as math; |
9 | 9 |
10 import 'package:smoke/smoke.dart'; | 10 import 'package:smoke/smoke.dart'; |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 283 |
284 /// Exception thrown when trynig to access something that should be there, but | 284 /// Exception thrown when trynig to access something that should be there, but |
285 /// the code generator didn't include it. | 285 /// the code generator didn't include it. |
286 class MissingCodeException implements Exception { | 286 class MissingCodeException implements Exception { |
287 final String description; | 287 final String description; |
288 MissingCodeException(this.description); | 288 MissingCodeException(this.description); |
289 | 289 |
290 String toString() => 'Missing $description. ' | 290 String toString() => 'Missing $description. ' |
291 'Code generation for the smoke package seems incomplete.'; | 291 'Code generation for the smoke package seems incomplete.'; |
292 } | 292 } |
OLD | NEW |