dart-sdk/pkg/front_end
Kallen Tu 327bc451f8 Added variance support in listeners to ast.
Pass variance data to field in TypeParameter through the listeners.
ast_to_text will print variances for classes and mixins if specified.

Avoids serialization/deserialization (impl in future CL).

Change-Id: I298537604823710f0d30001f4cb5f1e81530959f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118464
Commit-Queue: Kallen Tu <kallentu@google.com>
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
2019-09-26 18:11:10 +00:00
..
benchmarks/ikg
lib/src Added variance support in listeners to ast. 2019-09-26 18:11:10 +00:00
parser_testcases [CFE] Parser test framework 2019-09-26 08:40:08 +00:00
test Added variance support in listeners to ast. 2019-09-26 18:11:10 +00:00
testcases Added variance support in listeners to ast. 2019-09-26 18:11:10 +00:00
tool [vm/bytecode] Split AST and bytecode platform dill files 2019-09-23 23:08:41 +00:00
analysis_options.yaml [CFE] First batch of fixes for requiring explicit types 2019-08-15 13:13:20 +00:00
analysis_options_no_lints.yaml [CFE] Parser test framework 2019-09-26 08:40:08 +00:00
error_recovery.yaml
LICENSE
messages.status Added parser recovery for multiple variance modifiers. 2019-09-25 17:12:06 +00:00
messages.yaml update analyzer error message generator to generate hasPublishedDocs 2019-09-26 17:11:02 +00:00
PRESUBMIT.py [CFE] Add PRESUBMIT.py that runs a little smoke testing 2019-08-16 12:28:07 +00:00
pubspec.yaml Prepare to publish analyzer 0.38.4 2019-09-25 19:00:01 +00:00
README.md
testing.json [CFE] Parser test framework 2019-09-26 08:40:08 +00:00
testing_with_lints.json [CFE] Add test that runs analyzer on CFE source with lints 2019-08-22 10:52:59 +00:00

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 [dartanalyzer][analyzercli] command-line tool to analyze their Dart code.

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

Note: The APIs in this package are in an early state; developers should be careful about depending on this package. In particular, there is no semver contract for release versions of this package. Please depend directly on individual versions.