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

Side by Side Diff: pkg/analyzer/lib/dart/element/element.dart

Issue 1559923006: fix hints from analyzer in analyzer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/member.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.dart.element.element; 5 library analyzer.dart.element.element;
6 6
7 import 'package:analyzer/dart/element/type.dart'; 7 import 'package:analyzer/dart/element/type.dart';
8 import 'package:analyzer/src/generated/ast.dart'; 8 import 'package:analyzer/src/generated/ast.dart';
9 import 'package:analyzer/src/generated/constant.dart' show DartObject; 9 import 'package:analyzer/src/generated/constant.dart' show DartObject;
10 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; 10 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 */ 1185 */
1186 List<ParameterElement> get parameters; 1186 List<ParameterElement> get parameters;
1187 1187
1188 /** 1188 /**
1189 * Return the return type defined by this element. If the element model is 1189 * Return the return type defined by this element. If the element model is
1190 * fully populated, then the [returnType] will not be `null`, even if no 1190 * fully populated, then the [returnType] will not be `null`, even if no
1191 * return type was explicitly specified. 1191 * return type was explicitly specified.
1192 */ 1192 */
1193 DartType get returnType; 1193 DartType get returnType;
1194 1194
1195 @override 1195 /**
1196 * The type of this element, which will be a function type.
1197 */
1196 FunctionType get type; 1198 FunctionType get type;
1197 } 1199 }
1198 1200
1199 /** 1201 /**
1200 * A combinator that causes some of the names in a namespace to be hidden when 1202 * A combinator that causes some of the names in a namespace to be hidden when
1201 * being imported. 1203 * being imported.
1202 * 1204 *
1203 * Clients may not extend, implement or mix-in this class. 1205 * Clients may not extend, implement or mix-in this class.
1204 */ 1206 */
1205 abstract class HideElementCombinator implements NamespaceCombinator { 1207 abstract class HideElementCombinator implements NamespaceCombinator {
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 */ 2044 */
2043 bool get isStatic; 2045 bool get isStatic;
2044 2046
2045 /** 2047 /**
2046 * Return the declared type of this variable, or `null` if the variable did 2048 * Return the declared type of this variable, or `null` if the variable did
2047 * not have a declared type (such as if it was declared using the keyword 2049 * not have a declared type (such as if it was declared using the keyword
2048 * 'var'). 2050 * 'var').
2049 */ 2051 */
2050 DartType get type; 2052 DartType get type;
2051 } 2053 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698