OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file |
| 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.md file. |
| 4 |
| 5 library fletchc.fletch_context; |
| 6 |
| 7 import 'fletch_compiler.dart' show |
| 8 FletchCompiler; |
| 9 |
| 10 export 'fletch_compiler.dart' show |
| 11 FletchCompiler; |
| 12 |
| 13 import 'fletch_backend.dart' show |
| 14 FletchBackend; |
| 15 |
| 16 export 'fletch_backend.dart' show |
| 17 FletchBackend; |
| 18 |
| 19 import 'fletch_resolution_callbacks.dart' show |
| 20 FletchResolutionCallbacks; |
| 21 |
| 22 export 'fletch_resolution_callbacks.dart' show |
| 23 FletchResolutionCallbacks; |
| 24 |
| 25 export 'bytecode_builder.dart' show |
| 26 BytecodeBuilder; |
| 27 |
| 28 class FletchContext { |
| 29 final FletchCompiler compiler; |
| 30 |
| 31 FletchResolutionCallbacks resolutionCallbacks; |
| 32 |
| 33 FletchContext(this.compiler); |
| 34 |
| 35 FletchBackend get backend => compiler.backend; |
| 36 } |
OLD | NEW |