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

Side by Side Diff: pkg/analyzer/lib/instrumentation/instrumentation.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
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 library analyzer.instrumentation.instrumentation; 5 library analyzer.instrumentation.instrumentation;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 9
10 import 'package:analyzer/task/model.dart'; 10 import 'package:analyzer/task/model.dart';
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 */ 78 */
79 InstrumentationServer _instrumentationServer; 79 InstrumentationServer _instrumentationServer;
80 80
81 /** 81 /**
82 * Counter used to generate unique ID's for [logSubprocessStart]. 82 * Counter used to generate unique ID's for [logSubprocessStart].
83 */ 83 */
84 int _subprocessCounter = 0; 84 int _subprocessCounter = 0;
85 85
86 /** 86 /**
87 * Initialize a newly created instrumentation service to communicate with the 87 * Initialize a newly created instrumentation service to communicate with the
88 * given [instrumentationServer]. 88 * given [_instrumentationServer].
89 */ 89 */
90 InstrumentationService(this._instrumentationServer); 90 InstrumentationService(this._instrumentationServer);
91 91
92 /** 92 /**
93 * Return `true` if this [InstrumentationService] was initialized with a 93 * Return `true` if this [InstrumentationService] was initialized with a
94 * non-`null` server (and hence instrumentation is active). 94 * non-`null` server (and hence instrumentation is active).
95 */ 95 */
96 bool get isActive => _instrumentationServer != null; 96 bool get isActive => _instrumentationServer != null;
97 97
98 /** 98 /**
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 } 369 }
370 } 370 }
371 371
372 @override 372 @override
373 Future shutdown() async { 373 Future shutdown() async {
374 for (InstrumentationServer server in _servers) { 374 for (InstrumentationServer server in _servers) {
375 await server.shutdown(); 375 await server.shutdown();
376 } 376 }
377 } 377 }
378 } 378 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/dart/element/element.dart ('k') | pkg/analyzer/lib/source/analysis_options_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698