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

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

Issue 1137683002: Add missing implementations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.modelx; 5 library elements.modelx;
6 6
7 import 'elements.dart'; 7 import 'elements.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../helpers/helpers.dart'; // Included for debug helpers. 9 import '../helpers/helpers.dart'; // Included for debug helpers.
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 final Map messageArguments; 276 final Map messageArguments;
277 277
278 ErroneousElementX(this.messageKind, this.messageArguments, 278 ErroneousElementX(this.messageKind, this.messageArguments,
279 String name, Element enclosing) 279 String name, Element enclosing)
280 : super(name, ElementKind.ERROR, enclosing); 280 : super(name, ElementKind.ERROR, enclosing);
281 281
282 bool get isTopLevel => false; 282 bool get isTopLevel => false;
283 283
284 bool get isSynthesized => true; 284 bool get isSynthesized => true;
285 285
286 bool get isCyclicRedirection => false;
287
288 PrefixElement get redirectionDeferredPrefix => null;
289
286 AbstractFieldElement abstractField; 290 AbstractFieldElement abstractField;
287 291
288 unsupported() { 292 unsupported() {
289 throw 'unsupported operation on erroneous element'; 293 throw 'unsupported operation on erroneous element';
290 } 294 }
291 295
292 get asyncMarker => AsyncMarker.SYNC; 296 get asyncMarker => AsyncMarker.SYNC;
293 Link<MetadataAnnotation> get metadata => unsupported(); 297 Link<MetadataAnnotation> get metadata => unsupported();
294 bool get hasNode => false; 298 bool get hasNode => false;
295 get node => unsupported(); 299 get node => unsupported();
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 } 411 }
408 412
409 get nestedClosures { 413 get nestedClosures {
410 throw new UnsupportedError("nestedClosures"); 414 throw new UnsupportedError("nestedClosures");
411 } 415 }
412 416
413 set nestedClosures(_) { 417 set nestedClosures(_) {
414 throw new UnsupportedError("nestedClosures="); 418 throw new UnsupportedError("nestedClosures=");
415 } 419 }
416 420
421 set redirectionDeferredPrefix(_) {
422 throw new UnsupportedError("redirectionDeferredPrefix=");
423 }
424
417 bool get hasNoBody => false; 425 bool get hasNoBody => false;
418 426
419 bool get _hasNoBody => false; 427 bool get _hasNoBody => false;
420 428
421 void set effectiveTarget(_) { 429 void set effectiveTarget(_) {
422 throw new UnsupportedError("effectiveTarget="); 430 throw new UnsupportedError("effectiveTarget=");
423 } 431 }
424 } 432 }
425 433
426 /// A message attached to a [WarnOnUseElementX]. 434 /// A message attached to a [WarnOnUseElementX].
(...skipping 2703 matching lines...) Expand 10 before | Expand all | Expand 10 after
3130 AstElement get definingElement; 3138 AstElement get definingElement;
3131 3139
3132 bool get hasResolvedAst => definingElement.hasTreeElements; 3140 bool get hasResolvedAst => definingElement.hasTreeElements;
3133 3141
3134 ResolvedAst get resolvedAst { 3142 ResolvedAst get resolvedAst {
3135 return new ResolvedAst(declaration, 3143 return new ResolvedAst(declaration,
3136 definingElement.node, definingElement.treeElements); 3144 definingElement.node, definingElement.treeElements);
3137 } 3145 }
3138 3146
3139 } 3147 }
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