| 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 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
| 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". | 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". |
| 7 | 7 |
| 8 library analyzer.src.summary.format; | 8 library analyzer.src.summary.format; |
| 9 | 9 |
| 10 import 'flat_buffers.dart' as fb; | 10 import 'flat_buffers.dart' as fb; |
| (...skipping 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2107 } | 2107 } |
| 2108 | 2108 |
| 2109 class LinkedDependencyBuilder extends Object with _LinkedDependencyMixin impleme
nts idl.LinkedDependency { | 2109 class LinkedDependencyBuilder extends Object with _LinkedDependencyMixin impleme
nts idl.LinkedDependency { |
| 2110 List<String> _parts; | 2110 List<String> _parts; |
| 2111 String _uri; | 2111 String _uri; |
| 2112 | 2112 |
| 2113 @override | 2113 @override |
| 2114 List<String> get parts => _parts ??= <String>[]; | 2114 List<String> get parts => _parts ??= <String>[]; |
| 2115 | 2115 |
| 2116 /** | 2116 /** |
| 2117 * URI for the compilation units listed in the library's `part` declarations. | 2117 * Absolute URI for the compilation units listed in the library's `part` |
| 2118 * These URIs are relative to the importing library. | 2118 * declarations, empty string for invalid URI. |
| 2119 */ | 2119 */ |
| 2120 void set parts(List<String> value) { | 2120 void set parts(List<String> value) { |
| 2121 this._parts = value; | 2121 this._parts = value; |
| 2122 } | 2122 } |
| 2123 | 2123 |
| 2124 @override | 2124 @override |
| 2125 String get uri => _uri ??= ''; | 2125 String get uri => _uri ??= ''; |
| 2126 | 2126 |
| 2127 /** | 2127 /** |
| 2128 * The relative URI of the dependent library. This URI is relative to the | 2128 * The absolute URI of the dependent library, e.g. `package:foo/bar.dart`. |
| 2129 * importing library, even if there are intervening `export` declarations. | |
| 2130 * So, for example, if `a.dart` imports `b/c.dart` and `b/c.dart` exports | |
| 2131 * `d/e.dart`, the URI listed for `a.dart`'s dependency on `e.dart` will be | |
| 2132 * `b/d/e.dart`. | |
| 2133 */ | 2129 */ |
| 2134 void set uri(String value) { | 2130 void set uri(String value) { |
| 2135 this._uri = value; | 2131 this._uri = value; |
| 2136 } | 2132 } |
| 2137 | 2133 |
| 2138 LinkedDependencyBuilder({List<String> parts, String uri}) | 2134 LinkedDependencyBuilder({List<String> parts, String uri}) |
| 2139 : _parts = parts, | 2135 : _parts = parts, |
| 2140 _uri = uri; | 2136 _uri = uri; |
| 2141 | 2137 |
| 2142 /** | 2138 /** |
| (...skipping 8998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11141 "propagatedTypeSlot": propagatedTypeSlot, | 11137 "propagatedTypeSlot": propagatedTypeSlot, |
| 11142 "type": type, | 11138 "type": type, |
| 11143 "visibleLength": visibleLength, | 11139 "visibleLength": visibleLength, |
| 11144 "visibleOffset": visibleOffset, | 11140 "visibleOffset": visibleOffset, |
| 11145 }; | 11141 }; |
| 11146 | 11142 |
| 11147 @override | 11143 @override |
| 11148 String toString() => convert.JSON.encode(toJson()); | 11144 String toString() => convert.JSON.encode(toJson()); |
| 11149 } | 11145 } |
| 11150 | 11146 |
| OLD | NEW |