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

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

Issue 27019003: Update check for cyclic typedefs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 2 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 7
8 import '../tree/tree.dart'; 8 import '../tree/tree.dart';
9 import '../util/util.dart'; 9 import '../util/util.dart';
10 import '../resolution/resolution.dart'; 10 import '../resolution/resolution.dart';
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 TypedefType get rawType; 710 TypedefType get rawType;
711 DartType get alias; 711 DartType get alias;
712 FunctionSignature get functionSignature; 712 FunctionSignature get functionSignature;
713 Link<DartType> get typeVariables; 713 Link<DartType> get typeVariables;
714 714
715 bool get isResolved; 715 bool get isResolved;
716 716
717 // TODO(kasperl): Try to get rid of these setters. 717 // TODO(kasperl): Try to get rid of these setters.
718 void set alias(DartType value); 718 void set alias(DartType value);
719 void set functionSignature(FunctionSignature value); 719 void set functionSignature(FunctionSignature value);
720
721 void checkCyclicReference(Compiler compiler);
720 } 722 }
721 723
722 abstract class VariableElement extends Element { 724 abstract class VariableElement extends Element {
723 VariableListElement get variables; 725 VariableListElement get variables;
724 726
725 // TODO(kasperl): Try to get rid of this. 727 // TODO(kasperl): Try to get rid of this.
726 Expression get cachedNode; 728 Expression get cachedNode;
727 } 729 }
728 730
729 abstract class FieldParameterElement extends VariableElement { 731 abstract class FieldParameterElement extends VariableElement {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 int get resolutionState; 975 int get resolutionState;
974 Token get beginToken; 976 Token get beginToken;
975 Token get endToken; 977 Token get endToken;
976 978
977 // TODO(kasperl): Try to get rid of these. 979 // TODO(kasperl): Try to get rid of these.
978 void set annotatedElement(Element value); 980 void set annotatedElement(Element value);
979 void set resolutionState(int value); 981 void set resolutionState(int value);
980 982
981 MetadataAnnotation ensureResolved(Compiler compiler); 983 MetadataAnnotation ensureResolved(Compiler compiler);
982 } 984 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698