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

Side by Side Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 1314973003: Add support for analyzing individual URIs. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment Created 5 years, 3 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 elements; 5 library elements;
6 6
7 import '../compiler.dart' show 7 import '../compiler.dart' show
8 Compiler, 8 Compiler,
9 isPrivateName; 9 isPrivateName;
10 import '../constants/constructors.dart'; 10 import '../constants/constructors.dart';
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 /// [TreeElements]. This is not available if [hasResolvedAst] is `false`. 1569 /// [TreeElements]. This is not available if [hasResolvedAst] is `false`.
1570 ResolvedAst get resolvedAst; 1570 ResolvedAst get resolvedAst;
1571 } 1571 }
1572 1572
1573 class ResolvedAst { 1573 class ResolvedAst {
1574 final Element element; 1574 final Element element;
1575 final Node node; 1575 final Node node;
1576 final TreeElements elements; 1576 final TreeElements elements;
1577 1577
1578 ResolvedAst(this.element, this.node, this.elements); 1578 ResolvedAst(this.element, this.node, this.elements);
1579
1580 String toString() => '$element:$node';
1579 } 1581 }
1580 1582
1581 /// A [MemberSignature] is a member of an interface. 1583 /// A [MemberSignature] is a member of an interface.
1582 /// 1584 ///
1583 /// A signature is either a method or a getter or setter, possibly implicitly 1585 /// A signature is either a method or a getter or setter, possibly implicitly
1584 /// defined by a field declarations. Fields themselves are not members of an 1586 /// defined by a field declarations. Fields themselves are not members of an
1585 /// interface. 1587 /// interface.
1586 /// 1588 ///
1587 /// A [MemberSignature] may be defined by a member declaration or may be 1589 /// A [MemberSignature] may be defined by a member declaration or may be
1588 /// synthetized from a set of declarations. 1590 /// synthetized from a set of declarations.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 bool get isDeclaredByField; 1653 bool get isDeclaredByField;
1652 1654
1653 /// Returns `true` if this member is abstract. 1655 /// Returns `true` if this member is abstract.
1654 bool get isAbstract; 1656 bool get isAbstract;
1655 1657
1656 /// If abstract, [implementation] points to the overridden concrete member, 1658 /// If abstract, [implementation] points to the overridden concrete member,
1657 /// if any. Otherwise [implementation] points to the member itself. 1659 /// if any. Otherwise [implementation] points to the member itself.
1658 Member get implementation; 1660 Member get implementation;
1659 } 1661 }
1660 1662
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/source_span.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698