Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 'modelx.dart'; | 9 import 'modelx.dart'; |
| 10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 644 } | 644 } |
| 645 | 645 |
| 646 abstract class VariableListElement extends Element { | 646 abstract class VariableListElement extends Element { |
| 647 DartType get type; | 647 DartType get type; |
| 648 FunctionSignature get functionSignature; | 648 FunctionSignature get functionSignature; |
| 649 | 649 |
| 650 // TODO(kasperl): Try to get rid of this. | 650 // TODO(kasperl): Try to get rid of this. |
| 651 void set type(DartType value); | 651 void set type(DartType value); |
| 652 } | 652 } |
| 653 | 653 |
| 654 abstract class ForwardingConstructorElement extends FunctionElement { | |
|
ahe
2013/04/15 13:36:46
Please document this class.
karlklose
2013/04/25 11:25:53
Obsolete, removed the class.
| |
| 655 FunctionElement get superConstructor; | |
| 656 } | |
| 657 | |
| 654 /** | 658 /** |
| 655 * A synthetic element which holds a getter and/or a setter. | 659 * A synthetic element which holds a getter and/or a setter. |
| 656 * | 660 * |
| 657 * This element unifies handling of fields and getters/setters. When | 661 * This element unifies handling of fields and getters/setters. When |
| 658 * looking at code like "foo.x", we don't have to look for both a | 662 * looking at code like "foo.x", we don't have to look for both a |
| 659 * field named "x", a getter named "x", and a setter named "x=". | 663 * field named "x", a getter named "x", and a setter named "x=". |
| 660 */ | 664 */ |
| 661 abstract class AbstractFieldElement extends Element { | 665 abstract class AbstractFieldElement extends Element { |
| 662 FunctionElement get getter; | 666 FunctionElement get getter; |
| 663 FunctionElement get setter; | 667 FunctionElement get setter; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 873 int get resolutionState; | 877 int get resolutionState; |
| 874 Token get beginToken; | 878 Token get beginToken; |
| 875 Token get endToken; | 879 Token get endToken; |
| 876 | 880 |
| 877 // TODO(kasperl): Try to get rid of these. | 881 // TODO(kasperl): Try to get rid of these. |
| 878 void set annotatedElement(Element value); | 882 void set annotatedElement(Element value); |
| 879 void set resolutionState(int value); | 883 void set resolutionState(int value); |
| 880 | 884 |
| 881 MetadataAnnotation ensureResolved(Compiler compiler); | 885 MetadataAnnotation ensureResolved(Compiler compiler); |
| 882 } | 886 } |
| OLD | NEW |