dart-sdk/pkg/analysis_server
Dan Rubel e4c3fa0a9c Improve recovery when parsing named constructor invocation with invalid type arguments
The parser now generates a ConstructorWithTypeArguments error and a new
handleInvalidTypeArguments event after a begin/endTypeArguments event pair
when those type arguments are in a syntatically invalid location.

For example: `new C.n<int>();` in
```
class C<T> { T f; C.n() {} }
main() { var x = new C.n<int>(); }

Most listeners handle this event by dropping the invalid type arguments,
but AstBuilder now preserves those invalid type arguments in the AST
to support better code quick-fixes/quick-assists/refactoring.

Change-Id: I5b22bd4903cd9ee3645936b9a108598b603cf9ca
Reviewed-on: https://dart-review.googlesource.com/c/79300
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2018-10-11 19:57:22 +00:00
..
benchmark Remove CFE integration from analyzer, analysis_server, and analyzer_cli. 2018-08-29 13:46:45 +00:00
bin Normalize with the internal verison of this file. 2018-09-04 16:19:45 +00:00
doc Remove unused response codes and deprecate an unimplemented request 2018-10-01 20:19:59 +00:00
lib Improve recovery when parsing named constructor invocation with invalid type arguments 2018-10-11 19:57:22 +00:00
test Improve recovery when parsing named constructor invocation with invalid type arguments 2018-10-11 19:57:22 +00:00
tool Remove extra spaces in headers 2018-10-11 18:05:37 +00:00
analysis_options.yaml Update analysis options files. 2018-07-03 00:20:06 +00:00
AUTHORS pkg/analysis_server: don't explicitly import matcher - use exports from unittest 2015-05-08 20:57:44 +00:00
CHANGELOG.md pkg/analysis_server: don't explicitly import matcher - use exports from unittest 2015-05-08 20:57:44 +00:00
CONTRIBUTING.md Update the contributing file for the analysis server. 2017-02-08 08:13:20 -08:00
LICENSE Logging support for server 2014-01-17 16:52:25 +00:00
pubspec.yaml Update package:test_reflective_loader. 2018-08-01 00:20:45 +00:00
README.md Update the analysis server diagnostic page - re-enable code completion and overlay pages, 2017-05-30 18:46:33 -07:00

analysis_server

A long-running process that provides analysis results to other tools.

The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.

Using the server

The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.

Clients (typically tools, such as an editor) are expected to run the analysis server in a separate process and communicate with it using a JSON protocol. The protocol is specified in the file analysis_server/doc/api.html.

Features and bugs

Please file feature requests and bugs at the issue tracker.