Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:collection'; | 6 import 'dart:collection'; |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 8 | 8 |
| 9 import 'package:analyzer/context/declared_variables.dart'; | 9 import 'package:analyzer/context/declared_variables.dart'; |
| 10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 234 AnalysisDriver( | 234 AnalysisDriver( |
| 235 this._scheduler, | 235 this._scheduler, |
| 236 PerformanceLog logger, | 236 PerformanceLog logger, |
| 237 this._resourceProvider, | 237 this._resourceProvider, |
| 238 this._byteStore, | 238 this._byteStore, |
| 239 this._contentOverlay, | 239 this._contentOverlay, |
| 240 this.name, | 240 this.name, |
| 241 SourceFactory sourceFactory, | 241 SourceFactory sourceFactory, |
| 242 this._analysisOptions, | 242 this._analysisOptions, |
| 243 {PackageBundle sdkBundle, | 243 {PackageBundle sdkBundle, |
| 244 this.analyzeWithoutTasks: false}) | 244 this.analyzeWithoutTasks: true}) |
|
Brian Wilkerson
2017/02/08 01:19:02
Did you intend to enable this by default?
scheglov
2017/02/08 02:13:48
Thanks.
No, not yet :-)
| |
| 245 : _logger = logger, | 245 : _logger = logger, |
| 246 _sourceFactory = sourceFactory.clone(), | 246 _sourceFactory = sourceFactory.clone(), |
| 247 _sdkBundle = sdkBundle { | 247 _sdkBundle = sdkBundle { |
| 248 _testView = new AnalysisDriverTestView(this); | 248 _testView = new AnalysisDriverTestView(this); |
| 249 _createFileTracker(logger); | 249 _createFileTracker(logger); |
| 250 _scheduler._add(this); | 250 _scheduler._add(this); |
| 251 _search = new Search(this); | 251 _search = new Search(this); |
| 252 } | 252 } |
| 253 | 253 |
| 254 /** | 254 /** |
| (...skipping 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1786 libraryDeclarations.add(new TopLevelDeclarationInSource( | 1786 libraryDeclarations.add(new TopLevelDeclarationInSource( |
| 1787 file.source, declaration, isExported)); | 1787 file.source, declaration, isExported)); |
| 1788 } | 1788 } |
| 1789 } | 1789 } |
| 1790 } | 1790 } |
| 1791 | 1791 |
| 1792 // We're not done yet. | 1792 // We're not done yet. |
| 1793 return false; | 1793 return false; |
| 1794 } | 1794 } |
| 1795 } | 1795 } |
| OLD | NEW |