| 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 /// Collects services that can be used to access objects dynamically, inspect | 5 /// Collects services that can be used to access objects dynamically, inspect |
| 6 /// type information, and convert between symbols and strings. | 6 /// type information, and convert between symbols and strings. |
| 7 library smoke; | 7 library smoke; |
| 8 | 8 |
| 9 import 'src/implementation.dart' as implementation; | 9 import 'src/implementation.dart' as implementation; |
| 10 | 10 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 } | 264 } |
| 265 | 265 |
| 266 /// A service that converts between [Symbol]s and [String]s. | 266 /// A service that converts between [Symbol]s and [String]s. |
| 267 abstract class SymbolConverterService { | 267 abstract class SymbolConverterService { |
| 268 /// Returns the name associated with a [symbol]. | 268 /// Returns the name associated with a [symbol]. |
| 269 String symbolToName(Symbol symbol); | 269 String symbolToName(Symbol symbol); |
| 270 | 270 |
| 271 /// Returns the symbol associated with a [name]. | 271 /// Returns the symbol associated with a [name]. |
| 272 Symbol nameToSymbol(String name); | 272 Symbol nameToSymbol(String name); |
| 273 } | 273 } |
| OLD | NEW |