Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Issue 140203007: Adding package:code_transformers for unifying common transformers code (Closed)

Created:
6 years, 10 months ago by blois
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/dart/source/detail?r=32859

Patch Set 1 : #

Total comments: 64

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Updating FutureGroup from Quiver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1082 lines, -44 lines) Patch
A + pkg/code_transformers/AUTHORS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/code_transformers/LICENSE View 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/code_transformers/PATENTS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + pkg/code_transformers/lib/resolver.dart View 1 chunk +5 lines, -16 lines 0 comments Download
A pkg/code_transformers/lib/src/dart_sdk.dart View 1 chunk +30 lines, -0 lines 0 comments Download
A pkg/code_transformers/lib/src/resolver.dart View 1 1 chunk +81 lines, -0 lines 0 comments Download
A pkg/code_transformers/lib/src/resolver_impl.dart View 1 2 3 1 chunk +545 lines, -0 lines 0 comments Download
A pkg/code_transformers/lib/src/resolver_transformer.dart View 1 chunk +55 lines, -0 lines 0 comments Download
A + pkg/code_transformers/lib/src/test_harness.dart View 4 chunks +10 lines, -31 lines 0 comments Download
A pkg/code_transformers/lib/tests.dart View 1 1 chunk +40 lines, -0 lines 0 comments Download
A pkg/code_transformers/pubspec.yaml View 1 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/code_transformers/test/resolver_test.dart View 1 2 1 chunk +304 lines, -0 lines 0 comments Download
M pkg/pkg.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
blois
https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/dart_sdk.dart File pkg/code_transformers/lib/src/dart_sdk.dart (right): https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/dart_sdk.dart#newcode19 pkg/code_transformers/lib/src/dart_sdk.dart:19: var result = Process.runSync('which', ['dart'], Still working on this- ...
6 years, 10 months ago (2014-02-13 01:29:28 UTC) #1
Siggi Cherem (dart-lang)
really cool Pete. Bunch of minor comments. https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver.dart File pkg/code_transformers/lib/src/resolver.dart (right): https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver.dart#newcode37 pkg/code_transformers/lib/src/resolver.dart:37: /// [uri] ...
6 years, 10 months ago (2014-02-14 02:13:37 UTC) #2
blois
https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver.dart File pkg/code_transformers/lib/src/resolver.dart (right): https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver.dart#newcode37 pkg/code_transformers/lib/src/resolver.dart:37: /// [uri] must be an absolute URI of the ...
6 years, 10 months ago (2014-02-19 21:42:57 UTC) #3
Siggi Cherem (dart-lang)
other than changing below the toVisit.contains, LGTM https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver_impl.dart File pkg/code_transformers/lib/src/resolver_impl.dart (right): https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver_impl.dart#newcode56 pkg/code_transformers/lib/src/resolver_impl.dart:56: ..analyzeFunctionBodies = ...
6 years, 10 months ago (2014-02-19 22:36:05 UTC) #4
blois
https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver_impl.dart File pkg/code_transformers/lib/src/resolver_impl.dart (right): https://codereview.chromium.org/140203007/diff/10014/pkg/code_transformers/lib/src/resolver_impl.dart#newcode96 pkg/code_transformers/lib/src/resolver_impl.dart:96: var assetId = toVisit.first; On 2014/02/19 22:36:06, Siggi Cherem ...
6 years, 10 months ago (2014-02-20 01:03:11 UTC) #5
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/140203007/diff/140002/pkg/code_transformers/lib/src/resolver_impl.dart File pkg/code_transformers/lib/src/resolver_impl.dart (right): https://codereview.chromium.org/140203007/diff/140002/pkg/code_transformers/lib/src/resolver_impl.dart#newcode493 pkg/code_transformers/lib/src/resolver_impl.dart:493: // TODO(rnystrom): Copied from web_components. Remove from here ...
6 years, 10 months ago (2014-02-20 02:21:09 UTC) #6
blois
6 years, 10 months ago (2014-02-20 18:37:10 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r32859 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698