Find a file
Mike Fairhurst d8c9645c26 Reorganize InheritedRefenenceContributor to serve angular completion
Take the parts that I would have simply copied and pasted them into my
own code, and create new public & private methods to serve the new
organization.

Add an option to get the current class's accessors/methods along with
the inherited ones, because that's what I want.

Make opType a public member of DartCompletionRequest

Its used so heavily by so many of the autocomplete targets, it really
doesn't need to be hidden on the Impl.

Besides, I want to use InheritedReferenceContributor, which upcasts the
DartCompletionRequest into the Impl in order to grab this field -- but
for a large number of reasons I can't really use
DartCompletionRequestImpl. Therefore I need my own class to implement
DartCompletionRequest and therefore my code will only work with
InheritedReferenceContributor if it doesn't have to look outside the
interface for this information.

Change to enable the angular analysis project to do autocomplete

We don't have CompilationUnits, but we do have dart ASTs, and we want to
find the completion target with the same algorithm. The CompletionTarget
class's functionality doesn't depend on its member compilationUnit not
being null, so that isn't a problem for us. However, in `forOffset()`,
we cannot pass in a null unit, even though its only used to set the
`compilationUnit` member and otherwise only used as an `AstNode` which
we have.

So rather than using `compilationUnit` as the entry point of the
algorithm, add a new `AstNode` parameter to represent the entry point,
and when its null simply use the value of `compilationUnit`.

BUG=
R=brianwilkerson@google.com

Review-Url: https://codereview.chromium.org/2565633002 .
2016-12-12 14:29:53 -08:00
build Make gn_run_binary.py do the right thing for compiled_action 2016-11-11 08:29:51 -08:00
client
docs/language Make Null act like the bottom type for all the (default nullable) types. 2016-12-09 12:59:46 +01:00
pkg Reorganize InheritedRefenenceContributor to serve angular completion 2016-12-12 14:29:53 -08:00
runtime Use kFunctionCid instead of kIllegalCid to indicate that a generic function 2016-12-12 14:13:17 -08:00
samples Remove runtime 'dart_app' as it became identical to 'vm'. 2016-12-01 16:47:33 -08:00
samples-dev Untested hacks to swarm to avoid warnings. 2016-07-26 15:24:36 -07:00
sdk Add FutureOr<T> class to dart:async. 2016-12-12 14:05:48 +01:00
tests Reduce flakiness of http_client_stays_alive_test. 2016-12-12 13:50:33 -08:00
third_party Update jsshell to 50.0 2016-12-06 16:58:15 -08:00
tools Cleanup dead compiler and runtime aliases from the test framework. 2016-12-12 13:42:35 -08:00
utils Revert "Make list_files.py and list_dart_files.py return absolute paths" 2016-12-12 13:14:53 -08:00
.clang-format Add .clang-format and run clang-format on runtime/platform. 2016-11-03 14:25:16 -07:00
.gitattributes Restore line endings of files that should be CRLF. 2016-12-09 11:09:55 -08:00
.gitignore Fuchsia: Adds a script to download the prebuild SDK 2016-12-02 13:18:54 -08:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap
.packages Complete merge of kernel repo into SDK. 2016-11-23 12:46:29 +01:00
.travis.yml Remove travis g++ config 2016-12-08 06:35:04 -08:00
AUTHORS
BUILD.gn Revert "Make list_files.py and list_dart_files.py return absolute paths" 2016-12-12 13:14:53 -08:00
CHANGELOG.md Bring in the latest pub. (#28035) 2016-12-08 13:17:30 -08:00
codereview.settings Remove trailing slash in codereview.settings to fix review url double slash 2015-10-01 07:27:13 -07:00
create_sdk.gyp Delete dart_backend from compiler. 2016-08-04 15:57:04 -07:00
dart.gyp Add dependency for 'process_test' from 'runtime_precompiled'. 2016-11-14 10:14:04 -08:00
DEPS Upgrade "path" package to 1.4.1 and eliminate analyzer test workaround. 2016-12-12 14:08:59 -08:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS
PRESUBMIT.py
README.dart-sdk
README.md Correct link for front page readme (!). 2016-11-28 14:57:50 -08:00
WATCHLISTS Remove tools directory from WATCHLISTS 2016-02-16 14:30:06 +01:00

Dart

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

Using Dart

Visit the dartlang.org to learn more about the language, tools, getting started, and more.

Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.

Building Dart

Learn how to get the source and prepare your machine to build the SDK.

There are more documents on our wiki.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

License

See LICENSE.