| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 */ | 159 */ |
| 160 List<String> parts; | 160 List<String> parts; |
| 161 } | 161 } |
| 162 | 162 |
| 163 /** | 163 /** |
| 164 * Information about a single name in the export namespace of the library that | 164 * Information about a single name in the export namespace of the library that |
| 165 * is not in the public namespace. | 165 * is not in the public namespace. |
| 166 */ | 166 */ |
| 167 class LinkedExportName { | 167 class LinkedExportName { |
| 168 /** | 168 /** |
| 169 * Name of the exported entity. TODO(paulberry): do we include the trailing | 169 * Name of the exported entity. For an exported setter, this name includes |
| 170 * '=' for a setter? | 170 * the trailing '='. |
| 171 */ | 171 */ |
| 172 String name; | 172 String name; |
| 173 | 173 |
| 174 /** | 174 /** |
| 175 * Index into [LinkedLibrary.dependencies] for the library in which the | 175 * Index into [LinkedLibrary.dependencies] for the library in which the |
| 176 * entity is defined. | 176 * entity is defined. |
| 177 */ | 177 */ |
| 178 int dependency; | 178 int dependency; |
| 179 | 179 |
| 180 /** | 180 /** |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1506 int propagatedTypeSlot; | 1506 int propagatedTypeSlot; |
| 1507 | 1507 |
| 1508 /** | 1508 /** |
| 1509 * If this variable is inferrable, nonzero slot id identifying which entry in | 1509 * If this variable is inferrable, nonzero slot id identifying which entry in |
| 1510 * [LinkedLibrary.types] contains the inferred type for this variable. If | 1510 * [LinkedLibrary.types] contains the inferred type for this variable. If |
| 1511 * there is no matching entry in [LinkedLibrary.types], then no type was | 1511 * there is no matching entry in [LinkedLibrary.types], then no type was |
| 1512 * inferred for this variable, so its static type is `dynamic`. | 1512 * inferred for this variable, so its static type is `dynamic`. |
| 1513 */ | 1513 */ |
| 1514 int inferredTypeSlot; | 1514 int inferredTypeSlot; |
| 1515 } | 1515 } |
| OLD | NEW |