| 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 analyzer.src.generated.resolver; | 5 library analyzer.src.generated.resolver; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/token.dart'; | 10 import 'package:analyzer/dart/ast/token.dart'; |
| (...skipping 6505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6516 * The object used to compute the type associated with the current node. | 6516 * The object used to compute the type associated with the current node. |
| 6517 */ | 6517 */ |
| 6518 StaticTypeAnalyzer typeAnalyzer; | 6518 StaticTypeAnalyzer typeAnalyzer; |
| 6519 | 6519 |
| 6520 /** | 6520 /** |
| 6521 * The type system in use during resolution. | 6521 * The type system in use during resolution. |
| 6522 */ | 6522 */ |
| 6523 TypeSystem typeSystem; | 6523 TypeSystem typeSystem; |
| 6524 | 6524 |
| 6525 /** | 6525 /** |
| 6526 * The class element representing the class containing the current node, | |
| 6527 * or `null` if the current node is not contained in a class. | |
| 6528 */ | |
| 6529 @override | |
| 6530 ClassElement enclosingClass = null; | |
| 6531 | |
| 6532 /** | |
| 6533 * The class declaration representing the class containing the current node, o
r `null` if | 6526 * The class declaration representing the class containing the current node, o
r `null` if |
| 6534 * the current node is not contained in a class. | 6527 * the current node is not contained in a class. |
| 6535 */ | 6528 */ |
| 6536 ClassDeclaration _enclosingClassDeclaration = null; | 6529 ClassDeclaration _enclosingClassDeclaration = null; |
| 6537 | 6530 |
| 6538 /** | 6531 /** |
| 6539 * The function type alias representing the function type containing the curre
nt node, or | 6532 * The function type alias representing the function type containing the curre
nt node, or |
| 6540 * `null` if the current node is not contained in a function type alias. | 6533 * `null` if the current node is not contained in a function type alias. |
| 6541 */ | 6534 */ |
| 6542 FunctionTypeAlias _enclosingFunctionTypeAlias = null; | 6535 FunctionTypeAlias _enclosingFunctionTypeAlias = null; |
| (...skipping 5413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11956 nonFields.add(node); | 11949 nonFields.add(node); |
| 11957 return null; | 11950 return null; |
| 11958 } | 11951 } |
| 11959 | 11952 |
| 11960 @override | 11953 @override |
| 11961 Object visitNode(AstNode node) => node.accept(TypeResolverVisitor_this); | 11954 Object visitNode(AstNode node) => node.accept(TypeResolverVisitor_this); |
| 11962 | 11955 |
| 11963 @override | 11956 @override |
| 11964 Object visitWithClause(WithClause node) => null; | 11957 Object visitWithClause(WithClause node) => null; |
| 11965 } | 11958 } |
| OLD | NEW |