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

Side by Side Diff: pkg/analyzer/lib/src/summary/builder.dart

Issue 1523563002: Fix dead code hints in summary code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Format-agnostic infrastructure for building summary objects. 6 * Format-agnostic infrastructure for building summary objects.
7 */ 7 */
8 library analyzer.src.summary.builder; 8 library analyzer.src.summary.builder;
9 9
10 import 'dart:convert';
11
12 /** 10 /**
13 * Instances of this class encapsulate the necessary state to keep track of a 11 * Instances of this class encapsulate the necessary state to keep track of a
14 * serialized summary that is in the process of being built. 12 * serialized summary that is in the process of being built.
15 * 13 *
16 * This class is intended to be passed to the constructors of the summary 14 * This class is intended to be passed to the constructors of the summary
17 * Builder classes. 15 * Builder classes.
18 */ 16 */
19 class BuilderContext { 17 class BuilderContext {
20 // Note: at the moment this is a placeholder class since the current 18 // Note: at the moment this is a placeholder class since the current
21 // serialization format (JSON) doesn't require any state tracking. If/when 19 // serialization format (JSON) doesn't require any state tracking. If/when
22 // we switch to a serialization format that requires state tracking, the 20 // we switch to a serialization format that requires state tracking, the
23 // state will be stored here. 21 // state will be stored here.
24 } 22 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/summarize_elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698