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

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

Issue 10890007: Remove more warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1618 /** 1618 /**
1619 * The compile-time constant which this annotation resolves to. 1619 * The compile-time constant which this annotation resolves to.
1620 * In the mirror system, this would be an object mirror. 1620 * In the mirror system, this would be an object mirror.
1621 */ 1621 */
1622 abstract Constant get value; 1622 abstract Constant get value;
1623 Element annotatedElement; 1623 Element annotatedElement;
1624 int resolutionState; 1624 int resolutionState;
1625 1625
1626 MetadataAnnotation([this.resolutionState = STATE_NOT_STARTED]); 1626 MetadataAnnotation([this.resolutionState = STATE_NOT_STARTED]);
1627 1627
1628 abstract Node parseNode(DiagnosticListener listener);
1629
1630 MetadataAnnotation ensureResolved(Compiler compiler) { 1628 MetadataAnnotation ensureResolved(Compiler compiler) {
1631 if (resolutionState == STATE_NOT_STARTED) { 1629 if (resolutionState == STATE_NOT_STARTED) {
1632 compiler.resolver.resolveMetadataAnnotation(this); 1630 compiler.resolver.resolveMetadataAnnotation(this);
1633 } 1631 }
1634 return this; 1632 return this;
1635 } 1633 }
1636 1634
1637 String toString() => 'MetadataAnnotation($value, $resolutionState)'; 1635 String toString() => 'MetadataAnnotation($value, $resolutionState)';
1638 } 1636 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/compile_time_constants.dart ('k') | lib/compiler/implementation/patch_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698