dart-sdk/pkg/front_end
Johnni Winther 4b704b8f0b [cfe] Use SourceCompilationUnit in SourceLoader.tokenize
This moves a lot of the methods needed for tokenization and
outline parsing from SourceLibraryBuilder to SourceCompilationUnitImpl.

Parts that are still used elsewhere remains in SourceLibraryBuilder
but accessed through SourceCompilationUnitImpl.

Change-Id: I0df431eee4c187e5447850961d2c27be14cb0ba3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371682
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2024-06-14 10:49:48 +00:00
..
benchmarks
lib/src [cfe] Use SourceCompilationUnit in SourceLoader.tokenize 2024-06-14 10:49:48 +00:00
outline_extraction_testcases
parser_testcases
test [cfe] Use SourceCompilationUnit in SourceLoader.tokenize 2024-06-14 10:49:48 +00:00
testcases [cfe] Formal parameter wildcards are non-binding. 2024-06-12 14:42:51 +00:00
tool [cfe] Use SourceCompilationUnit in SourceLoader.tokenize 2024-06-14 10:49:48 +00:00
analysis_options.yaml
analysis_options_no_lints.yaml
error_recovery.yaml
LICENSE
messages.status Reland "[dart2wasm] Check import/export pragmas in user code" 2024-06-11 13:12:27 +00:00
messages.yaml Reland "[dart2wasm] Check import/export pragmas in user code" 2024-06-11 13:12:27 +00:00
OWNERS
PRESUBMIT.py
presubmit_helper.dart
presubmit_helper_spawn.dart
pubspec.yaml
README.md
testing.json
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.