dart-sdk/pkg/front_end
danrubel 5909efe401 Fix scanning of unterminated strings
This fixes
* lineStart tracking when synthetic strings added
* token charOffset when scanning UTF-8 stream

These changes prevent the crashes mentioned in
#29976 and #29982.

R=ahe@google.com

Review-Url: https://codereview.chromium.org/2984713002 .
2017-08-01 17:31:07 -04:00
..
example/incremental_reload Kernel driver: pass options and use it for its compiler context 2017-07-31 13:22:50 -07:00
lib Fix scanning of unterminated strings 2017-08-01 17:31:07 -04:00
test Fix scanning of unterminated strings 2017-08-01 17:31:07 -04:00
testcases Fix scanning of unterminated strings 2017-08-01 17:31:07 -04:00
tool Add dump-partial tool. 2017-07-26 15:19:42 -07:00
analysis_options.yaml Move kernel baseline tests to front_end. 2017-04-19 10:57:58 +02:00
BUILD.gn Disable analysis on a few packages. (#29571) 2017-05-05 22:06:00 -07:00
LICENSE Create a README and pubspec for the front_end package. 2016-10-19 12:14:38 -07:00
messages.yaml Random improvements in error reporting. 2017-07-19 10:45:31 -07:00
pubspec.yaml front_end analyzer dev dependency. 2017-07-28 06:38:10 -07:00
README.md Prepare package:analyzer 0.30.0. 2017-05-03 14:34:55 -07:00
testing.json Remove the "kompile" mode of running the front end. 2017-07-13 10:52:55 -07: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.