dart-sdk/pkg/_fe_analyzer_shared
Johnni Winther 7fce125300 [cfe,kernel] Add AstPrinter
This CL adds a Node.toText method together with an AstPrinter. These
facility and better toString implementation on AST nodes while allowing
for toString independent printing of AST to use in testing. This also
add support for an integrated toString of custom/internal nodes.

Some work is still needed in bringing the toString implementation on
all nodes to the old quality, and not all internal nodes have
customized textual representations yet. This work is left for future
CLs.

Change-Id: Ib0bf8a0bc02f489dfacdc8aa5f96da9c52f26058
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150923
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
2020-06-16 17:15:10 +00:00
..
lib/src [cfe,kernel] Add AstPrinter 2020-06-16 17:15:10 +00:00
test Make variables assigned in a loop not definitely unassigned anywhere in the loop. 2020-06-15 17:29:05 +00:00
tool [CFE] Include _fe_analyzer_shared in tests 2020-05-11 13:13:21 +00:00
analysis_options.yaml Create a package to hold code shared between front_end and analyzer. 2019-10-31 13:05:53 +00:00
analysis_options_no_lints.yaml Exclude _fe_analyzer_shared/test/constants/data 2020-04-13 17:47:32 +00:00
LICENSE Create a package to hold code shared between front_end and analyzer. 2019-10-31 13:05:53 +00:00
PRESUBMIT.py [CFE] Spell check on kernel src; presubmit on kernel & _fe_analyzer_shared 2019-12-02 13:00:47 +00:00
pubspec.yaml Prepare to publish analyzer 0.39.9 and _fe_analyzer_shared 4.0.0. 2020-06-02 20:20:43 +00:00
README.md Create a package to hold code shared between front_end and analyzer. 2019-10-31 13:05:53 +00:00

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.