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

Issue 23308004: Formatter checkpoint. (Closed)

Created:
7 years, 4 months ago by pquitslund
Modified:
7 years, 4 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Formatter checkpoint. Largely cleanup in a move from string literals to accessing the corresponding node tokens. I'm also trying on an approach to tracking the need for preceding (and trailing) newlines. In general I don't love state flags where I can avoid them but the alternatives were even more ungainly to my eye. Thoughts, of course, are most welcome! R=brianwilkerson@google.com Committed: https://code.google.com/p/dart/source/detail?r=26370

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 18

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+402 lines, -228 lines) Patch
M pkg/analyzer_experimental/lib/src/services/formatter_impl.dart View 1 2 3 28 chunks +331 lines, -212 lines 0 comments Download
M pkg/analyzer_experimental/test/services/formatter_test.dart View 11 chunks +71 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Brian Wilkerson
LGTM. I also dislike the state flags. I have to wonder whether we couldn't get ...
7 years, 4 months ago (2013-08-20 15:46:39 UTC) #1
pquitslund
Awesome. Thanks Brian! https://codereview.chromium.org/23308004/diff/5001/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart File pkg/analyzer_experimental/lib/src/services/formatter_impl.dart (right): https://codereview.chromium.org/23308004/diff/5001/pkg/analyzer_experimental/lib/src/services/formatter_impl.dart#newcode543 pkg/analyzer_experimental/lib/src/services/formatter_impl.dart:543: append(';'); On 2013/08/20 15:46:39, Brian Wilkerson ...
7 years, 4 months ago (2013-08-20 16:49:35 UTC) #2
pquitslund
7 years, 4 months ago (2013-08-20 16:50:07 UTC) #3
Message was sent while issue was closed.
Committed patchset #4 manually as r26370 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698