dart-sdk/pkg/_fe_analyzer_shared
Sam Rawlins 51114fca8a Unnamed libraries
Fixes https://github.com/dart-lang/language/issues/1073

Spec: https://github.com/dart-lang/language/blob/master/accepted/future-releases/unnamed-libraries/feature-specification.md

This work allows library directives without a name. Every single one would look like this:

```
library;
```

:) it was a little anti-climactic implementing a non-feature like this, but there it is.

The affordance for a library directive without a name is guarded by an experiment flag, `--unnamed-libraries`.

Change-Id: I8612238359e88d6082f7e89d0d0fc624fdb45273
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257490
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2022-09-23 05:37:39 +00:00
..
benchmark Import exhaustiveness checker prototype into _fe_analyzer_shared. 2022-05-17 17:46:39 +00:00
lib/src Unnamed libraries 2022-09-23 05:37:39 +00:00
test Shared type analysis: simplify handling of patterns. 2022-09-22 22:41:32 +00:00
tool Change : to = for default values in pkg. 2022-08-24 15:57:16 +00:00
analysis_options.yaml Change SDK constraint for _fe_analyzer_shared to 2.17.0. 2022-06-29 19:31:55 +00:00
analysis_options_no_lints.yaml [cfe] Add macro api test 2022-02-10 16:08:00 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py [python3] Migrate PRESUBMIT.py files 2021-08-16 08:29:54 +00:00
pubspec.yaml Prepare to publish analyzer 5.0.0 and _fe_analyzer_shared 48.0.0 2022-09-12 19:37:09 +00:00
README.md

FE/analyzer shared code

This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.

End users should consider using the analyzer package to analyze Dart source code.