| Index: pkg/fletchc/lib/src/fletch_context.dart
|
| diff --git a/pkg/fletchc/lib/src/fletch_context.dart b/pkg/fletchc/lib/src/fletch_context.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2fdc45b9cbb68543e20435cc1481572816e6d065
|
| --- /dev/null
|
| +++ b/pkg/fletchc/lib/src/fletch_context.dart
|
| @@ -0,0 +1,36 @@
|
| +// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE.md file.
|
| +
|
| +library fletchc.fletch_context;
|
| +
|
| +import 'fletch_compiler.dart' show
|
| + FletchCompiler;
|
| +
|
| +export 'fletch_compiler.dart' show
|
| + FletchCompiler;
|
| +
|
| +import 'fletch_backend.dart' show
|
| + FletchBackend;
|
| +
|
| +export 'fletch_backend.dart' show
|
| + FletchBackend;
|
| +
|
| +import 'fletch_resolution_callbacks.dart' show
|
| + FletchResolutionCallbacks;
|
| +
|
| +export 'fletch_resolution_callbacks.dart' show
|
| + FletchResolutionCallbacks;
|
| +
|
| +export 'bytecode_builder.dart' show
|
| + BytecodeBuilder;
|
| +
|
| +class FletchContext {
|
| + final FletchCompiler compiler;
|
| +
|
| + FletchResolutionCallbacks resolutionCallbacks;
|
| +
|
| + FletchContext(this.compiler);
|
| +
|
| + FletchBackend get backend => compiler.backend;
|
| +}
|
|
|