| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 * This file is an "idl" style description of the summary format. It is not | 6 * This file is an "idl" style description of the summary format. It is not |
| 7 * executed directly; instead it is parsed and transformed into code that | 7 * executed directly; instead it is parsed and transformed into code that |
| 8 * implements the summary format. | 8 * implements the summary format. |
| 9 * | 9 * |
| 10 * The code generation process introduces the following non-typical semantics: | 10 * The code generation process introduces the following non-typical semantics: |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 String name; | 319 String name; |
| 320 | 320 |
| 321 /** | 321 /** |
| 322 * Type parameters of the executable, if any. Empty if support for generic | 322 * Type parameters of the executable, if any. Empty if support for generic |
| 323 * method syntax is disabled. | 323 * method syntax is disabled. |
| 324 */ | 324 */ |
| 325 List<UnlinkedTypeParam> typeParameters; | 325 List<UnlinkedTypeParam> typeParameters; |
| 326 | 326 |
| 327 /** | 327 /** |
| 328 * Declared return type of the executable. Absent if the return type is | 328 * Declared return type of the executable. Absent if the return type is |
| 329 * `void`. Note that when strong mode is enabled, the actual return type may | 329 * `void` or the executable is a constructor. Note that when strong mode is |
| 330 * be different due to type inference. | 330 * enabled, the actual return type may be different due to type inference. |
| 331 */ | 331 */ |
| 332 UnlinkedTypeRef returnType; | 332 UnlinkedTypeRef returnType; |
| 333 | 333 |
| 334 /** | 334 /** |
| 335 * Parameters of the executable, if any. Note that getters have no | 335 * Parameters of the executable, if any. Note that getters have no |
| 336 * parameters (hence this will be the empty list), and setters have a single | 336 * parameters (hence this will be the empty list), and setters have a single |
| 337 * parameter. | 337 * parameter. |
| 338 */ | 338 */ |
| 339 List<UnlinkedParam> parameters; | 339 List<UnlinkedParam> parameters; |
| 340 | 340 |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 /** | 778 /** |
| 779 * Indicates whether the variable is declared using the `const` keyword. | 779 * Indicates whether the variable is declared using the `const` keyword. |
| 780 */ | 780 */ |
| 781 bool isConst; | 781 bool isConst; |
| 782 | 782 |
| 783 /** | 783 /** |
| 784 * Indicates whether this variable lacks an explicit type declaration. | 784 * Indicates whether this variable lacks an explicit type declaration. |
| 785 */ | 785 */ |
| 786 bool hasImplicitType; | 786 bool hasImplicitType; |
| 787 } | 787 } |
| OLD | NEW |