mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
Rename pkg/analysis_tool to pkg/analyzer_utilities.
It's no longer just for the tools in the `tool` directory; it also contains test utilities for use by the analyzer and related packages. Change-Id: I0f8cf57f24ea7aad8e2177e43ee2bcb2ab3030da Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171704 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
b3120a6170
commit
7d3bc4862d
|
@ -73,12 +73,6 @@
|
||||||
"packageUri": "lib/",
|
"packageUri": "lib/",
|
||||||
"languageVersion": "2.8"
|
"languageVersion": "2.8"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "analysis_tool",
|
|
||||||
"rootUri": "../pkg/analysis_tool",
|
|
||||||
"packageUri": "lib/",
|
|
||||||
"languageVersion": "2.1"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "analyzer",
|
"name": "analyzer",
|
||||||
"rootUri": "../pkg/analyzer",
|
"rootUri": "../pkg/analyzer",
|
||||||
|
@ -97,6 +91,12 @@
|
||||||
"packageUri": "lib/",
|
"packageUri": "lib/",
|
||||||
"languageVersion": "2.3"
|
"languageVersion": "2.3"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "analyzer_utilities",
|
||||||
|
"rootUri": "../pkg/analyzer_utilities",
|
||||||
|
"packageUri": "lib/",
|
||||||
|
"languageVersion": "2.1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "args",
|
"name": "args",
|
||||||
"rootUri": "../third_party/pkg/args",
|
"rootUri": "../third_party/pkg/args",
|
||||||
|
|
|
@ -10,10 +10,10 @@ _fe_analyzer_shared:pkg/_fe_analyzer_shared/lib
|
||||||
_js_interop_checks:pkg/_js_interop_checks/lib
|
_js_interop_checks:pkg/_js_interop_checks/lib
|
||||||
analysis_server:pkg/analysis_server/lib
|
analysis_server:pkg/analysis_server/lib
|
||||||
analysis_server_client:pkg/analysis_server_client/lib
|
analysis_server_client:pkg/analysis_server_client/lib
|
||||||
analysis_tool:pkg/analysis_tool/lib
|
|
||||||
analyzer:pkg/analyzer/lib
|
analyzer:pkg/analyzer/lib
|
||||||
analyzer_cli:pkg/analyzer_cli/lib
|
analyzer_cli:pkg/analyzer_cli/lib
|
||||||
analyzer_plugin:pkg/analyzer_plugin/lib
|
analyzer_plugin:pkg/analyzer_plugin/lib
|
||||||
|
analyzer_utilities:pkg/analyzer_utilities/lib
|
||||||
args:third_party/pkg/args/lib
|
args:third_party/pkg/args/lib
|
||||||
async:third_party/pkg/async/lib
|
async:third_party/pkg/async/lib
|
||||||
async_helper:pkg/async_helper/lib
|
async_helper:pkg/async_helper/lib
|
||||||
|
|
|
@ -30,7 +30,7 @@ dependencies:
|
||||||
yaml: any
|
yaml: any
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
analysis_tool: any
|
analyzer_utilities: any
|
||||||
http: any
|
http: any
|
||||||
logging: any
|
logging: any
|
||||||
matcher: any
|
matcher: any
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/memory_file_system.dart';
|
import 'package:analyzer/file_system/memory_file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
|
|
||||||
/// Helper for copying files from "tests/mock_packages" to memory file system.
|
/// Helper for copying files from "tests/mock_packages" to memory file system.
|
||||||
class MockPackages {
|
class MockPackages {
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_server/src/services/correction/sort_members.dart';
|
import 'package:analysis_server/src/services/correction/sort_members.dart';
|
||||||
import 'package:analysis_tool/package_root.dart';
|
|
||||||
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
||||||
import 'package:analyzer/dart/analysis/results.dart';
|
import 'package:analyzer/dart/analysis/results.dart';
|
||||||
import 'package:analyzer/dart/analysis/session.dart';
|
import 'package:analyzer/dart/analysis/session.dart';
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart';
|
||||||
import 'package:meta/meta.dart';
|
import 'package:meta/meta.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analysis_tool/verify_tests.dart';
|
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
|
import 'package:analyzer_utilities/verify_tests.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
var provider = PhysicalResourceProvider.INSTANCE;
|
var provider = PhysicalResourceProvider.INSTANCE;
|
||||||
|
|
|
@ -8,8 +8,6 @@ import 'package:_fe_analyzer_shared/src/base/syntactic_entity.dart';
|
||||||
import 'package:analysis_server/src/protocol_server.dart' show ElementKind;
|
import 'package:analysis_server/src/protocol_server.dart' show ElementKind;
|
||||||
import 'package:analysis_server/src/services/completion/dart/feature_computer.dart';
|
import 'package:analysis_server/src/services/completion/dart/feature_computer.dart';
|
||||||
import 'package:analysis_server/src/utilities/flutter.dart';
|
import 'package:analysis_server/src/utilities/flutter.dart';
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
|
||||||
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
||||||
import 'package:analyzer/dart/analysis/context_root.dart';
|
import 'package:analyzer/dart/analysis/context_root.dart';
|
||||||
import 'package:analyzer/dart/analysis/results.dart';
|
import 'package:analyzer/dart/analysis/results.dart';
|
||||||
|
@ -24,6 +22,8 @@ import 'package:analyzer/diagnostic/diagnostic.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
import 'package:analyzer/src/dart/element/inheritance_manager3.dart';
|
import 'package:analyzer/src/dart/element/inheritance_manager3.dart';
|
||||||
import 'package:analyzer/src/generated/engine.dart';
|
import 'package:analyzer/src/generated/engine.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:args/args.dart';
|
import 'package:args/args.dart';
|
||||||
import 'package:meta/meta.dart';
|
import 'package:meta/meta.dart';
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'generate_all.dart';
|
import 'generate_all.dart';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "AnalysisServer.java".
|
/// Code generation for the file "AnalysisServer.java".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
import 'codegen_java.dart';
|
import 'codegen_java.dart';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart';
|
import 'package:html/dom.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "integration_test_methods.dart".
|
/// Code generation for the file "integration_test_methods.dart".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Tools for Java code generation.
|
/// Tools for Java code generation.
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "AnalysisServer.java".
|
/// Code generation for the file "AnalysisServer.java".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "matchers.dart".
|
/// Code generation for the file "matchers.dart".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
import 'from_html.dart';
|
import 'from_html.dart';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
import 'codegen_dart.dart';
|
import 'codegen_dart.dart';
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
/// Code for reading an HTML API description.
|
/// Code for reading an HTML API description.
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/html.dart';
|
import 'package:analyzer_utilities/html.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
import 'package:html/parser.dart' as parser;
|
import 'package:html/parser.dart' as parser;
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'codegen_analysis_server.dart' as codegen_analysis_server;
|
import 'codegen_analysis_server.dart' as codegen_analysis_server;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code for enumerating the set of types implied by the API.
|
/// Code for enumerating the set of types implied by the API.
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
/// in generated code.
|
/// in generated code.
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:analysis_tool/html.dart';
|
import 'package:analyzer_utilities/html.dart';
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -15,6 +15,6 @@ dev_dependencies:
|
||||||
path: ../analyzer
|
path: ../analyzer
|
||||||
analysis_server:
|
analysis_server:
|
||||||
path: ../analysis_server
|
path: ../analysis_server
|
||||||
analysis_tool:
|
analyzer_utilities:
|
||||||
path: ../analysis_tool
|
path: ../analyzer_utilities
|
||||||
test: ^1.14.2
|
test: ^1.14.2
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_server/src/services/correction/sort_members.dart';
|
import 'package:analysis_server/src/services/correction/sort_members.dart';
|
||||||
import 'package:analysis_tool/package_root.dart';
|
|
||||||
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
||||||
import 'package:analyzer/dart/analysis/results.dart';
|
import 'package:analyzer/dart/analysis/results.dart';
|
||||||
import 'package:analyzer/dart/analysis/session.dart';
|
import 'package:analyzer/dart/analysis/session.dart';
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
|
@ -22,8 +22,8 @@ dependencies:
|
||||||
watcher: ^0.9.6
|
watcher: ^0.9.6
|
||||||
yaml: ^2.1.2
|
yaml: ^2.1.2
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
analysis_tool:
|
analyzer_utilities:
|
||||||
path: ../analysis_tool
|
path: ../analyzer_utilities
|
||||||
linter: any
|
linter: any
|
||||||
matcher: ^0.12.3
|
matcher: ^0.12.3
|
||||||
pedantic: ^1.9.0
|
pedantic: ^1.9.0
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
import 'dart:io' as io;
|
import 'dart:io' as io;
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analyzer/dart/ast/ast.dart';
|
import 'package:analyzer/dart/ast/ast.dart';
|
||||||
import 'package:analyzer/dart/ast/visitor.dart';
|
import 'package:analyzer/dart/ast/visitor.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
import '../dart/ast/parse_base.dart';
|
import '../dart/ast/parse_base.dart';
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analyzer/dart/analysis/analysis_context.dart';
|
import 'package:analyzer/dart/analysis/analysis_context.dart';
|
||||||
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
||||||
import 'package:analyzer/dart/analysis/results.dart';
|
import 'package:analyzer/dart/analysis/results.dart';
|
||||||
|
@ -13,6 +12,7 @@ import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/overlay_file_system.dart';
|
import 'package:analyzer/file_system/overlay_file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
import 'package:analyzer/src/error/codes.dart';
|
import 'package:analyzer/src/error/codes.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
main() async {
|
main() async {
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analysis_tool/verify_tests.dart';
|
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
|
import 'package:analyzer_utilities/verify_tests.dart';
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
var provider = PhysicalResourceProvider.INSTANCE;
|
var provider = PhysicalResourceProvider.INSTANCE;
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
import 'package:analyzer/dart/analysis/analysis_context_collection.dart';
|
||||||
import 'package:analyzer/dart/analysis/results.dart';
|
import 'package:analyzer/dart/analysis/results.dart';
|
||||||
import 'package:analyzer/dart/analysis/session.dart';
|
import 'package:analyzer/dart/analysis/session.dart';
|
||||||
import 'package:analyzer/dart/ast/ast.dart';
|
import 'package:analyzer/dart/ast/ast.dart';
|
||||||
import 'package:analyzer/dart/ast/token.dart';
|
import 'package:analyzer/dart/ast/token.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:path/src/context.dart';
|
import 'package:path/src/context.dart';
|
||||||
|
|
||||||
/// Generate the file `diagnostics.md` based on the documentation associated
|
/// Generate the file `diagnostics.md` based on the documentation associated
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import "dart:io" show Platform;
|
import "dart:io" show Platform;
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'generate.dart';
|
import 'generate.dart';
|
||||||
|
|
|
@ -4,8 +4,8 @@ import 'dart:io';
|
||||||
|
|
||||||
import 'package:_fe_analyzer_shared/src/scanner/characters.dart'
|
import 'package:_fe_analyzer_shared/src/scanner/characters.dart'
|
||||||
show $MINUS, $_;
|
show $MINUS, $_;
|
||||||
import 'package:analysis_tool/package_root.dart' as pkg_root;
|
import 'package:analyzer_utilities/package_root.dart' as pkg_root;
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
import 'package:yaml/yaml.dart' show YamlMap, loadYaml;
|
import 'package:yaml/yaml.dart' show YamlMap, loadYaml;
|
||||||
|
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:_fe_analyzer_shared/src/scanner/scanner.dart';
|
import 'package:_fe_analyzer_shared/src/scanner/scanner.dart';
|
||||||
import 'package:analysis_tool/package_root.dart' as pkg_root;
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
|
||||||
import 'package:analyzer/error/error.dart';
|
import 'package:analyzer/error/error.dart';
|
||||||
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
|
import 'package:analyzer/src/dart/error/syntactic_errors.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as pkg_root;
|
||||||
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
import 'package:yaml/yaml.dart' show loadYaml;
|
import 'package:yaml/yaml.dart' show loadYaml;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'generate.dart';
|
import 'generate.dart';
|
||||||
|
|
|
@ -20,7 +20,7 @@ import 'dart:io';
|
||||||
|
|
||||||
import 'package:_fe_analyzer_shared/src/scanner/scanner.dart';
|
import 'package:_fe_analyzer_shared/src/scanner/scanner.dart';
|
||||||
import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Token;
|
import 'package:_fe_analyzer_shared/src/scanner/token.dart' show Token;
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'idl_model.dart' as idl_model;
|
import 'idl_model.dart' as idl_model;
|
||||||
import 'mini_ast.dart';
|
import 'mini_ast.dart';
|
||||||
|
|
|
@ -14,8 +14,8 @@ dependencies:
|
||||||
pub_semver: '^1.3.2'
|
pub_semver: '^1.3.2'
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
analysis_tool:
|
analyzer_utilities:
|
||||||
path: ../analysis_tool
|
path: ../analyzer_utilities
|
||||||
html: '>=0.13.1 <0.15.0'
|
html: '>=0.13.1 <0.15.0'
|
||||||
path: '^1.4.1'
|
path: '^1.4.1'
|
||||||
test_reflective_loader: ^0.1.8
|
test_reflective_loader: ^0.1.8
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
|
||||||
import 'package:analysis_tool/verify_tests.dart';
|
|
||||||
import 'package:analyzer/file_system/file_system.dart';
|
import 'package:analyzer/file_system/file_system.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
|
import 'package:analyzer_utilities/verify_tests.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
var provider = PhysicalResourceProvider.INSTANCE;
|
var provider = PhysicalResourceProvider.INSTANCE;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'generate_all.dart';
|
import 'generate_all.dart';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "integration_test_methods.dart".
|
/// Code generation for the file "integration_test_methods.dart".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code generation for the file "matchers.dart".
|
/// Code generation for the file "matchers.dart".
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
import 'from_html.dart';
|
import 'from_html.dart';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
import 'codegen_dart.dart';
|
import 'codegen_dart.dart';
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
/// Code for reading an HTML API description.
|
/// Code for reading an HTML API description.
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/html.dart';
|
import 'package:analyzer_utilities/html.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
import 'package:html/parser.dart' as parser;
|
import 'package:html/parser.dart' as parser;
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
||||||
import 'codegen_dart_protocol.dart' as codegen_dart_protocol;
|
import 'codegen_dart_protocol.dart' as codegen_dart_protocol;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
/// Code for enumerating the set of types implied by the API.
|
/// Code for enumerating the set of types implied by the API.
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
/// in generated code.
|
/// in generated code.
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:analysis_tool/html.dart';
|
import 'package:analyzer_utilities/html.dart';
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
|
|
||||||
import 'api.dart';
|
import 'api.dart';
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* analyzer and analysis server.
|
* analyzer and analysis server.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import 'package:analysis_tool/tools.dart';
|
import 'package:analyzer_utilities/tools.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
|
|
||||||
final RegExp whitespace = new RegExp(r'\s');
|
final RegExp whitespace = new RegExp(r'\s');
|
|
@ -8,8 +8,8 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:analysis_tool/html.dart';
|
import 'package:analyzer_utilities/html.dart';
|
||||||
import 'package:analysis_tool/text_formatter.dart';
|
import 'package:analyzer_utilities/text_formatter.dart';
|
||||||
import 'package:html/dom.dart' as dom;
|
import 'package:html/dom.dart' as dom;
|
||||||
import 'package:path/path.dart';
|
import 'package:path/path.dart';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: analysis_tool
|
name: analyzer_utilities
|
||||||
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
# This package is not intended for consumption on pub.dev. DO NOT publish.
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
|
@ -21,8 +21,8 @@ dependencies:
|
||||||
yaml: ^2.1.15
|
yaml: ^2.1.15
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
analysis_tool:
|
analyzer_utilities:
|
||||||
path: ../analysis_tool
|
path: ../analyzer_utilities
|
||||||
http: '>=0.11.3+17 <0.13.0'
|
http: '>=0.11.3+17 <0.13.0'
|
||||||
pedantic: ^1.9.0
|
pedantic: ^1.9.0
|
||||||
test: ^1.6.4
|
test: ^1.6.4
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// for details. All rights reserved. Use of this source code is governed by a
|
// 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.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analysis_tool/package_root.dart' as package_root;
|
import 'package:analyzer_utilities/package_root.dart' as package_root;
|
||||||
import 'package:analysis_tool/verify_tests.dart';
|
import 'package:analyzer_utilities/verify_tests.dart';
|
||||||
import 'package:analyzer/file_system/physical_file_system.dart';
|
import 'package:analyzer/file_system/physical_file_system.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
|
@ -276,8 +276,8 @@ function add_package_to_workspace {
|
||||||
case "${package_name}" in
|
case "${package_name}" in
|
||||||
_fe_analyzer_shared) repo=sdk
|
_fe_analyzer_shared) repo=sdk
|
||||||
make_clone_from_package _fe_analyzer_shared "${repo}" master pkg/_fe_analyzer_shared ;;
|
make_clone_from_package _fe_analyzer_shared "${repo}" master pkg/_fe_analyzer_shared ;;
|
||||||
analysis_tool) repo=sdk
|
analyzer_utilities) repo=sdk
|
||||||
make_clone_from_package analysis_tool "${repo}" master pkg/analysis_tool ;;
|
make_clone_from_package analyzer_utilities "${repo}" master pkg/analyzer_utilities ;;
|
||||||
analyzer) repo=sdk
|
analyzer) repo=sdk
|
||||||
make_clone_from_package analyzer "${repo}" master pkg/analyzer ;;
|
make_clone_from_package analyzer "${repo}" master pkg/analyzer ;;
|
||||||
build) repo=build
|
build) repo=build
|
||||||
|
@ -379,7 +379,7 @@ function add_package_to_workspace {
|
||||||
# those here.
|
# those here.
|
||||||
case "${package_name}" in
|
case "${package_name}" in
|
||||||
analyzer)
|
analyzer)
|
||||||
add_package_to_workspace "analysis_tool"
|
add_package_to_workspace "analyzer_utilities"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
if [ -n "${NO_UPDATE}" ] || repo_changed_this_run "${repo}" ; then
|
if [ -n "${NO_UPDATE}" ] || repo_changed_this_run "${repo}" ; then
|
||||||
|
@ -447,4 +447,4 @@ function main {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in a new issue