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

Issue 2739583002: add previous token field (Closed)

Created:
3 years, 9 months ago by danrubel
Modified:
3 years, 9 months ago
Reviewers:
ahe, Paul Berry
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

add previous token field This adds fasta Token.previous and sets that field to point to the previous token in the fasta token stream. R=paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/dd3ab83eee64be2646228efbd12d4189f9806297

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename field previous --> previousToken #

Patch Set 3 : rebase #

Patch Set 4 : merge #

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M pkg/front_end/lib/src/fasta/analyzer/token_utils.dart View 1 2 4 3 chunks +3 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/scanner/array_based_scanner.dart View 1 2 4 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/front_end/lib/src/fasta/scanner/token.dart View 1 2 4 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/front_end/test/scanner_fasta_test.dart View 1 2 4 1 chunk +17 lines, -0 lines 0 comments Download
M pkg/front_end/tool/fasta/compile.dart View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
danrubel
3 years, 9 months ago (2017-03-07 03:12:56 UTC) #2
Paul Berry
lgtm https://codereview.chromium.org/2739583002/diff/1/pkg/front_end/lib/src/fasta/scanner/token.dart File pkg/front_end/lib/src/fasta/scanner/token.dart (right): https://codereview.chromium.org/2739583002/diff/1/pkg/front_end/lib/src/fasta/scanner/token.dart#newcode33 pkg/front_end/lib/src/fasta/scanner/token.dart:33: * @deprecated This exists for compatibility with the ...
3 years, 9 months ago (2017-03-07 13:47:28 UTC) #3
ahe
I have a strong preference for not adding stuff that is already deprecated. If you ...
3 years, 9 months ago (2017-03-07 14:23:51 UTC) #4
danrubel
On 2017/03/07 14:23:51, ahe wrote: > I have a strong preference for not adding stuff ...
3 years, 9 months ago (2017-03-07 14:33:45 UTC) #5
danrubel
https://codereview.chromium.org/2739583002/diff/1/pkg/front_end/lib/src/fasta/scanner/token.dart File pkg/front_end/lib/src/fasta/scanner/token.dart (right): https://codereview.chromium.org/2739583002/diff/1/pkg/front_end/lib/src/fasta/scanner/token.dart#newcode33 pkg/front_end/lib/src/fasta/scanner/token.dart:33: * @deprecated This exists for compatibility with the Analyzer ...
3 years, 9 months ago (2017-03-07 14:40:54 UTC) #6
danrubel
3 years, 9 months ago (2017-03-07 18:04:01 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
dd3ab83eee64be2646228efbd12d4189f9806297 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698