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

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

Issue 2901823002: Type .targetElement as MemberEntity (Closed)
Patch Set: Created 3 years, 7 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/compiler/lib/src/ssa/builder.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) 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 'package:front_end/src/fasta/parser/async_modifier.dart' 7 import 'package:front_end/src/fasta/parser/async_modifier.dart'
8 show AsyncModifier; 8 show AsyncModifier;
9 9
10 import '../common.dart'; 10 import '../common.dart';
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1505 bool get isStringFromEnvironmentConstructor; 1505 bool get isStringFromEnvironmentConstructor;
1506 1506
1507 /// Use [enclosingClass] instead. 1507 /// Use [enclosingClass] instead.
1508 @deprecated 1508 @deprecated
1509 get enclosingElement; 1509 get enclosingElement;
1510 } 1510 }
1511 1511
1512 /// JavaScript backend specific element for the body of constructor. 1512 /// JavaScript backend specific element for the body of constructor.
1513 // TODO(johnniwinther): Remove this class from the element model. 1513 // TODO(johnniwinther): Remove this class from the element model.
1514 abstract class ConstructorBodyElement extends MethodElement { 1514 abstract class ConstructorBodyElement extends MethodElement {
1515 FunctionElement get constructor; 1515 ConstructorElement get constructor;
1516 } 1516 }
1517 1517
1518 /// [GenericElement] defines the common interface for generic functions and 1518 /// [GenericElement] defines the common interface for generic functions and
1519 /// [TypeDeclarationElement]. 1519 /// [TypeDeclarationElement].
1520 abstract class GenericElement extends Element implements AstElement { 1520 abstract class GenericElement extends Element implements AstElement {
1521 /// Do not use [computeType] outside of the resolver. 1521 /// Do not use [computeType] outside of the resolver.
1522 /// 1522 ///
1523 /// Trying to access a type that has not been computed in resolution is an 1523 /// Trying to access a type that has not been computed in resolution is an
1524 /// error and calling [computeType] covers that error. 1524 /// error and calling [computeType] covers that error.
1525 /// This method will go away! 1525 /// This method will go away!
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
2032 /// by a field. 2032 /// by a field.
2033 bool get isDeclaredByField; 2033 bool get isDeclaredByField;
2034 2034
2035 /// Returns `true` if this member is abstract. 2035 /// Returns `true` if this member is abstract.
2036 bool get isAbstract; 2036 bool get isAbstract;
2037 2037
2038 /// If abstract, [implementation] points to the overridden concrete member, 2038 /// If abstract, [implementation] points to the overridden concrete member,
2039 /// if any. Otherwise [implementation] points to the member itself. 2039 /// if any. Otherwise [implementation] points to the member itself.
2040 Member get implementation; 2040 Member get implementation;
2041 } 2041 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698