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

Issue 2769723004: Introduce a shadow hierarchy and factory class for use by fasta's BodyBuilder. (Closed)

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

Description

Introduce a shadow hierarchy and factory class for use by fasta's BodyBuilder. In the long run, this shadow hierarchy is intended to be used both for kernel and analyzer ASTS; this should allow a single BodyBuilder class to build either a kernel or an analyzer AST depending on which factory it's connected to. For now we only have a kernel shadow hierarchy, and it's incomplete, so the code is not yet used. I intend to follow up with CLs that complete the implementation and hook it up to BodyBuilder. R=ahe@google.com, scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/415c868589d02e98eb839f48150f4203d5cecdb0

Patch Set 1 #

Total comments: 33
Unified diffs Side-by-side diffs Delta from patch set Stats (+456 lines, -0 lines) Patch
A pkg/front_end/lib/src/fasta/builder/ast_factory.dart View 1 chunk +68 lines, -0 lines 12 comments Download
A pkg/front_end/lib/src/fasta/builder/shadow_ast.dart View 1 chunk +112 lines, -0 lines 8 comments Download
A pkg/front_end/lib/src/fasta/kernel/ast_factory.dart View 1 chunk +50 lines, -0 lines 6 comments Download
A pkg/front_end/lib/src/fasta/kernel/shadow_ast.dart View 1 chunk +226 lines, -0 lines 7 comments Download

Messages

Total messages: 7 (2 generated)
Paul Berry
I'm hoping I can get this committed in the morning (US west coast time) so ...
3 years, 9 months ago (2017-03-24 02:53:08 UTC) #2
scheglov
LGTM! https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart File pkg/front_end/lib/src/fasta/builder/ast_factory.dart (right): https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart#newcode1 pkg/front_end/lib/src/fasta/builder/ast_factory.dart:1: // Copyright (c) 2016, the Dart project authors. ...
3 years, 9 months ago (2017-03-24 03:19:17 UTC) #3
ahe
lgtm https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart File pkg/front_end/lib/src/fasta/builder/ast_factory.dart (right): https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart#newcode28 pkg/front_end/lib/src/fasta/builder/ast_factory.dart:28: /// that's what analyzer ASTs need. As I'm ...
3 years, 9 months ago (2017-03-24 12:00:41 UTC) #4
Paul Berry
https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart File pkg/front_end/lib/src/fasta/builder/ast_factory.dart (right): https://codereview.chromium.org/2769723004/diff/1/pkg/front_end/lib/src/fasta/builder/ast_factory.dart#newcode1 pkg/front_end/lib/src/fasta/builder/ast_factory.dart:1: // Copyright (c) 2016, the Dart project authors. Please ...
3 years, 9 months ago (2017-03-24 14:55:24 UTC) #5
Paul Berry
3 years, 9 months ago (2017-03-24 15:26:06 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
415c868589d02e98eb839f48150f4203d5cecdb0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698