dart-sdk/pkg/front_end
Johnni Winther 5b2e23eab0 [cfe,vm,wasm] Handle private injected members like augmentations
This changes the way the CFE handled private injected members. Previously
these were "hidden" within the patch library in which they were declared.
Now they are, like with members injected in augmentation libraries, fully
integrated and accessible within the origin library and all its patches.

This change revealed that the vm and wasm platforms had some
inconsistently declared classes in which injected private members that
were not implemented by all implementing classes. For these, throwing
stubs have been added.

Cq-Include-Trybots: luci.dart.try:dart2wasm-linux-x64-d8-try
Change-Id: I330eade944964ef43b83aa416baef75e3649d023
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/262340
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2022-10-04 14:43:43 +00:00
..
benchmarks [CFE] Benchmarks for list copy, mapping etc. 2022-01-24 14:40:26 +00:00
lib [cfe,vm,wasm] Handle private injected members like augmentations 2022-10-04 14:43:43 +00:00
outline_extraction_testcases [CFE] Remove many uses of .packages files in tests 2022-06-22 07:34:49 +00:00
parser_testcases [cfe] Handle pattern events in BodyBuilder 2022-10-04 13:31:41 +00:00
test [cfe,vm,wasm] Handle private injected members like augmentations 2022-10-04 14:43:43 +00:00
testcases [cfe,vm,wasm] Handle private injected members like augmentations 2022-10-04 14:43:43 +00:00
tool [CFE] Duplicate code finder experiment take #1 2022-09-16 08:56:50 +00:00
analysis_options.yaml
analysis_options_no_lints.yaml [cfe] Add initial support for macro precompilation in incremental compiler 2022-03-09 22:14:05 +00:00
error_recovery.yaml
LICENSE
messages.status [pkg:js] Add type/conformance checking for createStaticInteropMock 2022-09-16 20:13:30 +00:00
messages.yaml [pkg:js] Add type/conformance checking for createStaticInteropMock 2022-09-16 20:13:30 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py
pubspec.yaml [pkg] prefer 'any' deps for package dev dependencies 2022-05-27 01:34:59 +00:00
README.md
testing.json [cfe] Remove language version from inference testcases 2022-07-08 12:52:19 +00:00
testing_with_lints.json

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the dart analyze command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the analyzer package.

Note: A previous version of this package was published on pub.dev. It has now been marked DISCONTINUED as it is not intended for direct consumption, as per the notes above.