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 | 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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 823 FunctionExpression get node; | 823 FunctionExpression get node; |
| 824 DartType get type; | 824 DartType get type; |
| 825 FunctionSignature get functionSignature; | 825 FunctionSignature get functionSignature; |
| 826 FunctionElement get redirectionTarget; | 826 FunctionElement get redirectionTarget; |
| 827 FunctionElement get defaultImplementation; | 827 FunctionElement get defaultImplementation; |
| 828 | 828 |
| 829 FunctionElement get patch; | 829 FunctionElement get patch; |
| 830 FunctionElement get origin; | 830 FunctionElement get origin; |
| 831 | 831 |
| 832 bool get isRedirectingFactory; | 832 bool get isRedirectingFactory; |
| 833 void set mightBePassedToFunctionApply(bool value); | |
|
karlklose
2014/04/03 08:37:28
Please add these to the world: it is a global prop
ngeoffray
2014/04/03 08:49:36
Also, as a general principle, you should not touch
herhut
2014/04/14 08:21:47
Done.
herhut
2014/04/14 08:21:47
Done.
| |
| 834 bool get mightBePassedToFunctionApply; | |
| 833 | 835 |
| 834 /** | 836 /** |
| 835 * Compute the type of the target of a constructor for an instantiation site | 837 * Compute the type of the target of a constructor for an instantiation site |
| 836 * with type [:newType:]. | 838 * with type [:newType:]. |
| 837 */ | 839 */ |
| 838 InterfaceType computeTargetType(InterfaceType newType); | 840 InterfaceType computeTargetType(InterfaceType newType); |
| 839 | 841 |
| 840 // TODO(kasperl): These are bit fishy. Do we really need them? | 842 // TODO(kasperl): These are bit fishy. Do we really need them? |
| 841 void set patch(FunctionElement value); | 843 void set patch(FunctionElement value); |
| 842 void set origin(FunctionElement value); | 844 void set origin(FunctionElement value); |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1126 InterfaceType get declarer; | 1128 InterfaceType get declarer; |
| 1127 | 1129 |
| 1128 /// Returns `true` if this member is static. | 1130 /// Returns `true` if this member is static. |
| 1129 bool get isStatic; | 1131 bool get isStatic; |
| 1130 | 1132 |
| 1131 /// Returns `true` if this member is a getter or setter implicitly declared | 1133 /// Returns `true` if this member is a getter or setter implicitly declared |
| 1132 /// by a field. | 1134 /// by a field. |
| 1133 bool get isDeclaredByField; | 1135 bool get isDeclaredByField; |
| 1134 } | 1136 } |
| 1135 | 1137 |
| OLD | NEW |