| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 fb.Offset offset_implicitFunctionTypeIndices; | 198 fb.Offset offset_implicitFunctionTypeIndices; |
| 199 fb.Offset offset_typeArguments; | 199 fb.Offset offset_typeArguments; |
| 200 if (!(_implicitFunctionTypeIndices == null || _implicitFunctionTypeIndices.i
sEmpty)) { | 200 if (!(_implicitFunctionTypeIndices == null || _implicitFunctionTypeIndices.i
sEmpty)) { |
| 201 offset_implicitFunctionTypeIndices = fbBuilder.writeListUint32(_implicitFu
nctionTypeIndices); | 201 offset_implicitFunctionTypeIndices = fbBuilder.writeListUint32(_implicitFu
nctionTypeIndices); |
| 202 } | 202 } |
| 203 if (!(_typeArguments == null || _typeArguments.isEmpty)) { | 203 if (!(_typeArguments == null || _typeArguments.isEmpty)) { |
| 204 offset_typeArguments = fbBuilder.writeList(_typeArguments.map((b) => b.fin
ish(fbBuilder)).toList()); | 204 offset_typeArguments = fbBuilder.writeList(_typeArguments.map((b) => b.fin
ish(fbBuilder)).toList()); |
| 205 } | 205 } |
| 206 fbBuilder.startTable(); | 206 fbBuilder.startTable(); |
| 207 if (offset_implicitFunctionTypeIndices != null) { | 207 if (offset_implicitFunctionTypeIndices != null) { |
| 208 fbBuilder.addOffset(0, offset_implicitFunctionTypeIndices); | 208 fbBuilder.addOffset(4, offset_implicitFunctionTypeIndices); |
| 209 } | 209 } |
| 210 if (_paramReference != null && _paramReference != 0) { | 210 if (_paramReference != null && _paramReference != 0) { |
| 211 fbBuilder.addUint32(1, _paramReference); | 211 fbBuilder.addUint32(3, _paramReference); |
| 212 } | 212 } |
| 213 if (_reference != null && _reference != 0) { | 213 if (_reference != null && _reference != 0) { |
| 214 fbBuilder.addUint32(2, _reference); | 214 fbBuilder.addUint32(0, _reference); |
| 215 } | 215 } |
| 216 if (_slot != null && _slot != 0) { | 216 if (_slot != null && _slot != 0) { |
| 217 fbBuilder.addUint32(3, _slot); | 217 fbBuilder.addUint32(2, _slot); |
| 218 } | 218 } |
| 219 if (offset_typeArguments != null) { | 219 if (offset_typeArguments != null) { |
| 220 fbBuilder.addOffset(4, offset_typeArguments); | 220 fbBuilder.addOffset(1, offset_typeArguments); |
| 221 } | 221 } |
| 222 return fbBuilder.endTable(); | 222 return fbBuilder.endTable(); |
| 223 } | 223 } |
| 224 } | 224 } |
| 225 | 225 |
| 226 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { | 226 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { |
| 227 const _EntityRefReader(); | 227 const _EntityRefReader(); |
| 228 | 228 |
| 229 @override | 229 @override |
| 230 _EntityRefImpl createObject(fb.BufferPointer bp) => new _EntityRefImpl(bp); | 230 _EntityRefImpl createObject(fb.BufferPointer bp) => new _EntityRefImpl(bp); |
| 231 } | 231 } |
| 232 | 232 |
| 233 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { | 233 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { |
| 234 final fb.BufferPointer _bp; | 234 final fb.BufferPointer _bp; |
| 235 | 235 |
| 236 _EntityRefImpl(this._bp); | 236 _EntityRefImpl(this._bp); |
| 237 | 237 |
| 238 List<int> _implicitFunctionTypeIndices; | 238 List<int> _implicitFunctionTypeIndices; |
| 239 int _paramReference; | 239 int _paramReference; |
| 240 int _reference; | 240 int _reference; |
| 241 int _slot; | 241 int _slot; |
| 242 List<idl.EntityRef> _typeArguments; | 242 List<idl.EntityRef> _typeArguments; |
| 243 | 243 |
| 244 @override | 244 @override |
| 245 List<int> get implicitFunctionTypeIndices { | 245 List<int> get implicitFunctionTypeIndices { |
| 246 _implicitFunctionTypeIndices ??= const fb.ListReader<int>(const fb.Uint32Rea
der()).vTableGet(_bp, 0, const <int>[]); | 246 _implicitFunctionTypeIndices ??= const fb.ListReader<int>(const fb.Uint32Rea
der()).vTableGet(_bp, 4, const <int>[]); |
| 247 return _implicitFunctionTypeIndices; | 247 return _implicitFunctionTypeIndices; |
| 248 } | 248 } |
| 249 | 249 |
| 250 @override | 250 @override |
| 251 int get paramReference { | 251 int get paramReference { |
| 252 _paramReference ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 252 _paramReference ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); |
| 253 return _paramReference; | 253 return _paramReference; |
| 254 } | 254 } |
| 255 | 255 |
| 256 @override | 256 @override |
| 257 int get reference { | 257 int get reference { |
| 258 _reference ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 258 _reference ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 259 return _reference; | 259 return _reference; |
| 260 } | 260 } |
| 261 | 261 |
| 262 @override | 262 @override |
| 263 int get slot { | 263 int get slot { |
| 264 _slot ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 264 _slot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 265 return _slot; | 265 return _slot; |
| 266 } | 266 } |
| 267 | 267 |
| 268 @override | 268 @override |
| 269 List<idl.EntityRef> get typeArguments { | 269 List<idl.EntityRef> get typeArguments { |
| 270 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bp, 4, const <idl.EntityRef>[]); | 270 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bp, 1, const <idl.EntityRef>[]); |
| 271 return _typeArguments; | 271 return _typeArguments; |
| 272 } | 272 } |
| 273 } | 273 } |
| 274 | 274 |
| 275 abstract class _EntityRefMixin implements idl.EntityRef { | 275 abstract class _EntityRefMixin implements idl.EntityRef { |
| 276 @override | 276 @override |
| 277 Map<String, Object> toMap() => { | 277 Map<String, Object> toMap() => { |
| 278 "implicitFunctionTypeIndices": implicitFunctionTypeIndices, | 278 "implicitFunctionTypeIndices": implicitFunctionTypeIndices, |
| 279 "paramReference": paramReference, | 279 "paramReference": paramReference, |
| 280 "reference": reference, | 280 "reference": reference, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 fb.Offset offset_parts; | 326 fb.Offset offset_parts; |
| 327 fb.Offset offset_uri; | 327 fb.Offset offset_uri; |
| 328 if (!(_parts == null || _parts.isEmpty)) { | 328 if (!(_parts == null || _parts.isEmpty)) { |
| 329 offset_parts = fbBuilder.writeList(_parts.map((b) => fbBuilder.writeString
(b)).toList()); | 329 offset_parts = fbBuilder.writeList(_parts.map((b) => fbBuilder.writeString
(b)).toList()); |
| 330 } | 330 } |
| 331 if (_uri != null) { | 331 if (_uri != null) { |
| 332 offset_uri = fbBuilder.writeString(_uri); | 332 offset_uri = fbBuilder.writeString(_uri); |
| 333 } | 333 } |
| 334 fbBuilder.startTable(); | 334 fbBuilder.startTable(); |
| 335 if (offset_parts != null) { | 335 if (offset_parts != null) { |
| 336 fbBuilder.addOffset(0, offset_parts); | 336 fbBuilder.addOffset(1, offset_parts); |
| 337 } | 337 } |
| 338 if (offset_uri != null) { | 338 if (offset_uri != null) { |
| 339 fbBuilder.addOffset(1, offset_uri); | 339 fbBuilder.addOffset(0, offset_uri); |
| 340 } | 340 } |
| 341 return fbBuilder.endTable(); | 341 return fbBuilder.endTable(); |
| 342 } | 342 } |
| 343 } | 343 } |
| 344 | 344 |
| 345 class _LinkedDependencyReader extends fb.TableReader<_LinkedDependencyImpl> { | 345 class _LinkedDependencyReader extends fb.TableReader<_LinkedDependencyImpl> { |
| 346 const _LinkedDependencyReader(); | 346 const _LinkedDependencyReader(); |
| 347 | 347 |
| 348 @override | 348 @override |
| 349 _LinkedDependencyImpl createObject(fb.BufferPointer bp) => new _LinkedDependen
cyImpl(bp); | 349 _LinkedDependencyImpl createObject(fb.BufferPointer bp) => new _LinkedDependen
cyImpl(bp); |
| 350 } | 350 } |
| 351 | 351 |
| 352 class _LinkedDependencyImpl extends Object with _LinkedDependencyMixin implement
s idl.LinkedDependency { | 352 class _LinkedDependencyImpl extends Object with _LinkedDependencyMixin implement
s idl.LinkedDependency { |
| 353 final fb.BufferPointer _bp; | 353 final fb.BufferPointer _bp; |
| 354 | 354 |
| 355 _LinkedDependencyImpl(this._bp); | 355 _LinkedDependencyImpl(this._bp); |
| 356 | 356 |
| 357 List<String> _parts; | 357 List<String> _parts; |
| 358 String _uri; | 358 String _uri; |
| 359 | 359 |
| 360 @override | 360 @override |
| 361 List<String> get parts { | 361 List<String> get parts { |
| 362 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 0, const <String>[]); | 362 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); |
| 363 return _parts; | 363 return _parts; |
| 364 } | 364 } |
| 365 | 365 |
| 366 @override | 366 @override |
| 367 String get uri { | 367 String get uri { |
| 368 _uri ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 368 _uri ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 369 return _uri; | 369 return _uri; |
| 370 } | 370 } |
| 371 } | 371 } |
| 372 | 372 |
| 373 abstract class _LinkedDependencyMixin implements idl.LinkedDependency { | 373 abstract class _LinkedDependencyMixin implements idl.LinkedDependency { |
| 374 @override | 374 @override |
| 375 Map<String, Object> toMap() => { | 375 Map<String, Object> toMap() => { |
| 376 "parts": parts, | 376 "parts": parts, |
| 377 "uri": uri, | 377 "uri": uri, |
| 378 }; | 378 }; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 _finished = true; | 448 _finished = true; |
| 449 fb.Offset offset_name; | 449 fb.Offset offset_name; |
| 450 if (_name != null) { | 450 if (_name != null) { |
| 451 offset_name = fbBuilder.writeString(_name); | 451 offset_name = fbBuilder.writeString(_name); |
| 452 } | 452 } |
| 453 fbBuilder.startTable(); | 453 fbBuilder.startTable(); |
| 454 if (_dependency != null && _dependency != 0) { | 454 if (_dependency != null && _dependency != 0) { |
| 455 fbBuilder.addUint32(0, _dependency); | 455 fbBuilder.addUint32(0, _dependency); |
| 456 } | 456 } |
| 457 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { | 457 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { |
| 458 fbBuilder.addUint32(1, _kind.index); | 458 fbBuilder.addUint32(3, _kind.index); |
| 459 } | 459 } |
| 460 if (offset_name != null) { | 460 if (offset_name != null) { |
| 461 fbBuilder.addOffset(2, offset_name); | 461 fbBuilder.addOffset(1, offset_name); |
| 462 } | 462 } |
| 463 if (_unit != null && _unit != 0) { | 463 if (_unit != null && _unit != 0) { |
| 464 fbBuilder.addUint32(3, _unit); | 464 fbBuilder.addUint32(2, _unit); |
| 465 } | 465 } |
| 466 return fbBuilder.endTable(); | 466 return fbBuilder.endTable(); |
| 467 } | 467 } |
| 468 } | 468 } |
| 469 | 469 |
| 470 class _LinkedExportNameReader extends fb.TableReader<_LinkedExportNameImpl> { | 470 class _LinkedExportNameReader extends fb.TableReader<_LinkedExportNameImpl> { |
| 471 const _LinkedExportNameReader(); | 471 const _LinkedExportNameReader(); |
| 472 | 472 |
| 473 @override | 473 @override |
| 474 _LinkedExportNameImpl createObject(fb.BufferPointer bp) => new _LinkedExportNa
meImpl(bp); | 474 _LinkedExportNameImpl createObject(fb.BufferPointer bp) => new _LinkedExportNa
meImpl(bp); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 485 int _unit; | 485 int _unit; |
| 486 | 486 |
| 487 @override | 487 @override |
| 488 int get dependency { | 488 int get dependency { |
| 489 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 489 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 490 return _dependency; | 490 return _dependency; |
| 491 } | 491 } |
| 492 | 492 |
| 493 @override | 493 @override |
| 494 idl.ReferenceKind get kind { | 494 idl.ReferenceKind get kind { |
| 495 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 1, idl.ReferenceKind.c
lassOrEnum); | 495 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 3, idl.ReferenceKind.c
lassOrEnum); |
| 496 return _kind; | 496 return _kind; |
| 497 } | 497 } |
| 498 | 498 |
| 499 @override | 499 @override |
| 500 String get name { | 500 String get name { |
| 501 _name ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 501 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); |
| 502 return _name; | 502 return _name; |
| 503 } | 503 } |
| 504 | 504 |
| 505 @override | 505 @override |
| 506 int get unit { | 506 int get unit { |
| 507 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 507 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 508 return _unit; | 508 return _unit; |
| 509 } | 509 } |
| 510 } | 510 } |
| 511 | 511 |
| 512 abstract class _LinkedExportNameMixin implements idl.LinkedExportName { | 512 abstract class _LinkedExportNameMixin implements idl.LinkedExportName { |
| 513 @override | 513 @override |
| 514 Map<String, Object> toMap() => { | 514 Map<String, Object> toMap() => { |
| 515 "dependency": dependency, | 515 "dependency": dependency, |
| 516 "kind": kind, | 516 "kind": kind, |
| 517 "name": name, | 517 "name": name, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 offset_importDependencies = fbBuilder.writeListUint32(_importDependencies)
; | 637 offset_importDependencies = fbBuilder.writeListUint32(_importDependencies)
; |
| 638 } | 638 } |
| 639 if (!(_units == null || _units.isEmpty)) { | 639 if (!(_units == null || _units.isEmpty)) { |
| 640 offset_units = fbBuilder.writeList(_units.map((b) => b.finish(fbBuilder)).
toList()); | 640 offset_units = fbBuilder.writeList(_units.map((b) => b.finish(fbBuilder)).
toList()); |
| 641 } | 641 } |
| 642 fbBuilder.startTable(); | 642 fbBuilder.startTable(); |
| 643 if (offset_dependencies != null) { | 643 if (offset_dependencies != null) { |
| 644 fbBuilder.addOffset(0, offset_dependencies); | 644 fbBuilder.addOffset(0, offset_dependencies); |
| 645 } | 645 } |
| 646 if (offset_exportNames != null) { | 646 if (offset_exportNames != null) { |
| 647 fbBuilder.addOffset(1, offset_exportNames); | 647 fbBuilder.addOffset(4, offset_exportNames); |
| 648 } | 648 } |
| 649 if (offset_importDependencies != null) { | 649 if (offset_importDependencies != null) { |
| 650 fbBuilder.addOffset(2, offset_importDependencies); | 650 fbBuilder.addOffset(1, offset_importDependencies); |
| 651 } | 651 } |
| 652 if (_numPrelinkedDependencies != null && _numPrelinkedDependencies != 0) { | 652 if (_numPrelinkedDependencies != null && _numPrelinkedDependencies != 0) { |
| 653 fbBuilder.addUint32(3, _numPrelinkedDependencies); | 653 fbBuilder.addUint32(2, _numPrelinkedDependencies); |
| 654 } | 654 } |
| 655 if (offset_units != null) { | 655 if (offset_units != null) { |
| 656 fbBuilder.addOffset(4, offset_units); | 656 fbBuilder.addOffset(3, offset_units); |
| 657 } | 657 } |
| 658 return fbBuilder.endTable(); | 658 return fbBuilder.endTable(); |
| 659 } | 659 } |
| 660 } | 660 } |
| 661 | 661 |
| 662 idl.LinkedLibrary readLinkedLibrary(List<int> buffer) { | 662 idl.LinkedLibrary readLinkedLibrary(List<int> buffer) { |
| 663 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 663 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); |
| 664 return const _LinkedLibraryReader().read(rootRef); | 664 return const _LinkedLibraryReader().read(rootRef); |
| 665 } | 665 } |
| 666 | 666 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 683 List<idl.LinkedUnit> _units; | 683 List<idl.LinkedUnit> _units; |
| 684 | 684 |
| 685 @override | 685 @override |
| 686 List<idl.LinkedDependency> get dependencies { | 686 List<idl.LinkedDependency> get dependencies { |
| 687 _dependencies ??= const fb.ListReader<idl.LinkedDependency>(const _LinkedDep
endencyReader()).vTableGet(_bp, 0, const <idl.LinkedDependency>[]); | 687 _dependencies ??= const fb.ListReader<idl.LinkedDependency>(const _LinkedDep
endencyReader()).vTableGet(_bp, 0, const <idl.LinkedDependency>[]); |
| 688 return _dependencies; | 688 return _dependencies; |
| 689 } | 689 } |
| 690 | 690 |
| 691 @override | 691 @override |
| 692 List<idl.LinkedExportName> get exportNames { | 692 List<idl.LinkedExportName> get exportNames { |
| 693 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo
rtNameReader()).vTableGet(_bp, 1, const <idl.LinkedExportName>[]); | 693 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo
rtNameReader()).vTableGet(_bp, 4, const <idl.LinkedExportName>[]); |
| 694 return _exportNames; | 694 return _exportNames; |
| 695 } | 695 } |
| 696 | 696 |
| 697 @override | 697 @override |
| 698 List<int> get importDependencies { | 698 List<int> get importDependencies { |
| 699 _importDependencies ??= const fb.ListReader<int>(const fb.Uint32Reader()).vT
ableGet(_bp, 2, const <int>[]); | 699 _importDependencies ??= const fb.ListReader<int>(const fb.Uint32Reader()).vT
ableGet(_bp, 1, const <int>[]); |
| 700 return _importDependencies; | 700 return _importDependencies; |
| 701 } | 701 } |
| 702 | 702 |
| 703 @override | 703 @override |
| 704 int get numPrelinkedDependencies { | 704 int get numPrelinkedDependencies { |
| 705 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 705 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 706 return _numPrelinkedDependencies; | 706 return _numPrelinkedDependencies; |
| 707 } | 707 } |
| 708 | 708 |
| 709 @override | 709 @override |
| 710 List<idl.LinkedUnit> get units { | 710 List<idl.LinkedUnit> get units { |
| 711 _units ??= const fb.ListReader<idl.LinkedUnit>(const _LinkedUnitReader()).vT
ableGet(_bp, 4, const <idl.LinkedUnit>[]); | 711 _units ??= const fb.ListReader<idl.LinkedUnit>(const _LinkedUnitReader()).vT
ableGet(_bp, 3, const <idl.LinkedUnit>[]); |
| 712 return _units; | 712 return _units; |
| 713 } | 713 } |
| 714 } | 714 } |
| 715 | 715 |
| 716 abstract class _LinkedLibraryMixin implements idl.LinkedLibrary { | 716 abstract class _LinkedLibraryMixin implements idl.LinkedLibrary { |
| 717 @override | 717 @override |
| 718 Map<String, Object> toMap() => { | 718 Map<String, Object> toMap() => { |
| 719 "dependencies": dependencies, | 719 "dependencies": dependencies, |
| 720 "exportNames": exportNames, | 720 "exportNames": exportNames, |
| 721 "importDependencies": importDependencies, | 721 "importDependencies": importDependencies, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 | 836 |
| 837 fb.Offset finish(fb.Builder fbBuilder) { | 837 fb.Offset finish(fb.Builder fbBuilder) { |
| 838 assert(!_finished); | 838 assert(!_finished); |
| 839 _finished = true; | 839 _finished = true; |
| 840 fb.Offset offset_name; | 840 fb.Offset offset_name; |
| 841 if (_name != null) { | 841 if (_name != null) { |
| 842 offset_name = fbBuilder.writeString(_name); | 842 offset_name = fbBuilder.writeString(_name); |
| 843 } | 843 } |
| 844 fbBuilder.startTable(); | 844 fbBuilder.startTable(); |
| 845 if (_containingReference != null && _containingReference != 0) { | 845 if (_containingReference != null && _containingReference != 0) { |
| 846 fbBuilder.addUint32(0, _containingReference); | 846 fbBuilder.addUint32(5, _containingReference); |
| 847 } | 847 } |
| 848 if (_dependency != null && _dependency != 0) { | 848 if (_dependency != null && _dependency != 0) { |
| 849 fbBuilder.addUint32(1, _dependency); | 849 fbBuilder.addUint32(1, _dependency); |
| 850 } | 850 } |
| 851 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { | 851 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { |
| 852 fbBuilder.addUint32(2, _kind.index); | 852 fbBuilder.addUint32(2, _kind.index); |
| 853 } | 853 } |
| 854 if (offset_name != null) { | 854 if (offset_name != null) { |
| 855 fbBuilder.addOffset(3, offset_name); | 855 fbBuilder.addOffset(3, offset_name); |
| 856 } | 856 } |
| 857 if (_numTypeParameters != null && _numTypeParameters != 0) { | 857 if (_numTypeParameters != null && _numTypeParameters != 0) { |
| 858 fbBuilder.addUint32(4, _numTypeParameters); | 858 fbBuilder.addUint32(4, _numTypeParameters); |
| 859 } | 859 } |
| 860 if (_unit != null && _unit != 0) { | 860 if (_unit != null && _unit != 0) { |
| 861 fbBuilder.addUint32(5, _unit); | 861 fbBuilder.addUint32(0, _unit); |
| 862 } | 862 } |
| 863 return fbBuilder.endTable(); | 863 return fbBuilder.endTable(); |
| 864 } | 864 } |
| 865 } | 865 } |
| 866 | 866 |
| 867 class _LinkedReferenceReader extends fb.TableReader<_LinkedReferenceImpl> { | 867 class _LinkedReferenceReader extends fb.TableReader<_LinkedReferenceImpl> { |
| 868 const _LinkedReferenceReader(); | 868 const _LinkedReferenceReader(); |
| 869 | 869 |
| 870 @override | 870 @override |
| 871 _LinkedReferenceImpl createObject(fb.BufferPointer bp) => new _LinkedReference
Impl(bp); | 871 _LinkedReferenceImpl createObject(fb.BufferPointer bp) => new _LinkedReference
Impl(bp); |
| 872 } | 872 } |
| 873 | 873 |
| 874 class _LinkedReferenceImpl extends Object with _LinkedReferenceMixin implements
idl.LinkedReference { | 874 class _LinkedReferenceImpl extends Object with _LinkedReferenceMixin implements
idl.LinkedReference { |
| 875 final fb.BufferPointer _bp; | 875 final fb.BufferPointer _bp; |
| 876 | 876 |
| 877 _LinkedReferenceImpl(this._bp); | 877 _LinkedReferenceImpl(this._bp); |
| 878 | 878 |
| 879 int _containingReference; | 879 int _containingReference; |
| 880 int _dependency; | 880 int _dependency; |
| 881 idl.ReferenceKind _kind; | 881 idl.ReferenceKind _kind; |
| 882 String _name; | 882 String _name; |
| 883 int _numTypeParameters; | 883 int _numTypeParameters; |
| 884 int _unit; | 884 int _unit; |
| 885 | 885 |
| 886 @override | 886 @override |
| 887 int get containingReference { | 887 int get containingReference { |
| 888 _containingReference ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 888 _containingReference ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); |
| 889 return _containingReference; | 889 return _containingReference; |
| 890 } | 890 } |
| 891 | 891 |
| 892 @override | 892 @override |
| 893 int get dependency { | 893 int get dependency { |
| 894 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 894 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 895 return _dependency; | 895 return _dependency; |
| 896 } | 896 } |
| 897 | 897 |
| 898 @override | 898 @override |
| 899 idl.ReferenceKind get kind { | 899 idl.ReferenceKind get kind { |
| 900 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 2, idl.ReferenceKind.c
lassOrEnum); | 900 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 2, idl.ReferenceKind.c
lassOrEnum); |
| 901 return _kind; | 901 return _kind; |
| 902 } | 902 } |
| 903 | 903 |
| 904 @override | 904 @override |
| 905 String get name { | 905 String get name { |
| 906 _name ??= const fb.StringReader().vTableGet(_bp, 3, ''); | 906 _name ??= const fb.StringReader().vTableGet(_bp, 3, ''); |
| 907 return _name; | 907 return _name; |
| 908 } | 908 } |
| 909 | 909 |
| 910 @override | 910 @override |
| 911 int get numTypeParameters { | 911 int get numTypeParameters { |
| 912 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 4, 0); | 912 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 4, 0); |
| 913 return _numTypeParameters; | 913 return _numTypeParameters; |
| 914 } | 914 } |
| 915 | 915 |
| 916 @override | 916 @override |
| 917 int get unit { | 917 int get unit { |
| 918 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); | 918 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 919 return _unit; | 919 return _unit; |
| 920 } | 920 } |
| 921 } | 921 } |
| 922 | 922 |
| 923 abstract class _LinkedReferenceMixin implements idl.LinkedReference { | 923 abstract class _LinkedReferenceMixin implements idl.LinkedReference { |
| 924 @override | 924 @override |
| 925 Map<String, Object> toMap() => { | 925 Map<String, Object> toMap() => { |
| 926 "containingReference": containingReference, | 926 "containingReference": containingReference, |
| 927 "dependency": dependency, | 927 "dependency": dependency, |
| 928 "kind": kind, | 928 "kind": kind, |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1398 offset_name = fbBuilder.writeString(_name); | 1398 offset_name = fbBuilder.writeString(_name); |
| 1399 } | 1399 } |
| 1400 if (_supertype != null) { | 1400 if (_supertype != null) { |
| 1401 offset_supertype = _supertype.finish(fbBuilder); | 1401 offset_supertype = _supertype.finish(fbBuilder); |
| 1402 } | 1402 } |
| 1403 if (!(_typeParameters == null || _typeParameters.isEmpty)) { | 1403 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 1404 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); | 1404 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 1405 } | 1405 } |
| 1406 fbBuilder.startTable(); | 1406 fbBuilder.startTable(); |
| 1407 if (offset_annotations != null) { | 1407 if (offset_annotations != null) { |
| 1408 fbBuilder.addOffset(0, offset_annotations); | 1408 fbBuilder.addOffset(5, offset_annotations); |
| 1409 } | 1409 } |
| 1410 if (offset_documentationComment != null) { | 1410 if (offset_documentationComment != null) { |
| 1411 fbBuilder.addOffset(1, offset_documentationComment); | 1411 fbBuilder.addOffset(6, offset_documentationComment); |
| 1412 } | 1412 } |
| 1413 if (offset_executables != null) { | 1413 if (offset_executables != null) { |
| 1414 fbBuilder.addOffset(2, offset_executables); | 1414 fbBuilder.addOffset(2, offset_executables); |
| 1415 } | 1415 } |
| 1416 if (offset_fields != null) { | 1416 if (offset_fields != null) { |
| 1417 fbBuilder.addOffset(3, offset_fields); | 1417 fbBuilder.addOffset(4, offset_fields); |
| 1418 } | 1418 } |
| 1419 if (_hasNoSupertype == true) { | 1419 if (_hasNoSupertype == true) { |
| 1420 fbBuilder.addBool(4, true); | 1420 fbBuilder.addBool(12, true); |
| 1421 } | 1421 } |
| 1422 if (offset_interfaces != null) { | 1422 if (offset_interfaces != null) { |
| 1423 fbBuilder.addOffset(5, offset_interfaces); | 1423 fbBuilder.addOffset(7, offset_interfaces); |
| 1424 } | 1424 } |
| 1425 if (_isAbstract == true) { | 1425 if (_isAbstract == true) { |
| 1426 fbBuilder.addBool(6, true); | 1426 fbBuilder.addBool(8, true); |
| 1427 } | 1427 } |
| 1428 if (_isMixinApplication == true) { | 1428 if (_isMixinApplication == true) { |
| 1429 fbBuilder.addBool(7, true); | 1429 fbBuilder.addBool(11, true); |
| 1430 } | 1430 } |
| 1431 if (offset_mixins != null) { | 1431 if (offset_mixins != null) { |
| 1432 fbBuilder.addOffset(8, offset_mixins); | 1432 fbBuilder.addOffset(10, offset_mixins); |
| 1433 } | 1433 } |
| 1434 if (offset_name != null) { | 1434 if (offset_name != null) { |
| 1435 fbBuilder.addOffset(9, offset_name); | 1435 fbBuilder.addOffset(0, offset_name); |
| 1436 } | 1436 } |
| 1437 if (_nameOffset != null && _nameOffset != 0) { | 1437 if (_nameOffset != null && _nameOffset != 0) { |
| 1438 fbBuilder.addUint32(10, _nameOffset); | 1438 fbBuilder.addUint32(1, _nameOffset); |
| 1439 } | 1439 } |
| 1440 if (offset_supertype != null) { | 1440 if (offset_supertype != null) { |
| 1441 fbBuilder.addOffset(11, offset_supertype); | 1441 fbBuilder.addOffset(3, offset_supertype); |
| 1442 } | 1442 } |
| 1443 if (offset_typeParameters != null) { | 1443 if (offset_typeParameters != null) { |
| 1444 fbBuilder.addOffset(12, offset_typeParameters); | 1444 fbBuilder.addOffset(9, offset_typeParameters); |
| 1445 } | 1445 } |
| 1446 return fbBuilder.endTable(); | 1446 return fbBuilder.endTable(); |
| 1447 } | 1447 } |
| 1448 } | 1448 } |
| 1449 | 1449 |
| 1450 class _UnlinkedClassReader extends fb.TableReader<_UnlinkedClassImpl> { | 1450 class _UnlinkedClassReader extends fb.TableReader<_UnlinkedClassImpl> { |
| 1451 const _UnlinkedClassReader(); | 1451 const _UnlinkedClassReader(); |
| 1452 | 1452 |
| 1453 @override | 1453 @override |
| 1454 _UnlinkedClassImpl createObject(fb.BufferPointer bp) => new _UnlinkedClassImpl
(bp); | 1454 _UnlinkedClassImpl createObject(fb.BufferPointer bp) => new _UnlinkedClassImpl
(bp); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 1468 bool _isAbstract; | 1468 bool _isAbstract; |
| 1469 bool _isMixinApplication; | 1469 bool _isMixinApplication; |
| 1470 List<idl.EntityRef> _mixins; | 1470 List<idl.EntityRef> _mixins; |
| 1471 String _name; | 1471 String _name; |
| 1472 int _nameOffset; | 1472 int _nameOffset; |
| 1473 idl.EntityRef _supertype; | 1473 idl.EntityRef _supertype; |
| 1474 List<idl.UnlinkedTypeParam> _typeParameters; | 1474 List<idl.UnlinkedTypeParam> _typeParameters; |
| 1475 | 1475 |
| 1476 @override | 1476 @override |
| 1477 List<idl.UnlinkedConst> get annotations { | 1477 List<idl.UnlinkedConst> get annotations { |
| 1478 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 1478 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 5, const <idl.UnlinkedConst>[]); |
| 1479 return _annotations; | 1479 return _annotations; |
| 1480 } | 1480 } |
| 1481 | 1481 |
| 1482 @override | 1482 @override |
| 1483 idl.UnlinkedDocumentationComment get documentationComment { | 1483 idl.UnlinkedDocumentationComment get documentationComment { |
| 1484 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 1, null); | 1484 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 6, null); |
| 1485 return _documentationComment; | 1485 return _documentationComment; |
| 1486 } | 1486 } |
| 1487 | 1487 |
| 1488 @override | 1488 @override |
| 1489 List<idl.UnlinkedExecutable> get executables { | 1489 List<idl.UnlinkedExecutable> get executables { |
| 1490 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 2, const <idl.UnlinkedExecutable>[]); | 1490 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 2, const <idl.UnlinkedExecutable>[]); |
| 1491 return _executables; | 1491 return _executables; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 @override | 1494 @override |
| 1495 List<idl.UnlinkedVariable> get fields { | 1495 List<idl.UnlinkedVariable> get fields { |
| 1496 _fields ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVariabl
eReader()).vTableGet(_bp, 3, const <idl.UnlinkedVariable>[]); | 1496 _fields ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVariabl
eReader()).vTableGet(_bp, 4, const <idl.UnlinkedVariable>[]); |
| 1497 return _fields; | 1497 return _fields; |
| 1498 } | 1498 } |
| 1499 | 1499 |
| 1500 @override | 1500 @override |
| 1501 bool get hasNoSupertype { | 1501 bool get hasNoSupertype { |
| 1502 _hasNoSupertype ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 1502 _hasNoSupertype ??= const fb.BoolReader().vTableGet(_bp, 12, false); |
| 1503 return _hasNoSupertype; | 1503 return _hasNoSupertype; |
| 1504 } | 1504 } |
| 1505 | 1505 |
| 1506 @override | 1506 @override |
| 1507 List<idl.EntityRef> get interfaces { | 1507 List<idl.EntityRef> get interfaces { |
| 1508 _interfaces ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 5, const <idl.EntityRef>[]); | 1508 _interfaces ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 7, const <idl.EntityRef>[]); |
| 1509 return _interfaces; | 1509 return _interfaces; |
| 1510 } | 1510 } |
| 1511 | 1511 |
| 1512 @override | 1512 @override |
| 1513 bool get isAbstract { | 1513 bool get isAbstract { |
| 1514 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 1514 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 8, false); |
| 1515 return _isAbstract; | 1515 return _isAbstract; |
| 1516 } | 1516 } |
| 1517 | 1517 |
| 1518 @override | 1518 @override |
| 1519 bool get isMixinApplication { | 1519 bool get isMixinApplication { |
| 1520 _isMixinApplication ??= const fb.BoolReader().vTableGet(_bp, 7, false); | 1520 _isMixinApplication ??= const fb.BoolReader().vTableGet(_bp, 11, false); |
| 1521 return _isMixinApplication; | 1521 return _isMixinApplication; |
| 1522 } | 1522 } |
| 1523 | 1523 |
| 1524 @override | 1524 @override |
| 1525 List<idl.EntityRef> get mixins { | 1525 List<idl.EntityRef> get mixins { |
| 1526 _mixins ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTa
bleGet(_bp, 8, const <idl.EntityRef>[]); | 1526 _mixins ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTa
bleGet(_bp, 10, const <idl.EntityRef>[]); |
| 1527 return _mixins; | 1527 return _mixins; |
| 1528 } | 1528 } |
| 1529 | 1529 |
| 1530 @override | 1530 @override |
| 1531 String get name { | 1531 String get name { |
| 1532 _name ??= const fb.StringReader().vTableGet(_bp, 9, ''); | 1532 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 1533 return _name; | 1533 return _name; |
| 1534 } | 1534 } |
| 1535 | 1535 |
| 1536 @override | 1536 @override |
| 1537 int get nameOffset { | 1537 int get nameOffset { |
| 1538 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 10, 0); | 1538 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 1539 return _nameOffset; | 1539 return _nameOffset; |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 @override | 1542 @override |
| 1543 idl.EntityRef get supertype { | 1543 idl.EntityRef get supertype { |
| 1544 _supertype ??= const _EntityRefReader().vTableGet(_bp, 11, null); | 1544 _supertype ??= const _EntityRefReader().vTableGet(_bp, 3, null); |
| 1545 return _supertype; | 1545 return _supertype; |
| 1546 } | 1546 } |
| 1547 | 1547 |
| 1548 @override | 1548 @override |
| 1549 List<idl.UnlinkedTypeParam> get typeParameters { | 1549 List<idl.UnlinkedTypeParam> get typeParameters { |
| 1550 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 12, const <idl.UnlinkedTypeParam>[]); | 1550 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 9, const <idl.UnlinkedTypeParam>[]); |
| 1551 return _typeParameters; | 1551 return _typeParameters; |
| 1552 } | 1552 } |
| 1553 } | 1553 } |
| 1554 | 1554 |
| 1555 abstract class _UnlinkedClassMixin implements idl.UnlinkedClass { | 1555 abstract class _UnlinkedClassMixin implements idl.UnlinkedClass { |
| 1556 @override | 1556 @override |
| 1557 Map<String, Object> toMap() => { | 1557 Map<String, Object> toMap() => { |
| 1558 "annotations": annotations, | 1558 "annotations": annotations, |
| 1559 "documentationComment": documentationComment, | 1559 "documentationComment": documentationComment, |
| 1560 "executables": executables, | 1560 "executables": executables, |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1609 fb.Offset offset_hides; | 1609 fb.Offset offset_hides; |
| 1610 fb.Offset offset_shows; | 1610 fb.Offset offset_shows; |
| 1611 if (!(_hides == null || _hides.isEmpty)) { | 1611 if (!(_hides == null || _hides.isEmpty)) { |
| 1612 offset_hides = fbBuilder.writeList(_hides.map((b) => fbBuilder.writeString
(b)).toList()); | 1612 offset_hides = fbBuilder.writeList(_hides.map((b) => fbBuilder.writeString
(b)).toList()); |
| 1613 } | 1613 } |
| 1614 if (!(_shows == null || _shows.isEmpty)) { | 1614 if (!(_shows == null || _shows.isEmpty)) { |
| 1615 offset_shows = fbBuilder.writeList(_shows.map((b) => fbBuilder.writeString
(b)).toList()); | 1615 offset_shows = fbBuilder.writeList(_shows.map((b) => fbBuilder.writeString
(b)).toList()); |
| 1616 } | 1616 } |
| 1617 fbBuilder.startTable(); | 1617 fbBuilder.startTable(); |
| 1618 if (offset_hides != null) { | 1618 if (offset_hides != null) { |
| 1619 fbBuilder.addOffset(0, offset_hides); | 1619 fbBuilder.addOffset(1, offset_hides); |
| 1620 } | 1620 } |
| 1621 if (offset_shows != null) { | 1621 if (offset_shows != null) { |
| 1622 fbBuilder.addOffset(1, offset_shows); | 1622 fbBuilder.addOffset(0, offset_shows); |
| 1623 } | 1623 } |
| 1624 return fbBuilder.endTable(); | 1624 return fbBuilder.endTable(); |
| 1625 } | 1625 } |
| 1626 } | 1626 } |
| 1627 | 1627 |
| 1628 class _UnlinkedCombinatorReader extends fb.TableReader<_UnlinkedCombinatorImpl>
{ | 1628 class _UnlinkedCombinatorReader extends fb.TableReader<_UnlinkedCombinatorImpl>
{ |
| 1629 const _UnlinkedCombinatorReader(); | 1629 const _UnlinkedCombinatorReader(); |
| 1630 | 1630 |
| 1631 @override | 1631 @override |
| 1632 _UnlinkedCombinatorImpl createObject(fb.BufferPointer bp) => new _UnlinkedComb
inatorImpl(bp); | 1632 _UnlinkedCombinatorImpl createObject(fb.BufferPointer bp) => new _UnlinkedComb
inatorImpl(bp); |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 class _UnlinkedCombinatorImpl extends Object with _UnlinkedCombinatorMixin imple
ments idl.UnlinkedCombinator { | 1635 class _UnlinkedCombinatorImpl extends Object with _UnlinkedCombinatorMixin imple
ments idl.UnlinkedCombinator { |
| 1636 final fb.BufferPointer _bp; | 1636 final fb.BufferPointer _bp; |
| 1637 | 1637 |
| 1638 _UnlinkedCombinatorImpl(this._bp); | 1638 _UnlinkedCombinatorImpl(this._bp); |
| 1639 | 1639 |
| 1640 List<String> _hides; | 1640 List<String> _hides; |
| 1641 List<String> _shows; | 1641 List<String> _shows; |
| 1642 | 1642 |
| 1643 @override | 1643 @override |
| 1644 List<String> get hides { | 1644 List<String> get hides { |
| 1645 _hides ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 0, const <String>[]); | 1645 _hides ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); |
| 1646 return _hides; | 1646 return _hides; |
| 1647 } | 1647 } |
| 1648 | 1648 |
| 1649 @override | 1649 @override |
| 1650 List<String> get shows { | 1650 List<String> get shows { |
| 1651 _shows ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); | 1651 _shows ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 0, const <String>[]); |
| 1652 return _shows; | 1652 return _shows; |
| 1653 } | 1653 } |
| 1654 } | 1654 } |
| 1655 | 1655 |
| 1656 abstract class _UnlinkedCombinatorMixin implements idl.UnlinkedCombinator { | 1656 abstract class _UnlinkedCombinatorMixin implements idl.UnlinkedCombinator { |
| 1657 @override | 1657 @override |
| 1658 Map<String, Object> toMap() => { | 1658 Map<String, Object> toMap() => { |
| 1659 "hides": hides, | 1659 "hides": hides, |
| 1660 "shows": shows, | 1660 "shows": shows, |
| 1661 }; | 1661 }; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1772 offset_operations = fbBuilder.writeListUint32(_operations.map((b) => b.ind
ex).toList()); | 1772 offset_operations = fbBuilder.writeListUint32(_operations.map((b) => b.ind
ex).toList()); |
| 1773 } | 1773 } |
| 1774 if (!(_references == null || _references.isEmpty)) { | 1774 if (!(_references == null || _references.isEmpty)) { |
| 1775 offset_references = fbBuilder.writeList(_references.map((b) => b.finish(fb
Builder)).toList()); | 1775 offset_references = fbBuilder.writeList(_references.map((b) => b.finish(fb
Builder)).toList()); |
| 1776 } | 1776 } |
| 1777 if (!(_strings == null || _strings.isEmpty)) { | 1777 if (!(_strings == null || _strings.isEmpty)) { |
| 1778 offset_strings = fbBuilder.writeList(_strings.map((b) => fbBuilder.writeSt
ring(b)).toList()); | 1778 offset_strings = fbBuilder.writeList(_strings.map((b) => fbBuilder.writeSt
ring(b)).toList()); |
| 1779 } | 1779 } |
| 1780 fbBuilder.startTable(); | 1780 fbBuilder.startTable(); |
| 1781 if (offset_doubles != null) { | 1781 if (offset_doubles != null) { |
| 1782 fbBuilder.addOffset(0, offset_doubles); | 1782 fbBuilder.addOffset(4, offset_doubles); |
| 1783 } | 1783 } |
| 1784 if (offset_ints != null) { | 1784 if (offset_ints != null) { |
| 1785 fbBuilder.addOffset(1, offset_ints); | 1785 fbBuilder.addOffset(1, offset_ints); |
| 1786 } | 1786 } |
| 1787 if (_isInvalid == true) { | 1787 if (_isInvalid == true) { |
| 1788 fbBuilder.addBool(2, true); | 1788 fbBuilder.addBool(5, true); |
| 1789 } | 1789 } |
| 1790 if (offset_operations != null) { | 1790 if (offset_operations != null) { |
| 1791 fbBuilder.addOffset(3, offset_operations); | 1791 fbBuilder.addOffset(0, offset_operations); |
| 1792 } | 1792 } |
| 1793 if (offset_references != null) { | 1793 if (offset_references != null) { |
| 1794 fbBuilder.addOffset(4, offset_references); | 1794 fbBuilder.addOffset(2, offset_references); |
| 1795 } | 1795 } |
| 1796 if (offset_strings != null) { | 1796 if (offset_strings != null) { |
| 1797 fbBuilder.addOffset(5, offset_strings); | 1797 fbBuilder.addOffset(3, offset_strings); |
| 1798 } | 1798 } |
| 1799 return fbBuilder.endTable(); | 1799 return fbBuilder.endTable(); |
| 1800 } | 1800 } |
| 1801 } | 1801 } |
| 1802 | 1802 |
| 1803 class _UnlinkedConstReader extends fb.TableReader<_UnlinkedConstImpl> { | 1803 class _UnlinkedConstReader extends fb.TableReader<_UnlinkedConstImpl> { |
| 1804 const _UnlinkedConstReader(); | 1804 const _UnlinkedConstReader(); |
| 1805 | 1805 |
| 1806 @override | 1806 @override |
| 1807 _UnlinkedConstImpl createObject(fb.BufferPointer bp) => new _UnlinkedConstImpl
(bp); | 1807 _UnlinkedConstImpl createObject(fb.BufferPointer bp) => new _UnlinkedConstImpl
(bp); |
| 1808 } | 1808 } |
| 1809 | 1809 |
| 1810 class _UnlinkedConstImpl extends Object with _UnlinkedConstMixin implements idl.
UnlinkedConst { | 1810 class _UnlinkedConstImpl extends Object with _UnlinkedConstMixin implements idl.
UnlinkedConst { |
| 1811 final fb.BufferPointer _bp; | 1811 final fb.BufferPointer _bp; |
| 1812 | 1812 |
| 1813 _UnlinkedConstImpl(this._bp); | 1813 _UnlinkedConstImpl(this._bp); |
| 1814 | 1814 |
| 1815 List<double> _doubles; | 1815 List<double> _doubles; |
| 1816 List<int> _ints; | 1816 List<int> _ints; |
| 1817 bool _isInvalid; | 1817 bool _isInvalid; |
| 1818 List<idl.UnlinkedConstOperation> _operations; | 1818 List<idl.UnlinkedConstOperation> _operations; |
| 1819 List<idl.EntityRef> _references; | 1819 List<idl.EntityRef> _references; |
| 1820 List<String> _strings; | 1820 List<String> _strings; |
| 1821 | 1821 |
| 1822 @override | 1822 @override |
| 1823 List<double> get doubles { | 1823 List<double> get doubles { |
| 1824 _doubles ??= const fb.Float64ListReader().vTableGet(_bp, 0, const <double>[]
); | 1824 _doubles ??= const fb.Float64ListReader().vTableGet(_bp, 4, const <double>[]
); |
| 1825 return _doubles; | 1825 return _doubles; |
| 1826 } | 1826 } |
| 1827 | 1827 |
| 1828 @override | 1828 @override |
| 1829 List<int> get ints { | 1829 List<int> get ints { |
| 1830 _ints ??= const fb.ListReader<int>(const fb.Uint32Reader()).vTableGet(_bp, 1
, const <int>[]); | 1830 _ints ??= const fb.ListReader<int>(const fb.Uint32Reader()).vTableGet(_bp, 1
, const <int>[]); |
| 1831 return _ints; | 1831 return _ints; |
| 1832 } | 1832 } |
| 1833 | 1833 |
| 1834 @override | 1834 @override |
| 1835 bool get isInvalid { | 1835 bool get isInvalid { |
| 1836 _isInvalid ??= const fb.BoolReader().vTableGet(_bp, 2, false); | 1836 _isInvalid ??= const fb.BoolReader().vTableGet(_bp, 5, false); |
| 1837 return _isInvalid; | 1837 return _isInvalid; |
| 1838 } | 1838 } |
| 1839 | 1839 |
| 1840 @override | 1840 @override |
| 1841 List<idl.UnlinkedConstOperation> get operations { | 1841 List<idl.UnlinkedConstOperation> get operations { |
| 1842 _operations ??= const fb.ListReader<idl.UnlinkedConstOperation>(const _Unlin
kedConstOperationReader()).vTableGet(_bp, 3, const <idl.UnlinkedConstOperation>[
]); | 1842 _operations ??= const fb.ListReader<idl.UnlinkedConstOperation>(const _Unlin
kedConstOperationReader()).vTableGet(_bp, 0, const <idl.UnlinkedConstOperation>[
]); |
| 1843 return _operations; | 1843 return _operations; |
| 1844 } | 1844 } |
| 1845 | 1845 |
| 1846 @override | 1846 @override |
| 1847 List<idl.EntityRef> get references { | 1847 List<idl.EntityRef> get references { |
| 1848 _references ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 4, const <idl.EntityRef>[]); | 1848 _references ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 2, const <idl.EntityRef>[]); |
| 1849 return _references; | 1849 return _references; |
| 1850 } | 1850 } |
| 1851 | 1851 |
| 1852 @override | 1852 @override |
| 1853 List<String> get strings { | 1853 List<String> get strings { |
| 1854 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bp, 5, const <String>[]); | 1854 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bp, 3, const <String>[]); |
| 1855 return _strings; | 1855 return _strings; |
| 1856 } | 1856 } |
| 1857 } | 1857 } |
| 1858 | 1858 |
| 1859 abstract class _UnlinkedConstMixin implements idl.UnlinkedConst { | 1859 abstract class _UnlinkedConstMixin implements idl.UnlinkedConst { |
| 1860 @override | 1860 @override |
| 1861 Map<String, Object> toMap() => { | 1861 Map<String, Object> toMap() => { |
| 1862 "doubles": doubles, | 1862 "doubles": doubles, |
| 1863 "ints": ints, | 1863 "ints": ints, |
| 1864 "isInvalid": isInvalid, | 1864 "isInvalid": isInvalid, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1941 offset_arguments = fbBuilder.writeList(_arguments.map((b) => b.finish(fbBu
ilder)).toList()); | 1941 offset_arguments = fbBuilder.writeList(_arguments.map((b) => b.finish(fbBu
ilder)).toList()); |
| 1942 } | 1942 } |
| 1943 if (_expression != null) { | 1943 if (_expression != null) { |
| 1944 offset_expression = _expression.finish(fbBuilder); | 1944 offset_expression = _expression.finish(fbBuilder); |
| 1945 } | 1945 } |
| 1946 if (_name != null) { | 1946 if (_name != null) { |
| 1947 offset_name = fbBuilder.writeString(_name); | 1947 offset_name = fbBuilder.writeString(_name); |
| 1948 } | 1948 } |
| 1949 fbBuilder.startTable(); | 1949 fbBuilder.startTable(); |
| 1950 if (offset_arguments != null) { | 1950 if (offset_arguments != null) { |
| 1951 fbBuilder.addOffset(0, offset_arguments); | 1951 fbBuilder.addOffset(3, offset_arguments); |
| 1952 } | 1952 } |
| 1953 if (offset_expression != null) { | 1953 if (offset_expression != null) { |
| 1954 fbBuilder.addOffset(1, offset_expression); | 1954 fbBuilder.addOffset(1, offset_expression); |
| 1955 } | 1955 } |
| 1956 if (_kind != null && _kind != idl.UnlinkedConstructorInitializerKind.field)
{ | 1956 if (_kind != null && _kind != idl.UnlinkedConstructorInitializerKind.field)
{ |
| 1957 fbBuilder.addUint32(2, _kind.index); | 1957 fbBuilder.addUint32(2, _kind.index); |
| 1958 } | 1958 } |
| 1959 if (offset_name != null) { | 1959 if (offset_name != null) { |
| 1960 fbBuilder.addOffset(3, offset_name); | 1960 fbBuilder.addOffset(0, offset_name); |
| 1961 } | 1961 } |
| 1962 return fbBuilder.endTable(); | 1962 return fbBuilder.endTable(); |
| 1963 } | 1963 } |
| 1964 } | 1964 } |
| 1965 | 1965 |
| 1966 class _UnlinkedConstructorInitializerReader extends fb.TableReader<_UnlinkedCons
tructorInitializerImpl> { | 1966 class _UnlinkedConstructorInitializerReader extends fb.TableReader<_UnlinkedCons
tructorInitializerImpl> { |
| 1967 const _UnlinkedConstructorInitializerReader(); | 1967 const _UnlinkedConstructorInitializerReader(); |
| 1968 | 1968 |
| 1969 @override | 1969 @override |
| 1970 _UnlinkedConstructorInitializerImpl createObject(fb.BufferPointer bp) => new _
UnlinkedConstructorInitializerImpl(bp); | 1970 _UnlinkedConstructorInitializerImpl createObject(fb.BufferPointer bp) => new _
UnlinkedConstructorInitializerImpl(bp); |
| 1971 } | 1971 } |
| 1972 | 1972 |
| 1973 class _UnlinkedConstructorInitializerImpl extends Object with _UnlinkedConstruct
orInitializerMixin implements idl.UnlinkedConstructorInitializer { | 1973 class _UnlinkedConstructorInitializerImpl extends Object with _UnlinkedConstruct
orInitializerMixin implements idl.UnlinkedConstructorInitializer { |
| 1974 final fb.BufferPointer _bp; | 1974 final fb.BufferPointer _bp; |
| 1975 | 1975 |
| 1976 _UnlinkedConstructorInitializerImpl(this._bp); | 1976 _UnlinkedConstructorInitializerImpl(this._bp); |
| 1977 | 1977 |
| 1978 List<idl.UnlinkedConst> _arguments; | 1978 List<idl.UnlinkedConst> _arguments; |
| 1979 idl.UnlinkedConst _expression; | 1979 idl.UnlinkedConst _expression; |
| 1980 idl.UnlinkedConstructorInitializerKind _kind; | 1980 idl.UnlinkedConstructorInitializerKind _kind; |
| 1981 String _name; | 1981 String _name; |
| 1982 | 1982 |
| 1983 @override | 1983 @override |
| 1984 List<idl.UnlinkedConst> get arguments { | 1984 List<idl.UnlinkedConst> get arguments { |
| 1985 _arguments ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConstRe
ader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 1985 _arguments ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConstRe
ader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); |
| 1986 return _arguments; | 1986 return _arguments; |
| 1987 } | 1987 } |
| 1988 | 1988 |
| 1989 @override | 1989 @override |
| 1990 idl.UnlinkedConst get expression { | 1990 idl.UnlinkedConst get expression { |
| 1991 _expression ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); | 1991 _expression ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); |
| 1992 return _expression; | 1992 return _expression; |
| 1993 } | 1993 } |
| 1994 | 1994 |
| 1995 @override | 1995 @override |
| 1996 idl.UnlinkedConstructorInitializerKind get kind { | 1996 idl.UnlinkedConstructorInitializerKind get kind { |
| 1997 _kind ??= const _UnlinkedConstructorInitializerKindReader().vTableGet(_bp, 2
, idl.UnlinkedConstructorInitializerKind.field); | 1997 _kind ??= const _UnlinkedConstructorInitializerKindReader().vTableGet(_bp, 2
, idl.UnlinkedConstructorInitializerKind.field); |
| 1998 return _kind; | 1998 return _kind; |
| 1999 } | 1999 } |
| 2000 | 2000 |
| 2001 @override | 2001 @override |
| 2002 String get name { | 2002 String get name { |
| 2003 _name ??= const fb.StringReader().vTableGet(_bp, 3, ''); | 2003 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 2004 return _name; | 2004 return _name; |
| 2005 } | 2005 } |
| 2006 } | 2006 } |
| 2007 | 2007 |
| 2008 abstract class _UnlinkedConstructorInitializerMixin implements idl.UnlinkedConst
ructorInitializer { | 2008 abstract class _UnlinkedConstructorInitializerMixin implements idl.UnlinkedConst
ructorInitializer { |
| 2009 @override | 2009 @override |
| 2010 Map<String, Object> toMap() => { | 2010 Map<String, Object> toMap() => { |
| 2011 "arguments": arguments, | 2011 "arguments": arguments, |
| 2012 "expression": expression, | 2012 "expression": expression, |
| 2013 "kind": kind, | 2013 "kind": kind, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2071 _finished = true; | 2071 _finished = true; |
| 2072 fb.Offset offset_text; | 2072 fb.Offset offset_text; |
| 2073 if (_text != null) { | 2073 if (_text != null) { |
| 2074 offset_text = fbBuilder.writeString(_text); | 2074 offset_text = fbBuilder.writeString(_text); |
| 2075 } | 2075 } |
| 2076 fbBuilder.startTable(); | 2076 fbBuilder.startTable(); |
| 2077 if (_length != null && _length != 0) { | 2077 if (_length != null && _length != 0) { |
| 2078 fbBuilder.addUint32(0, _length); | 2078 fbBuilder.addUint32(0, _length); |
| 2079 } | 2079 } |
| 2080 if (_offset != null && _offset != 0) { | 2080 if (_offset != null && _offset != 0) { |
| 2081 fbBuilder.addUint32(1, _offset); | 2081 fbBuilder.addUint32(2, _offset); |
| 2082 } | 2082 } |
| 2083 if (offset_text != null) { | 2083 if (offset_text != null) { |
| 2084 fbBuilder.addOffset(2, offset_text); | 2084 fbBuilder.addOffset(1, offset_text); |
| 2085 } | 2085 } |
| 2086 return fbBuilder.endTable(); | 2086 return fbBuilder.endTable(); |
| 2087 } | 2087 } |
| 2088 } | 2088 } |
| 2089 | 2089 |
| 2090 class _UnlinkedDocumentationCommentReader extends fb.TableReader<_UnlinkedDocume
ntationCommentImpl> { | 2090 class _UnlinkedDocumentationCommentReader extends fb.TableReader<_UnlinkedDocume
ntationCommentImpl> { |
| 2091 const _UnlinkedDocumentationCommentReader(); | 2091 const _UnlinkedDocumentationCommentReader(); |
| 2092 | 2092 |
| 2093 @override | 2093 @override |
| 2094 _UnlinkedDocumentationCommentImpl createObject(fb.BufferPointer bp) => new _Un
linkedDocumentationCommentImpl(bp); | 2094 _UnlinkedDocumentationCommentImpl createObject(fb.BufferPointer bp) => new _Un
linkedDocumentationCommentImpl(bp); |
| 2095 } | 2095 } |
| 2096 | 2096 |
| 2097 class _UnlinkedDocumentationCommentImpl extends Object with _UnlinkedDocumentati
onCommentMixin implements idl.UnlinkedDocumentationComment { | 2097 class _UnlinkedDocumentationCommentImpl extends Object with _UnlinkedDocumentati
onCommentMixin implements idl.UnlinkedDocumentationComment { |
| 2098 final fb.BufferPointer _bp; | 2098 final fb.BufferPointer _bp; |
| 2099 | 2099 |
| 2100 _UnlinkedDocumentationCommentImpl(this._bp); | 2100 _UnlinkedDocumentationCommentImpl(this._bp); |
| 2101 | 2101 |
| 2102 int _length; | 2102 int _length; |
| 2103 int _offset; | 2103 int _offset; |
| 2104 String _text; | 2104 String _text; |
| 2105 | 2105 |
| 2106 @override | 2106 @override |
| 2107 int get length { | 2107 int get length { |
| 2108 _length ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 2108 _length ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 2109 return _length; | 2109 return _length; |
| 2110 } | 2110 } |
| 2111 | 2111 |
| 2112 @override | 2112 @override |
| 2113 int get offset { | 2113 int get offset { |
| 2114 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 2114 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 2115 return _offset; | 2115 return _offset; |
| 2116 } | 2116 } |
| 2117 | 2117 |
| 2118 @override | 2118 @override |
| 2119 String get text { | 2119 String get text { |
| 2120 _text ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 2120 _text ??= const fb.StringReader().vTableGet(_bp, 1, ''); |
| 2121 return _text; | 2121 return _text; |
| 2122 } | 2122 } |
| 2123 } | 2123 } |
| 2124 | 2124 |
| 2125 abstract class _UnlinkedDocumentationCommentMixin implements idl.UnlinkedDocumen
tationComment { | 2125 abstract class _UnlinkedDocumentationCommentMixin implements idl.UnlinkedDocumen
tationComment { |
| 2126 @override | 2126 @override |
| 2127 Map<String, Object> toMap() => { | 2127 Map<String, Object> toMap() => { |
| 2128 "length": length, | 2128 "length": length, |
| 2129 "offset": offset, | 2129 "offset": offset, |
| 2130 "text": text, | 2130 "text": text, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2218 offset_documentationComment = _documentationComment.finish(fbBuilder); | 2218 offset_documentationComment = _documentationComment.finish(fbBuilder); |
| 2219 } | 2219 } |
| 2220 if (_name != null) { | 2220 if (_name != null) { |
| 2221 offset_name = fbBuilder.writeString(_name); | 2221 offset_name = fbBuilder.writeString(_name); |
| 2222 } | 2222 } |
| 2223 if (!(_values == null || _values.isEmpty)) { | 2223 if (!(_values == null || _values.isEmpty)) { |
| 2224 offset_values = fbBuilder.writeList(_values.map((b) => b.finish(fbBuilder)
).toList()); | 2224 offset_values = fbBuilder.writeList(_values.map((b) => b.finish(fbBuilder)
).toList()); |
| 2225 } | 2225 } |
| 2226 fbBuilder.startTable(); | 2226 fbBuilder.startTable(); |
| 2227 if (offset_annotations != null) { | 2227 if (offset_annotations != null) { |
| 2228 fbBuilder.addOffset(0, offset_annotations); | 2228 fbBuilder.addOffset(4, offset_annotations); |
| 2229 } | 2229 } |
| 2230 if (offset_documentationComment != null) { | 2230 if (offset_documentationComment != null) { |
| 2231 fbBuilder.addOffset(1, offset_documentationComment); | 2231 fbBuilder.addOffset(3, offset_documentationComment); |
| 2232 } | 2232 } |
| 2233 if (offset_name != null) { | 2233 if (offset_name != null) { |
| 2234 fbBuilder.addOffset(2, offset_name); | 2234 fbBuilder.addOffset(0, offset_name); |
| 2235 } | 2235 } |
| 2236 if (_nameOffset != null && _nameOffset != 0) { | 2236 if (_nameOffset != null && _nameOffset != 0) { |
| 2237 fbBuilder.addUint32(3, _nameOffset); | 2237 fbBuilder.addUint32(1, _nameOffset); |
| 2238 } | 2238 } |
| 2239 if (offset_values != null) { | 2239 if (offset_values != null) { |
| 2240 fbBuilder.addOffset(4, offset_values); | 2240 fbBuilder.addOffset(2, offset_values); |
| 2241 } | 2241 } |
| 2242 return fbBuilder.endTable(); | 2242 return fbBuilder.endTable(); |
| 2243 } | 2243 } |
| 2244 } | 2244 } |
| 2245 | 2245 |
| 2246 class _UnlinkedEnumReader extends fb.TableReader<_UnlinkedEnumImpl> { | 2246 class _UnlinkedEnumReader extends fb.TableReader<_UnlinkedEnumImpl> { |
| 2247 const _UnlinkedEnumReader(); | 2247 const _UnlinkedEnumReader(); |
| 2248 | 2248 |
| 2249 @override | 2249 @override |
| 2250 _UnlinkedEnumImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumImpl(b
p); | 2250 _UnlinkedEnumImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumImpl(b
p); |
| 2251 } | 2251 } |
| 2252 | 2252 |
| 2253 class _UnlinkedEnumImpl extends Object with _UnlinkedEnumMixin implements idl.Un
linkedEnum { | 2253 class _UnlinkedEnumImpl extends Object with _UnlinkedEnumMixin implements idl.Un
linkedEnum { |
| 2254 final fb.BufferPointer _bp; | 2254 final fb.BufferPointer _bp; |
| 2255 | 2255 |
| 2256 _UnlinkedEnumImpl(this._bp); | 2256 _UnlinkedEnumImpl(this._bp); |
| 2257 | 2257 |
| 2258 List<idl.UnlinkedConst> _annotations; | 2258 List<idl.UnlinkedConst> _annotations; |
| 2259 idl.UnlinkedDocumentationComment _documentationComment; | 2259 idl.UnlinkedDocumentationComment _documentationComment; |
| 2260 String _name; | 2260 String _name; |
| 2261 int _nameOffset; | 2261 int _nameOffset; |
| 2262 List<idl.UnlinkedEnumValue> _values; | 2262 List<idl.UnlinkedEnumValue> _values; |
| 2263 | 2263 |
| 2264 @override | 2264 @override |
| 2265 List<idl.UnlinkedConst> get annotations { | 2265 List<idl.UnlinkedConst> get annotations { |
| 2266 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 2266 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 4, const <idl.UnlinkedConst>[]); |
| 2267 return _annotations; | 2267 return _annotations; |
| 2268 } | 2268 } |
| 2269 | 2269 |
| 2270 @override | 2270 @override |
| 2271 idl.UnlinkedDocumentationComment get documentationComment { | 2271 idl.UnlinkedDocumentationComment get documentationComment { |
| 2272 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 1, null); | 2272 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 3, null); |
| 2273 return _documentationComment; | 2273 return _documentationComment; |
| 2274 } | 2274 } |
| 2275 | 2275 |
| 2276 @override | 2276 @override |
| 2277 String get name { | 2277 String get name { |
| 2278 _name ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 2278 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 2279 return _name; | 2279 return _name; |
| 2280 } | 2280 } |
| 2281 | 2281 |
| 2282 @override | 2282 @override |
| 2283 int get nameOffset { | 2283 int get nameOffset { |
| 2284 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 2284 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 2285 return _nameOffset; | 2285 return _nameOffset; |
| 2286 } | 2286 } |
| 2287 | 2287 |
| 2288 @override | 2288 @override |
| 2289 List<idl.UnlinkedEnumValue> get values { | 2289 List<idl.UnlinkedEnumValue> get values { |
| 2290 _values ??= const fb.ListReader<idl.UnlinkedEnumValue>(const _UnlinkedEnumVa
lueReader()).vTableGet(_bp, 4, const <idl.UnlinkedEnumValue>[]); | 2290 _values ??= const fb.ListReader<idl.UnlinkedEnumValue>(const _UnlinkedEnumVa
lueReader()).vTableGet(_bp, 2, const <idl.UnlinkedEnumValue>[]); |
| 2291 return _values; | 2291 return _values; |
| 2292 } | 2292 } |
| 2293 } | 2293 } |
| 2294 | 2294 |
| 2295 abstract class _UnlinkedEnumMixin implements idl.UnlinkedEnum { | 2295 abstract class _UnlinkedEnumMixin implements idl.UnlinkedEnum { |
| 2296 @override | 2296 @override |
| 2297 Map<String, Object> toMap() => { | 2297 Map<String, Object> toMap() => { |
| 2298 "annotations": annotations, | 2298 "annotations": annotations, |
| 2299 "documentationComment": documentationComment, | 2299 "documentationComment": documentationComment, |
| 2300 "name": name, | 2300 "name": name, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2356 fb.Offset offset_documentationComment; | 2356 fb.Offset offset_documentationComment; |
| 2357 fb.Offset offset_name; | 2357 fb.Offset offset_name; |
| 2358 if (_documentationComment != null) { | 2358 if (_documentationComment != null) { |
| 2359 offset_documentationComment = _documentationComment.finish(fbBuilder); | 2359 offset_documentationComment = _documentationComment.finish(fbBuilder); |
| 2360 } | 2360 } |
| 2361 if (_name != null) { | 2361 if (_name != null) { |
| 2362 offset_name = fbBuilder.writeString(_name); | 2362 offset_name = fbBuilder.writeString(_name); |
| 2363 } | 2363 } |
| 2364 fbBuilder.startTable(); | 2364 fbBuilder.startTable(); |
| 2365 if (offset_documentationComment != null) { | 2365 if (offset_documentationComment != null) { |
| 2366 fbBuilder.addOffset(0, offset_documentationComment); | 2366 fbBuilder.addOffset(2, offset_documentationComment); |
| 2367 } | 2367 } |
| 2368 if (offset_name != null) { | 2368 if (offset_name != null) { |
| 2369 fbBuilder.addOffset(1, offset_name); | 2369 fbBuilder.addOffset(0, offset_name); |
| 2370 } | 2370 } |
| 2371 if (_nameOffset != null && _nameOffset != 0) { | 2371 if (_nameOffset != null && _nameOffset != 0) { |
| 2372 fbBuilder.addUint32(2, _nameOffset); | 2372 fbBuilder.addUint32(1, _nameOffset); |
| 2373 } | 2373 } |
| 2374 return fbBuilder.endTable(); | 2374 return fbBuilder.endTable(); |
| 2375 } | 2375 } |
| 2376 } | 2376 } |
| 2377 | 2377 |
| 2378 class _UnlinkedEnumValueReader extends fb.TableReader<_UnlinkedEnumValueImpl> { | 2378 class _UnlinkedEnumValueReader extends fb.TableReader<_UnlinkedEnumValueImpl> { |
| 2379 const _UnlinkedEnumValueReader(); | 2379 const _UnlinkedEnumValueReader(); |
| 2380 | 2380 |
| 2381 @override | 2381 @override |
| 2382 _UnlinkedEnumValueImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumV
alueImpl(bp); | 2382 _UnlinkedEnumValueImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumV
alueImpl(bp); |
| 2383 } | 2383 } |
| 2384 | 2384 |
| 2385 class _UnlinkedEnumValueImpl extends Object with _UnlinkedEnumValueMixin impleme
nts idl.UnlinkedEnumValue { | 2385 class _UnlinkedEnumValueImpl extends Object with _UnlinkedEnumValueMixin impleme
nts idl.UnlinkedEnumValue { |
| 2386 final fb.BufferPointer _bp; | 2386 final fb.BufferPointer _bp; |
| 2387 | 2387 |
| 2388 _UnlinkedEnumValueImpl(this._bp); | 2388 _UnlinkedEnumValueImpl(this._bp); |
| 2389 | 2389 |
| 2390 idl.UnlinkedDocumentationComment _documentationComment; | 2390 idl.UnlinkedDocumentationComment _documentationComment; |
| 2391 String _name; | 2391 String _name; |
| 2392 int _nameOffset; | 2392 int _nameOffset; |
| 2393 | 2393 |
| 2394 @override | 2394 @override |
| 2395 idl.UnlinkedDocumentationComment get documentationComment { | 2395 idl.UnlinkedDocumentationComment get documentationComment { |
| 2396 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 0, null); | 2396 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); |
| 2397 return _documentationComment; | 2397 return _documentationComment; |
| 2398 } | 2398 } |
| 2399 | 2399 |
| 2400 @override | 2400 @override |
| 2401 String get name { | 2401 String get name { |
| 2402 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 2402 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 2403 return _name; | 2403 return _name; |
| 2404 } | 2404 } |
| 2405 | 2405 |
| 2406 @override | 2406 @override |
| 2407 int get nameOffset { | 2407 int get nameOffset { |
| 2408 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 2408 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 2409 return _nameOffset; | 2409 return _nameOffset; |
| 2410 } | 2410 } |
| 2411 } | 2411 } |
| 2412 | 2412 |
| 2413 abstract class _UnlinkedEnumValueMixin implements idl.UnlinkedEnumValue { | 2413 abstract class _UnlinkedEnumValueMixin implements idl.UnlinkedEnumValue { |
| 2414 @override | 2414 @override |
| 2415 Map<String, Object> toMap() => { | 2415 Map<String, Object> toMap() => { |
| 2416 "documentationComment": documentationComment, | 2416 "documentationComment": documentationComment, |
| 2417 "name": name, | 2417 "name": name, |
| 2418 "nameOffset": nameOffset, | 2418 "nameOffset": nameOffset, |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2718 offset_redirectedConstructorName = fbBuilder.writeString(_redirectedConstr
uctorName); | 2718 offset_redirectedConstructorName = fbBuilder.writeString(_redirectedConstr
uctorName); |
| 2719 } | 2719 } |
| 2720 if (_returnType != null) { | 2720 if (_returnType != null) { |
| 2721 offset_returnType = _returnType.finish(fbBuilder); | 2721 offset_returnType = _returnType.finish(fbBuilder); |
| 2722 } | 2722 } |
| 2723 if (!(_typeParameters == null || _typeParameters.isEmpty)) { | 2723 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 2724 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); | 2724 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 2725 } | 2725 } |
| 2726 fbBuilder.startTable(); | 2726 fbBuilder.startTable(); |
| 2727 if (offset_annotations != null) { | 2727 if (offset_annotations != null) { |
| 2728 fbBuilder.addOffset(0, offset_annotations); | 2728 fbBuilder.addOffset(6, offset_annotations); |
| 2729 } | 2729 } |
| 2730 if (offset_constantInitializers != null) { | 2730 if (offset_constantInitializers != null) { |
| 2731 fbBuilder.addOffset(1, offset_constantInitializers); | 2731 fbBuilder.addOffset(14, offset_constantInitializers); |
| 2732 } | 2732 } |
| 2733 if (offset_documentationComment != null) { | 2733 if (offset_documentationComment != null) { |
| 2734 fbBuilder.addOffset(2, offset_documentationComment); | 2734 fbBuilder.addOffset(7, offset_documentationComment); |
| 2735 } | 2735 } |
| 2736 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { | 2736 if (_inferredReturnTypeSlot != null && _inferredReturnTypeSlot != 0) { |
| 2737 fbBuilder.addUint32(3, _inferredReturnTypeSlot); | 2737 fbBuilder.addUint32(5, _inferredReturnTypeSlot); |
| 2738 } | 2738 } |
| 2739 if (_isAbstract == true) { | 2739 if (_isAbstract == true) { |
| 2740 fbBuilder.addBool(4, true); | 2740 fbBuilder.addBool(10, true); |
| 2741 } | 2741 } |
| 2742 if (_isConst == true) { | 2742 if (_isConst == true) { |
| 2743 fbBuilder.addBool(5, true); | 2743 fbBuilder.addBool(12, true); |
| 2744 } | 2744 } |
| 2745 if (_isExternal == true) { | 2745 if (_isExternal == true) { |
| 2746 fbBuilder.addBool(6, true); | 2746 fbBuilder.addBool(11, true); |
| 2747 } | 2747 } |
| 2748 if (_isFactory == true) { | 2748 if (_isFactory == true) { |
| 2749 fbBuilder.addBool(7, true); | 2749 fbBuilder.addBool(8, true); |
| 2750 } | 2750 } |
| 2751 if (_isRedirectedConstructor == true) { | 2751 if (_isRedirectedConstructor == true) { |
| 2752 fbBuilder.addBool(8, true); | 2752 fbBuilder.addBool(13, true); |
| 2753 } | 2753 } |
| 2754 if (_isStatic == true) { | 2754 if (_isStatic == true) { |
| 2755 fbBuilder.addBool(9, true); | 2755 fbBuilder.addBool(9, true); |
| 2756 } | 2756 } |
| 2757 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { | 2757 if (_kind != null && _kind != idl.UnlinkedExecutableKind.functionOrMethod) { |
| 2758 fbBuilder.addUint32(10, _kind.index); | 2758 fbBuilder.addUint32(4, _kind.index); |
| 2759 } | 2759 } |
| 2760 if (offset_name != null) { | 2760 if (offset_name != null) { |
| 2761 fbBuilder.addOffset(11, offset_name); | 2761 fbBuilder.addOffset(1, offset_name); |
| 2762 } | 2762 } |
| 2763 if (_nameOffset != null && _nameOffset != 0) { | 2763 if (_nameOffset != null && _nameOffset != 0) { |
| 2764 fbBuilder.addUint32(12, _nameOffset); | 2764 fbBuilder.addUint32(0, _nameOffset); |
| 2765 } | 2765 } |
| 2766 if (offset_parameters != null) { | 2766 if (offset_parameters != null) { |
| 2767 fbBuilder.addOffset(13, offset_parameters); | 2767 fbBuilder.addOffset(2, offset_parameters); |
| 2768 } | 2768 } |
| 2769 if (offset_redirectedConstructor != null) { | 2769 if (offset_redirectedConstructor != null) { |
| 2770 fbBuilder.addOffset(14, offset_redirectedConstructor); | 2770 fbBuilder.addOffset(15, offset_redirectedConstructor); |
| 2771 } | 2771 } |
| 2772 if (offset_redirectedConstructorName != null) { | 2772 if (offset_redirectedConstructorName != null) { |
| 2773 fbBuilder.addOffset(15, offset_redirectedConstructorName); | 2773 fbBuilder.addOffset(17, offset_redirectedConstructorName); |
| 2774 } | 2774 } |
| 2775 if (offset_returnType != null) { | 2775 if (offset_returnType != null) { |
| 2776 fbBuilder.addOffset(16, offset_returnType); | 2776 fbBuilder.addOffset(3, offset_returnType); |
| 2777 } | 2777 } |
| 2778 if (offset_typeParameters != null) { | 2778 if (offset_typeParameters != null) { |
| 2779 fbBuilder.addOffset(17, offset_typeParameters); | 2779 fbBuilder.addOffset(16, offset_typeParameters); |
| 2780 } | 2780 } |
| 2781 return fbBuilder.endTable(); | 2781 return fbBuilder.endTable(); |
| 2782 } | 2782 } |
| 2783 } | 2783 } |
| 2784 | 2784 |
| 2785 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ | 2785 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ |
| 2786 const _UnlinkedExecutableReader(); | 2786 const _UnlinkedExecutableReader(); |
| 2787 | 2787 |
| 2788 @override | 2788 @override |
| 2789 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); | 2789 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2808 String _name; | 2808 String _name; |
| 2809 int _nameOffset; | 2809 int _nameOffset; |
| 2810 List<idl.UnlinkedParam> _parameters; | 2810 List<idl.UnlinkedParam> _parameters; |
| 2811 idl.EntityRef _redirectedConstructor; | 2811 idl.EntityRef _redirectedConstructor; |
| 2812 String _redirectedConstructorName; | 2812 String _redirectedConstructorName; |
| 2813 idl.EntityRef _returnType; | 2813 idl.EntityRef _returnType; |
| 2814 List<idl.UnlinkedTypeParam> _typeParameters; | 2814 List<idl.UnlinkedTypeParam> _typeParameters; |
| 2815 | 2815 |
| 2816 @override | 2816 @override |
| 2817 List<idl.UnlinkedConst> get annotations { | 2817 List<idl.UnlinkedConst> get annotations { |
| 2818 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 2818 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 6, const <idl.UnlinkedConst>[]); |
| 2819 return _annotations; | 2819 return _annotations; |
| 2820 } | 2820 } |
| 2821 | 2821 |
| 2822 @override | 2822 @override |
| 2823 List<idl.UnlinkedConstructorInitializer> get constantInitializers { | 2823 List<idl.UnlinkedConstructorInitializer> get constantInitializers { |
| 2824 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 1, const <id
l.UnlinkedConstructorInitializer>[]); | 2824 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 14, const <i
dl.UnlinkedConstructorInitializer>[]); |
| 2825 return _constantInitializers; | 2825 return _constantInitializers; |
| 2826 } | 2826 } |
| 2827 | 2827 |
| 2828 @override | 2828 @override |
| 2829 idl.UnlinkedDocumentationComment get documentationComment { | 2829 idl.UnlinkedDocumentationComment get documentationComment { |
| 2830 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); | 2830 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 7, null); |
| 2831 return _documentationComment; | 2831 return _documentationComment; |
| 2832 } | 2832 } |
| 2833 | 2833 |
| 2834 @override | 2834 @override |
| 2835 int get inferredReturnTypeSlot { | 2835 int get inferredReturnTypeSlot { |
| 2836 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 2836 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); |
| 2837 return _inferredReturnTypeSlot; | 2837 return _inferredReturnTypeSlot; |
| 2838 } | 2838 } |
| 2839 | 2839 |
| 2840 @override | 2840 @override |
| 2841 bool get isAbstract { | 2841 bool get isAbstract { |
| 2842 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 2842 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 10, false); |
| 2843 return _isAbstract; | 2843 return _isAbstract; |
| 2844 } | 2844 } |
| 2845 | 2845 |
| 2846 @override | 2846 @override |
| 2847 bool get isConst { | 2847 bool get isConst { |
| 2848 _isConst ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 2848 _isConst ??= const fb.BoolReader().vTableGet(_bp, 12, false); |
| 2849 return _isConst; | 2849 return _isConst; |
| 2850 } | 2850 } |
| 2851 | 2851 |
| 2852 @override | 2852 @override |
| 2853 bool get isExternal { | 2853 bool get isExternal { |
| 2854 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 2854 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 11, false); |
| 2855 return _isExternal; | 2855 return _isExternal; |
| 2856 } | 2856 } |
| 2857 | 2857 |
| 2858 @override | 2858 @override |
| 2859 bool get isFactory { | 2859 bool get isFactory { |
| 2860 _isFactory ??= const fb.BoolReader().vTableGet(_bp, 7, false); | 2860 _isFactory ??= const fb.BoolReader().vTableGet(_bp, 8, false); |
| 2861 return _isFactory; | 2861 return _isFactory; |
| 2862 } | 2862 } |
| 2863 | 2863 |
| 2864 @override | 2864 @override |
| 2865 bool get isRedirectedConstructor { | 2865 bool get isRedirectedConstructor { |
| 2866 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bp, 8, false); | 2866 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bp, 13, false)
; |
| 2867 return _isRedirectedConstructor; | 2867 return _isRedirectedConstructor; |
| 2868 } | 2868 } |
| 2869 | 2869 |
| 2870 @override | 2870 @override |
| 2871 bool get isStatic { | 2871 bool get isStatic { |
| 2872 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 9, false); | 2872 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 9, false); |
| 2873 return _isStatic; | 2873 return _isStatic; |
| 2874 } | 2874 } |
| 2875 | 2875 |
| 2876 @override | 2876 @override |
| 2877 idl.UnlinkedExecutableKind get kind { | 2877 idl.UnlinkedExecutableKind get kind { |
| 2878 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bp, 10, idl.Unlin
kedExecutableKind.functionOrMethod); | 2878 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bp, 4, idl.Unlink
edExecutableKind.functionOrMethod); |
| 2879 return _kind; | 2879 return _kind; |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 @override | 2882 @override |
| 2883 String get name { | 2883 String get name { |
| 2884 _name ??= const fb.StringReader().vTableGet(_bp, 11, ''); | 2884 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); |
| 2885 return _name; | 2885 return _name; |
| 2886 } | 2886 } |
| 2887 | 2887 |
| 2888 @override | 2888 @override |
| 2889 int get nameOffset { | 2889 int get nameOffset { |
| 2890 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 12, 0); | 2890 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 2891 return _nameOffset; | 2891 return _nameOffset; |
| 2892 } | 2892 } |
| 2893 | 2893 |
| 2894 @override | 2894 @override |
| 2895 List<idl.UnlinkedParam> get parameters { | 2895 List<idl.UnlinkedParam> get parameters { |
| 2896 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 13, const <idl.UnlinkedParam>[]); | 2896 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 2, const <idl.UnlinkedParam>[]); |
| 2897 return _parameters; | 2897 return _parameters; |
| 2898 } | 2898 } |
| 2899 | 2899 |
| 2900 @override | 2900 @override |
| 2901 idl.EntityRef get redirectedConstructor { | 2901 idl.EntityRef get redirectedConstructor { |
| 2902 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bp, 14, null)
; | 2902 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bp, 15, null)
; |
| 2903 return _redirectedConstructor; | 2903 return _redirectedConstructor; |
| 2904 } | 2904 } |
| 2905 | 2905 |
| 2906 @override | 2906 @override |
| 2907 String get redirectedConstructorName { | 2907 String get redirectedConstructorName { |
| 2908 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bp, 15, ''
); | 2908 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bp, 17, ''
); |
| 2909 return _redirectedConstructorName; | 2909 return _redirectedConstructorName; |
| 2910 } | 2910 } |
| 2911 | 2911 |
| 2912 @override | 2912 @override |
| 2913 idl.EntityRef get returnType { | 2913 idl.EntityRef get returnType { |
| 2914 _returnType ??= const _EntityRefReader().vTableGet(_bp, 16, null); | 2914 _returnType ??= const _EntityRefReader().vTableGet(_bp, 3, null); |
| 2915 return _returnType; | 2915 return _returnType; |
| 2916 } | 2916 } |
| 2917 | 2917 |
| 2918 @override | 2918 @override |
| 2919 List<idl.UnlinkedTypeParam> get typeParameters { | 2919 List<idl.UnlinkedTypeParam> get typeParameters { |
| 2920 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 17, const <idl.UnlinkedTypeParam>[]); | 2920 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 16, const <idl.UnlinkedTypeParam>[]); |
| 2921 return _typeParameters; | 2921 return _typeParameters; |
| 2922 } | 2922 } |
| 2923 } | 2923 } |
| 2924 | 2924 |
| 2925 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { | 2925 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { |
| 2926 @override | 2926 @override |
| 2927 Map<String, Object> toMap() => { | 2927 Map<String, Object> toMap() => { |
| 2928 "annotations": annotations, | 2928 "annotations": annotations, |
| 2929 "constantInitializers": constantInitializers, | 2929 "constantInitializers": constantInitializers, |
| 2930 "documentationComment": documentationComment, | 2930 "documentationComment": documentationComment, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3011 | 3011 |
| 3012 fb.Offset finish(fb.Builder fbBuilder) { | 3012 fb.Offset finish(fb.Builder fbBuilder) { |
| 3013 assert(!_finished); | 3013 assert(!_finished); |
| 3014 _finished = true; | 3014 _finished = true; |
| 3015 fb.Offset offset_annotations; | 3015 fb.Offset offset_annotations; |
| 3016 if (!(_annotations == null || _annotations.isEmpty)) { | 3016 if (!(_annotations == null || _annotations.isEmpty)) { |
| 3017 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 3017 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 3018 } | 3018 } |
| 3019 fbBuilder.startTable(); | 3019 fbBuilder.startTable(); |
| 3020 if (offset_annotations != null) { | 3020 if (offset_annotations != null) { |
| 3021 fbBuilder.addOffset(0, offset_annotations); | 3021 fbBuilder.addOffset(3, offset_annotations); |
| 3022 } | 3022 } |
| 3023 if (_offset != null && _offset != 0) { | 3023 if (_offset != null && _offset != 0) { |
| 3024 fbBuilder.addUint32(1, _offset); | 3024 fbBuilder.addUint32(0, _offset); |
| 3025 } | 3025 } |
| 3026 if (_uriEnd != null && _uriEnd != 0) { | 3026 if (_uriEnd != null && _uriEnd != 0) { |
| 3027 fbBuilder.addUint32(2, _uriEnd); | 3027 fbBuilder.addUint32(1, _uriEnd); |
| 3028 } | 3028 } |
| 3029 if (_uriOffset != null && _uriOffset != 0) { | 3029 if (_uriOffset != null && _uriOffset != 0) { |
| 3030 fbBuilder.addUint32(3, _uriOffset); | 3030 fbBuilder.addUint32(2, _uriOffset); |
| 3031 } | 3031 } |
| 3032 return fbBuilder.endTable(); | 3032 return fbBuilder.endTable(); |
| 3033 } | 3033 } |
| 3034 } | 3034 } |
| 3035 | 3035 |
| 3036 class _UnlinkedExportNonPublicReader extends fb.TableReader<_UnlinkedExportNonPu
blicImpl> { | 3036 class _UnlinkedExportNonPublicReader extends fb.TableReader<_UnlinkedExportNonPu
blicImpl> { |
| 3037 const _UnlinkedExportNonPublicReader(); | 3037 const _UnlinkedExportNonPublicReader(); |
| 3038 | 3038 |
| 3039 @override | 3039 @override |
| 3040 _UnlinkedExportNonPublicImpl createObject(fb.BufferPointer bp) => new _Unlinke
dExportNonPublicImpl(bp); | 3040 _UnlinkedExportNonPublicImpl createObject(fb.BufferPointer bp) => new _Unlinke
dExportNonPublicImpl(bp); |
| 3041 } | 3041 } |
| 3042 | 3042 |
| 3043 class _UnlinkedExportNonPublicImpl extends Object with _UnlinkedExportNonPublicM
ixin implements idl.UnlinkedExportNonPublic { | 3043 class _UnlinkedExportNonPublicImpl extends Object with _UnlinkedExportNonPublicM
ixin implements idl.UnlinkedExportNonPublic { |
| 3044 final fb.BufferPointer _bp; | 3044 final fb.BufferPointer _bp; |
| 3045 | 3045 |
| 3046 _UnlinkedExportNonPublicImpl(this._bp); | 3046 _UnlinkedExportNonPublicImpl(this._bp); |
| 3047 | 3047 |
| 3048 List<idl.UnlinkedConst> _annotations; | 3048 List<idl.UnlinkedConst> _annotations; |
| 3049 int _offset; | 3049 int _offset; |
| 3050 int _uriEnd; | 3050 int _uriEnd; |
| 3051 int _uriOffset; | 3051 int _uriOffset; |
| 3052 | 3052 |
| 3053 @override | 3053 @override |
| 3054 List<idl.UnlinkedConst> get annotations { | 3054 List<idl.UnlinkedConst> get annotations { |
| 3055 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 3055 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); |
| 3056 return _annotations; | 3056 return _annotations; |
| 3057 } | 3057 } |
| 3058 | 3058 |
| 3059 @override | 3059 @override |
| 3060 int get offset { | 3060 int get offset { |
| 3061 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 3061 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 3062 return _offset; | 3062 return _offset; |
| 3063 } | 3063 } |
| 3064 | 3064 |
| 3065 @override | 3065 @override |
| 3066 int get uriEnd { | 3066 int get uriEnd { |
| 3067 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 3067 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 3068 return _uriEnd; | 3068 return _uriEnd; |
| 3069 } | 3069 } |
| 3070 | 3070 |
| 3071 @override | 3071 @override |
| 3072 int get uriOffset { | 3072 int get uriOffset { |
| 3073 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 3073 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 3074 return _uriOffset; | 3074 return _uriOffset; |
| 3075 } | 3075 } |
| 3076 } | 3076 } |
| 3077 | 3077 |
| 3078 abstract class _UnlinkedExportNonPublicMixin implements idl.UnlinkedExportNonPub
lic { | 3078 abstract class _UnlinkedExportNonPublicMixin implements idl.UnlinkedExportNonPub
lic { |
| 3079 @override | 3079 @override |
| 3080 Map<String, Object> toMap() => { | 3080 Map<String, Object> toMap() => { |
| 3081 "annotations": annotations, | 3081 "annotations": annotations, |
| 3082 "offset": offset, | 3082 "offset": offset, |
| 3083 "uriEnd": uriEnd, | 3083 "uriEnd": uriEnd, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3123 fb.Offset offset_combinators; | 3123 fb.Offset offset_combinators; |
| 3124 fb.Offset offset_uri; | 3124 fb.Offset offset_uri; |
| 3125 if (!(_combinators == null || _combinators.isEmpty)) { | 3125 if (!(_combinators == null || _combinators.isEmpty)) { |
| 3126 offset_combinators = fbBuilder.writeList(_combinators.map((b) => b.finish(
fbBuilder)).toList()); | 3126 offset_combinators = fbBuilder.writeList(_combinators.map((b) => b.finish(
fbBuilder)).toList()); |
| 3127 } | 3127 } |
| 3128 if (_uri != null) { | 3128 if (_uri != null) { |
| 3129 offset_uri = fbBuilder.writeString(_uri); | 3129 offset_uri = fbBuilder.writeString(_uri); |
| 3130 } | 3130 } |
| 3131 fbBuilder.startTable(); | 3131 fbBuilder.startTable(); |
| 3132 if (offset_combinators != null) { | 3132 if (offset_combinators != null) { |
| 3133 fbBuilder.addOffset(0, offset_combinators); | 3133 fbBuilder.addOffset(1, offset_combinators); |
| 3134 } | 3134 } |
| 3135 if (offset_uri != null) { | 3135 if (offset_uri != null) { |
| 3136 fbBuilder.addOffset(1, offset_uri); | 3136 fbBuilder.addOffset(0, offset_uri); |
| 3137 } | 3137 } |
| 3138 return fbBuilder.endTable(); | 3138 return fbBuilder.endTable(); |
| 3139 } | 3139 } |
| 3140 } | 3140 } |
| 3141 | 3141 |
| 3142 class _UnlinkedExportPublicReader extends fb.TableReader<_UnlinkedExportPublicIm
pl> { | 3142 class _UnlinkedExportPublicReader extends fb.TableReader<_UnlinkedExportPublicIm
pl> { |
| 3143 const _UnlinkedExportPublicReader(); | 3143 const _UnlinkedExportPublicReader(); |
| 3144 | 3144 |
| 3145 @override | 3145 @override |
| 3146 _UnlinkedExportPublicImpl createObject(fb.BufferPointer bp) => new _UnlinkedEx
portPublicImpl(bp); | 3146 _UnlinkedExportPublicImpl createObject(fb.BufferPointer bp) => new _UnlinkedEx
portPublicImpl(bp); |
| 3147 } | 3147 } |
| 3148 | 3148 |
| 3149 class _UnlinkedExportPublicImpl extends Object with _UnlinkedExportPublicMixin i
mplements idl.UnlinkedExportPublic { | 3149 class _UnlinkedExportPublicImpl extends Object with _UnlinkedExportPublicMixin i
mplements idl.UnlinkedExportPublic { |
| 3150 final fb.BufferPointer _bp; | 3150 final fb.BufferPointer _bp; |
| 3151 | 3151 |
| 3152 _UnlinkedExportPublicImpl(this._bp); | 3152 _UnlinkedExportPublicImpl(this._bp); |
| 3153 | 3153 |
| 3154 List<idl.UnlinkedCombinator> _combinators; | 3154 List<idl.UnlinkedCombinator> _combinators; |
| 3155 String _uri; | 3155 String _uri; |
| 3156 | 3156 |
| 3157 @override | 3157 @override |
| 3158 List<idl.UnlinkedCombinator> get combinators { | 3158 List<idl.UnlinkedCombinator> get combinators { |
| 3159 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 0, const <idl.UnlinkedCombinator>[]); | 3159 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 1, const <idl.UnlinkedCombinator>[]); |
| 3160 return _combinators; | 3160 return _combinators; |
| 3161 } | 3161 } |
| 3162 | 3162 |
| 3163 @override | 3163 @override |
| 3164 String get uri { | 3164 String get uri { |
| 3165 _uri ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 3165 _uri ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 3166 return _uri; | 3166 return _uri; |
| 3167 } | 3167 } |
| 3168 } | 3168 } |
| 3169 | 3169 |
| 3170 abstract class _UnlinkedExportPublicMixin implements idl.UnlinkedExportPublic { | 3170 abstract class _UnlinkedExportPublicMixin implements idl.UnlinkedExportPublic { |
| 3171 @override | 3171 @override |
| 3172 Map<String, Object> toMap() => { | 3172 Map<String, Object> toMap() => { |
| 3173 "combinators": combinators, | 3173 "combinators": combinators, |
| 3174 "uri": uri, | 3174 "uri": uri, |
| 3175 }; | 3175 }; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3333 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 3333 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 3334 } | 3334 } |
| 3335 if (!(_combinators == null || _combinators.isEmpty)) { | 3335 if (!(_combinators == null || _combinators.isEmpty)) { |
| 3336 offset_combinators = fbBuilder.writeList(_combinators.map((b) => b.finish(
fbBuilder)).toList()); | 3336 offset_combinators = fbBuilder.writeList(_combinators.map((b) => b.finish(
fbBuilder)).toList()); |
| 3337 } | 3337 } |
| 3338 if (_uri != null) { | 3338 if (_uri != null) { |
| 3339 offset_uri = fbBuilder.writeString(_uri); | 3339 offset_uri = fbBuilder.writeString(_uri); |
| 3340 } | 3340 } |
| 3341 fbBuilder.startTable(); | 3341 fbBuilder.startTable(); |
| 3342 if (offset_annotations != null) { | 3342 if (offset_annotations != null) { |
| 3343 fbBuilder.addOffset(0, offset_annotations); | 3343 fbBuilder.addOffset(8, offset_annotations); |
| 3344 } | 3344 } |
| 3345 if (offset_combinators != null) { | 3345 if (offset_combinators != null) { |
| 3346 fbBuilder.addOffset(1, offset_combinators); | 3346 fbBuilder.addOffset(4, offset_combinators); |
| 3347 } | 3347 } |
| 3348 if (_isDeferred == true) { | 3348 if (_isDeferred == true) { |
| 3349 fbBuilder.addBool(2, true); | 3349 fbBuilder.addBool(9, true); |
| 3350 } | 3350 } |
| 3351 if (_isImplicit == true) { | 3351 if (_isImplicit == true) { |
| 3352 fbBuilder.addBool(3, true); | 3352 fbBuilder.addBool(5, true); |
| 3353 } | 3353 } |
| 3354 if (_offset != null && _offset != 0) { | 3354 if (_offset != null && _offset != 0) { |
| 3355 fbBuilder.addUint32(4, _offset); | 3355 fbBuilder.addUint32(0, _offset); |
| 3356 } | 3356 } |
| 3357 if (_prefixOffset != null && _prefixOffset != 0) { | 3357 if (_prefixOffset != null && _prefixOffset != 0) { |
| 3358 fbBuilder.addUint32(5, _prefixOffset); | 3358 fbBuilder.addUint32(6, _prefixOffset); |
| 3359 } | 3359 } |
| 3360 if (_prefixReference != null && _prefixReference != 0) { | 3360 if (_prefixReference != null && _prefixReference != 0) { |
| 3361 fbBuilder.addUint32(6, _prefixReference); | 3361 fbBuilder.addUint32(7, _prefixReference); |
| 3362 } | 3362 } |
| 3363 if (offset_uri != null) { | 3363 if (offset_uri != null) { |
| 3364 fbBuilder.addOffset(7, offset_uri); | 3364 fbBuilder.addOffset(1, offset_uri); |
| 3365 } | 3365 } |
| 3366 if (_uriEnd != null && _uriEnd != 0) { | 3366 if (_uriEnd != null && _uriEnd != 0) { |
| 3367 fbBuilder.addUint32(8, _uriEnd); | 3367 fbBuilder.addUint32(2, _uriEnd); |
| 3368 } | 3368 } |
| 3369 if (_uriOffset != null && _uriOffset != 0) { | 3369 if (_uriOffset != null && _uriOffset != 0) { |
| 3370 fbBuilder.addUint32(9, _uriOffset); | 3370 fbBuilder.addUint32(3, _uriOffset); |
| 3371 } | 3371 } |
| 3372 return fbBuilder.endTable(); | 3372 return fbBuilder.endTable(); |
| 3373 } | 3373 } |
| 3374 } | 3374 } |
| 3375 | 3375 |
| 3376 class _UnlinkedImportReader extends fb.TableReader<_UnlinkedImportImpl> { | 3376 class _UnlinkedImportReader extends fb.TableReader<_UnlinkedImportImpl> { |
| 3377 const _UnlinkedImportReader(); | 3377 const _UnlinkedImportReader(); |
| 3378 | 3378 |
| 3379 @override | 3379 @override |
| 3380 _UnlinkedImportImpl createObject(fb.BufferPointer bp) => new _UnlinkedImportIm
pl(bp); | 3380 _UnlinkedImportImpl createObject(fb.BufferPointer bp) => new _UnlinkedImportIm
pl(bp); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3391 bool _isImplicit; | 3391 bool _isImplicit; |
| 3392 int _offset; | 3392 int _offset; |
| 3393 int _prefixOffset; | 3393 int _prefixOffset; |
| 3394 int _prefixReference; | 3394 int _prefixReference; |
| 3395 String _uri; | 3395 String _uri; |
| 3396 int _uriEnd; | 3396 int _uriEnd; |
| 3397 int _uriOffset; | 3397 int _uriOffset; |
| 3398 | 3398 |
| 3399 @override | 3399 @override |
| 3400 List<idl.UnlinkedConst> get annotations { | 3400 List<idl.UnlinkedConst> get annotations { |
| 3401 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 3401 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 8, const <idl.UnlinkedConst>[]); |
| 3402 return _annotations; | 3402 return _annotations; |
| 3403 } | 3403 } |
| 3404 | 3404 |
| 3405 @override | 3405 @override |
| 3406 List<idl.UnlinkedCombinator> get combinators { | 3406 List<idl.UnlinkedCombinator> get combinators { |
| 3407 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 1, const <idl.UnlinkedCombinator>[]); | 3407 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 4, const <idl.UnlinkedCombinator>[]); |
| 3408 return _combinators; | 3408 return _combinators; |
| 3409 } | 3409 } |
| 3410 | 3410 |
| 3411 @override | 3411 @override |
| 3412 bool get isDeferred { | 3412 bool get isDeferred { |
| 3413 _isDeferred ??= const fb.BoolReader().vTableGet(_bp, 2, false); | 3413 _isDeferred ??= const fb.BoolReader().vTableGet(_bp, 9, false); |
| 3414 return _isDeferred; | 3414 return _isDeferred; |
| 3415 } | 3415 } |
| 3416 | 3416 |
| 3417 @override | 3417 @override |
| 3418 bool get isImplicit { | 3418 bool get isImplicit { |
| 3419 _isImplicit ??= const fb.BoolReader().vTableGet(_bp, 3, false); | 3419 _isImplicit ??= const fb.BoolReader().vTableGet(_bp, 5, false); |
| 3420 return _isImplicit; | 3420 return _isImplicit; |
| 3421 } | 3421 } |
| 3422 | 3422 |
| 3423 @override | 3423 @override |
| 3424 int get offset { | 3424 int get offset { |
| 3425 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 4, 0); | 3425 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 3426 return _offset; | 3426 return _offset; |
| 3427 } | 3427 } |
| 3428 | 3428 |
| 3429 @override | 3429 @override |
| 3430 int get prefixOffset { | 3430 int get prefixOffset { |
| 3431 _prefixOffset ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); | 3431 _prefixOffset ??= const fb.Uint32Reader().vTableGet(_bp, 6, 0); |
| 3432 return _prefixOffset; | 3432 return _prefixOffset; |
| 3433 } | 3433 } |
| 3434 | 3434 |
| 3435 @override | 3435 @override |
| 3436 int get prefixReference { | 3436 int get prefixReference { |
| 3437 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bp, 6, 0); | 3437 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bp, 7, 0); |
| 3438 return _prefixReference; | 3438 return _prefixReference; |
| 3439 } | 3439 } |
| 3440 | 3440 |
| 3441 @override | 3441 @override |
| 3442 String get uri { | 3442 String get uri { |
| 3443 _uri ??= const fb.StringReader().vTableGet(_bp, 7, ''); | 3443 _uri ??= const fb.StringReader().vTableGet(_bp, 1, ''); |
| 3444 return _uri; | 3444 return _uri; |
| 3445 } | 3445 } |
| 3446 | 3446 |
| 3447 @override | 3447 @override |
| 3448 int get uriEnd { | 3448 int get uriEnd { |
| 3449 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 8, 0); | 3449 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 3450 return _uriEnd; | 3450 return _uriEnd; |
| 3451 } | 3451 } |
| 3452 | 3452 |
| 3453 @override | 3453 @override |
| 3454 int get uriOffset { | 3454 int get uriOffset { |
| 3455 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); | 3455 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); |
| 3456 return _uriOffset; | 3456 return _uriOffset; |
| 3457 } | 3457 } |
| 3458 } | 3458 } |
| 3459 | 3459 |
| 3460 abstract class _UnlinkedImportMixin implements idl.UnlinkedImport { | 3460 abstract class _UnlinkedImportMixin implements idl.UnlinkedImport { |
| 3461 @override | 3461 @override |
| 3462 Map<String, Object> toMap() => { | 3462 Map<String, Object> toMap() => { |
| 3463 "annotations": annotations, | 3463 "annotations": annotations, |
| 3464 "combinators": combinators, | 3464 "combinators": combinators, |
| 3465 "isDeferred": isDeferred, | 3465 "isDeferred": isDeferred, |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3642 offset_name = fbBuilder.writeString(_name); | 3642 offset_name = fbBuilder.writeString(_name); |
| 3643 } | 3643 } |
| 3644 if (!(_parameters == null || _parameters.isEmpty)) { | 3644 if (!(_parameters == null || _parameters.isEmpty)) { |
| 3645 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); | 3645 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); |
| 3646 } | 3646 } |
| 3647 if (_type != null) { | 3647 if (_type != null) { |
| 3648 offset_type = _type.finish(fbBuilder); | 3648 offset_type = _type.finish(fbBuilder); |
| 3649 } | 3649 } |
| 3650 fbBuilder.startTable(); | 3650 fbBuilder.startTable(); |
| 3651 if (offset_annotations != null) { | 3651 if (offset_annotations != null) { |
| 3652 fbBuilder.addOffset(0, offset_annotations); | 3652 fbBuilder.addOffset(9, offset_annotations); |
| 3653 } | 3653 } |
| 3654 if (offset_defaultValue != null) { | 3654 if (offset_defaultValue != null) { |
| 3655 fbBuilder.addOffset(1, offset_defaultValue); | 3655 fbBuilder.addOffset(7, offset_defaultValue); |
| 3656 } | 3656 } |
| 3657 if (_inferredTypeSlot != null && _inferredTypeSlot != 0) { | 3657 if (_inferredTypeSlot != null && _inferredTypeSlot != 0) { |
| 3658 fbBuilder.addUint32(2, _inferredTypeSlot); | 3658 fbBuilder.addUint32(2, _inferredTypeSlot); |
| 3659 } | 3659 } |
| 3660 if (_isFunctionTyped == true) { | 3660 if (_isFunctionTyped == true) { |
| 3661 fbBuilder.addBool(3, true); | 3661 fbBuilder.addBool(5, true); |
| 3662 } | 3662 } |
| 3663 if (_isInitializingFormal == true) { | 3663 if (_isInitializingFormal == true) { |
| 3664 fbBuilder.addBool(4, true); | 3664 fbBuilder.addBool(6, true); |
| 3665 } | 3665 } |
| 3666 if (_kind != null && _kind != idl.UnlinkedParamKind.required) { | 3666 if (_kind != null && _kind != idl.UnlinkedParamKind.required) { |
| 3667 fbBuilder.addUint32(5, _kind.index); | 3667 fbBuilder.addUint32(4, _kind.index); |
| 3668 } | 3668 } |
| 3669 if (offset_name != null) { | 3669 if (offset_name != null) { |
| 3670 fbBuilder.addOffset(6, offset_name); | 3670 fbBuilder.addOffset(0, offset_name); |
| 3671 } | 3671 } |
| 3672 if (_nameOffset != null && _nameOffset != 0) { | 3672 if (_nameOffset != null && _nameOffset != 0) { |
| 3673 fbBuilder.addUint32(7, _nameOffset); | 3673 fbBuilder.addUint32(1, _nameOffset); |
| 3674 } | 3674 } |
| 3675 if (offset_parameters != null) { | 3675 if (offset_parameters != null) { |
| 3676 fbBuilder.addOffset(8, offset_parameters); | 3676 fbBuilder.addOffset(8, offset_parameters); |
| 3677 } | 3677 } |
| 3678 if (offset_type != null) { | 3678 if (offset_type != null) { |
| 3679 fbBuilder.addOffset(9, offset_type); | 3679 fbBuilder.addOffset(3, offset_type); |
| 3680 } | 3680 } |
| 3681 return fbBuilder.endTable(); | 3681 return fbBuilder.endTable(); |
| 3682 } | 3682 } |
| 3683 } | 3683 } |
| 3684 | 3684 |
| 3685 class _UnlinkedParamReader extends fb.TableReader<_UnlinkedParamImpl> { | 3685 class _UnlinkedParamReader extends fb.TableReader<_UnlinkedParamImpl> { |
| 3686 const _UnlinkedParamReader(); | 3686 const _UnlinkedParamReader(); |
| 3687 | 3687 |
| 3688 @override | 3688 @override |
| 3689 _UnlinkedParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedParamImpl
(bp); | 3689 _UnlinkedParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedParamImpl
(bp); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 3700 bool _isFunctionTyped; | 3700 bool _isFunctionTyped; |
| 3701 bool _isInitializingFormal; | 3701 bool _isInitializingFormal; |
| 3702 idl.UnlinkedParamKind _kind; | 3702 idl.UnlinkedParamKind _kind; |
| 3703 String _name; | 3703 String _name; |
| 3704 int _nameOffset; | 3704 int _nameOffset; |
| 3705 List<idl.UnlinkedParam> _parameters; | 3705 List<idl.UnlinkedParam> _parameters; |
| 3706 idl.EntityRef _type; | 3706 idl.EntityRef _type; |
| 3707 | 3707 |
| 3708 @override | 3708 @override |
| 3709 List<idl.UnlinkedConst> get annotations { | 3709 List<idl.UnlinkedConst> get annotations { |
| 3710 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 3710 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 9, const <idl.UnlinkedConst>[]); |
| 3711 return _annotations; | 3711 return _annotations; |
| 3712 } | 3712 } |
| 3713 | 3713 |
| 3714 @override | 3714 @override |
| 3715 idl.UnlinkedConst get defaultValue { | 3715 idl.UnlinkedConst get defaultValue { |
| 3716 _defaultValue ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); | 3716 _defaultValue ??= const _UnlinkedConstReader().vTableGet(_bp, 7, null); |
| 3717 return _defaultValue; | 3717 return _defaultValue; |
| 3718 } | 3718 } |
| 3719 | 3719 |
| 3720 @override | 3720 @override |
| 3721 int get inferredTypeSlot { | 3721 int get inferredTypeSlot { |
| 3722 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 3722 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 3723 return _inferredTypeSlot; | 3723 return _inferredTypeSlot; |
| 3724 } | 3724 } |
| 3725 | 3725 |
| 3726 @override | 3726 @override |
| 3727 bool get isFunctionTyped { | 3727 bool get isFunctionTyped { |
| 3728 _isFunctionTyped ??= const fb.BoolReader().vTableGet(_bp, 3, false); | 3728 _isFunctionTyped ??= const fb.BoolReader().vTableGet(_bp, 5, false); |
| 3729 return _isFunctionTyped; | 3729 return _isFunctionTyped; |
| 3730 } | 3730 } |
| 3731 | 3731 |
| 3732 @override | 3732 @override |
| 3733 bool get isInitializingFormal { | 3733 bool get isInitializingFormal { |
| 3734 _isInitializingFormal ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 3734 _isInitializingFormal ??= const fb.BoolReader().vTableGet(_bp, 6, false); |
| 3735 return _isInitializingFormal; | 3735 return _isInitializingFormal; |
| 3736 } | 3736 } |
| 3737 | 3737 |
| 3738 @override | 3738 @override |
| 3739 idl.UnlinkedParamKind get kind { | 3739 idl.UnlinkedParamKind get kind { |
| 3740 _kind ??= const _UnlinkedParamKindReader().vTableGet(_bp, 5, idl.UnlinkedPar
amKind.required); | 3740 _kind ??= const _UnlinkedParamKindReader().vTableGet(_bp, 4, idl.UnlinkedPar
amKind.required); |
| 3741 return _kind; | 3741 return _kind; |
| 3742 } | 3742 } |
| 3743 | 3743 |
| 3744 @override | 3744 @override |
| 3745 String get name { | 3745 String get name { |
| 3746 _name ??= const fb.StringReader().vTableGet(_bp, 6, ''); | 3746 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 3747 return _name; | 3747 return _name; |
| 3748 } | 3748 } |
| 3749 | 3749 |
| 3750 @override | 3750 @override |
| 3751 int get nameOffset { | 3751 int get nameOffset { |
| 3752 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 7, 0); | 3752 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 3753 return _nameOffset; | 3753 return _nameOffset; |
| 3754 } | 3754 } |
| 3755 | 3755 |
| 3756 @override | 3756 @override |
| 3757 List<idl.UnlinkedParam> get parameters { | 3757 List<idl.UnlinkedParam> get parameters { |
| 3758 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 8, const <idl.UnlinkedParam>[]); | 3758 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 8, const <idl.UnlinkedParam>[]); |
| 3759 return _parameters; | 3759 return _parameters; |
| 3760 } | 3760 } |
| 3761 | 3761 |
| 3762 @override | 3762 @override |
| 3763 idl.EntityRef get type { | 3763 idl.EntityRef get type { |
| 3764 _type ??= const _EntityRefReader().vTableGet(_bp, 9, null); | 3764 _type ??= const _EntityRefReader().vTableGet(_bp, 3, null); |
| 3765 return _type; | 3765 return _type; |
| 3766 } | 3766 } |
| 3767 } | 3767 } |
| 3768 | 3768 |
| 3769 abstract class _UnlinkedParamMixin implements idl.UnlinkedParam { | 3769 abstract class _UnlinkedParamMixin implements idl.UnlinkedParam { |
| 3770 @override | 3770 @override |
| 3771 Map<String, Object> toMap() => { | 3771 Map<String, Object> toMap() => { |
| 3772 "annotations": annotations, | 3772 "annotations": annotations, |
| 3773 "defaultValue": defaultValue, | 3773 "defaultValue": defaultValue, |
| 3774 "inferredTypeSlot": inferredTypeSlot, | 3774 "inferredTypeSlot": inferredTypeSlot, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3833 | 3833 |
| 3834 fb.Offset finish(fb.Builder fbBuilder) { | 3834 fb.Offset finish(fb.Builder fbBuilder) { |
| 3835 assert(!_finished); | 3835 assert(!_finished); |
| 3836 _finished = true; | 3836 _finished = true; |
| 3837 fb.Offset offset_annotations; | 3837 fb.Offset offset_annotations; |
| 3838 if (!(_annotations == null || _annotations.isEmpty)) { | 3838 if (!(_annotations == null || _annotations.isEmpty)) { |
| 3839 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 3839 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 3840 } | 3840 } |
| 3841 fbBuilder.startTable(); | 3841 fbBuilder.startTable(); |
| 3842 if (offset_annotations != null) { | 3842 if (offset_annotations != null) { |
| 3843 fbBuilder.addOffset(0, offset_annotations); | 3843 fbBuilder.addOffset(2, offset_annotations); |
| 3844 } | 3844 } |
| 3845 if (_uriEnd != null && _uriEnd != 0) { | 3845 if (_uriEnd != null && _uriEnd != 0) { |
| 3846 fbBuilder.addUint32(1, _uriEnd); | 3846 fbBuilder.addUint32(0, _uriEnd); |
| 3847 } | 3847 } |
| 3848 if (_uriOffset != null && _uriOffset != 0) { | 3848 if (_uriOffset != null && _uriOffset != 0) { |
| 3849 fbBuilder.addUint32(2, _uriOffset); | 3849 fbBuilder.addUint32(1, _uriOffset); |
| 3850 } | 3850 } |
| 3851 return fbBuilder.endTable(); | 3851 return fbBuilder.endTable(); |
| 3852 } | 3852 } |
| 3853 } | 3853 } |
| 3854 | 3854 |
| 3855 class _UnlinkedPartReader extends fb.TableReader<_UnlinkedPartImpl> { | 3855 class _UnlinkedPartReader extends fb.TableReader<_UnlinkedPartImpl> { |
| 3856 const _UnlinkedPartReader(); | 3856 const _UnlinkedPartReader(); |
| 3857 | 3857 |
| 3858 @override | 3858 @override |
| 3859 _UnlinkedPartImpl createObject(fb.BufferPointer bp) => new _UnlinkedPartImpl(b
p); | 3859 _UnlinkedPartImpl createObject(fb.BufferPointer bp) => new _UnlinkedPartImpl(b
p); |
| 3860 } | 3860 } |
| 3861 | 3861 |
| 3862 class _UnlinkedPartImpl extends Object with _UnlinkedPartMixin implements idl.Un
linkedPart { | 3862 class _UnlinkedPartImpl extends Object with _UnlinkedPartMixin implements idl.Un
linkedPart { |
| 3863 final fb.BufferPointer _bp; | 3863 final fb.BufferPointer _bp; |
| 3864 | 3864 |
| 3865 _UnlinkedPartImpl(this._bp); | 3865 _UnlinkedPartImpl(this._bp); |
| 3866 | 3866 |
| 3867 List<idl.UnlinkedConst> _annotations; | 3867 List<idl.UnlinkedConst> _annotations; |
| 3868 int _uriEnd; | 3868 int _uriEnd; |
| 3869 int _uriOffset; | 3869 int _uriOffset; |
| 3870 | 3870 |
| 3871 @override | 3871 @override |
| 3872 List<idl.UnlinkedConst> get annotations { | 3872 List<idl.UnlinkedConst> get annotations { |
| 3873 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 3873 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 2, const <idl.UnlinkedConst>[]); |
| 3874 return _annotations; | 3874 return _annotations; |
| 3875 } | 3875 } |
| 3876 | 3876 |
| 3877 @override | 3877 @override |
| 3878 int get uriEnd { | 3878 int get uriEnd { |
| 3879 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 3879 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); |
| 3880 return _uriEnd; | 3880 return _uriEnd; |
| 3881 } | 3881 } |
| 3882 | 3882 |
| 3883 @override | 3883 @override |
| 3884 int get uriOffset { | 3884 int get uriOffset { |
| 3885 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 3885 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 3886 return _uriOffset; | 3886 return _uriOffset; |
| 3887 } | 3887 } |
| 3888 } | 3888 } |
| 3889 | 3889 |
| 3890 abstract class _UnlinkedPartMixin implements idl.UnlinkedPart { | 3890 abstract class _UnlinkedPartMixin implements idl.UnlinkedPart { |
| 3891 @override | 3891 @override |
| 3892 Map<String, Object> toMap() => { | 3892 Map<String, Object> toMap() => { |
| 3893 "annotations": annotations, | 3893 "annotations": annotations, |
| 3894 "uriEnd": uriEnd, | 3894 "uriEnd": uriEnd, |
| 3895 "uriOffset": uriOffset, | 3895 "uriOffset": uriOffset, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3967 fb.Offset offset_members; | 3967 fb.Offset offset_members; |
| 3968 fb.Offset offset_name; | 3968 fb.Offset offset_name; |
| 3969 if (!(_members == null || _members.isEmpty)) { | 3969 if (!(_members == null || _members.isEmpty)) { |
| 3970 offset_members = fbBuilder.writeList(_members.map((b) => b.finish(fbBuilde
r)).toList()); | 3970 offset_members = fbBuilder.writeList(_members.map((b) => b.finish(fbBuilde
r)).toList()); |
| 3971 } | 3971 } |
| 3972 if (_name != null) { | 3972 if (_name != null) { |
| 3973 offset_name = fbBuilder.writeString(_name); | 3973 offset_name = fbBuilder.writeString(_name); |
| 3974 } | 3974 } |
| 3975 fbBuilder.startTable(); | 3975 fbBuilder.startTable(); |
| 3976 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { | 3976 if (_kind != null && _kind != idl.ReferenceKind.classOrEnum) { |
| 3977 fbBuilder.addUint32(0, _kind.index); | 3977 fbBuilder.addUint32(1, _kind.index); |
| 3978 } | 3978 } |
| 3979 if (offset_members != null) { | 3979 if (offset_members != null) { |
| 3980 fbBuilder.addOffset(1, offset_members); | 3980 fbBuilder.addOffset(2, offset_members); |
| 3981 } | 3981 } |
| 3982 if (offset_name != null) { | 3982 if (offset_name != null) { |
| 3983 fbBuilder.addOffset(2, offset_name); | 3983 fbBuilder.addOffset(0, offset_name); |
| 3984 } | 3984 } |
| 3985 if (_numTypeParameters != null && _numTypeParameters != 0) { | 3985 if (_numTypeParameters != null && _numTypeParameters != 0) { |
| 3986 fbBuilder.addUint32(3, _numTypeParameters); | 3986 fbBuilder.addUint32(3, _numTypeParameters); |
| 3987 } | 3987 } |
| 3988 return fbBuilder.endTable(); | 3988 return fbBuilder.endTable(); |
| 3989 } | 3989 } |
| 3990 } | 3990 } |
| 3991 | 3991 |
| 3992 class _UnlinkedPublicNameReader extends fb.TableReader<_UnlinkedPublicNameImpl>
{ | 3992 class _UnlinkedPublicNameReader extends fb.TableReader<_UnlinkedPublicNameImpl>
{ |
| 3993 const _UnlinkedPublicNameReader(); | 3993 const _UnlinkedPublicNameReader(); |
| 3994 | 3994 |
| 3995 @override | 3995 @override |
| 3996 _UnlinkedPublicNameImpl createObject(fb.BufferPointer bp) => new _UnlinkedPubl
icNameImpl(bp); | 3996 _UnlinkedPublicNameImpl createObject(fb.BufferPointer bp) => new _UnlinkedPubl
icNameImpl(bp); |
| 3997 } | 3997 } |
| 3998 | 3998 |
| 3999 class _UnlinkedPublicNameImpl extends Object with _UnlinkedPublicNameMixin imple
ments idl.UnlinkedPublicName { | 3999 class _UnlinkedPublicNameImpl extends Object with _UnlinkedPublicNameMixin imple
ments idl.UnlinkedPublicName { |
| 4000 final fb.BufferPointer _bp; | 4000 final fb.BufferPointer _bp; |
| 4001 | 4001 |
| 4002 _UnlinkedPublicNameImpl(this._bp); | 4002 _UnlinkedPublicNameImpl(this._bp); |
| 4003 | 4003 |
| 4004 idl.ReferenceKind _kind; | 4004 idl.ReferenceKind _kind; |
| 4005 List<idl.UnlinkedPublicName> _members; | 4005 List<idl.UnlinkedPublicName> _members; |
| 4006 String _name; | 4006 String _name; |
| 4007 int _numTypeParameters; | 4007 int _numTypeParameters; |
| 4008 | 4008 |
| 4009 @override | 4009 @override |
| 4010 idl.ReferenceKind get kind { | 4010 idl.ReferenceKind get kind { |
| 4011 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 0, idl.ReferenceKind.c
lassOrEnum); | 4011 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 1, idl.ReferenceKind.c
lassOrEnum); |
| 4012 return _kind; | 4012 return _kind; |
| 4013 } | 4013 } |
| 4014 | 4014 |
| 4015 @override | 4015 @override |
| 4016 List<idl.UnlinkedPublicName> get members { | 4016 List<idl.UnlinkedPublicName> get members { |
| 4017 _members ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPubl
icNameReader()).vTableGet(_bp, 1, const <idl.UnlinkedPublicName>[]); | 4017 _members ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPubl
icNameReader()).vTableGet(_bp, 2, const <idl.UnlinkedPublicName>[]); |
| 4018 return _members; | 4018 return _members; |
| 4019 } | 4019 } |
| 4020 | 4020 |
| 4021 @override | 4021 @override |
| 4022 String get name { | 4022 String get name { |
| 4023 _name ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 4023 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 4024 return _name; | 4024 return _name; |
| 4025 } | 4025 } |
| 4026 | 4026 |
| 4027 @override | 4027 @override |
| 4028 int get numTypeParameters { | 4028 int get numTypeParameters { |
| 4029 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 4029 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); |
| 4030 return _numTypeParameters; | 4030 return _numTypeParameters; |
| 4031 } | 4031 } |
| 4032 } | 4032 } |
| 4033 | 4033 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4104 offset_exports = fbBuilder.writeList(_exports.map((b) => b.finish(fbBuilde
r)).toList()); | 4104 offset_exports = fbBuilder.writeList(_exports.map((b) => b.finish(fbBuilde
r)).toList()); |
| 4105 } | 4105 } |
| 4106 if (!(_names == null || _names.isEmpty)) { | 4106 if (!(_names == null || _names.isEmpty)) { |
| 4107 offset_names = fbBuilder.writeList(_names.map((b) => b.finish(fbBuilder)).
toList()); | 4107 offset_names = fbBuilder.writeList(_names.map((b) => b.finish(fbBuilder)).
toList()); |
| 4108 } | 4108 } |
| 4109 if (!(_parts == null || _parts.isEmpty)) { | 4109 if (!(_parts == null || _parts.isEmpty)) { |
| 4110 offset_parts = fbBuilder.writeList(_parts.map((b) => fbBuilder.writeString
(b)).toList()); | 4110 offset_parts = fbBuilder.writeList(_parts.map((b) => fbBuilder.writeString
(b)).toList()); |
| 4111 } | 4111 } |
| 4112 fbBuilder.startTable(); | 4112 fbBuilder.startTable(); |
| 4113 if (offset_exports != null) { | 4113 if (offset_exports != null) { |
| 4114 fbBuilder.addOffset(0, offset_exports); | 4114 fbBuilder.addOffset(2, offset_exports); |
| 4115 } | 4115 } |
| 4116 if (offset_names != null) { | 4116 if (offset_names != null) { |
| 4117 fbBuilder.addOffset(1, offset_names); | 4117 fbBuilder.addOffset(0, offset_names); |
| 4118 } | 4118 } |
| 4119 if (offset_parts != null) { | 4119 if (offset_parts != null) { |
| 4120 fbBuilder.addOffset(2, offset_parts); | 4120 fbBuilder.addOffset(1, offset_parts); |
| 4121 } | 4121 } |
| 4122 return fbBuilder.endTable(); | 4122 return fbBuilder.endTable(); |
| 4123 } | 4123 } |
| 4124 } | 4124 } |
| 4125 | 4125 |
| 4126 idl.UnlinkedPublicNamespace readUnlinkedPublicNamespace(List<int> buffer) { | 4126 idl.UnlinkedPublicNamespace readUnlinkedPublicNamespace(List<int> buffer) { |
| 4127 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 4127 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); |
| 4128 return const _UnlinkedPublicNamespaceReader().read(rootRef); | 4128 return const _UnlinkedPublicNamespaceReader().read(rootRef); |
| 4129 } | 4129 } |
| 4130 | 4130 |
| 4131 class _UnlinkedPublicNamespaceReader extends fb.TableReader<_UnlinkedPublicNames
paceImpl> { | 4131 class _UnlinkedPublicNamespaceReader extends fb.TableReader<_UnlinkedPublicNames
paceImpl> { |
| 4132 const _UnlinkedPublicNamespaceReader(); | 4132 const _UnlinkedPublicNamespaceReader(); |
| 4133 | 4133 |
| 4134 @override | 4134 @override |
| 4135 _UnlinkedPublicNamespaceImpl createObject(fb.BufferPointer bp) => new _Unlinke
dPublicNamespaceImpl(bp); | 4135 _UnlinkedPublicNamespaceImpl createObject(fb.BufferPointer bp) => new _Unlinke
dPublicNamespaceImpl(bp); |
| 4136 } | 4136 } |
| 4137 | 4137 |
| 4138 class _UnlinkedPublicNamespaceImpl extends Object with _UnlinkedPublicNamespaceM
ixin implements idl.UnlinkedPublicNamespace { | 4138 class _UnlinkedPublicNamespaceImpl extends Object with _UnlinkedPublicNamespaceM
ixin implements idl.UnlinkedPublicNamespace { |
| 4139 final fb.BufferPointer _bp; | 4139 final fb.BufferPointer _bp; |
| 4140 | 4140 |
| 4141 _UnlinkedPublicNamespaceImpl(this._bp); | 4141 _UnlinkedPublicNamespaceImpl(this._bp); |
| 4142 | 4142 |
| 4143 List<idl.UnlinkedExportPublic> _exports; | 4143 List<idl.UnlinkedExportPublic> _exports; |
| 4144 List<idl.UnlinkedPublicName> _names; | 4144 List<idl.UnlinkedPublicName> _names; |
| 4145 List<String> _parts; | 4145 List<String> _parts; |
| 4146 | 4146 |
| 4147 @override | 4147 @override |
| 4148 List<idl.UnlinkedExportPublic> get exports { | 4148 List<idl.UnlinkedExportPublic> get exports { |
| 4149 _exports ??= const fb.ListReader<idl.UnlinkedExportPublic>(const _UnlinkedEx
portPublicReader()).vTableGet(_bp, 0, const <idl.UnlinkedExportPublic>[]); | 4149 _exports ??= const fb.ListReader<idl.UnlinkedExportPublic>(const _UnlinkedEx
portPublicReader()).vTableGet(_bp, 2, const <idl.UnlinkedExportPublic>[]); |
| 4150 return _exports; | 4150 return _exports; |
| 4151 } | 4151 } |
| 4152 | 4152 |
| 4153 @override | 4153 @override |
| 4154 List<idl.UnlinkedPublicName> get names { | 4154 List<idl.UnlinkedPublicName> get names { |
| 4155 _names ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPublic
NameReader()).vTableGet(_bp, 1, const <idl.UnlinkedPublicName>[]); | 4155 _names ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPublic
NameReader()).vTableGet(_bp, 0, const <idl.UnlinkedPublicName>[]); |
| 4156 return _names; | 4156 return _names; |
| 4157 } | 4157 } |
| 4158 | 4158 |
| 4159 @override | 4159 @override |
| 4160 List<String> get parts { | 4160 List<String> get parts { |
| 4161 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 2, const <String>[]); | 4161 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); |
| 4162 return _parts; | 4162 return _parts; |
| 4163 } | 4163 } |
| 4164 } | 4164 } |
| 4165 | 4165 |
| 4166 abstract class _UnlinkedPublicNamespaceMixin implements idl.UnlinkedPublicNamesp
ace { | 4166 abstract class _UnlinkedPublicNamespaceMixin implements idl.UnlinkedPublicNamesp
ace { |
| 4167 @override | 4167 @override |
| 4168 Map<String, Object> toMap() => { | 4168 Map<String, Object> toMap() => { |
| 4169 "exports": exports, | 4169 "exports": exports, |
| 4170 "names": names, | 4170 "names": names, |
| 4171 "parts": parts, | 4171 "parts": parts, |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4386 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); | 4386 offset_parameters = fbBuilder.writeList(_parameters.map((b) => b.finish(fb
Builder)).toList()); |
| 4387 } | 4387 } |
| 4388 if (_returnType != null) { | 4388 if (_returnType != null) { |
| 4389 offset_returnType = _returnType.finish(fbBuilder); | 4389 offset_returnType = _returnType.finish(fbBuilder); |
| 4390 } | 4390 } |
| 4391 if (!(_typeParameters == null || _typeParameters.isEmpty)) { | 4391 if (!(_typeParameters == null || _typeParameters.isEmpty)) { |
| 4392 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); | 4392 offset_typeParameters = fbBuilder.writeList(_typeParameters.map((b) => b.f
inish(fbBuilder)).toList()); |
| 4393 } | 4393 } |
| 4394 fbBuilder.startTable(); | 4394 fbBuilder.startTable(); |
| 4395 if (offset_annotations != null) { | 4395 if (offset_annotations != null) { |
| 4396 fbBuilder.addOffset(0, offset_annotations); | 4396 fbBuilder.addOffset(4, offset_annotations); |
| 4397 } | 4397 } |
| 4398 if (offset_documentationComment != null) { | 4398 if (offset_documentationComment != null) { |
| 4399 fbBuilder.addOffset(1, offset_documentationComment); | 4399 fbBuilder.addOffset(6, offset_documentationComment); |
| 4400 } | 4400 } |
| 4401 if (offset_name != null) { | 4401 if (offset_name != null) { |
| 4402 fbBuilder.addOffset(2, offset_name); | 4402 fbBuilder.addOffset(0, offset_name); |
| 4403 } | 4403 } |
| 4404 if (_nameOffset != null && _nameOffset != 0) { | 4404 if (_nameOffset != null && _nameOffset != 0) { |
| 4405 fbBuilder.addUint32(3, _nameOffset); | 4405 fbBuilder.addUint32(1, _nameOffset); |
| 4406 } | 4406 } |
| 4407 if (offset_parameters != null) { | 4407 if (offset_parameters != null) { |
| 4408 fbBuilder.addOffset(4, offset_parameters); | 4408 fbBuilder.addOffset(3, offset_parameters); |
| 4409 } | 4409 } |
| 4410 if (offset_returnType != null) { | 4410 if (offset_returnType != null) { |
| 4411 fbBuilder.addOffset(5, offset_returnType); | 4411 fbBuilder.addOffset(2, offset_returnType); |
| 4412 } | 4412 } |
| 4413 if (offset_typeParameters != null) { | 4413 if (offset_typeParameters != null) { |
| 4414 fbBuilder.addOffset(6, offset_typeParameters); | 4414 fbBuilder.addOffset(5, offset_typeParameters); |
| 4415 } | 4415 } |
| 4416 return fbBuilder.endTable(); | 4416 return fbBuilder.endTable(); |
| 4417 } | 4417 } |
| 4418 } | 4418 } |
| 4419 | 4419 |
| 4420 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { | 4420 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { |
| 4421 const _UnlinkedTypedefReader(); | 4421 const _UnlinkedTypedefReader(); |
| 4422 | 4422 |
| 4423 @override | 4423 @override |
| 4424 _UnlinkedTypedefImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypedef
Impl(bp); | 4424 _UnlinkedTypedefImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypedef
Impl(bp); |
| 4425 } | 4425 } |
| 4426 | 4426 |
| 4427 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { | 4427 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { |
| 4428 final fb.BufferPointer _bp; | 4428 final fb.BufferPointer _bp; |
| 4429 | 4429 |
| 4430 _UnlinkedTypedefImpl(this._bp); | 4430 _UnlinkedTypedefImpl(this._bp); |
| 4431 | 4431 |
| 4432 List<idl.UnlinkedConst> _annotations; | 4432 List<idl.UnlinkedConst> _annotations; |
| 4433 idl.UnlinkedDocumentationComment _documentationComment; | 4433 idl.UnlinkedDocumentationComment _documentationComment; |
| 4434 String _name; | 4434 String _name; |
| 4435 int _nameOffset; | 4435 int _nameOffset; |
| 4436 List<idl.UnlinkedParam> _parameters; | 4436 List<idl.UnlinkedParam> _parameters; |
| 4437 idl.EntityRef _returnType; | 4437 idl.EntityRef _returnType; |
| 4438 List<idl.UnlinkedTypeParam> _typeParameters; | 4438 List<idl.UnlinkedTypeParam> _typeParameters; |
| 4439 | 4439 |
| 4440 @override | 4440 @override |
| 4441 List<idl.UnlinkedConst> get annotations { | 4441 List<idl.UnlinkedConst> get annotations { |
| 4442 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 4442 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 4, const <idl.UnlinkedConst>[]); |
| 4443 return _annotations; | 4443 return _annotations; |
| 4444 } | 4444 } |
| 4445 | 4445 |
| 4446 @override | 4446 @override |
| 4447 idl.UnlinkedDocumentationComment get documentationComment { | 4447 idl.UnlinkedDocumentationComment get documentationComment { |
| 4448 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 1, null); | 4448 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 6, null); |
| 4449 return _documentationComment; | 4449 return _documentationComment; |
| 4450 } | 4450 } |
| 4451 | 4451 |
| 4452 @override | 4452 @override |
| 4453 String get name { | 4453 String get name { |
| 4454 _name ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 4454 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 4455 return _name; | 4455 return _name; |
| 4456 } | 4456 } |
| 4457 | 4457 |
| 4458 @override | 4458 @override |
| 4459 int get nameOffset { | 4459 int get nameOffset { |
| 4460 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 4460 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 4461 return _nameOffset; | 4461 return _nameOffset; |
| 4462 } | 4462 } |
| 4463 | 4463 |
| 4464 @override | 4464 @override |
| 4465 List<idl.UnlinkedParam> get parameters { | 4465 List<idl.UnlinkedParam> get parameters { |
| 4466 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 4, const <idl.UnlinkedParam>[]); | 4466 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 3, const <idl.UnlinkedParam>[]); |
| 4467 return _parameters; | 4467 return _parameters; |
| 4468 } | 4468 } |
| 4469 | 4469 |
| 4470 @override | 4470 @override |
| 4471 idl.EntityRef get returnType { | 4471 idl.EntityRef get returnType { |
| 4472 _returnType ??= const _EntityRefReader().vTableGet(_bp, 5, null); | 4472 _returnType ??= const _EntityRefReader().vTableGet(_bp, 2, null); |
| 4473 return _returnType; | 4473 return _returnType; |
| 4474 } | 4474 } |
| 4475 | 4475 |
| 4476 @override | 4476 @override |
| 4477 List<idl.UnlinkedTypeParam> get typeParameters { | 4477 List<idl.UnlinkedTypeParam> get typeParameters { |
| 4478 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 6, const <idl.UnlinkedTypeParam>[]); | 4478 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 5, const <idl.UnlinkedTypeParam>[]); |
| 4479 return _typeParameters; | 4479 return _typeParameters; |
| 4480 } | 4480 } |
| 4481 } | 4481 } |
| 4482 | 4482 |
| 4483 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { | 4483 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { |
| 4484 @override | 4484 @override |
| 4485 Map<String, Object> toMap() => { | 4485 Map<String, Object> toMap() => { |
| 4486 "annotations": annotations, | 4486 "annotations": annotations, |
| 4487 "documentationComment": documentationComment, | 4487 "documentationComment": documentationComment, |
| 4488 "name": name, | 4488 "name": name, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4563 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); | 4563 offset_annotations = fbBuilder.writeList(_annotations.map((b) => b.finish(
fbBuilder)).toList()); |
| 4564 } | 4564 } |
| 4565 if (_bound != null) { | 4565 if (_bound != null) { |
| 4566 offset_bound = _bound.finish(fbBuilder); | 4566 offset_bound = _bound.finish(fbBuilder); |
| 4567 } | 4567 } |
| 4568 if (_name != null) { | 4568 if (_name != null) { |
| 4569 offset_name = fbBuilder.writeString(_name); | 4569 offset_name = fbBuilder.writeString(_name); |
| 4570 } | 4570 } |
| 4571 fbBuilder.startTable(); | 4571 fbBuilder.startTable(); |
| 4572 if (offset_annotations != null) { | 4572 if (offset_annotations != null) { |
| 4573 fbBuilder.addOffset(0, offset_annotations); | 4573 fbBuilder.addOffset(3, offset_annotations); |
| 4574 } | 4574 } |
| 4575 if (offset_bound != null) { | 4575 if (offset_bound != null) { |
| 4576 fbBuilder.addOffset(1, offset_bound); | 4576 fbBuilder.addOffset(2, offset_bound); |
| 4577 } | 4577 } |
| 4578 if (offset_name != null) { | 4578 if (offset_name != null) { |
| 4579 fbBuilder.addOffset(2, offset_name); | 4579 fbBuilder.addOffset(0, offset_name); |
| 4580 } | 4580 } |
| 4581 if (_nameOffset != null && _nameOffset != 0) { | 4581 if (_nameOffset != null && _nameOffset != 0) { |
| 4582 fbBuilder.addUint32(3, _nameOffset); | 4582 fbBuilder.addUint32(1, _nameOffset); |
| 4583 } | 4583 } |
| 4584 return fbBuilder.endTable(); | 4584 return fbBuilder.endTable(); |
| 4585 } | 4585 } |
| 4586 } | 4586 } |
| 4587 | 4587 |
| 4588 class _UnlinkedTypeParamReader extends fb.TableReader<_UnlinkedTypeParamImpl> { | 4588 class _UnlinkedTypeParamReader extends fb.TableReader<_UnlinkedTypeParamImpl> { |
| 4589 const _UnlinkedTypeParamReader(); | 4589 const _UnlinkedTypeParamReader(); |
| 4590 | 4590 |
| 4591 @override | 4591 @override |
| 4592 _UnlinkedTypeParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypeP
aramImpl(bp); | 4592 _UnlinkedTypeParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypeP
aramImpl(bp); |
| 4593 } | 4593 } |
| 4594 | 4594 |
| 4595 class _UnlinkedTypeParamImpl extends Object with _UnlinkedTypeParamMixin impleme
nts idl.UnlinkedTypeParam { | 4595 class _UnlinkedTypeParamImpl extends Object with _UnlinkedTypeParamMixin impleme
nts idl.UnlinkedTypeParam { |
| 4596 final fb.BufferPointer _bp; | 4596 final fb.BufferPointer _bp; |
| 4597 | 4597 |
| 4598 _UnlinkedTypeParamImpl(this._bp); | 4598 _UnlinkedTypeParamImpl(this._bp); |
| 4599 | 4599 |
| 4600 List<idl.UnlinkedConst> _annotations; | 4600 List<idl.UnlinkedConst> _annotations; |
| 4601 idl.EntityRef _bound; | 4601 idl.EntityRef _bound; |
| 4602 String _name; | 4602 String _name; |
| 4603 int _nameOffset; | 4603 int _nameOffset; |
| 4604 | 4604 |
| 4605 @override | 4605 @override |
| 4606 List<idl.UnlinkedConst> get annotations { | 4606 List<idl.UnlinkedConst> get annotations { |
| 4607 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 4607 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); |
| 4608 return _annotations; | 4608 return _annotations; |
| 4609 } | 4609 } |
| 4610 | 4610 |
| 4611 @override | 4611 @override |
| 4612 idl.EntityRef get bound { | 4612 idl.EntityRef get bound { |
| 4613 _bound ??= const _EntityRefReader().vTableGet(_bp, 1, null); | 4613 _bound ??= const _EntityRefReader().vTableGet(_bp, 2, null); |
| 4614 return _bound; | 4614 return _bound; |
| 4615 } | 4615 } |
| 4616 | 4616 |
| 4617 @override | 4617 @override |
| 4618 String get name { | 4618 String get name { |
| 4619 _name ??= const fb.StringReader().vTableGet(_bp, 2, ''); | 4619 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 4620 return _name; | 4620 return _name; |
| 4621 } | 4621 } |
| 4622 | 4622 |
| 4623 @override | 4623 @override |
| 4624 int get nameOffset { | 4624 int get nameOffset { |
| 4625 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 4625 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 4626 return _nameOffset; | 4626 return _nameOffset; |
| 4627 } | 4627 } |
| 4628 } | 4628 } |
| 4629 | 4629 |
| 4630 abstract class _UnlinkedTypeParamMixin implements idl.UnlinkedTypeParam { | 4630 abstract class _UnlinkedTypeParamMixin implements idl.UnlinkedTypeParam { |
| 4631 @override | 4631 @override |
| 4632 Map<String, Object> toMap() => { | 4632 Map<String, Object> toMap() => { |
| 4633 "annotations": annotations, | 4633 "annotations": annotations, |
| 4634 "bound": bound, | 4634 "bound": bound, |
| 4635 "name": name, | 4635 "name": name, |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4904 offset_references = fbBuilder.writeList(_references.map((b) => b.finish(fb
Builder)).toList()); | 4904 offset_references = fbBuilder.writeList(_references.map((b) => b.finish(fb
Builder)).toList()); |
| 4905 } | 4905 } |
| 4906 if (!(_typedefs == null || _typedefs.isEmpty)) { | 4906 if (!(_typedefs == null || _typedefs.isEmpty)) { |
| 4907 offset_typedefs = fbBuilder.writeList(_typedefs.map((b) => b.finish(fbBuil
der)).toList()); | 4907 offset_typedefs = fbBuilder.writeList(_typedefs.map((b) => b.finish(fbBuil
der)).toList()); |
| 4908 } | 4908 } |
| 4909 if (!(_variables == null || _variables.isEmpty)) { | 4909 if (!(_variables == null || _variables.isEmpty)) { |
| 4910 offset_variables = fbBuilder.writeList(_variables.map((b) => b.finish(fbBu
ilder)).toList()); | 4910 offset_variables = fbBuilder.writeList(_variables.map((b) => b.finish(fbBu
ilder)).toList()); |
| 4911 } | 4911 } |
| 4912 fbBuilder.startTable(); | 4912 fbBuilder.startTable(); |
| 4913 if (offset_classes != null) { | 4913 if (offset_classes != null) { |
| 4914 fbBuilder.addOffset(0, offset_classes); | 4914 fbBuilder.addOffset(2, offset_classes); |
| 4915 } | 4915 } |
| 4916 if (offset_enums != null) { | 4916 if (offset_enums != null) { |
| 4917 fbBuilder.addOffset(1, offset_enums); | 4917 fbBuilder.addOffset(12, offset_enums); |
| 4918 } | 4918 } |
| 4919 if (offset_executables != null) { | 4919 if (offset_executables != null) { |
| 4920 fbBuilder.addOffset(2, offset_executables); | 4920 fbBuilder.addOffset(4, offset_executables); |
| 4921 } | 4921 } |
| 4922 if (offset_exports != null) { | 4922 if (offset_exports != null) { |
| 4923 fbBuilder.addOffset(3, offset_exports); | 4923 fbBuilder.addOffset(13, offset_exports); |
| 4924 } | 4924 } |
| 4925 if (offset_imports != null) { | 4925 if (offset_imports != null) { |
| 4926 fbBuilder.addOffset(4, offset_imports); | 4926 fbBuilder.addOffset(5, offset_imports); |
| 4927 } | 4927 } |
| 4928 if (offset_libraryAnnotations != null) { | 4928 if (offset_libraryAnnotations != null) { |
| 4929 fbBuilder.addOffset(5, offset_libraryAnnotations); | 4929 fbBuilder.addOffset(14, offset_libraryAnnotations); |
| 4930 } | 4930 } |
| 4931 if (offset_libraryDocumentationComment != null) { | 4931 if (offset_libraryDocumentationComment != null) { |
| 4932 fbBuilder.addOffset(6, offset_libraryDocumentationComment); | 4932 fbBuilder.addOffset(9, offset_libraryDocumentationComment); |
| 4933 } | 4933 } |
| 4934 if (offset_libraryName != null) { | 4934 if (offset_libraryName != null) { |
| 4935 fbBuilder.addOffset(7, offset_libraryName); | 4935 fbBuilder.addOffset(6, offset_libraryName); |
| 4936 } | 4936 } |
| 4937 if (_libraryNameLength != null && _libraryNameLength != 0) { | 4937 if (_libraryNameLength != null && _libraryNameLength != 0) { |
| 4938 fbBuilder.addUint32(8, _libraryNameLength); | 4938 fbBuilder.addUint32(7, _libraryNameLength); |
| 4939 } | 4939 } |
| 4940 if (_libraryNameOffset != null && _libraryNameOffset != 0) { | 4940 if (_libraryNameOffset != null && _libraryNameOffset != 0) { |
| 4941 fbBuilder.addUint32(9, _libraryNameOffset); | 4941 fbBuilder.addUint32(8, _libraryNameOffset); |
| 4942 } | 4942 } |
| 4943 if (offset_parts != null) { | 4943 if (offset_parts != null) { |
| 4944 fbBuilder.addOffset(10, offset_parts); | 4944 fbBuilder.addOffset(11, offset_parts); |
| 4945 } | 4945 } |
| 4946 if (offset_publicNamespace != null) { | 4946 if (offset_publicNamespace != null) { |
| 4947 fbBuilder.addOffset(11, offset_publicNamespace); | 4947 fbBuilder.addOffset(0, offset_publicNamespace); |
| 4948 } | 4948 } |
| 4949 if (offset_references != null) { | 4949 if (offset_references != null) { |
| 4950 fbBuilder.addOffset(12, offset_references); | 4950 fbBuilder.addOffset(1, offset_references); |
| 4951 } | 4951 } |
| 4952 if (offset_typedefs != null) { | 4952 if (offset_typedefs != null) { |
| 4953 fbBuilder.addOffset(13, offset_typedefs); | 4953 fbBuilder.addOffset(10, offset_typedefs); |
| 4954 } | 4954 } |
| 4955 if (offset_variables != null) { | 4955 if (offset_variables != null) { |
| 4956 fbBuilder.addOffset(14, offset_variables); | 4956 fbBuilder.addOffset(3, offset_variables); |
| 4957 } | 4957 } |
| 4958 return fbBuilder.endTable(); | 4958 return fbBuilder.endTable(); |
| 4959 } | 4959 } |
| 4960 } | 4960 } |
| 4961 | 4961 |
| 4962 idl.UnlinkedUnit readUnlinkedUnit(List<int> buffer) { | 4962 idl.UnlinkedUnit readUnlinkedUnit(List<int> buffer) { |
| 4963 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 4963 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); |
| 4964 return const _UnlinkedUnitReader().read(rootRef); | 4964 return const _UnlinkedUnitReader().read(rootRef); |
| 4965 } | 4965 } |
| 4966 | 4966 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 4987 int _libraryNameLength; | 4987 int _libraryNameLength; |
| 4988 int _libraryNameOffset; | 4988 int _libraryNameOffset; |
| 4989 List<idl.UnlinkedPart> _parts; | 4989 List<idl.UnlinkedPart> _parts; |
| 4990 idl.UnlinkedPublicNamespace _publicNamespace; | 4990 idl.UnlinkedPublicNamespace _publicNamespace; |
| 4991 List<idl.UnlinkedReference> _references; | 4991 List<idl.UnlinkedReference> _references; |
| 4992 List<idl.UnlinkedTypedef> _typedefs; | 4992 List<idl.UnlinkedTypedef> _typedefs; |
| 4993 List<idl.UnlinkedVariable> _variables; | 4993 List<idl.UnlinkedVariable> _variables; |
| 4994 | 4994 |
| 4995 @override | 4995 @override |
| 4996 List<idl.UnlinkedClass> get classes { | 4996 List<idl.UnlinkedClass> get classes { |
| 4997 _classes ??= const fb.ListReader<idl.UnlinkedClass>(const _UnlinkedClassRead
er()).vTableGet(_bp, 0, const <idl.UnlinkedClass>[]); | 4997 _classes ??= const fb.ListReader<idl.UnlinkedClass>(const _UnlinkedClassRead
er()).vTableGet(_bp, 2, const <idl.UnlinkedClass>[]); |
| 4998 return _classes; | 4998 return _classes; |
| 4999 } | 4999 } |
| 5000 | 5000 |
| 5001 @override | 5001 @override |
| 5002 List<idl.UnlinkedEnum> get enums { | 5002 List<idl.UnlinkedEnum> get enums { |
| 5003 _enums ??= const fb.ListReader<idl.UnlinkedEnum>(const _UnlinkedEnumReader()
).vTableGet(_bp, 1, const <idl.UnlinkedEnum>[]); | 5003 _enums ??= const fb.ListReader<idl.UnlinkedEnum>(const _UnlinkedEnumReader()
).vTableGet(_bp, 12, const <idl.UnlinkedEnum>[]); |
| 5004 return _enums; | 5004 return _enums; |
| 5005 } | 5005 } |
| 5006 | 5006 |
| 5007 @override | 5007 @override |
| 5008 List<idl.UnlinkedExecutable> get executables { | 5008 List<idl.UnlinkedExecutable> get executables { |
| 5009 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 2, const <idl.UnlinkedExecutable>[]); | 5009 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 4, const <idl.UnlinkedExecutable>[]); |
| 5010 return _executables; | 5010 return _executables; |
| 5011 } | 5011 } |
| 5012 | 5012 |
| 5013 @override | 5013 @override |
| 5014 List<idl.UnlinkedExportNonPublic> get exports { | 5014 List<idl.UnlinkedExportNonPublic> get exports { |
| 5015 _exports ??= const fb.ListReader<idl.UnlinkedExportNonPublic>(const _Unlinke
dExportNonPublicReader()).vTableGet(_bp, 3, const <idl.UnlinkedExportNonPublic>[
]); | 5015 _exports ??= const fb.ListReader<idl.UnlinkedExportNonPublic>(const _Unlinke
dExportNonPublicReader()).vTableGet(_bp, 13, const <idl.UnlinkedExportNonPublic>
[]); |
| 5016 return _exports; | 5016 return _exports; |
| 5017 } | 5017 } |
| 5018 | 5018 |
| 5019 @override | 5019 @override |
| 5020 List<idl.UnlinkedImport> get imports { | 5020 List<idl.UnlinkedImport> get imports { |
| 5021 _imports ??= const fb.ListReader<idl.UnlinkedImport>(const _UnlinkedImportRe
ader()).vTableGet(_bp, 4, const <idl.UnlinkedImport>[]); | 5021 _imports ??= const fb.ListReader<idl.UnlinkedImport>(const _UnlinkedImportRe
ader()).vTableGet(_bp, 5, const <idl.UnlinkedImport>[]); |
| 5022 return _imports; | 5022 return _imports; |
| 5023 } | 5023 } |
| 5024 | 5024 |
| 5025 @override | 5025 @override |
| 5026 List<idl.UnlinkedConst> get libraryAnnotations { | 5026 List<idl.UnlinkedConst> get libraryAnnotations { |
| 5027 _libraryAnnotations ??= const fb.ListReader<idl.UnlinkedConst>(const _Unlink
edConstReader()).vTableGet(_bp, 5, const <idl.UnlinkedConst>[]); | 5027 _libraryAnnotations ??= const fb.ListReader<idl.UnlinkedConst>(const _Unlink
edConstReader()).vTableGet(_bp, 14, const <idl.UnlinkedConst>[]); |
| 5028 return _libraryAnnotations; | 5028 return _libraryAnnotations; |
| 5029 } | 5029 } |
| 5030 | 5030 |
| 5031 @override | 5031 @override |
| 5032 idl.UnlinkedDocumentationComment get libraryDocumentationComment { | 5032 idl.UnlinkedDocumentationComment get libraryDocumentationComment { |
| 5033 _libraryDocumentationComment ??= const _UnlinkedDocumentationCommentReader()
.vTableGet(_bp, 6, null); | 5033 _libraryDocumentationComment ??= const _UnlinkedDocumentationCommentReader()
.vTableGet(_bp, 9, null); |
| 5034 return _libraryDocumentationComment; | 5034 return _libraryDocumentationComment; |
| 5035 } | 5035 } |
| 5036 | 5036 |
| 5037 @override | 5037 @override |
| 5038 String get libraryName { | 5038 String get libraryName { |
| 5039 _libraryName ??= const fb.StringReader().vTableGet(_bp, 7, ''); | 5039 _libraryName ??= const fb.StringReader().vTableGet(_bp, 6, ''); |
| 5040 return _libraryName; | 5040 return _libraryName; |
| 5041 } | 5041 } |
| 5042 | 5042 |
| 5043 @override | 5043 @override |
| 5044 int get libraryNameLength { | 5044 int get libraryNameLength { |
| 5045 _libraryNameLength ??= const fb.Uint32Reader().vTableGet(_bp, 8, 0); | 5045 _libraryNameLength ??= const fb.Uint32Reader().vTableGet(_bp, 7, 0); |
| 5046 return _libraryNameLength; | 5046 return _libraryNameLength; |
| 5047 } | 5047 } |
| 5048 | 5048 |
| 5049 @override | 5049 @override |
| 5050 int get libraryNameOffset { | 5050 int get libraryNameOffset { |
| 5051 _libraryNameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); | 5051 _libraryNameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 8, 0); |
| 5052 return _libraryNameOffset; | 5052 return _libraryNameOffset; |
| 5053 } | 5053 } |
| 5054 | 5054 |
| 5055 @override | 5055 @override |
| 5056 List<idl.UnlinkedPart> get parts { | 5056 List<idl.UnlinkedPart> get parts { |
| 5057 _parts ??= const fb.ListReader<idl.UnlinkedPart>(const _UnlinkedPartReader()
).vTableGet(_bp, 10, const <idl.UnlinkedPart>[]); | 5057 _parts ??= const fb.ListReader<idl.UnlinkedPart>(const _UnlinkedPartReader()
).vTableGet(_bp, 11, const <idl.UnlinkedPart>[]); |
| 5058 return _parts; | 5058 return _parts; |
| 5059 } | 5059 } |
| 5060 | 5060 |
| 5061 @override | 5061 @override |
| 5062 idl.UnlinkedPublicNamespace get publicNamespace { | 5062 idl.UnlinkedPublicNamespace get publicNamespace { |
| 5063 _publicNamespace ??= const _UnlinkedPublicNamespaceReader().vTableGet(_bp, 1
1, null); | 5063 _publicNamespace ??= const _UnlinkedPublicNamespaceReader().vTableGet(_bp, 0
, null); |
| 5064 return _publicNamespace; | 5064 return _publicNamespace; |
| 5065 } | 5065 } |
| 5066 | 5066 |
| 5067 @override | 5067 @override |
| 5068 List<idl.UnlinkedReference> get references { | 5068 List<idl.UnlinkedReference> get references { |
| 5069 _references ??= const fb.ListReader<idl.UnlinkedReference>(const _UnlinkedRe
ferenceReader()).vTableGet(_bp, 12, const <idl.UnlinkedReference>[]); | 5069 _references ??= const fb.ListReader<idl.UnlinkedReference>(const _UnlinkedRe
ferenceReader()).vTableGet(_bp, 1, const <idl.UnlinkedReference>[]); |
| 5070 return _references; | 5070 return _references; |
| 5071 } | 5071 } |
| 5072 | 5072 |
| 5073 @override | 5073 @override |
| 5074 List<idl.UnlinkedTypedef> get typedefs { | 5074 List<idl.UnlinkedTypedef> get typedefs { |
| 5075 _typedefs ??= const fb.ListReader<idl.UnlinkedTypedef>(const _UnlinkedTypede
fReader()).vTableGet(_bp, 13, const <idl.UnlinkedTypedef>[]); | 5075 _typedefs ??= const fb.ListReader<idl.UnlinkedTypedef>(const _UnlinkedTypede
fReader()).vTableGet(_bp, 10, const <idl.UnlinkedTypedef>[]); |
| 5076 return _typedefs; | 5076 return _typedefs; |
| 5077 } | 5077 } |
| 5078 | 5078 |
| 5079 @override | 5079 @override |
| 5080 List<idl.UnlinkedVariable> get variables { | 5080 List<idl.UnlinkedVariable> get variables { |
| 5081 _variables ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVari
ableReader()).vTableGet(_bp, 14, const <idl.UnlinkedVariable>[]); | 5081 _variables ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVari
ableReader()).vTableGet(_bp, 3, const <idl.UnlinkedVariable>[]); |
| 5082 return _variables; | 5082 return _variables; |
| 5083 } | 5083 } |
| 5084 } | 5084 } |
| 5085 | 5085 |
| 5086 abstract class _UnlinkedUnitMixin implements idl.UnlinkedUnit { | 5086 abstract class _UnlinkedUnitMixin implements idl.UnlinkedUnit { |
| 5087 @override | 5087 @override |
| 5088 Map<String, Object> toMap() => { | 5088 Map<String, Object> toMap() => { |
| 5089 "classes": classes, | 5089 "classes": classes, |
| 5090 "enums": enums, | 5090 "enums": enums, |
| 5091 "executables": executables, | 5091 "executables": executables, |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5289 offset_documentationComment = _documentationComment.finish(fbBuilder); | 5289 offset_documentationComment = _documentationComment.finish(fbBuilder); |
| 5290 } | 5290 } |
| 5291 if (_name != null) { | 5291 if (_name != null) { |
| 5292 offset_name = fbBuilder.writeString(_name); | 5292 offset_name = fbBuilder.writeString(_name); |
| 5293 } | 5293 } |
| 5294 if (_type != null) { | 5294 if (_type != null) { |
| 5295 offset_type = _type.finish(fbBuilder); | 5295 offset_type = _type.finish(fbBuilder); |
| 5296 } | 5296 } |
| 5297 fbBuilder.startTable(); | 5297 fbBuilder.startTable(); |
| 5298 if (offset_annotations != null) { | 5298 if (offset_annotations != null) { |
| 5299 fbBuilder.addOffset(0, offset_annotations); | 5299 fbBuilder.addOffset(8, offset_annotations); |
| 5300 } | 5300 } |
| 5301 if (offset_constExpr != null) { | 5301 if (offset_constExpr != null) { |
| 5302 fbBuilder.addOffset(1, offset_constExpr); | 5302 fbBuilder.addOffset(5, offset_constExpr); |
| 5303 } | 5303 } |
| 5304 if (offset_documentationComment != null) { | 5304 if (offset_documentationComment != null) { |
| 5305 fbBuilder.addOffset(2, offset_documentationComment); | 5305 fbBuilder.addOffset(10, offset_documentationComment); |
| 5306 } | 5306 } |
| 5307 if (_inferredTypeSlot != null && _inferredTypeSlot != 0) { | 5307 if (_inferredTypeSlot != null && _inferredTypeSlot != 0) { |
| 5308 fbBuilder.addUint32(3, _inferredTypeSlot); | 5308 fbBuilder.addUint32(9, _inferredTypeSlot); |
| 5309 } | 5309 } |
| 5310 if (_isConst == true) { | 5310 if (_isConst == true) { |
| 5311 fbBuilder.addBool(6, true); |
| 5312 } |
| 5313 if (_isFinal == true) { |
| 5314 fbBuilder.addBool(7, true); |
| 5315 } |
| 5316 if (_isStatic == true) { |
| 5311 fbBuilder.addBool(4, true); | 5317 fbBuilder.addBool(4, true); |
| 5312 } | 5318 } |
| 5313 if (_isFinal == true) { | |
| 5314 fbBuilder.addBool(5, true); | |
| 5315 } | |
| 5316 if (_isStatic == true) { | |
| 5317 fbBuilder.addBool(6, true); | |
| 5318 } | |
| 5319 if (offset_name != null) { | 5319 if (offset_name != null) { |
| 5320 fbBuilder.addOffset(7, offset_name); | 5320 fbBuilder.addOffset(0, offset_name); |
| 5321 } | 5321 } |
| 5322 if (_nameOffset != null && _nameOffset != 0) { | 5322 if (_nameOffset != null && _nameOffset != 0) { |
| 5323 fbBuilder.addUint32(8, _nameOffset); | 5323 fbBuilder.addUint32(1, _nameOffset); |
| 5324 } | 5324 } |
| 5325 if (_propagatedTypeSlot != null && _propagatedTypeSlot != 0) { | 5325 if (_propagatedTypeSlot != null && _propagatedTypeSlot != 0) { |
| 5326 fbBuilder.addUint32(9, _propagatedTypeSlot); | 5326 fbBuilder.addUint32(2, _propagatedTypeSlot); |
| 5327 } | 5327 } |
| 5328 if (offset_type != null) { | 5328 if (offset_type != null) { |
| 5329 fbBuilder.addOffset(10, offset_type); | 5329 fbBuilder.addOffset(3, offset_type); |
| 5330 } | 5330 } |
| 5331 return fbBuilder.endTable(); | 5331 return fbBuilder.endTable(); |
| 5332 } | 5332 } |
| 5333 } | 5333 } |
| 5334 | 5334 |
| 5335 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { | 5335 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { |
| 5336 const _UnlinkedVariableReader(); | 5336 const _UnlinkedVariableReader(); |
| 5337 | 5337 |
| 5338 @override | 5338 @override |
| 5339 _UnlinkedVariableImpl createObject(fb.BufferPointer bp) => new _UnlinkedVariab
leImpl(bp); | 5339 _UnlinkedVariableImpl createObject(fb.BufferPointer bp) => new _UnlinkedVariab
leImpl(bp); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5351 bool _isConst; | 5351 bool _isConst; |
| 5352 bool _isFinal; | 5352 bool _isFinal; |
| 5353 bool _isStatic; | 5353 bool _isStatic; |
| 5354 String _name; | 5354 String _name; |
| 5355 int _nameOffset; | 5355 int _nameOffset; |
| 5356 int _propagatedTypeSlot; | 5356 int _propagatedTypeSlot; |
| 5357 idl.EntityRef _type; | 5357 idl.EntityRef _type; |
| 5358 | 5358 |
| 5359 @override | 5359 @override |
| 5360 List<idl.UnlinkedConst> get annotations { | 5360 List<idl.UnlinkedConst> get annotations { |
| 5361 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 0, const <idl.UnlinkedConst>[]); | 5361 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 8, const <idl.UnlinkedConst>[]); |
| 5362 return _annotations; | 5362 return _annotations; |
| 5363 } | 5363 } |
| 5364 | 5364 |
| 5365 @override | 5365 @override |
| 5366 idl.UnlinkedConst get constExpr { | 5366 idl.UnlinkedConst get constExpr { |
| 5367 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); | 5367 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bp, 5, null); |
| 5368 return _constExpr; | 5368 return _constExpr; |
| 5369 } | 5369 } |
| 5370 | 5370 |
| 5371 @override | 5371 @override |
| 5372 idl.UnlinkedDocumentationComment get documentationComment { | 5372 idl.UnlinkedDocumentationComment get documentationComment { |
| 5373 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); | 5373 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 10, null); |
| 5374 return _documentationComment; | 5374 return _documentationComment; |
| 5375 } | 5375 } |
| 5376 | 5376 |
| 5377 @override | 5377 @override |
| 5378 int get inferredTypeSlot { | 5378 int get inferredTypeSlot { |
| 5379 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 5379 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); |
| 5380 return _inferredTypeSlot; | 5380 return _inferredTypeSlot; |
| 5381 } | 5381 } |
| 5382 | 5382 |
| 5383 @override | 5383 @override |
| 5384 bool get isConst { | 5384 bool get isConst { |
| 5385 _isConst ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 5385 _isConst ??= const fb.BoolReader().vTableGet(_bp, 6, false); |
| 5386 return _isConst; | 5386 return _isConst; |
| 5387 } | 5387 } |
| 5388 | 5388 |
| 5389 @override | 5389 @override |
| 5390 bool get isFinal { | 5390 bool get isFinal { |
| 5391 _isFinal ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 5391 _isFinal ??= const fb.BoolReader().vTableGet(_bp, 7, false); |
| 5392 return _isFinal; | 5392 return _isFinal; |
| 5393 } | 5393 } |
| 5394 | 5394 |
| 5395 @override | 5395 @override |
| 5396 bool get isStatic { | 5396 bool get isStatic { |
| 5397 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 5397 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 4, false); |
| 5398 return _isStatic; | 5398 return _isStatic; |
| 5399 } | 5399 } |
| 5400 | 5400 |
| 5401 @override | 5401 @override |
| 5402 String get name { | 5402 String get name { |
| 5403 _name ??= const fb.StringReader().vTableGet(_bp, 7, ''); | 5403 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); |
| 5404 return _name; | 5404 return _name; |
| 5405 } | 5405 } |
| 5406 | 5406 |
| 5407 @override | 5407 @override |
| 5408 int get nameOffset { | 5408 int get nameOffset { |
| 5409 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 8, 0); | 5409 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); |
| 5410 return _nameOffset; | 5410 return _nameOffset; |
| 5411 } | 5411 } |
| 5412 | 5412 |
| 5413 @override | 5413 @override |
| 5414 int get propagatedTypeSlot { | 5414 int get propagatedTypeSlot { |
| 5415 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); | 5415 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); |
| 5416 return _propagatedTypeSlot; | 5416 return _propagatedTypeSlot; |
| 5417 } | 5417 } |
| 5418 | 5418 |
| 5419 @override | 5419 @override |
| 5420 idl.EntityRef get type { | 5420 idl.EntityRef get type { |
| 5421 _type ??= const _EntityRefReader().vTableGet(_bp, 10, null); | 5421 _type ??= const _EntityRefReader().vTableGet(_bp, 3, null); |
| 5422 return _type; | 5422 return _type; |
| 5423 } | 5423 } |
| 5424 } | 5424 } |
| 5425 | 5425 |
| 5426 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { | 5426 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { |
| 5427 @override | 5427 @override |
| 5428 Map<String, Object> toMap() => { | 5428 Map<String, Object> toMap() => { |
| 5429 "annotations": annotations, | 5429 "annotations": annotations, |
| 5430 "constExpr": constExpr, | 5430 "constExpr": constExpr, |
| 5431 "documentationComment": documentationComment, | 5431 "documentationComment": documentationComment, |
| 5432 "inferredTypeSlot": inferredTypeSlot, | 5432 "inferredTypeSlot": inferredTypeSlot, |
| 5433 "isConst": isConst, | 5433 "isConst": isConst, |
| 5434 "isFinal": isFinal, | 5434 "isFinal": isFinal, |
| 5435 "isStatic": isStatic, | 5435 "isStatic": isStatic, |
| 5436 "name": name, | 5436 "name": name, |
| 5437 "nameOffset": nameOffset, | 5437 "nameOffset": nameOffset, |
| 5438 "propagatedTypeSlot": propagatedTypeSlot, | 5438 "propagatedTypeSlot": propagatedTypeSlot, |
| 5439 "type": type, | 5439 "type": type, |
| 5440 }; | 5440 }; |
| 5441 } | 5441 } |
| 5442 | 5442 |
| OLD | NEW |