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

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

Issue 868643002: Revert "Change signature of lookupConstructor to only require a name." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/modelx.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 7
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 Element lookupSelector(Selector selector); 1367 Element lookupSelector(Selector selector);
1368 Element lookupSuperSelector(Selector selector); 1368 Element lookupSuperSelector(Selector selector);
1369 1369
1370 Element lookupLocalMember(String memberName); 1370 Element lookupLocalMember(String memberName);
1371 Element lookupBackendMember(String memberName); 1371 Element lookupBackendMember(String memberName);
1372 Element lookupSuperMember(String memberName); 1372 Element lookupSuperMember(String memberName);
1373 1373
1374 Element lookupSuperMemberInLibrary(String memberName, 1374 Element lookupSuperMemberInLibrary(String memberName,
1375 LibraryElement library); 1375 LibraryElement library);
1376 1376
1377 ConstructorElement lookupDefaultConstructor(); 1377 Element validateConstructorLookupResults(Selector selector,
1378 ConstructorElement lookupConstructor(String name); 1378 Element result,
1379 Element noMatch(Element));
1380
1381 Element lookupConstructor(Selector selector, [Element noMatch(Element)]);
1379 1382
1380 void forEachMember(void f(ClassElement enclosingClass, Element member), 1383 void forEachMember(void f(ClassElement enclosingClass, Element member),
1381 {bool includeBackendMembers: false, 1384 {bool includeBackendMembers: false,
1382 bool includeSuperAndInjectedMembers: false}); 1385 bool includeSuperAndInjectedMembers: false});
1383 1386
1384 void forEachInstanceField(void f(ClassElement enclosingClass, 1387 void forEachInstanceField(void f(ClassElement enclosingClass,
1385 FieldElement field), 1388 FieldElement field),
1386 {bool includeSuperAndInjectedMembers: false}); 1389 {bool includeSuperAndInjectedMembers: false});
1387 1390
1388 /// Similar to [forEachInstanceField] but visits static fields. 1391 /// Similar to [forEachInstanceField] but visits static fields.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 bool get isDeclaredByField; 1613 bool get isDeclaredByField;
1611 1614
1612 /// Returns `true` if this member is abstract. 1615 /// Returns `true` if this member is abstract.
1613 bool get isAbstract; 1616 bool get isAbstract;
1614 1617
1615 /// If abstract, [implementation] points to the overridden concrete member, 1618 /// If abstract, [implementation] points to the overridden concrete member,
1616 /// if any. Otherwise [implementation] points to the member itself. 1619 /// if any. Otherwise [implementation] points to the member itself.
1617 Member get implementation; 1620 Member get implementation;
1618 } 1621 }
1619 1622
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compiler.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698