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

Side by Side Diff: pkg/analyzer/lib/src/dart/ast/resolution_map.dart

Issue 2622303006: Reapply "Add support for generic function type syntax, part 1" (Closed)
Patch Set: Created 3 years, 11 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/resolution_map.dart'; 6 import 'package:analyzer/dart/ast/resolution_map.dart';
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/dart/element/type.dart'; 8 import 'package:analyzer/dart/element/type.dart';
9 9
10 /** 10 /**
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 node.staticInvokeType; 144 node.staticInvokeType;
145 145
146 @override 146 @override
147 ParameterElement staticParameterElementForExpression(Expression node) => 147 ParameterElement staticParameterElementForExpression(Expression node) =>
148 node.staticParameterElement; 148 node.staticParameterElement;
149 149
150 @override 150 @override
151 DartType staticTypeForExpression(Expression node) => node.staticType; 151 DartType staticTypeForExpression(Expression node) => node.staticType;
152 152
153 @override 153 @override
154 DartType typeForTypeName(TypeName node) => node.type; 154 DartType typeForTypeName(TypeAnnotation node) => node.type;
155 155
156 @override 156 @override
157 Element uriElementForDirective(UriBasedDirective node) => node.uriElement; 157 Element uriElementForDirective(UriBasedDirective node) => node.uriElement;
158 } 158 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/ast_factory.dart ('k') | pkg/analyzer/lib/src/dart/ast/utilities.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698