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

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

Issue 2929143002: Handle instance fields in compile_from_dill_test (Closed)
Patch Set: Cleanup Created 3 years, 6 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 | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/js_backend/namer.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 '../common.dart'; 7 import '../common.dart';
8 import '../common/resolution.dart' show Resolution; 8 import '../common/resolution.dart' show Resolution;
9 import '../constants/constructors.dart'; 9 import '../constants/constructors.dart';
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
(...skipping 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 /// because it does not take parameterized types into account. 1516 /// because it does not take parameterized types into account.
1517 bool isSubclassOf(ClassElement cls); 1517 bool isSubclassOf(ClassElement cls);
1518 1518
1519 /// Returns `true` if this class explicitly implements [intrface]. 1519 /// Returns `true` if this class explicitly implements [intrface].
1520 /// 1520 ///
1521 /// Note that, if [intrface] is the `Function` class, this method returns 1521 /// Note that, if [intrface] is the `Function` class, this method returns
1522 /// false for a class that has a `call` method but does not explicitly 1522 /// false for a class that has a `call` method but does not explicitly
1523 /// implement `Function`. 1523 /// implement `Function`.
1524 bool implementsInterface(ClassElement intrface); 1524 bool implementsInterface(ClassElement intrface);
1525 1525
1526 bool hasFieldShadowedBy(Element fieldMember); 1526 bool hasFieldShadowedBy(FieldElement fieldMember);
1527 1527
1528 /// Returns `true` if this class has a @proxy annotation. 1528 /// Returns `true` if this class has a @proxy annotation.
1529 bool get isProxy; 1529 bool get isProxy;
1530 1530
1531 /// Returns `true` if the class hierarchy for this class contains errors. 1531 /// Returns `true` if the class hierarchy for this class contains errors.
1532 bool get hasIncompleteHierarchy; 1532 bool get hasIncompleteHierarchy;
1533 1533
1534 void addConstructorBody(ConstructorBodyElement element); 1534 void addConstructorBody(ConstructorBodyElement element);
1535 1535
1536 Element lookupMember(String memberName); 1536 Element lookupMember(String memberName);
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 /// by a field. 1897 /// by a field.
1898 bool get isDeclaredByField; 1898 bool get isDeclaredByField;
1899 1899
1900 /// Returns `true` if this member is abstract. 1900 /// Returns `true` if this member is abstract.
1901 bool get isAbstract; 1901 bool get isAbstract;
1902 1902
1903 /// If abstract, [implementation] points to the overridden concrete member, 1903 /// If abstract, [implementation] points to the overridden concrete member,
1904 /// if any. Otherwise [implementation] points to the member itself. 1904 /// if any. Otherwise [implementation] points to the member itself.
1905 Member get implementation; 1905 Member get implementation;
1906 } 1906 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/js_backend/namer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698