mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
d8c9645c26
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 . |
||
---|---|---|
build | ||
client | ||
docs/language | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
.travis.yml | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
create_sdk.gyp | ||
dart.gyp | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
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.