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

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

Issue 1703133002: Set FunctionTypeImpl for synthetic VariableElement.initializer elements. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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
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 7090 matching lines...) Expand 10 before | Expand all | Expand 10 after
7101 /** 7101 /**
7102 * The object used to resolve the element associated with the current node. 7102 * The object used to resolve the element associated with the current node.
7103 */ 7103 */
7104 ElementResolver elementResolver; 7104 ElementResolver elementResolver;
7105 7105
7106 /** 7106 /**
7107 * The object used to compute the type associated with the current node. 7107 * The object used to compute the type associated with the current node.
7108 */ 7108 */
7109 StaticTypeAnalyzer typeAnalyzer; 7109 StaticTypeAnalyzer typeAnalyzer;
7110 7110
7111 /* 7111 /**
7112 * The type system in use during resolution. 7112 * The type system in use during resolution.
7113 */ 7113 */
7114 TypeSystem typeSystem; 7114 TypeSystem typeSystem;
7115 7115
7116 /** 7116 /**
7117 * The class element representing the class containing the current node, 7117 * The class element representing the class containing the current node,
7118 * or `null` if the current node is not contained in a class. 7118 * or `null` if the current node is not contained in a class.
7119 */ 7119 */
7120 ClassElement enclosingClass = null; 7120 ClassElement enclosingClass = null;
7121 7121
(...skipping 5657 matching lines...) Expand 10 before | Expand all | Expand 10 after
12779 nonFields.add(node); 12779 nonFields.add(node);
12780 return null; 12780 return null;
12781 } 12781 }
12782 12782
12783 @override 12783 @override
12784 Object visitNode(AstNode node) => node.accept(TypeResolverVisitor_this); 12784 Object visitNode(AstNode node) => node.accept(TypeResolverVisitor_this);
12785 12785
12786 @override 12786 @override
12787 Object visitWithClause(WithClause node) => null; 12787 Object visitWithClause(WithClause node) => null;
12788 } 12788 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/builder.dart ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698