From 72534f18fab77dfebf87a541c48a033cebc21146 Mon Sep 17 00:00:00 2001 From: Johnni Winther Date: Thu, 14 Nov 2024 07:32:21 +0000 Subject: [PATCH] [cfe] Remove library fasta.* names Change-Id: I0a678e971395f70d09a3faf004e6476a9b5a48cb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395000 Commit-Queue: Johnni Winther Reviewed-by: Jens Johansen --- pkg/_fe_analyzer_shared/lib/src/parser/quote.dart | 2 -- pkg/front_end/lib/src/base/command_line_reporting.dart | 2 +- pkg/front_end/lib/src/base/compiler_context.dart | 2 -- pkg/front_end/lib/src/base/configuration.dart | 2 -- pkg/front_end/lib/src/base/constant_context.dart | 2 -- pkg/front_end/lib/src/base/crash.dart | 2 -- pkg/front_end/lib/src/base/export.dart | 2 -- pkg/front_end/lib/src/base/get_dependencies.dart | 2 -- pkg/front_end/lib/src/base/identifiers.dart | 2 -- pkg/front_end/lib/src/base/ignored_parser_errors.dart | 2 -- pkg/front_end/lib/src/base/import.dart | 2 -- pkg/front_end/lib/src/base/incremental_compiler.dart | 2 -- pkg/front_end/lib/src/base/incremental_serializer.dart | 2 -- pkg/front_end/lib/src/base/library_graph.dart | 2 -- pkg/front_end/lib/src/base/loader.dart | 2 -- pkg/front_end/lib/src/base/messages.dart | 2 -- pkg/front_end/lib/src/base/operator.dart | 2 -- pkg/front_end/lib/src/base/problems.dart | 2 -- pkg/front_end/lib/src/base/scope.dart | 2 -- pkg/front_end/lib/src/base/ticker.dart | 2 -- pkg/front_end/lib/src/base/uri_translator.dart | 2 -- pkg/front_end/lib/src/builder/builder.dart | 2 -- .../lib/src/builder/constructor_reference_builder.dart | 2 -- .../lib/src/builder/dynamic_type_declaration_builder.dart | 2 -- pkg/front_end/lib/src/builder/field_builder.dart | 2 -- pkg/front_end/lib/src/builder/formal_parameter_builder.dart | 2 -- pkg/front_end/lib/src/builder/function_builder.dart | 2 -- pkg/front_end/lib/src/builder/function_type_builder.dart | 2 -- .../lib/src/builder/future_or_type_declaration_builder.dart | 2 -- pkg/front_end/lib/src/builder/library_builder.dart | 2 -- pkg/front_end/lib/src/builder/member_builder.dart | 2 -- pkg/front_end/lib/src/builder/metadata_builder.dart | 2 -- pkg/front_end/lib/src/builder/mixin_application_builder.dart | 2 -- pkg/front_end/lib/src/builder/name_iterator.dart | 2 -- pkg/front_end/lib/src/builder/named_type_builder.dart | 2 -- .../lib/src/builder/never_type_declaration_builder.dart | 2 -- .../lib/src/builder/null_type_declaration_builder.dart | 2 -- pkg/front_end/lib/src/builder/prefix_builder.dart | 2 -- pkg/front_end/lib/src/builder/type_builder.dart | 2 -- pkg/front_end/lib/src/builder/variable_builder.dart | 2 -- pkg/front_end/lib/src/dill/dill_class_builder.dart | 2 -- pkg/front_end/lib/src/dill/dill_library_builder.dart | 2 -- pkg/front_end/lib/src/dill/dill_loader.dart | 2 -- pkg/front_end/lib/src/dill/dill_member_builder.dart | 2 -- pkg/front_end/lib/src/dill/dill_type_alias_builder.dart | 2 -- pkg/front_end/lib/src/kernel/body_builder.dart | 2 -- pkg/front_end/lib/src/kernel/collections.dart | 2 -- pkg/front_end/lib/src/kernel/constant_evaluator.dart | 2 +- pkg/front_end/lib/src/kernel/constness.dart | 2 -- pkg/front_end/lib/src/kernel/expression_generator.dart | 2 +- pkg/front_end/lib/src/kernel/expression_generator_helper.dart | 2 -- pkg/front_end/lib/src/kernel/forest.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/class_member.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/delayed.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/hierarchy_builder.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/members_builder.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/members_node.dart | 2 -- pkg/front_end/lib/src/kernel/hierarchy/mixin_inferrer.dart | 2 -- pkg/front_end/lib/src/kernel/implicit_field_type.dart | 2 -- pkg/front_end/lib/src/kernel/implicit_type_argument.dart | 2 -- pkg/front_end/lib/src/kernel/kernel_constants.dart | 2 -- pkg/front_end/lib/src/kernel/kernel_helper.dart | 2 -- pkg/front_end/lib/src/kernel/kernel_target.dart | 2 -- pkg/front_end/lib/src/kernel/kernel_variable_builder.dart | 2 -- pkg/front_end/lib/src/kernel/type_builder_computer.dart | 2 -- pkg/front_end/lib/src/source/diet_listener.dart | 2 -- pkg/front_end/lib/src/source/diet_parser.dart | 2 -- pkg/front_end/lib/src/source/outline_builder.dart | 2 -- pkg/front_end/lib/src/source/source_class_builder.dart | 2 -- pkg/front_end/lib/src/source/source_enum_builder.dart | 2 -- pkg/front_end/lib/src/source/source_field_builder.dart | 2 -- pkg/front_end/lib/src/source/source_function_builder.dart | 2 -- pkg/front_end/lib/src/source/source_library_builder.dart | 2 -- pkg/front_end/lib/src/source/source_loader.dart | 2 -- pkg/front_end/lib/src/source/source_member_builder.dart | 2 -- pkg/front_end/lib/src/source/stack_listener_impl.dart | 2 -- pkg/front_end/test/assert_locations_test.dart | 2 -- pkg/front_end/test/expression_suite.dart | 2 -- pkg/front_end/test/incremental_dartino_suite.dart | 2 -- pkg/front_end/test/incremental_expectations.dart | 2 -- pkg/front_end/test/incremental_hello_test.dart | 2 -- pkg/front_end/test/incremental_source_files.dart | 2 -- pkg/front_end/test/modular_suite.dart | 2 -- pkg/front_end/test/outline_suite.dart | 2 -- pkg/front_end/test/strong_suite.dart | 2 -- pkg/front_end/test/super_mixins_test.dart | 2 -- pkg/front_end/test/testing/suite.dart | 2 -- pkg/front_end/test/textual_outline_suite.dart | 2 -- pkg/front_end/test/utils/kernel_chain.dart | 2 -- pkg/front_end/test/utils/scanner_chain.dart | 2 -- pkg/front_end/test/utils/suite_utils.dart | 2 -- pkg/front_end/test/weak_suite.dart | 2 -- pkg/front_end/tool/_fasta/additional_targets.dart | 2 -- pkg/front_end/tool/_fasta/additional_targets_test.dart | 2 -- pkg/front_end/tool/_fasta/bench_maker.dart | 2 -- pkg/front_end/tool/_fasta/command_line.dart | 2 -- pkg/front_end/tool/_fasta/compile_platform_legacy_test.dart | 2 -- pkg/front_end/tool/_fasta/compile_platform_test.dart | 2 -- pkg/front_end/tool/_fasta/entry_points.dart | 2 -- pkg/kernel/lib/util/graph.dart | 2 -- 101 files changed, 3 insertions(+), 199 deletions(-) diff --git a/pkg/_fe_analyzer_shared/lib/src/parser/quote.dart b/pkg/_fe_analyzer_shared/lib/src/parser/quote.dart index eac159c8b14..79d0f6d2e9b 100644 --- a/pkg/_fe_analyzer_shared/lib/src/parser/quote.dart +++ b/pkg/_fe_analyzer_shared/lib/src/parser/quote.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.quote; - import 'package:_fe_analyzer_shared/src/scanner/string_canonicalizer.dart'; import 'package:_fe_analyzer_shared/src/parser/listener.dart' diff --git a/pkg/front_end/lib/src/base/command_line_reporting.dart b/pkg/front_end/lib/src/base/command_line_reporting.dart index ecf496f1896..e46c27e6f33 100644 --- a/pkg/front_end/lib/src/base/command_line_reporting.dart +++ b/pkg/front_end/lib/src/base/command_line_reporting.dart @@ -6,7 +6,7 @@ /// [CompilerContext] that are suitable for command-line tools. The methods in /// this library aren't intended to be called directly, instead, one should use /// [CompilerContext]. -library fasta.command_line_reporting; +library; import 'dart:math' show min; import 'dart:typed_data' show Uint8List; diff --git a/pkg/front_end/lib/src/base/compiler_context.dart b/pkg/front_end/lib/src/base/compiler_context.dart index 66bf6c7e0ac..2ce09aff84f 100644 --- a/pkg/front_end/lib/src/base/compiler_context.dart +++ b/pkg/front_end/lib/src/base/compiler_context.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.compiler_context; - import 'dart:async' show Zone, runZoned; import 'package:_fe_analyzer_shared/src/messages/codes.dart'; diff --git a/pkg/front_end/lib/src/base/configuration.dart b/pkg/front_end/lib/src/base/configuration.dart index f24e5bf699e..63d26c44c5c 100644 --- a/pkg/front_end/lib/src/base/configuration.dart +++ b/pkg/front_end/lib/src/base/configuration.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.configuration; - class Configuration { final int charOffset; final String dottedName; diff --git a/pkg/front_end/lib/src/base/constant_context.dart b/pkg/front_end/lib/src/base/constant_context.dart index 77e412761ae..6a03edabf3c 100644 --- a/pkg/front_end/lib/src/base/constant_context.dart +++ b/pkg/front_end/lib/src/base/constant_context.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.constant_context; - enum ConstantContext { /// Not in a constant context. /// diff --git a/pkg/front_end/lib/src/base/crash.dart b/pkg/front_end/lib/src/base/crash.dart index 50a70dd55ff..1aefc8cc84d 100644 --- a/pkg/front_end/lib/src/base/crash.dart +++ b/pkg/front_end/lib/src/base/crash.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.crash; - import 'dart:convert' show jsonEncode; import 'dart:io' show ContentType, HttpClient, HttpClientRequest, SocketException, stderr; diff --git a/pkg/front_end/lib/src/base/export.dart b/pkg/front_end/lib/src/base/export.dart index b75a0db71fb..41a6da2aa66 100644 --- a/pkg/front_end/lib/src/base/export.dart +++ b/pkg/front_end/lib/src/base/export.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.export; - import 'package:kernel/ast.dart'; import '../builder/builder.dart'; diff --git a/pkg/front_end/lib/src/base/get_dependencies.dart b/pkg/front_end/lib/src/base/get_dependencies.dart index 4dd93416fcd..4d9a69eeea1 100644 --- a/pkg/front_end/lib/src/base/get_dependencies.dart +++ b/pkg/front_end/lib/src/base/get_dependencies.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.get_dependencies; - import 'dart:typed_data'; import 'package:kernel/kernel.dart' show Component, loadComponentFromBytes; diff --git a/pkg/front_end/lib/src/base/identifiers.dart b/pkg/front_end/lib/src/base/identifiers.dart index 17f769bff24..1c9e0f454f1 100644 --- a/pkg/front_end/lib/src/base/identifiers.dart +++ b/pkg/front_end/lib/src/base/identifiers.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.qualified_name; - import 'package:_fe_analyzer_shared/src/scanner/scanner.dart' show Token; import 'package:kernel/ast.dart' show Expression; diff --git a/pkg/front_end/lib/src/base/ignored_parser_errors.dart b/pkg/front_end/lib/src/base/ignored_parser_errors.dart index aca40099c61..362b46ad47d 100644 --- a/pkg/front_end/lib/src/base/ignored_parser_errors.dart +++ b/pkg/front_end/lib/src/base/ignored_parser_errors.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.ignored_parser_errors; - import 'package:_fe_analyzer_shared/src/scanner/token.dart' show TokenIsAExtension, Keyword, Token; diff --git a/pkg/front_end/lib/src/base/import.dart b/pkg/front_end/lib/src/base/import.dart index 5f681f0b882..293ac79cf12 100644 --- a/pkg/front_end/lib/src/base/import.dart +++ b/pkg/front_end/lib/src/base/import.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.import; - import 'package:kernel/ast.dart' show LibraryDependency; import '../builder/builder.dart'; diff --git a/pkg/front_end/lib/src/base/incremental_compiler.dart b/pkg/front_end/lib/src/base/incremental_compiler.dart index 4f8da3904fe..2493da6f624 100644 --- a/pkg/front_end/lib/src/base/incremental_compiler.dart +++ b/pkg/front_end/lib/src/base/incremental_compiler.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.incremental_compiler; - import 'dart:async' show Completer; import 'dart:convert' show JsonEncoder; import 'dart:typed_data'; diff --git a/pkg/front_end/lib/src/base/incremental_serializer.dart b/pkg/front_end/lib/src/base/incremental_serializer.dart index e73113def56..3c102890b8f 100644 --- a/pkg/front_end/lib/src/base/incremental_serializer.dart +++ b/pkg/front_end/lib/src/base/incremental_serializer.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.incremental_serializer; - import 'dart:typed_data' show Uint8List; import 'package:kernel/binary/ast_from_binary.dart' show SubComponentView; diff --git a/pkg/front_end/lib/src/base/library_graph.dart b/pkg/front_end/lib/src/base/library_graph.dart index 580d6e94692..4eeebdb9349 100644 --- a/pkg/front_end/lib/src/base/library_graph.dart +++ b/pkg/front_end/lib/src/base/library_graph.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.library_graph; - import 'package:kernel/kernel.dart' show Library, LibraryDependency, LibraryPart; import 'package:kernel/util/graph.dart' show Graph; diff --git a/pkg/front_end/lib/src/base/loader.dart b/pkg/front_end/lib/src/base/loader.dart index 3e89bcb9b6b..0441a859ab7 100644 --- a/pkg/front_end/lib/src/base/loader.dart +++ b/pkg/front_end/lib/src/base/loader.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.loader; - import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; import 'package:kernel/ast.dart' show Class, DartType, ExtensionTypeDeclaration; diff --git a/pkg/front_end/lib/src/base/messages.dart b/pkg/front_end/lib/src/base/messages.dart index b1660f0c3b2..6d7ac25beb6 100644 --- a/pkg/front_end/lib/src/base/messages.dart +++ b/pkg/front_end/lib/src/base/messages.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.messages; - import 'package:kernel/ast.dart' show Library, Location, Source; import '../codes/cfe_codes.dart'; diff --git a/pkg/front_end/lib/src/base/operator.dart b/pkg/front_end/lib/src/base/operator.dart index 32bc17a6bb7..0d8f2f84516 100644 --- a/pkg/front_end/lib/src/base/operator.dart +++ b/pkg/front_end/lib/src/base/operator.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.operators; - /// The user-definable operators in Dart. /// /// The names have been chosen to represent their normal semantic meaning. diff --git a/pkg/front_end/lib/src/base/problems.dart b/pkg/front_end/lib/src/base/problems.dart index 9b0a16a6d10..0c18635699c 100644 --- a/pkg/front_end/lib/src/base/problems.dart +++ b/pkg/front_end/lib/src/base/problems.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.problems; - import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity, severityTexts; import 'package:kernel/ast.dart' show FileUriNode, TreeNode; diff --git a/pkg/front_end/lib/src/base/scope.dart b/pkg/front_end/lib/src/base/scope.dart index 0291000e6a4..80fb3e98dde 100644 --- a/pkg/front_end/lib/src/base/scope.dart +++ b/pkg/front_end/lib/src/base/scope.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.scope; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; import 'package:kernel/type_environment.dart'; diff --git a/pkg/front_end/lib/src/base/ticker.dart b/pkg/front_end/lib/src/base/ticker.dart index 07201c1f4ab..689ac244b2b 100644 --- a/pkg/front_end/lib/src/base/ticker.dart +++ b/pkg/front_end/lib/src/base/ticker.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.ticker; - class Ticker { final Stopwatch sw = new Stopwatch()..start(); diff --git a/pkg/front_end/lib/src/base/uri_translator.dart b/pkg/front_end/lib/src/base/uri_translator.dart index 1a07b1be9c6..c06f4bb88fb 100644 --- a/pkg/front_end/lib/src/base/uri_translator.dart +++ b/pkg/front_end/lib/src/base/uri_translator.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.uri_translator; - import 'package:_fe_analyzer_shared/src/util/libraries_specification.dart' show TargetLibrariesSpecification; import 'package:package_config/package_config.dart'; diff --git a/pkg/front_end/lib/src/builder/builder.dart b/pkg/front_end/lib/src/builder/builder.dart index a57b874c9ab..f33a1a61e3f 100644 --- a/pkg/front_end/lib/src/builder/builder.dart +++ b/pkg/front_end/lib/src/builder/builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.declaration; - import '../base/problems.dart' show unsupported; abstract class Builder { diff --git a/pkg/front_end/lib/src/builder/constructor_reference_builder.dart b/pkg/front_end/lib/src/builder/constructor_reference_builder.dart index 23fbf89e9a0..44ffffd743c 100644 --- a/pkg/front_end/lib/src/builder/constructor_reference_builder.dart +++ b/pkg/front_end/lib/src/builder/constructor_reference_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.constructor_reference_builder; - import '../base/messages.dart' show noLength, templateConstructorNotFound; import '../base/scope.dart'; import 'builder.dart'; diff --git a/pkg/front_end/lib/src/builder/dynamic_type_declaration_builder.dart b/pkg/front_end/lib/src/builder/dynamic_type_declaration_builder.dart index d20fffe9d35..c96e31c695d 100644 --- a/pkg/front_end/lib/src/builder/dynamic_type_declaration_builder.dart +++ b/pkg/front_end/lib/src/builder/dynamic_type_declaration_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dynamic_type_builder; - import 'package:kernel/ast.dart' show DartType, Nullability; import 'declaration_builders.dart'; diff --git a/pkg/front_end/lib/src/builder/field_builder.dart b/pkg/front_end/lib/src/builder/field_builder.dart index a5fd7b74408..8b2dff72e84 100644 --- a/pkg/front_end/lib/src/builder/field_builder.dart +++ b/pkg/front_end/lib/src/builder/field_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.field_builder; - import 'package:kernel/ast.dart'; import 'member_builder.dart'; diff --git a/pkg/front_end/lib/src/builder/formal_parameter_builder.dart b/pkg/front_end/lib/src/builder/formal_parameter_builder.dart index 3b69de44303..e41c738f9d5 100644 --- a/pkg/front_end/lib/src/builder/formal_parameter_builder.dart +++ b/pkg/front_end/lib/src/builder/formal_parameter_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.formal_parameter_builder; - import 'package:_fe_analyzer_shared/src/parser/formal_parameter_kind.dart' show FormalParameterKind; import 'package:_fe_analyzer_shared/src/scanner/scanner.dart' show Token; diff --git a/pkg/front_end/lib/src/builder/function_builder.dart b/pkg/front_end/lib/src/builder/function_builder.dart index 820d4bb6aaf..a2de1d1ba87 100644 --- a/pkg/front_end/lib/src/builder/function_builder.dart +++ b/pkg/front_end/lib/src/builder/function_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.procedure_builder; - import 'package:kernel/ast.dart'; import 'member_builder.dart'; diff --git a/pkg/front_end/lib/src/builder/function_type_builder.dart b/pkg/front_end/lib/src/builder/function_type_builder.dart index 3576a84e46e..49ac9c7e888 100644 --- a/pkg/front_end/lib/src/builder/function_type_builder.dart +++ b/pkg/front_end/lib/src/builder/function_type_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.function_type_builder; - import 'package:kernel/ast.dart' show DartType, diff --git a/pkg/front_end/lib/src/builder/future_or_type_declaration_builder.dart b/pkg/front_end/lib/src/builder/future_or_type_declaration_builder.dart index 21cd963bdf2..b7f99b2c279 100644 --- a/pkg/front_end/lib/src/builder/future_or_type_declaration_builder.dart +++ b/pkg/front_end/lib/src/builder/future_or_type_declaration_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.future_or_type_builder; - import 'package:kernel/ast.dart' show DartType, FutureOrType, Nullability; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/builder/library_builder.dart b/pkg/front_end/lib/src/builder/library_builder.dart index ff9b627a01d..2267be2cbca 100644 --- a/pkg/front_end/lib/src/builder/library_builder.dart +++ b/pkg/front_end/lib/src/builder/library_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.library_builder; - import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; import 'package:kernel/ast.dart' show Class, Library, Version; import 'package:kernel/reference_from_index.dart'; diff --git a/pkg/front_end/lib/src/builder/member_builder.dart b/pkg/front_end/lib/src/builder/member_builder.dart index 6eae65c1919..2327d57fbd7 100644 --- a/pkg/front_end/lib/src/builder/member_builder.dart +++ b/pkg/front_end/lib/src/builder/member_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.member_builder; - import 'package:kernel/ast.dart'; import '../kernel/hierarchy/class_member.dart'; diff --git a/pkg/front_end/lib/src/builder/metadata_builder.dart b/pkg/front_end/lib/src/builder/metadata_builder.dart index 9a38ed66d78..a0614294a30 100644 --- a/pkg/front_end/lib/src/builder/metadata_builder.dart +++ b/pkg/front_end/lib/src/builder/metadata_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.metadata_builder; - import 'package:_fe_analyzer_shared/src/scanner/scanner.dart' show Token; import 'package:_fe_analyzer_shared/src/metadata/expressions.dart' as shared; import 'package:kernel/ast.dart'; diff --git a/pkg/front_end/lib/src/builder/mixin_application_builder.dart b/pkg/front_end/lib/src/builder/mixin_application_builder.dart index 63b09cb73f6..0fcfbd7c931 100644 --- a/pkg/front_end/lib/src/builder/mixin_application_builder.dart +++ b/pkg/front_end/lib/src/builder/mixin_application_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.mixin_application_builder; - import 'declaration_builders.dart'; import 'type_builder.dart'; diff --git a/pkg/front_end/lib/src/builder/name_iterator.dart b/pkg/front_end/lib/src/builder/name_iterator.dart index 67e85f6f3cf..550d4058294 100644 --- a/pkg/front_end/lib/src/builder/name_iterator.dart +++ b/pkg/front_end/lib/src/builder/name_iterator.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.name_iterator; - import 'builder.dart'; /// An iterator on [Builder]s that provide the name that they are mapped to. diff --git a/pkg/front_end/lib/src/builder/named_type_builder.dart b/pkg/front_end/lib/src/builder/named_type_builder.dart index 8e089624b0e..fab099a6c7f 100644 --- a/pkg/front_end/lib/src/builder/named_type_builder.dart +++ b/pkg/front_end/lib/src/builder/named_type_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.named_type_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; import 'package:kernel/src/bounds_checks.dart' show VarianceCalculationValue; diff --git a/pkg/front_end/lib/src/builder/never_type_declaration_builder.dart b/pkg/front_end/lib/src/builder/never_type_declaration_builder.dart index 028c34054cd..9787ca8f231 100644 --- a/pkg/front_end/lib/src/builder/never_type_declaration_builder.dart +++ b/pkg/front_end/lib/src/builder/never_type_declaration_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.never_type_builder; - import 'package:kernel/ast.dart' show DartType, Nullability; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/builder/null_type_declaration_builder.dart b/pkg/front_end/lib/src/builder/null_type_declaration_builder.dart index 66df124098e..6be9906a62b 100644 --- a/pkg/front_end/lib/src/builder/null_type_declaration_builder.dart +++ b/pkg/front_end/lib/src/builder/null_type_declaration_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.null_type_declaration_builder; - import 'package:kernel/ast.dart' show DartType, Nullability; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/builder/prefix_builder.dart b/pkg/front_end/lib/src/builder/prefix_builder.dart index 931ea4ffa49..43d99ff2574 100644 --- a/pkg/front_end/lib/src/builder/prefix_builder.dart +++ b/pkg/front_end/lib/src/builder/prefix_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.prefix_builder; - import 'package:kernel/ast.dart' show LibraryDependency; import '../base/combinator.dart'; diff --git a/pkg/front_end/lib/src/builder/type_builder.dart b/pkg/front_end/lib/src/builder/type_builder.dart index 9f6c25c9d7d..b415fd7f80f 100644 --- a/pkg/front_end/lib/src/builder/type_builder.dart +++ b/pkg/front_end/lib/src/builder/type_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.type_builder; - import 'package:kernel/ast.dart' show DartType, Nullability, Supertype, TreeNode, Variance; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/builder/variable_builder.dart b/pkg/front_end/lib/src/builder/variable_builder.dart index 9fe37eb53c3..dc0634945e5 100644 --- a/pkg/front_end/lib/src/builder/variable_builder.dart +++ b/pkg/front_end/lib/src/builder/variable_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.kernel_variable_builder; - import 'package:kernel/ast.dart' show VariableDeclaration; import '../builder/builder.dart'; diff --git a/pkg/front_end/lib/src/dill/dill_class_builder.dart b/pkg/front_end/lib/src/dill/dill_class_builder.dart index 96226a2ff95..aca0a80cde5 100644 --- a/pkg/front_end/lib/src/dill/dill_class_builder.dart +++ b/pkg/front_end/lib/src/dill/dill_class_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dill_class_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/dill/dill_library_builder.dart b/pkg/front_end/lib/src/dill/dill_library_builder.dart index 82c60c4b5cd..c99a1a034c7 100644 --- a/pkg/front_end/lib/src/dill/dill_library_builder.dart +++ b/pkg/front_end/lib/src/dill/dill_library_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dill_library_builder; - import 'dart:convert' show jsonDecode; import 'package:kernel/ast.dart'; diff --git a/pkg/front_end/lib/src/dill/dill_loader.dart b/pkg/front_end/lib/src/dill/dill_loader.dart index 348d8c2ca1c..96c313bc472 100644 --- a/pkg/front_end/lib/src/dill/dill_loader.dart +++ b/pkg/front_end/lib/src/dill/dill_loader.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dill_loader; - import 'dart:collection' show Queue; import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; diff --git a/pkg/front_end/lib/src/dill/dill_member_builder.dart b/pkg/front_end/lib/src/dill/dill_member_builder.dart index 89148c84c42..a7963b8151d 100644 --- a/pkg/front_end/lib/src/dill/dill_member_builder.dart +++ b/pkg/front_end/lib/src/dill/dill_member_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dill_member_builder; - import 'package:kernel/ast.dart' show Annotatable, diff --git a/pkg/front_end/lib/src/dill/dill_type_alias_builder.dart b/pkg/front_end/lib/src/dill/dill_type_alias_builder.dart index f8a76cfe265..aad96bed48d 100644 --- a/pkg/front_end/lib/src/dill/dill_type_alias_builder.dart +++ b/pkg/front_end/lib/src/dill/dill_type_alias_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.dill_typedef_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/kernel/body_builder.dart b/pkg/front_end/lib/src/kernel/body_builder.dart index 25789b0e1f2..c7f31c46e62 100644 --- a/pkg/front_end/lib/src/kernel/body_builder.dart +++ b/pkg/front_end/lib/src/kernel/body_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.body_builder; - import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; import 'package:_fe_analyzer_shared/src/parser/parser.dart' show diff --git a/pkg/front_end/lib/src/kernel/collections.dart b/pkg/front_end/lib/src/kernel/collections.dart index 660ee0a0259..134d377bd02 100644 --- a/pkg/front_end/lib/src/kernel/collections.dart +++ b/pkg/front_end/lib/src/kernel/collections.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.collections; - import 'package:kernel/ast.dart'; import 'package:kernel/src/printer.dart'; import 'package:kernel/type_environment.dart' show StaticTypeContext; diff --git a/pkg/front_end/lib/src/kernel/constant_evaluator.dart b/pkg/front_end/lib/src/kernel/constant_evaluator.dart index 9a5f0d60a6f..fcef74df990 100644 --- a/pkg/front_end/lib/src/kernel/constant_evaluator.dart +++ b/pkg/front_end/lib/src/kernel/constant_evaluator.dart @@ -16,7 +16,7 @@ /// Furthermore due to the lowering of certain constructs in the front-end /// (e.g. '??') we need to support a super-set of the normal constant expression /// language. Issue(http://dartbug.com/31799) -library fasta.constant_evaluator; +library; import 'dart:io' as io; diff --git a/pkg/front_end/lib/src/kernel/constness.dart b/pkg/front_end/lib/src/kernel/constness.dart index 0da490dc0bc..f8c58fe04b6 100644 --- a/pkg/front_end/lib/src/kernel/constness.dart +++ b/pkg/front_end/lib/src/kernel/constness.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.constness; - enum Constness { explicitConst, explicitNew, diff --git a/pkg/front_end/lib/src/kernel/expression_generator.dart b/pkg/front_end/lib/src/kernel/expression_generator.dart index 6aab66a28e8..e50a6d7f493 100644 --- a/pkg/front_end/lib/src/kernel/expression_generator.dart +++ b/pkg/front_end/lib/src/kernel/expression_generator.dart @@ -3,7 +3,7 @@ // BSD-style license that can be found in the LICENSE file. /// A library to help generate expression. -library fasta.expression_generator; +library; import 'package:_fe_analyzer_shared/src/parser/parser.dart' show lengthForToken, lengthOfSpan; diff --git a/pkg/front_end/lib/src/kernel/expression_generator_helper.dart b/pkg/front_end/lib/src/kernel/expression_generator_helper.dart index 4b6acfdd70e..d2e7b737227 100644 --- a/pkg/front_end/lib/src/kernel/expression_generator_helper.dart +++ b/pkg/front_end/lib/src/kernel/expression_generator_helper.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.expression_generator_helper; - import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Token; import 'package:kernel/ast.dart'; import 'package:kernel/type_algebra.dart'; diff --git a/pkg/front_end/lib/src/kernel/forest.dart b/pkg/front_end/lib/src/kernel/forest.dart index 67ce52d19ea..0c22abd5963 100644 --- a/pkg/front_end/lib/src/kernel/forest.dart +++ b/pkg/front_end/lib/src/kernel/forest.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.fangorn; - import 'package:kernel/ast.dart'; import 'package:kernel/src/printer.dart'; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/class_member.dart b/pkg/front_end/lib/src/kernel/hierarchy/class_member.dart index 492d929e7a5..7a171325ad9 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/class_member.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/class_member.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/type_algebra.dart'; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/delayed.dart b/pkg/front_end/lib/src/kernel/hierarchy/delayed.dart index 9a488eba58e..f1e55fa363f 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/delayed.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/delayed.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/src/types.dart'; import 'package:kernel/type_algebra.dart'; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_builder.dart b/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_builder.dart index 3031557adc0..073157903ea 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_builder.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart' show ClassHierarchyBase, ClassHierarchyExtensionTypeMixin; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart b/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart index c6b1513d66e..16cae1c8638 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/hierarchy_node.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/src/nnbd_top_merge.dart'; import 'package:kernel/src/norm.dart'; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/members_builder.dart b/pkg/front_end/lib/src/kernel/hierarchy/members_builder.dart index 0fc144c17b5..89fb877378f 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/members_builder.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/members_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart' show ClassHierarchyMembers; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/members_node.dart b/pkg/front_end/lib/src/kernel/hierarchy/members_node.dart index 89f45022816..08bd7900707 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/members_node.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/members_node.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart' show ClassHierarchy; import 'package:kernel/names.dart' show noSuchMethodName; diff --git a/pkg/front_end/lib/src/kernel/hierarchy/mixin_inferrer.dart b/pkg/front_end/lib/src/kernel/hierarchy/mixin_inferrer.dart index 39687dccf11..01b2328e08b 100644 --- a/pkg/front_end/lib/src/kernel/hierarchy/mixin_inferrer.dart +++ b/pkg/front_end/lib/src/kernel/hierarchy/mixin_inferrer.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.class_hierarchy_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart' show ClassHierarchyBase; import 'package:kernel/core_types.dart' show CoreTypes; diff --git a/pkg/front_end/lib/src/kernel/implicit_field_type.dart b/pkg/front_end/lib/src/kernel/implicit_field_type.dart index 922ec017962..8cb46661dec 100644 --- a/pkg/front_end/lib/src/kernel/implicit_field_type.dart +++ b/pkg/front_end/lib/src/kernel/implicit_field_type.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.implicit_type; - import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Token; import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/kernel/implicit_type_argument.dart b/pkg/front_end/lib/src/kernel/implicit_type_argument.dart index a761f9bcbec..0c3e893b303 100644 --- a/pkg/front_end/lib/src/kernel/implicit_type_argument.dart +++ b/pkg/front_end/lib/src/kernel/implicit_type_argument.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.implicit_type_argument; - import 'package:kernel/ast.dart' show AuxiliaryType, diff --git a/pkg/front_end/lib/src/kernel/kernel_constants.dart b/pkg/front_end/lib/src/kernel/kernel_constants.dart index d23ff51592c..8c4939b6847 100644 --- a/pkg/front_end/lib/src/kernel/kernel_constants.dart +++ b/pkg/front_end/lib/src/kernel/kernel_constants.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.kernel_constants; - import '../builder/library_builder.dart'; import '../codes/cfe_codes.dart' show LocatedMessage; import '../source/source_loader.dart' show SourceLoader; diff --git a/pkg/front_end/lib/src/kernel/kernel_helper.dart b/pkg/front_end/lib/src/kernel/kernel_helper.dart index 9d4bdb11d76..b7ed6c333f9 100644 --- a/pkg/front_end/lib/src/kernel/kernel_helper.dart +++ b/pkg/front_end/lib/src/kernel/kernel_helper.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.kernel_target; - import 'package:kernel/ast.dart'; import 'package:kernel/clone.dart' show CloneVisitorNotMembers; import 'package:kernel/type_algebra.dart' show Substitution; diff --git a/pkg/front_end/lib/src/kernel/kernel_target.dart b/pkg/front_end/lib/src/kernel/kernel_target.dart index ad7f27dcb96..759bf16301c 100644 --- a/pkg/front_end/lib/src/kernel/kernel_target.dart +++ b/pkg/front_end/lib/src/kernel/kernel_target.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.kernel_target; - import 'dart:typed_data'; import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; diff --git a/pkg/front_end/lib/src/kernel/kernel_variable_builder.dart b/pkg/front_end/lib/src/kernel/kernel_variable_builder.dart index eb47e95b664..e6ac68db21a 100644 --- a/pkg/front_end/lib/src/kernel/kernel_variable_builder.dart +++ b/pkg/front_end/lib/src/kernel/kernel_variable_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.kernel_variable_builder; - import 'package:kernel/ast.dart' show VariableDeclaration; import '../builder/builder.dart'; diff --git a/pkg/front_end/lib/src/kernel/type_builder_computer.dart b/pkg/front_end/lib/src/kernel/type_builder_computer.dart index f55bbfe8c3d..fcb6825eb8d 100644 --- a/pkg/front_end/lib/src/kernel/type_builder_computer.dart +++ b/pkg/front_end/lib/src/kernel/type_builder_computer.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.type_builder_computer; - import 'package:_fe_analyzer_shared/src/parser/parser.dart' show FormalParameterKind; import 'package:kernel/ast.dart'; diff --git a/pkg/front_end/lib/src/source/diet_listener.dart b/pkg/front_end/lib/src/source/diet_listener.dart index 5a18f994130..8fb783611e5 100644 --- a/pkg/front_end/lib/src/source/diet_listener.dart +++ b/pkg/front_end/lib/src/source/diet_listener.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.diet_listener; - import 'package:_fe_analyzer_shared/src/parser/parser.dart' show Assert, diff --git a/pkg/front_end/lib/src/source/diet_parser.dart b/pkg/front_end/lib/src/source/diet_parser.dart index fdbf2d6be7f..874d0e5319e 100644 --- a/pkg/front_end/lib/src/source/diet_parser.dart +++ b/pkg/front_end/lib/src/source/diet_parser.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.diet_parser; - import 'package:_fe_analyzer_shared/src/parser/parser.dart' show ClassMemberParser, Listener, MemberKind; import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Token; diff --git a/pkg/front_end/lib/src/source/outline_builder.dart b/pkg/front_end/lib/src/source/outline_builder.dart index fe3f0334523..0dfeb91afd0 100644 --- a/pkg/front_end/lib/src/source/outline_builder.dart +++ b/pkg/front_end/lib/src/source/outline_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.outline_builder; - import 'package:_fe_analyzer_shared/src/parser/parser.dart' show Assert, diff --git a/pkg/front_end/lib/src/source/source_class_builder.dart b/pkg/front_end/lib/src/source/source_class_builder.dart index ea410af4cc0..a623038b7cb 100644 --- a/pkg/front_end/lib/src/source/source_class_builder.dart +++ b/pkg/front_end/lib/src/source/source_class_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.source_class_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart' show ClassHierarchy, ClassHierarchyBase, ClassHierarchyMembers; diff --git a/pkg/front_end/lib/src/source/source_enum_builder.dart b/pkg/front_end/lib/src/source/source_enum_builder.dart index 6a035822d62..341c6428b72 100644 --- a/pkg/front_end/lib/src/source/source_enum_builder.dart +++ b/pkg/front_end/lib/src/source/source_enum_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.enum_builder; - import 'package:_fe_analyzer_shared/src/parser/formal_parameter_kind.dart'; import 'package:_fe_analyzer_shared/src/scanner/token.dart'; import 'package:kernel/ast.dart'; diff --git a/pkg/front_end/lib/src/source/source_field_builder.dart b/pkg/front_end/lib/src/source/source_field_builder.dart index 1356d9586fd..9a8a93f0fb1 100644 --- a/pkg/front_end/lib/src/source/source_field_builder.dart +++ b/pkg/front_end/lib/src/source/source_field_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.field_builder; - import 'package:_fe_analyzer_shared/src/scanner/scanner.dart' show Token; import 'package:_fe_analyzer_shared/src/metadata/expressions.dart' as shared; import 'package:kernel/ast.dart'; diff --git a/pkg/front_end/lib/src/source/source_function_builder.dart b/pkg/front_end/lib/src/source/source_function_builder.dart index 70d6b55ea7e..1ac8f69cd2e 100644 --- a/pkg/front_end/lib/src/source/source_function_builder.dart +++ b/pkg/front_end/lib/src/source/source_function_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.procedure_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; diff --git a/pkg/front_end/lib/src/source/source_library_builder.dart b/pkg/front_end/lib/src/source/source_library_builder.dart index 351ba20e90f..31fb9daad55 100644 --- a/pkg/front_end/lib/src/source/source_library_builder.dart +++ b/pkg/front_end/lib/src/source/source_library_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.source_library_builder; - import 'dart:convert' show jsonEncode, utf8; import 'dart:typed_data'; diff --git a/pkg/front_end/lib/src/source/source_loader.dart b/pkg/front_end/lib/src/source/source_loader.dart index d86b2c2ae7a..5b644013dba 100644 --- a/pkg/front_end/lib/src/source/source_loader.dart +++ b/pkg/front_end/lib/src/source/source_loader.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.source_loader; - import 'dart:collection' show Queue; import 'dart:convert' show utf8; import 'dart:typed_data' show Uint8List; diff --git a/pkg/front_end/lib/src/source/source_member_builder.dart b/pkg/front_end/lib/src/source/source_member_builder.dart index 435163a83a0..7c2f0070989 100644 --- a/pkg/front_end/lib/src/source/source_member_builder.dart +++ b/pkg/front_end/lib/src/source/source_member_builder.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.member_builder; - import 'package:kernel/ast.dart'; import 'package:kernel/class_hierarchy.dart'; import 'package:kernel/type_environment.dart'; diff --git a/pkg/front_end/lib/src/source/stack_listener_impl.dart b/pkg/front_end/lib/src/source/stack_listener_impl.dart index c20ef1524f0..94f267f99c3 100644 --- a/pkg/front_end/lib/src/source/stack_listener_impl.dart +++ b/pkg/front_end/lib/src/source/stack_listener_impl.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.stack_listener_impl; - import 'package:_fe_analyzer_shared/src/experiments/flags.dart' as shared show ExperimentalFlag; import 'package:_fe_analyzer_shared/src/parser/stack_listener.dart'; diff --git a/pkg/front_end/test/assert_locations_test.dart b/pkg/front_end/test/assert_locations_test.dart index d5100e753b9..ae1c048ffcb 100644 --- a/pkg/front_end/test/assert_locations_test.dart +++ b/pkg/front_end/test/assert_locations_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.assert_locations_test; - import 'package:expect/async_helper.dart' show asyncTest; import 'package:expect/expect.dart' show Expect; import "package:front_end/src/api_prototype/compiler_options.dart" diff --git a/pkg/front_end/test/expression_suite.dart b/pkg/front_end/test/expression_suite.dart index bc4cbed6292..ba15a11bd87 100644 --- a/pkg/front_end/test/expression_suite.dart +++ b/pkg/front_end/test/expression_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.expression_test; - import "dart:io" show File, IOSink; import 'dart:typed_data' show Uint8List; diff --git a/pkg/front_end/test/incremental_dartino_suite.dart b/pkg/front_end/test/incremental_dartino_suite.dart index 9968702ad64..3fac42e3212 100644 --- a/pkg/front_end/test/incremental_dartino_suite.dart +++ b/pkg/front_end/test/incremental_dartino_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.incremental_test; - import "dart:convert" show JsonEncoder; import "dart:io" show File; diff --git a/pkg/front_end/test/incremental_expectations.dart b/pkg/front_end/test/incremental_expectations.dart index d433efa31e3..532a9cc144e 100644 --- a/pkg/front_end/test/incremental_expectations.dart +++ b/pkg/front_end/test/incremental_expectations.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.incremental_expectations; - import "dart:convert" show JsonDecoder, JsonEncoder; const JsonEncoder json = const JsonEncoder.withIndent(" "); diff --git a/pkg/front_end/test/incremental_hello_test.dart b/pkg/front_end/test/incremental_hello_test.dart index 5a357249221..2d76d5e94f8 100644 --- a/pkg/front_end/test/incremental_hello_test.dart +++ b/pkg/front_end/test/incremental_hello_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.incremental_dynamic_test; - import 'package:expect/async_helper.dart' show asyncTest; import 'package:expect/expect.dart' show Expect; import "package:front_end/src/api_prototype/compiler_options.dart" diff --git a/pkg/front_end/test/incremental_source_files.dart b/pkg/front_end/test/incremental_source_files.dart index a4634ce125b..5eb17993c20 100644 --- a/pkg/front_end/test/incremental_source_files.dart +++ b/pkg/front_end/test/incremental_source_files.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.incremental_source_files; - /// Expand a file with diffs in common merge conflict format into a [List] that /// can be passed to [expandUpdates]. /// diff --git a/pkg/front_end/test/modular_suite.dart b/pkg/front_end/test/modular_suite.dart index a7da47a5356..581688eeb67 100644 --- a/pkg/front_end/test/modular_suite.dart +++ b/pkg/front_end/test/modular_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.modular_suite; - import 'utils/suite_utils.dart' show internalMain; import 'testing/environment_keys.dart'; import 'testing/suite.dart'; diff --git a/pkg/front_end/test/outline_suite.dart b/pkg/front_end/test/outline_suite.dart index 7fd9a542338..b18bf758b6f 100644 --- a/pkg/front_end/test/outline_suite.dart +++ b/pkg/front_end/test/outline_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.outline_suite; - import 'utils/suite_utils.dart' show internalMain; import 'testing/environment_keys.dart'; import 'testing/suite.dart'; diff --git a/pkg/front_end/test/strong_suite.dart b/pkg/front_end/test/strong_suite.dart index 7c4c1ba0bb7..708c9fcbeef 100644 --- a/pkg/front_end/test/strong_suite.dart +++ b/pkg/front_end/test/strong_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.strong_suite; - import 'utils/suite_utils.dart' show internalMain; import 'testing/environment_keys.dart'; import 'testing/suite.dart'; diff --git a/pkg/front_end/test/super_mixins_test.dart b/pkg/front_end/test/super_mixins_test.dart index ac3dcca83a7..b76dd16ec37 100644 --- a/pkg/front_end/test/super_mixins_test.dart +++ b/pkg/front_end/test/super_mixins_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.incremental_dynamic_test; - import "package:_fe_analyzer_shared/src/messages/diagnostic_message.dart" show DiagnosticMessage, diff --git a/pkg/front_end/test/testing/suite.dart b/pkg/front_end/test/testing/suite.dart index 9367a51e152..9ab315db10d 100644 --- a/pkg/front_end/test/testing/suite.dart +++ b/pkg/front_end/test/testing/suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.testing.suite; - import 'dart:convert' show jsonDecode, utf8; import 'dart:io' show Directory, File, Platform; import 'dart:typed_data' show Uint8List; diff --git a/pkg/front_end/test/textual_outline_suite.dart b/pkg/front_end/test/textual_outline_suite.dart index 42654876205..e23cd271e61 100644 --- a/pkg/front_end/test/textual_outline_suite.dart +++ b/pkg/front_end/test/textual_outline_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.textual_outline_test; - import 'dart:io'; import 'dart:typed_data'; diff --git a/pkg/front_end/test/utils/kernel_chain.dart b/pkg/front_end/test/utils/kernel_chain.dart index 7641ba13c21..fabfeb61026 100644 --- a/pkg/front_end/test/utils/kernel_chain.dart +++ b/pkg/front_end/test/utils/kernel_chain.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.testing.kernel_chain; - import 'dart:async'; import 'dart:io' show Directory, File, IOSink, Platform; import 'dart:typed_data'; diff --git a/pkg/front_end/test/utils/scanner_chain.dart b/pkg/front_end/test/utils/scanner_chain.dart index 933dc567d30..d74964bf482 100644 --- a/pkg/front_end/test/utils/scanner_chain.dart +++ b/pkg/front_end/test/utils/scanner_chain.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.testing.scanner_chain; - import 'dart:typed_data' show Uint8List; import 'package:_fe_analyzer_shared/src/scanner/io.dart' show readBytesFromFile; diff --git a/pkg/front_end/test/utils/suite_utils.dart b/pkg/front_end/test/utils/suite_utils.dart index f29b40d2f43..b6bdd140301 100644 --- a/pkg/front_end/test/utils/suite_utils.dart +++ b/pkg/front_end/test/utils/suite_utils.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.suite_utils; - import 'dart:io'; import 'package:testing/src/chain.dart' show CreateContext; diff --git a/pkg/front_end/test/weak_suite.dart b/pkg/front_end/test/weak_suite.dart index 84319a2921c..101f14ad0ab 100644 --- a/pkg/front_end/test/weak_suite.dart +++ b/pkg/front_end/test/weak_suite.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.weak_suite; - import 'utils/suite_utils.dart' show internalMain; import 'testing/environment_keys.dart'; import 'testing/suite.dart'; diff --git a/pkg/front_end/tool/_fasta/additional_targets.dart b/pkg/front_end/tool/_fasta/additional_targets.dart index cabc0cededd..b1592c91e34 100644 --- a/pkg/front_end/tool/_fasta/additional_targets.dart +++ b/pkg/front_end/tool/_fasta/additional_targets.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.tool.additional_targets; - import 'package:compiler/src/kernel/dart2js_target.dart' show Dart2jsTarget; import 'package:dart2wasm/target.dart' as wasm show Mode; import 'package:dart2wasm/target.dart' show WasmTarget; diff --git a/pkg/front_end/tool/_fasta/additional_targets_test.dart b/pkg/front_end/tool/_fasta/additional_targets_test.dart index 85d15bc38f9..5042d2e0edd 100644 --- a/pkg/front_end/tool/_fasta/additional_targets_test.dart +++ b/pkg/front_end/tool/_fasta/additional_targets_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.tool.additional_targets_test; - import 'package:front_end/src/base/command_line_options.dart'; import 'package:front_end/src/codes/cfe_codes.dart' show MessageCode, messageFastaUsageLong; diff --git a/pkg/front_end/tool/_fasta/bench_maker.dart b/pkg/front_end/tool/_fasta/bench_maker.dart index 0ec50bfe685..e4e9f452fd7 100644 --- a/pkg/front_end/tool/_fasta/bench_maker.dart +++ b/pkg/front_end/tool/_fasta/bench_maker.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.tool.entry_points; - import "dart:convert" show JsonEncoder; import "dart:io" show File; diff --git a/pkg/front_end/tool/_fasta/command_line.dart b/pkg/front_end/tool/_fasta/command_line.dart index c263755b864..1d997afa55f 100644 --- a/pkg/front_end/tool/_fasta/command_line.dart +++ b/pkg/front_end/tool/_fasta/command_line.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.tool.command_line; - import 'dart:io' show exit; import 'package:_fe_analyzer_shared/src/messages/severity.dart' show Severity; diff --git a/pkg/front_end/tool/_fasta/compile_platform_legacy_test.dart b/pkg/front_end/tool/_fasta/compile_platform_legacy_test.dart index 433176eaf10..58eea71a2f9 100644 --- a/pkg/front_end/tool/_fasta/compile_platform_legacy_test.dart +++ b/pkg/front_end/tool/_fasta/compile_platform_legacy_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.compile_platform_test; - import 'dart:io'; import 'package:expect/async_helper.dart'; diff --git a/pkg/front_end/tool/_fasta/compile_platform_test.dart b/pkg/front_end/tool/_fasta/compile_platform_test.dart index 433176eaf10..58eea71a2f9 100644 --- a/pkg/front_end/tool/_fasta/compile_platform_test.dart +++ b/pkg/front_end/tool/_fasta/compile_platform_test.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.test.compile_platform_test; - import 'dart:io'; import 'package:expect/async_helper.dart'; diff --git a/pkg/front_end/tool/_fasta/entry_points.dart b/pkg/front_end/tool/_fasta/entry_points.dart index dedea557951..3a896ec4994 100644 --- a/pkg/front_end/tool/_fasta/entry_points.dart +++ b/pkg/front_end/tool/_fasta/entry_points.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.tool.entry_points; - import 'dart:convert' show JsonEncoder, LineSplitter, jsonDecode, utf8; import 'dart:io' show File, Platform, ProcessSignal, exit, exitCode, stderr, stdin, stdout; diff --git a/pkg/kernel/lib/util/graph.dart b/pkg/kernel/lib/util/graph.dart index 5adf72a20cb..5fa2cd2b9d4 100644 --- a/pkg/kernel/lib/util/graph.dart +++ b/pkg/kernel/lib/util/graph.dart @@ -2,8 +2,6 @@ // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. -library fasta.graph; - import 'dart:math'; import '../ast.dart';