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

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

Issue 1609093003: fixes #25482, flatten Futures in strong mode so Future.then works (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
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/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/type.dart'; 8 import 'package:analyzer/dart/element/type.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 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1345 * browser. 1345 * browser.
1346 */ 1346 */
1347 bool get isBrowserApplication; 1347 bool get isBrowserApplication;
1348 1348
1349 /** 1349 /**
1350 * Return `true` if this library is the dart:core library. 1350 * Return `true` if this library is the dart:core library.
1351 */ 1351 */
1352 bool get isDartCore; 1352 bool get isDartCore;
1353 1353
1354 /** 1354 /**
1355 * Return `true` if this library is the dart:async library.
1356 */
1357 bool get isDartAsync;
1358
1359 /**
1355 * Return `true` if this library is part of the SDK. 1360 * Return `true` if this library is part of the SDK.
1356 */ 1361 */
1357 bool get isInSdk; 1362 bool get isInSdk;
1358 1363
1359 /** 1364 /**
1360 * Return the element representing the synthetic function `loadLibrary` that 1365 * Return the element representing the synthetic function `loadLibrary` that
1361 * is implicitly defined for this library if the library is imported using a 1366 * is implicitly defined for this library if the library is imported using a
1362 * deferred import. 1367 * deferred import.
1363 */ 1368 */
1364 FunctionElement get loadLibraryFunction; 1369 FunctionElement get loadLibraryFunction;
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
2044 */ 2049 */
2045 bool get isStatic; 2050 bool get isStatic;
2046 2051
2047 /** 2052 /**
2048 * Return the declared type of this variable, or `null` if the variable did 2053 * Return the declared type of this variable, or `null` if the variable did
2049 * not have a declared type (such as if it was declared using the keyword 2054 * not have a declared type (such as if it was declared using the keyword
2050 * 'var'). 2055 * 'var').
2051 */ 2056 */
2052 DartType get type; 2057 DartType get type;
2053 } 2058 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/element/type.dart » ('j') | pkg/analyzer/lib/dart/element/type.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698