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

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

Issue 1686863002: Deprecate PrefixElement.importedLibraries. (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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.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 /** 5 /**
6 * Defines the element model. The element model describes the semantic (as 6 * Defines the element model. The element model describes the semantic (as
7 * opposed to syntactic) structure of Dart code. The syntactic structure of the 7 * opposed to syntactic) structure of Dart code. The syntactic structure of the
8 * code is modeled by the [AST structure](../ast/ast.dart). 8 * code is modeled by the [AST structure](../ast/ast.dart).
9 * 9 *
10 * The element model consists of two closely related kinds of objects: elements 10 * The element model consists of two closely related kinds of objects: elements
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 abstract class PrefixElement implements Element { 1614 abstract class PrefixElement implements Element {
1615 /** 1615 /**
1616 * An empty list of prefix elements. 1616 * An empty list of prefix elements.
1617 */ 1617 */
1618 static const List<PrefixElement> EMPTY_LIST = const <PrefixElement>[]; 1618 static const List<PrefixElement> EMPTY_LIST = const <PrefixElement>[];
1619 1619
1620 @override 1620 @override
1621 LibraryElement get enclosingElement; 1621 LibraryElement get enclosingElement;
1622 1622
1623 /** 1623 /**
1624 * Return a list containing all of the libraries that are imported using this 1624 * Return the empty list.
1625 * prefix. 1625 *
1626 * Deprecated: this getter was intended to return a list containing all of
1627 * the libraries that are imported using this prefix, but it was never
1628 * implemented. Due to lack of demand, it is being removed.
1626 */ 1629 */
1630 @deprecated
1627 List<LibraryElement> get importedLibraries; 1631 List<LibraryElement> get importedLibraries;
1628 } 1632 }
1629 1633
1630 /** 1634 /**
1631 * A getter or a setter. Note that explicitly defined property accessors 1635 * A getter or a setter. Note that explicitly defined property accessors
1632 * implicitly define a synthetic field. Symmetrically, synthetic accessors are 1636 * implicitly define a synthetic field. Symmetrically, synthetic accessors are
1633 * implicitly created for explicitly defined fields. The following rules apply: 1637 * implicitly created for explicitly defined fields. The following rules apply:
1634 * 1638 *
1635 * * Every explicit field is represented by a non-synthetic [FieldElement]. 1639 * * Every explicit field is represented by a non-synthetic [FieldElement].
1636 * * Every explicit field induces a getter and possibly a setter, both of which 1640 * * Every explicit field induces a getter and possibly a setter, both of which
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 */ 1937 */
1934 bool get isStatic; 1938 bool get isStatic;
1935 1939
1936 /** 1940 /**
1937 * Return the declared type of this variable, or `null` if the variable did 1941 * Return the declared type of this variable, or `null` if the variable did
1938 * not have a declared type (such as if it was declared using the keyword 1942 * not have a declared type (such as if it was declared using the keyword
1939 * 'var'). 1943 * 'var').
1940 */ 1944 */
1941 DartType get type; 1945 DartType get type;
1942 } 1946 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698