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

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

Issue 10827442: Fix dart2dart and dart2js build. (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
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('dart:uri'); 7 #import('dart:uri');
8 8
9 #import('../tree/tree.dart'); 9 #import('../tree/tree.dart');
10 #import('../scanner/scannerlib.dart'); 10 #import('../scanner/scannerlib.dart');
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 get cachedNode() => unsupported(); 334 get cachedNode() => unsupported();
335 get functionSignature() => unsupported(); 335 get functionSignature() => unsupported();
336 get patch() => unsupported(); 336 get patch() => unsupported();
337 get defaultImplementation() => unsupported(); 337 get defaultImplementation() => unsupported();
338 bool get isPatched() => unsupported(); 338 bool get isPatched() => unsupported();
339 setPatch(patch) => unsupported(); 339 setPatch(patch) => unsupported();
340 computeSignature(compiler) => unsupported(); 340 computeSignature(compiler) => unsupported();
341 requiredParameterCount(compiler) => unsupported(); 341 requiredParameterCount(compiler) => unsupported();
342 optionalParameterCount(compiler) => unsupported(); 342 optionalParameterCount(compiler) => unsupported();
343 parameterCount(copmiler) => unsupported(); 343 parameterCount(copmiler) => unsupported();
344
345 getLibrary() => enclosingElement.getLibrary();
344 } 346 }
345 347
346 class ContainerElement extends Element { 348 class ContainerElement extends Element {
347 Link<Element> localMembers = const EmptyLink<Element>(); 349 Link<Element> localMembers = const EmptyLink<Element>();
348 350
349 ContainerElement(name, kind, enclosingElement) 351 ContainerElement(name, kind, enclosingElement)
350 : super(name, kind, enclosingElement); 352 : super(name, kind, enclosingElement);
351 353
352 void addMember(Element element, DiagnosticListener listener) { 354 void addMember(Element element, DiagnosticListener listener) {
353 localMembers = localMembers.prepend(element); 355 localMembers = localMembers.prepend(element);
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 String toString() => "${enclosingElement.toString()}.${name.slowToString()}"; 1559 String toString() => "${enclosingElement.toString()}.${name.slowToString()}";
1558 1560
1559 Token position() => cachedNode.getBeginToken(); 1561 Token position() => cachedNode.getBeginToken();
1560 1562
1561 TypeVariableElement cloneTo(Element enclosing, DiagnosticListener listener) { 1563 TypeVariableElement cloneTo(Element enclosing, DiagnosticListener listener) {
1562 TypeVariableElement result = 1564 TypeVariableElement result =
1563 new TypeVariableElement(name, enclosing, cachedNode, type, bound); 1565 new TypeVariableElement(name, enclosing, cachedNode, type, bound);
1564 return result; 1566 return result;
1565 } 1567 }
1566 } 1568 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/dart_backend/placeholder_collector.dart ('k') | lib/compiler/implementation/resolved_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698