scheglov@google.com
7f73657ad6
New analyzer snapshot.
...
No 'isInstanceOf' changes yet.
Just current state with changes required to adopt to the API changes in Java.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//184893003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33176 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:52:15 +00:00
blois@google.com
86f6fac791
Refactoring resolvers to make them able to be run in parallel.
...
With pub build and pub serve the same transformer can be run on the same asset in parallel. We want to maintain the cache between the runs, so making the resolver pipeline these requests.
In addition, refactoring to dramatically change the role of ResolverTransformer- previously it was a transformer that automatically kept the AST up to date, but this does not work well when in a pipeline of transformers that are generating or modifying code. What was ResolverTransformer is Resolvers- a cache of resolvers for which individual transformers now need to request the resolver from.
ResolverTransformer is now a mixin which can be used to automatically release a Resolver when it's done being used.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//181383015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33163 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 16:58:18 +00:00
blois@google.com
96d8be7a9e
Fixing non-posix path issue on Window
...
The code dealing with paths in Resolver should always use URI paths, but was instead using native path syntax in a few places.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//174313004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32972 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 17:15:04 +00:00
blois@google.com
fceda92eaf
Extending logic to find Dart's SDK directory for resolver tests
...
Previous logic was failing when executing from VM tests where the dart-sdk folder is not built in the output directory.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//174663006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32922 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 20:09:35 +00:00
blois@google.com
993a917ff4
Revert "Revert "Adding package:code_transformers for unifying common transformers code""
...
This is a re-submission of adding code_transformers with a fix for resolving the sdk directory.
The resolution was failing when executing tests with the --use-sdk flag.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//172633006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32908 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 17:27:22 +00:00
blois@google.com
fa4ee4753a
Revert "Adding package:code_transformers for unifying common transformers code"
...
This reverts commit 32859. It's failing to find the Dart SDK under a number of cases.
TBR
BUG=
Review URL: https://codereview.chromium.org//174053004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32866 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 19:21:15 +00:00
blois@google.com
730b3c6137
Adding package:code_transformers for unifying common transformers code
...
There's quite a bit of code which would be great to share between Polymer and Angular, adding this as the starting point for some of that code.
This CL is primarily a transformer that resolves the AST which can be used by other transformers when modifying code.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//140203007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32859 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 18:37:00 +00:00