| 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 AST model. The AST (Abstract Syntax Tree) model describes the | 6 * Defines the AST model. The AST (Abstract Syntax Tree) model describes the |
| 7 * syntactic (as opposed to semantic) structure of Dart code. The semantic | 7 * syntactic (as opposed to semantic) structure of Dart code. The semantic |
| 8 * structure of the code is modeled by the | 8 * structure of the code is modeled by the |
| 9 * [element model](../element/element.dart). | 9 * [element model](../element/element.dart). |
| 10 * | 10 * |
| (...skipping 4947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4958 void set target(Expression expression); | 4958 void set target(Expression expression); |
| 4959 | 4959 |
| 4960 /** | 4960 /** |
| 4961 * Set the type arguments to be applied to the method being invoked to the | 4961 * Set the type arguments to be applied to the method being invoked to the |
| 4962 * given [typeArguments]. | 4962 * given [typeArguments]. |
| 4963 */ | 4963 */ |
| 4964 void set typeArguments(TypeArgumentList typeArguments); | 4964 void set typeArguments(TypeArgumentList typeArguments); |
| 4965 } | 4965 } |
| 4966 | 4966 |
| 4967 /** | 4967 /** |
| 4968 * An expression that implicity makes reference to a method. | 4968 * An expression that implicitly makes reference to a method. |
| 4969 * | 4969 * |
| 4970 * Clients may not extend, implement or mix-in this class. | 4970 * Clients may not extend, implement or mix-in this class. |
| 4971 */ | 4971 */ |
| 4972 abstract class MethodReferenceExpression { | 4972 abstract class MethodReferenceExpression { |
| 4973 /** | 4973 /** |
| 4974 * Return the best element available for this expression. If resolution was | 4974 * Return the best element available for this expression. If resolution was |
| 4975 * able to find a better element based on type propagation, that element will | 4975 * able to find a better element based on type propagation, that element will |
| 4976 * be returned. Otherwise, the element found using the result of static | 4976 * be returned. Otherwise, the element found using the result of static |
| 4977 * analysis will be returned. If resolution has not been performed, then | 4977 * analysis will be returned. If resolution has not been performed, then |
| 4978 * `null` will be returned. | 4978 * `null` will be returned. |
| (...skipping 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7044 /** | 7044 /** |
| 7045 * Return the 'yield' keyword. | 7045 * Return the 'yield' keyword. |
| 7046 */ | 7046 */ |
| 7047 Token get yieldKeyword; | 7047 Token get yieldKeyword; |
| 7048 | 7048 |
| 7049 /** | 7049 /** |
| 7050 * Return the 'yield' keyword to the given [token]. | 7050 * Return the 'yield' keyword to the given [token]. |
| 7051 */ | 7051 */ |
| 7052 void set yieldKeyword(Token token); | 7052 void set yieldKeyword(Token token); |
| 7053 } | 7053 } |
| OLD | NEW |