| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 | 6 |
| 7 import 'package:front_end/file_system.dart'; | 7 import 'package:front_end/file_system.dart'; |
| 8 import 'package:front_end/incremental_kernel_generator.dart'; | 8 import 'package:front_end/incremental_kernel_generator.dart'; |
| 9 import 'package:front_end/incremental_resolved_ast_generator.dart'; | 9 import 'package:front_end/incremental_resolved_ast_generator.dart'; |
| 10 import 'package:front_end/src/base/processed_options.dart'; | 10 import 'package:front_end/src/base/processed_options.dart'; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 118 |
| 119 /// Refresh all the invalidated files and update dependencies. | 119 /// Refresh all the invalidated files and update dependencies. |
| 120 Future<Null> _refreshInvalidatedFiles() async { | 120 Future<Null> _refreshInvalidatedFiles() async { |
| 121 for (Uri fileUri in _invalidatedFiles) { | 121 for (Uri fileUri in _invalidatedFiles) { |
| 122 FileState file = await _fsState.getFile(fileUri); | 122 FileState file = await _fsState.getFile(fileUri); |
| 123 await file.refresh(); | 123 await file.refresh(); |
| 124 } | 124 } |
| 125 _invalidatedFiles.clear(); | 125 _invalidatedFiles.clear(); |
| 126 } | 126 } |
| 127 } | 127 } |
| 128 | |
| 129 ///// Clears canonical names of [NamedNode] references. | |
| 130 //class _ClearCanonicalNamesVisitor extends Visitor { | |
| 131 // defaultNode(Node node) { | |
| 132 // if (node is NamedNode) { | |
| 133 // node.reference.canonicalName = null; | |
| 134 // } | |
| 135 // node.visitChildren(this); | |
| 136 // } | |
| 137 //} | |
| OLD | NEW |