Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 1897713002: Make analyzer more strong mode compliant (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/type.dart ('k') | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/type.dart ('k') | pkg/analyzer/lib/task/model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698