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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 60293003: Version 0.8.10.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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) 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 '../../compiler.dart' as api; 8 import '../../compiler.dart' as api;
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 set patch(value) => unsupported(); 338 set patch(value) => unsupported();
339 set origin(value) => unsupported(); 339 set origin(value) => unsupported();
340 set defaultImplementation(value) => unsupported(); 340 set defaultImplementation(value) => unsupported();
341 341
342 get redirectionTarget => this; 342 get redirectionTarget => this;
343 343
344 getLibrary() => enclosingElement.getLibrary(); 344 getLibrary() => enclosingElement.getLibrary();
345 345
346 computeTargetType(Compiler compiler, InterfaceType newType) => unsupported(); 346 computeTargetType(Compiler compiler, InterfaceType newType) => unsupported();
347 347
348 String toString() { 348 String get message => '${messageKind.message(messageArguments)}';
349 return '<$name: ${messageKind.message(messageArguments)}>'; 349
350 } 350 String toString() => '<$name: $message>';
351 } 351 }
352 352
353 /// A message attached to a [WarnOnUseElementX]. 353 /// A message attached to a [WarnOnUseElementX].
354 class WrappedMessage { 354 class WrappedMessage {
355 /// The message position. If [:null:] the position of the reference to the 355 /// The message position. If [:null:] the position of the reference to the
356 /// [WarnOnUseElementX] is used. 356 /// [WarnOnUseElementX] is used.
357 final Spannable spannable; 357 final Spannable spannable;
358 358
359 /** 359 /**
360 * The message to report on resolving a wrapped element. 360 * The message to report on resolving a wrapped element.
(...skipping 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2371 2371
2372 MetadataAnnotation ensureResolved(Compiler compiler) { 2372 MetadataAnnotation ensureResolved(Compiler compiler) {
2373 if (resolutionState == STATE_NOT_STARTED) { 2373 if (resolutionState == STATE_NOT_STARTED) {
2374 compiler.resolver.resolveMetadataAnnotation(this); 2374 compiler.resolver.resolveMetadataAnnotation(this);
2375 } 2375 }
2376 return this; 2376 return this;
2377 } 2377 }
2378 2378
2379 String toString() => 'MetadataAnnotation($value, $resolutionState)'; 2379 String toString() => 'MetadataAnnotation($value, $resolutionState)';
2380 } 2380 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698