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 engine.resolver.element_resolver; | 5 library analyzer.src.generated.element_resolver; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 import 'ast.dart'; | 9 import 'package:analyzer/src/generated/ast.dart'; |
10 import 'element.dart'; | 10 import 'package:analyzer/src/generated/element.dart'; |
11 import 'engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
12 import 'error.dart'; | 12 import 'package:analyzer/src/generated/error.dart'; |
13 import 'resolver.dart'; | 13 import 'package:analyzer/src/generated/resolver.dart'; |
14 import 'scanner.dart' as sc; | 14 import 'package:analyzer/src/generated/scanner.dart' as sc; |
15 import 'utilities_dart.dart'; | 15 import 'package:analyzer/src/generated/utilities_dart.dart'; |
16 | 16 |
17 /** | 17 /** |
18 * An object used by instances of [ResolverVisitor] to resolve references within | 18 * An object used by instances of [ResolverVisitor] to resolve references within |
19 * the AST structure to the elements being referenced. The requirements for the | 19 * the AST structure to the elements being referenced. The requirements for the |
20 * element resolver are: | 20 * element resolver are: |
21 * | 21 * |
22 * 1. Every [SimpleIdentifier] should be resolved to the element to which it | 22 * 1. Every [SimpleIdentifier] should be resolved to the element to which it |
23 * refers. Specifically: | 23 * refers. Specifically: |
24 * * An identifier within the declaration of that name should resolve to the | 24 * * An identifier within the declaration of that name should resolve to the |
25 * element being declared. | 25 * element being declared. |
(...skipping 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2635 | 2635 |
2636 @override | 2636 @override |
2637 Element get staticElement => null; | 2637 Element get staticElement => null; |
2638 | 2638 |
2639 @override | 2639 @override |
2640 accept(AstVisitor visitor) => null; | 2640 accept(AstVisitor visitor) => null; |
2641 | 2641 |
2642 @override | 2642 @override |
2643 void visitChildren(AstVisitor visitor) {} | 2643 void visitChildren(AstVisitor visitor) {} |
2644 } | 2644 } |
OLD | NEW |