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

Issue 2519733002: Add CompilationUnit indexer implementation. (Closed)

Created:
4 years, 1 month ago by scheglov
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add CompilationUnit indexer implementation. The existing index data structures were copied and adapted to the case when every unit is indexed separately. Indexing of declarations was removed - this information is available as unlinked. Tests were reworked to use AnalysisDriver and made asynchronous. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/f336731ed9d56379db2552c7d01cebc41ef4c330

Patch Set 1 #

Total comments: 20
Unified diffs Side-by-side diffs Delta from patch set Stats (+3028 lines, -0 lines) Patch
A pkg/analyzer/lib/src/dart/analysis/index.dart View 1 chunk +795 lines, -0 lines 18 comments Download
M pkg/analyzer/lib/src/summary/format.dart View 1 chunk +736 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/summary/format.fbs View Binary file 0 comments Download
M pkg/analyzer/lib/src/summary/idl.dart View 1 chunk +142 lines, -0 lines 0 comments Download
A pkg/analyzer/test/src/dart/analysis/index_test.dart View 1 chunk +1353 lines, -0 lines 2 comments Download
M pkg/analyzer/test/src/dart/analysis/test_all.dart View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
4 years, 1 month ago (2016-11-20 02:34:07 UTC) #1
Paul Berry
lgtm assuming `on StateError {}` is removed. https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart File pkg/analyzer/lib/src/dart/analysis/index.dart (right): https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart#newcode53 pkg/analyzer/lib/src/dart/analysis/index.dart:53: if (element ...
4 years, 1 month ago (2016-11-21 13:46:57 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart File pkg/analyzer/lib/src/dart/analysis/index.dart (right): https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart#newcode29 pkg/analyzer/lib/src/dart/analysis/index.dart:29: throw new StateError(element.toString()); Perhaps a more informative message, ...
4 years, 1 month ago (2016-11-21 15:48:27 UTC) #3
scheglov
https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart File pkg/analyzer/lib/src/dart/analysis/index.dart (right): https://codereview.chromium.org/2519733002/diff/1/pkg/analyzer/lib/src/dart/analysis/index.dart#newcode53 pkg/analyzer/lib/src/dart/analysis/index.dart:53: if (element is ConstructorElement) { On 2016/11/21 13:46:57, Paul ...
4 years, 1 month ago (2016-11-21 17:27:30 UTC) #4
scheglov
4 years, 1 month ago (2016-11-21 17:28:06 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f336731ed9d56379db2552c7d01cebc41ef4c330 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698