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

Issue 2928033006: Add access to AST and element model data to the status pages (Closed)

Created:
3 years, 6 months ago by Brian Wilkerson
Modified:
3 years, 6 months ago
Reviewers:
devoncarew
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add access to AST ane element model data to the status pages R=devoncarew@google.com Committed: https://github.com/dart-lang/sdk/commit/c0617d20158955d99d6447036237fe2639ba088c

Patch Set 1 #

Total comments: 16
Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -56 lines) Patch
M pkg/analysis_server/lib/src/server/http_server.dart View 4 chunks +32 lines, -32 lines 0 comments Download
M pkg/analysis_server/lib/src/status/ast_writer.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analysis_server/lib/src/status/diagnostics.dart View 14 chunks +125 lines, -16 lines 16 comments Download
M pkg/analysis_server/lib/src/status/pages.dart View 6 chunks +31 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Brian Wilkerson
3 years, 6 months ago (2017-06-10 18:40:50 UTC) #2
devoncarew
lgtm lgtm! Several comments, mostly style related re: using sentences for the page descriptions, and ...
3 years, 6 months ago (2017-06-11 06:13:30 UTC) #3
Brian Wilkerson
Committed patchset #1 (id:1) manually as c0617d20158955d99d6447036237fe2639ba088c (presubmit successful).
3 years, 6 months ago (2017-06-11 16:44:21 UTC) #5
Brian Wilkerson
3 years, 6 months ago (2017-06-11 16:45:25 UTC) #6
Message was sent while issue was closed.
Thanks for the feedback. I didn't know about blankslate so I just made a guess.

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
File pkg/analysis_server/lib/src/status/diagnostics.dart (right):

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:138: : super(site, 'ast',
'AST', description: 'The AST for a file');
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:147: _description = 'The AST
for $path';
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:158: blankslate('No file
path provided.');
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:163: blankslate('The file
"$path" is not being analyzed.');
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:168: blankslate('An AST
could not be produced for the file "$path".');
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:211: secondaryPages.add(new
AstPage(this));
I think I'll leave it for now, because it's working, but the other might be
better because it would reduce code duplication.

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:348: description: 'The
element model for a file');
Done

https://codereview.chromium.org/2928033006/diff/1/pkg/analysis_server/lib/src...
pkg/analysis_server/lib/src/status/diagnostics.dart:356: String path =
params['file'] ?? 'unspecified file';
Done

Powered by Google App Engine
This is Rietveld 408576698