| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 /** | 5 /** |
| 6 * Defines the element model. The element model describes the semantic (as | 6 * Defines the element model. The element model describes the semantic (as |
| 7 * opposed to syntactic) structure of Dart code. The syntactic structure of the | 7 * opposed to syntactic) structure of Dart code. The syntactic structure of the |
| 8 * code is modeled by the [AST structure](../ast/ast.dart). | 8 * code is modeled by the [AST structure](../ast/ast.dart). |
| 9 * | 9 * |
| 10 * The element model consists of two closely related kinds of objects: elements | 10 * The element model consists of two closely related kinds of objects: elements |
| (...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1597 @override | 1597 @override |
| 1598 MethodDeclaration computeNode(); | 1598 MethodDeclaration computeNode(); |
| 1599 | 1599 |
| 1600 /** | 1600 /** |
| 1601 * Gets the reified type of a tear-off of this method. | 1601 * Gets the reified type of a tear-off of this method. |
| 1602 * | 1602 * |
| 1603 * If any of the parameters in the method are covariant, they are replaced | 1603 * If any of the parameters in the method are covariant, they are replaced |
| 1604 * with Object in the returned type. If no covariant parameters are present, | 1604 * with Object in the returned type. If no covariant parameters are present, |
| 1605 * returns `this`. | 1605 * returns `this`. |
| 1606 */ | 1606 */ |
| 1607 @deprecated |
| 1607 FunctionType getReifiedType(DartType objectType); | 1608 FunctionType getReifiedType(DartType objectType); |
| 1608 } | 1609 } |
| 1609 | 1610 |
| 1610 /** | 1611 /** |
| 1611 * A pseudo-element that represents multiple elements defined within a single | 1612 * A pseudo-element that represents multiple elements defined within a single |
| 1612 * scope that have the same name. This situation is not allowed by the language, | 1613 * scope that have the same name. This situation is not allowed by the language, |
| 1613 * so objects implementing this interface always represent an error. As a | 1614 * so objects implementing this interface always represent an error. As a |
| 1614 * result, most of the normal operations on elements do not make sense and will | 1615 * result, most of the normal operations on elements do not make sense and will |
| 1615 * return useless results. | 1616 * return useless results. |
| 1616 * | 1617 * |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2067 DartType get type; | 2068 DartType get type; |
| 2068 | 2069 |
| 2069 /** | 2070 /** |
| 2070 * Return a representation of the value of this variable, forcing the value | 2071 * Return a representation of the value of this variable, forcing the value |
| 2071 * to be computed if it had not previously been computed, or `null` if either | 2072 * to be computed if it had not previously been computed, or `null` if either |
| 2072 * this variable was not declared with the 'const' modifier or if the value of | 2073 * this variable was not declared with the 'const' modifier or if the value of |
| 2073 * this variable could not be computed because of errors. | 2074 * this variable could not be computed because of errors. |
| 2074 */ | 2075 */ |
| 2075 DartObject computeConstantValue(); | 2076 DartObject computeConstantValue(); |
| 2076 } | 2077 } |
| OLD | NEW |