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

Side by Side Diff: pkg/analyzer/lib/src/task/inputs.dart

Issue 1994243002: Dangling comment reference cleanup in analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months 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 | « pkg/analyzer/lib/src/summary/idl.dart ('k') | pkg/analyzer/lib/src/task/strong/checker.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library analyzer.src.task.inputs; 5 library analyzer.src.task.inputs;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/task/model.dart'; 9 import 'package:analyzer/task/model.dart';
10 10
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 */ 425 */
426 final TaskInput baseInput; 426 final TaskInput baseInput;
427 427
428 /** 428 /**
429 * The function used to map the value of the base input to the list of values. 429 * The function used to map the value of the base input to the list of values.
430 */ 430 */
431 final Mapper<Object, List<E>> mapper; 431 final Mapper<Object, List<E>> mapper;
432 432
433 /** 433 /**
434 * Initialize a newly created task input that computes the input by accessing 434 * Initialize a newly created task input that computes the input by accessing
435 * the given [result] associated with the given [target]. 435 * the given [baseInput] associated with the given [mapper].
436 */ 436 */
437 ObjectToListTaskInput(this.baseInput, this.mapper); 437 ObjectToListTaskInput(this.baseInput, this.mapper);
438 438
439 @override 439 @override
440 TaskInputBuilder<List<E>> createBuilder() => 440 TaskInputBuilder<List<E>> createBuilder() =>
441 new ObjectToListTaskInputBuilder<E>(this); 441 new ObjectToListTaskInputBuilder<E>(this);
442 442
443 @override 443 @override
444 ListTaskInput/*<V>*/ toFlattenListOf/*<V>*/( 444 ListTaskInput/*<V>*/ toFlattenListOf/*<V>*/(
445 ListResultDescriptor/*<V>*/ subListResult) { 445 ListResultDescriptor/*<V>*/ subListResult) {
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 return false; 987 return false;
988 } 988 }
989 _baseListElement = _baseList[_baseListIndex]; 989 _baseListElement = _baseList[_baseListIndex];
990 currentBuilder = input.generateTaskInputs(_baseListElement).createBuilder(); 990 currentBuilder = input.generateTaskInputs(_baseListElement).createBuilder();
991 return currentBuilder.moveNext(); 991 return currentBuilder.moveNext();
992 } 992 }
993 993
994 void _addResultElement(B baseElement, E resultElement); 994 void _addResultElement(B baseElement, E resultElement);
995 void _initResultValue(); 995 void _initResultValue();
996 } 996 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/idl.dart ('k') | pkg/analyzer/lib/src/task/strong/checker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698