| 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 5352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5363 _localFunctions?.forEach((b) => b.flushInformative()); | 5363 _localFunctions?.forEach((b) => b.flushInformative()); |
| 5364 _localLabels = null; | 5364 _localLabels = null; |
| 5365 _localVariables = null; | 5365 _localVariables = null; |
| 5366 _nameEnd = null; | 5366 _nameEnd = null; |
| 5367 _nameOffset = null; | 5367 _nameOffset = null; |
| 5368 _parameters?.forEach((b) => b.flushInformative()); | 5368 _parameters?.forEach((b) => b.flushInformative()); |
| 5369 _periodOffset = null; | 5369 _periodOffset = null; |
| 5370 _redirectedConstructor?.flushInformative(); | 5370 _redirectedConstructor?.flushInformative(); |
| 5371 _returnType?.flushInformative(); | 5371 _returnType?.flushInformative(); |
| 5372 _typeParameters?.forEach((b) => b.flushInformative()); | 5372 _typeParameters?.forEach((b) => b.flushInformative()); |
| 5373 _visibleLength = null; |
| 5374 _visibleOffset = null; |
| 5373 } | 5375 } |
| 5374 | 5376 |
| 5375 /** | 5377 /** |
| 5376 * Accumulate non-[informative] data into [signature]. | 5378 * Accumulate non-[informative] data into [signature]. |
| 5377 */ | 5379 */ |
| 5378 void collectApiSignature(api_sig.ApiSignature signature) { | 5380 void collectApiSignature(api_sig.ApiSignature signature) { |
| 5379 signature.addString(this._name ?? ''); | 5381 signature.addString(this._name ?? ''); |
| 5380 if (this._parameters == null) { | 5382 if (this._parameters == null) { |
| 5381 signature.addInt(0); | 5383 signature.addInt(0); |
| 5382 } else { | 5384 } else { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5423 } | 5425 } |
| 5424 signature.addString(this._redirectedConstructorName ?? ''); | 5426 signature.addString(this._redirectedConstructorName ?? ''); |
| 5425 if (this._localFunctions == null) { | 5427 if (this._localFunctions == null) { |
| 5426 signature.addInt(0); | 5428 signature.addInt(0); |
| 5427 } else { | 5429 } else { |
| 5428 signature.addInt(this._localFunctions.length); | 5430 signature.addInt(this._localFunctions.length); |
| 5429 for (var x in this._localFunctions) { | 5431 for (var x in this._localFunctions) { |
| 5430 x?.collectApiSignature(signature); | 5432 x?.collectApiSignature(signature); |
| 5431 } | 5433 } |
| 5432 } | 5434 } |
| 5433 signature.addInt(this._visibleLength ?? 0); | |
| 5434 signature.addInt(this._visibleOffset ?? 0); | |
| 5435 signature.addInt(this._constCycleSlot ?? 0); | 5435 signature.addInt(this._constCycleSlot ?? 0); |
| 5436 signature.addBool(this._bodyExpr != null); | 5436 signature.addBool(this._bodyExpr != null); |
| 5437 this._bodyExpr?.collectApiSignature(signature); | 5437 this._bodyExpr?.collectApiSignature(signature); |
| 5438 } | 5438 } |
| 5439 | 5439 |
| 5440 fb.Offset finish(fb.Builder fbBuilder) { | 5440 fb.Offset finish(fb.Builder fbBuilder) { |
| 5441 fb.Offset offset_annotations; | 5441 fb.Offset offset_annotations; |
| 5442 fb.Offset offset_bodyExpr; | 5442 fb.Offset offset_bodyExpr; |
| 5443 fb.Offset offset_codeRange; | 5443 fb.Offset offset_codeRange; |
| 5444 fb.Offset offset_constantInitializers; | 5444 fb.Offset offset_constantInitializers; |
| (...skipping 4049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9494 "propagatedTypeSlot": propagatedTypeSlot, | 9494 "propagatedTypeSlot": propagatedTypeSlot, |
| 9495 "type": type, | 9495 "type": type, |
| 9496 "visibleLength": visibleLength, | 9496 "visibleLength": visibleLength, |
| 9497 "visibleOffset": visibleOffset, | 9497 "visibleOffset": visibleOffset, |
| 9498 }; | 9498 }; |
| 9499 | 9499 |
| 9500 @override | 9500 @override |
| 9501 String toString() => convert.JSON.encode(toJson()); | 9501 String toString() => convert.JSON.encode(toJson()); |
| 9502 } | 9502 } |
| 9503 | 9503 |
| OLD | NEW |