Chromium Code Reviews| 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 1315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1326 @override | 1326 @override |
| 1327 FunctionType get type; | 1327 FunctionType get type; |
| 1328 } | 1328 } |
| 1329 | 1329 |
| 1330 /** | 1330 /** |
| 1331 * The pseudo-declaration that defines a generic function type. | 1331 * The pseudo-declaration that defines a generic function type. |
| 1332 */ | 1332 */ |
| 1333 abstract class GenericFunctionTypeElement implements FunctionTypedElement {} | 1333 abstract class GenericFunctionTypeElement implements FunctionTypedElement {} |
| 1334 | 1334 |
| 1335 /** | 1335 /** |
| 1336 * A [FunctionTypeAliasElement] whose returned function type has a [type] | |
| 1337 * parameter. | |
| 1338 */ | |
|
Brian Wilkerson
2017/03/30 14:43:50
Please add the disclaimer:
Clients may not exte
jcollins
2017/03/30 15:19:35
Done.
| |
| 1339 abstract class GenericTypeAliasElement implements FunctionTypeAliasElement { | |
| 1340 /** | |
| 1341 * Return the generic function type element representing the generic function | |
| 1342 * type on the right side of the equals. | |
| 1343 */ | |
| 1344 GenericFunctionTypeElement get function; | |
| 1345 } | |
| 1346 | |
| 1347 /** | |
| 1336 * A combinator that causes some of the names in a namespace to be hidden when | 1348 * A combinator that causes some of the names in a namespace to be hidden when |
| 1337 * being imported. | 1349 * being imported. |
| 1338 * | 1350 * |
| 1339 * Clients may not extend, implement or mix-in this class. | 1351 * Clients may not extend, implement or mix-in this class. |
| 1340 */ | 1352 */ |
| 1341 abstract class HideElementCombinator implements NamespaceCombinator { | 1353 abstract class HideElementCombinator implements NamespaceCombinator { |
| 1342 /** | 1354 /** |
| 1343 * Return a list containing the names that are not to be made visible in the | 1355 * Return a list containing the names that are not to be made visible in the |
| 1344 * importing library even if they are defined in the imported library. | 1356 * importing library even if they are defined in the imported library. |
| 1345 */ | 1357 */ |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2069 DartType get type; | 2081 DartType get type; |
| 2070 | 2082 |
| 2071 /** | 2083 /** |
| 2072 * Return a representation of the value of this variable, forcing the value | 2084 * Return a representation of the value of this variable, forcing the value |
| 2073 * to be computed if it had not previously been computed, or `null` if either | 2085 * to be computed if it had not previously been computed, or `null` if either |
| 2074 * this variable was not declared with the 'const' modifier or if the value of | 2086 * this variable was not declared with the 'const' modifier or if the value of |
| 2075 * this variable could not be computed because of errors. | 2087 * this variable could not be computed because of errors. |
| 2076 */ | 2088 */ |
| 2077 DartObject computeConstantValue(); | 2089 DartObject computeConstantValue(); |
| 2078 } | 2090 } |
| OLD | NEW |