| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library fasta; | 5 library fasta; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import 'dart:convert' show JSON; | 9 import 'dart:convert' show JSON; |
| 10 | 10 |
| 11 import 'dart:io' show BytesBuilder, Directory, File, exitCode; | 11 import 'dart:io' show BytesBuilder, Directory, File, exitCode; |
| 12 | 12 |
| 13 import 'package:kernel/binary/ast_to_binary.dart' | 13 import 'package:kernel/binary/ast_to_binary.dart' |
| 14 show LibraryFilteringBinaryPrinter; | 14 show LibraryFilteringBinaryPrinter; |
| 15 | 15 |
| 16 import 'package:kernel/kernel.dart' show Program; | 16 import 'package:kernel/kernel.dart' show Program, Library; |
| 17 | 17 |
| 18 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; | 18 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; |
| 19 | 19 |
| 20 import 'compiler_command_line.dart' show CompilerCommandLine; | 20 import 'compiler_command_line.dart' show CompilerCommandLine; |
| 21 | 21 |
| 22 import 'compiler_context.dart' show CompilerContext; | 22 import 'compiler_context.dart' show CompilerContext; |
| 23 | 23 |
| 24 import 'errors.dart' show InputError, formatUnexpected, inputError, reportCrash; | 24 import 'errors.dart' show InputError, formatUnexpected, inputError, reportCrash; |
| 25 | 25 |
| 26 import 'kernel/kernel_target.dart' show KernelTarget; | 26 import 'kernel/kernel_target.dart' show KernelTarget; |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 final BytesBuilder builder = new BytesBuilder(); | 263 final BytesBuilder builder = new BytesBuilder(); |
| 264 | 264 |
| 265 void add(List<int> data) { | 265 void add(List<int> data) { |
| 266 builder.add(data); | 266 builder.add(data); |
| 267 } | 267 } |
| 268 | 268 |
| 269 void close() { | 269 void close() { |
| 270 // Nothing to do. | 270 // Nothing to do. |
| 271 } | 271 } |
| 272 } | 272 } |
| OLD | NEW |