| 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 /// A library that is used to select the default implementation of smoke. During | 5 /// A library that is used to select the default implementation of smoke. During |
| 6 /// development we use a default mirror-based implementation, for deployment we | 6 /// development we use a default mirror-based implementation, for deployment we |
| 7 /// let the main program set programatically what implementation to use (likely | 7 /// let the main program set programatically what implementation to use (likely |
| 8 /// one based on static code generation). | 8 /// one based on static code generation). |
| 9 library smoke.src.implementation; | 9 library smoke.src.implementation; |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 /// Implementation of [SymbolConverterService] in use, initialized lazily so it | 26 /// Implementation of [SymbolConverterService] in use, initialized lazily so it |
| 27 /// can be replaced at deployment time with an efficient alternative. | 27 /// can be replaced at deployment time with an efficient alternative. |
| 28 SymbolConverterService symbolConverter = new ReflectiveSymbolConverterService(); | 28 SymbolConverterService symbolConverter = new ReflectiveSymbolConverterService(); |
| 29 | 29 |
| 30 throwNotConfiguredError() { | 30 throwNotConfiguredError() { |
| 31 throw new Exception('The "smoke" library has not been configured. ' | 31 throw new Exception('The "smoke" library has not been configured. ' |
| 32 'Make sure you import and configure one of the implementations (' | 32 'Make sure you import and configure one of the implementations (' |
| 33 'package:smoke/mirrors.dart or package:smoke/static.dart).'); | 33 'package:smoke/mirrors.dart or package:smoke/static.dart).'); |
| 34 } | 34 } |
| OLD | NEW |