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

Side by Side Diff: lib/compiler/implementation/elements/elements.dart

Issue 10830279: Fix bug in patch injection CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | 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('../tree/tree.dart'); 7 #import('../tree/tree.dart');
8 #import('../scanner/scannerlib.dart'); 8 #import('../scanner/scannerlib.dart');
9 #import('../leg.dart'); // TODO(karlklose): we only need type. 9 #import('../leg.dart'); // TODO(karlklose): we only need type.
10 #import('../util/util.dart'); 10 #import('../util/util.dart');
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 655
656 Type computeType(Compiler compiler) { 656 Type computeType(Compiler compiler) {
657 return compiler.types.dynamicType; 657 return compiler.types.dynamicType;
658 } 658 }
659 659
660 parseNode(DiagnosticListener listener) { 660 parseNode(DiagnosticListener listener) {
661 throw "internal error: ForeignElement has no node"; 661 throw "internal error: ForeignElement has no node";
662 } 662 }
663 663
664 ForeignElement cloneTo(Element enclosing, DiagnosticListener listener) { 664 ForeignElement cloneTo(Element enclosing, DiagnosticListener listener) {
665 ForeignElement result = new ForeignElement(name, kind, enclosing); 665 ForeignElement result = new ForeignElement(name, enclosing);
666 return result; 666 return result;
667 } 667 }
668 } 668 }
669 669
670 class AbstractFieldElement extends Element { 670 class AbstractFieldElement extends Element {
671 FunctionElement getter; 671 FunctionElement getter;
672 FunctionElement setter; 672 FunctionElement setter;
673 673
674 AbstractFieldElement(SourceString name, Element enclosing) 674 AbstractFieldElement(SourceString name, Element enclosing)
675 : super(name, ElementKind.ABSTRACT_FIELD, enclosing); 675 : super(name, ElementKind.ABSTRACT_FIELD, enclosing);
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 Node parseNode(compiler) => cachedNode; 1423 Node parseNode(compiler) => cachedNode;
1424 1424
1425 String toString() => "${enclosingElement.toString()}.${name.slowToString()}"; 1425 String toString() => "${enclosingElement.toString()}.${name.slowToString()}";
1426 1426
1427 TypeVariableElement cloneTo(Element enclosing, DiagnosticListener listener) { 1427 TypeVariableElement cloneTo(Element enclosing, DiagnosticListener listener) {
1428 TypeVariableElement result = 1428 TypeVariableElement result =
1429 new TypeVariableElement(name, enclosing, node, type, bound); 1429 new TypeVariableElement(name, enclosing, node, type, bound);
1430 return result; 1430 return result;
1431 } 1431 }
1432 } 1432 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698