| OLD | NEW |
| 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 services.search.element_visitors; | 5 library services.search.element_visitors; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/element.dart'; | 7 import 'package:analyzer/src/generated/element.dart'; |
| 8 | 8 |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 @override | 61 @override |
| 62 void visitElement(Element element) { | 62 void visitElement(Element element) { |
| 63 if (element is CompilationUnitElement) { | 63 if (element is CompilationUnitElement) { |
| 64 element.visitChildren(this); | 64 element.visitChildren(this); |
| 65 } else { | 65 } else { |
| 66 processor(element); | 66 processor(element); |
| 67 } | 67 } |
| 68 } | 68 } |
| 69 } | 69 } |
| OLD | NEW |