| 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; |
| 11 import 'idl.dart' as idl; | 11 import 'idl.dart' as idl; |
| 12 import 'dart:convert' as convert; | 12 import 'dart:convert' as convert; |
| 13 | 13 |
| 14 class _CacheSourceKindReader extends fb.Reader<idl.CacheSourceKind> { | 14 class _CacheSourceKindReader extends fb.Reader<idl.CacheSourceKind> { |
| 15 const _CacheSourceKindReader() : super(); | 15 const _CacheSourceKindReader() : super(); |
| 16 | 16 |
| 17 @override | 17 @override |
| 18 int get size => 1; | 18 int get size => 1; |
| 19 | 19 |
| 20 @override | 20 @override |
| 21 idl.CacheSourceKind read(fb.BufferPointer bp) { | 21 idl.CacheSourceKind read(fb.BufferContext bc, int offset) { |
| 22 int index = const fb.Uint8Reader().read(bp); | 22 int index = const fb.Uint8Reader().read(bc, offset); |
| 23 return index < idl.CacheSourceKind.values.length ? idl.CacheSourceKind.value
s[index] : idl.CacheSourceKind.library; | 23 return index < idl.CacheSourceKind.values.length ? idl.CacheSourceKind.value
s[index] : idl.CacheSourceKind.library; |
| 24 } | 24 } |
| 25 } | 25 } |
| 26 | 26 |
| 27 class _IndexNameKindReader extends fb.Reader<idl.IndexNameKind> { | 27 class _IndexNameKindReader extends fb.Reader<idl.IndexNameKind> { |
| 28 const _IndexNameKindReader() : super(); | 28 const _IndexNameKindReader() : super(); |
| 29 | 29 |
| 30 @override | 30 @override |
| 31 int get size => 1; | 31 int get size => 1; |
| 32 | 32 |
| 33 @override | 33 @override |
| 34 idl.IndexNameKind read(fb.BufferPointer bp) { | 34 idl.IndexNameKind read(fb.BufferContext bc, int offset) { |
| 35 int index = const fb.Uint8Reader().read(bp); | 35 int index = const fb.Uint8Reader().read(bc, offset); |
| 36 return index < idl.IndexNameKind.values.length ? idl.IndexNameKind.values[in
dex] : idl.IndexNameKind.topLevel; | 36 return index < idl.IndexNameKind.values.length ? idl.IndexNameKind.values[in
dex] : idl.IndexNameKind.topLevel; |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { | 40 class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { |
| 41 const _IndexRelationKindReader() : super(); | 41 const _IndexRelationKindReader() : super(); |
| 42 | 42 |
| 43 @override | 43 @override |
| 44 int get size => 1; | 44 int get size => 1; |
| 45 | 45 |
| 46 @override | 46 @override |
| 47 idl.IndexRelationKind read(fb.BufferPointer bp) { | 47 idl.IndexRelationKind read(fb.BufferContext bc, int offset) { |
| 48 int index = const fb.Uint8Reader().read(bp); | 48 int index = const fb.Uint8Reader().read(bc, offset); |
| 49 return index < idl.IndexRelationKind.values.length ? idl.IndexRelationKind.v
alues[index] : idl.IndexRelationKind.IS_ANCESTOR_OF; | 49 return index < idl.IndexRelationKind.values.length ? idl.IndexRelationKind.v
alues[index] : idl.IndexRelationKind.IS_ANCESTOR_OF; |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 | 52 |
| 53 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { | 53 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { |
| 54 const _IndexSyntheticElementKindReader() : super(); | 54 const _IndexSyntheticElementKindReader() : super(); |
| 55 | 55 |
| 56 @override | 56 @override |
| 57 int get size => 1; | 57 int get size => 1; |
| 58 | 58 |
| 59 @override | 59 @override |
| 60 idl.IndexSyntheticElementKind read(fb.BufferPointer bp) { | 60 idl.IndexSyntheticElementKind read(fb.BufferContext bc, int offset) { |
| 61 int index = const fb.Uint8Reader().read(bp); | 61 int index = const fb.Uint8Reader().read(bc, offset); |
| 62 return index < idl.IndexSyntheticElementKind.values.length ? idl.IndexSynthe
ticElementKind.values[index] : idl.IndexSyntheticElementKind.notSynthetic; | 62 return index < idl.IndexSyntheticElementKind.values.length ? idl.IndexSynthe
ticElementKind.values[index] : idl.IndexSyntheticElementKind.notSynthetic; |
| 63 } | 63 } |
| 64 } | 64 } |
| 65 | 65 |
| 66 class _ReferenceKindReader extends fb.Reader<idl.ReferenceKind> { | 66 class _ReferenceKindReader extends fb.Reader<idl.ReferenceKind> { |
| 67 const _ReferenceKindReader() : super(); | 67 const _ReferenceKindReader() : super(); |
| 68 | 68 |
| 69 @override | 69 @override |
| 70 int get size => 1; | 70 int get size => 1; |
| 71 | 71 |
| 72 @override | 72 @override |
| 73 idl.ReferenceKind read(fb.BufferPointer bp) { | 73 idl.ReferenceKind read(fb.BufferContext bc, int offset) { |
| 74 int index = const fb.Uint8Reader().read(bp); | 74 int index = const fb.Uint8Reader().read(bc, offset); |
| 75 return index < idl.ReferenceKind.values.length ? idl.ReferenceKind.values[in
dex] : idl.ReferenceKind.classOrEnum; | 75 return index < idl.ReferenceKind.values.length ? idl.ReferenceKind.values[in
dex] : idl.ReferenceKind.classOrEnum; |
| 76 } | 76 } |
| 77 } | 77 } |
| 78 | 78 |
| 79 class _UnlinkedConstOperationReader extends fb.Reader<idl.UnlinkedConstOperation
> { | 79 class _UnlinkedConstOperationReader extends fb.Reader<idl.UnlinkedConstOperation
> { |
| 80 const _UnlinkedConstOperationReader() : super(); | 80 const _UnlinkedConstOperationReader() : super(); |
| 81 | 81 |
| 82 @override | 82 @override |
| 83 int get size => 1; | 83 int get size => 1; |
| 84 | 84 |
| 85 @override | 85 @override |
| 86 idl.UnlinkedConstOperation read(fb.BufferPointer bp) { | 86 idl.UnlinkedConstOperation read(fb.BufferContext bc, int offset) { |
| 87 int index = const fb.Uint8Reader().read(bp); | 87 int index = const fb.Uint8Reader().read(bc, offset); |
| 88 return index < idl.UnlinkedConstOperation.values.length ? idl.UnlinkedConstO
peration.values[index] : idl.UnlinkedConstOperation.pushInt; | 88 return index < idl.UnlinkedConstOperation.values.length ? idl.UnlinkedConstO
peration.values[index] : idl.UnlinkedConstOperation.pushInt; |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 | 91 |
| 92 class _UnlinkedConstructorInitializerKindReader extends fb.Reader<idl.UnlinkedCo
nstructorInitializerKind> { | 92 class _UnlinkedConstructorInitializerKindReader extends fb.Reader<idl.UnlinkedCo
nstructorInitializerKind> { |
| 93 const _UnlinkedConstructorInitializerKindReader() : super(); | 93 const _UnlinkedConstructorInitializerKindReader() : super(); |
| 94 | 94 |
| 95 @override | 95 @override |
| 96 int get size => 1; | 96 int get size => 1; |
| 97 | 97 |
| 98 @override | 98 @override |
| 99 idl.UnlinkedConstructorInitializerKind read(fb.BufferPointer bp) { | 99 idl.UnlinkedConstructorInitializerKind read(fb.BufferContext bc, int offset) { |
| 100 int index = const fb.Uint8Reader().read(bp); | 100 int index = const fb.Uint8Reader().read(bc, offset); |
| 101 return index < idl.UnlinkedConstructorInitializerKind.values.length ? idl.Un
linkedConstructorInitializerKind.values[index] : idl.UnlinkedConstructorInitiali
zerKind.field; | 101 return index < idl.UnlinkedConstructorInitializerKind.values.length ? idl.Un
linkedConstructorInitializerKind.values[index] : idl.UnlinkedConstructorInitiali
zerKind.field; |
| 102 } | 102 } |
| 103 } | 103 } |
| 104 | 104 |
| 105 class _UnlinkedExecutableKindReader extends fb.Reader<idl.UnlinkedExecutableKind
> { | 105 class _UnlinkedExecutableKindReader extends fb.Reader<idl.UnlinkedExecutableKind
> { |
| 106 const _UnlinkedExecutableKindReader() : super(); | 106 const _UnlinkedExecutableKindReader() : super(); |
| 107 | 107 |
| 108 @override | 108 @override |
| 109 int get size => 1; | 109 int get size => 1; |
| 110 | 110 |
| 111 @override | 111 @override |
| 112 idl.UnlinkedExecutableKind read(fb.BufferPointer bp) { | 112 idl.UnlinkedExecutableKind read(fb.BufferContext bc, int offset) { |
| 113 int index = const fb.Uint8Reader().read(bp); | 113 int index = const fb.Uint8Reader().read(bc, offset); |
| 114 return index < idl.UnlinkedExecutableKind.values.length ? idl.UnlinkedExecut
ableKind.values[index] : idl.UnlinkedExecutableKind.functionOrMethod; | 114 return index < idl.UnlinkedExecutableKind.values.length ? idl.UnlinkedExecut
ableKind.values[index] : idl.UnlinkedExecutableKind.functionOrMethod; |
| 115 } | 115 } |
| 116 } | 116 } |
| 117 | 117 |
| 118 class _UnlinkedExprAssignOperatorReader extends fb.Reader<idl.UnlinkedExprAssign
Operator> { | 118 class _UnlinkedExprAssignOperatorReader extends fb.Reader<idl.UnlinkedExprAssign
Operator> { |
| 119 const _UnlinkedExprAssignOperatorReader() : super(); | 119 const _UnlinkedExprAssignOperatorReader() : super(); |
| 120 | 120 |
| 121 @override | 121 @override |
| 122 int get size => 1; | 122 int get size => 1; |
| 123 | 123 |
| 124 @override | 124 @override |
| 125 idl.UnlinkedExprAssignOperator read(fb.BufferPointer bp) { | 125 idl.UnlinkedExprAssignOperator read(fb.BufferContext bc, int offset) { |
| 126 int index = const fb.Uint8Reader().read(bp); | 126 int index = const fb.Uint8Reader().read(bc, offset); |
| 127 return index < idl.UnlinkedExprAssignOperator.values.length ? idl.UnlinkedEx
prAssignOperator.values[index] : idl.UnlinkedExprAssignOperator.assign; | 127 return index < idl.UnlinkedExprAssignOperator.values.length ? idl.UnlinkedEx
prAssignOperator.values[index] : idl.UnlinkedExprAssignOperator.assign; |
| 128 } | 128 } |
| 129 } | 129 } |
| 130 | 130 |
| 131 class _UnlinkedParamKindReader extends fb.Reader<idl.UnlinkedParamKind> { | 131 class _UnlinkedParamKindReader extends fb.Reader<idl.UnlinkedParamKind> { |
| 132 const _UnlinkedParamKindReader() : super(); | 132 const _UnlinkedParamKindReader() : super(); |
| 133 | 133 |
| 134 @override | 134 @override |
| 135 int get size => 1; | 135 int get size => 1; |
| 136 | 136 |
| 137 @override | 137 @override |
| 138 idl.UnlinkedParamKind read(fb.BufferPointer bp) { | 138 idl.UnlinkedParamKind read(fb.BufferContext bc, int offset) { |
| 139 int index = const fb.Uint8Reader().read(bp); | 139 int index = const fb.Uint8Reader().read(bc, offset); |
| 140 return index < idl.UnlinkedParamKind.values.length ? idl.UnlinkedParamKind.v
alues[index] : idl.UnlinkedParamKind.required; | 140 return index < idl.UnlinkedParamKind.values.length ? idl.UnlinkedParamKind.v
alues[index] : idl.UnlinkedParamKind.required; |
| 141 } | 141 } |
| 142 } | 142 } |
| 143 | 143 |
| 144 class CacheSourceContentBuilder extends Object with _CacheSourceContentMixin imp
lements idl.CacheSourceContent { | 144 class CacheSourceContentBuilder extends Object with _CacheSourceContentMixin imp
lements idl.CacheSourceContent { |
| 145 bool _finished = false; | 145 bool _finished = false; |
| 146 | 146 |
| 147 List<String> _exportedUris; | 147 List<String> _exportedUris; |
| 148 List<String> _importedUris; | 148 List<String> _importedUris; |
| 149 idl.CacheSourceKind _kind; | 149 idl.CacheSourceKind _kind; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 fbBuilder.addUint8(0, _kind.index); | 239 fbBuilder.addUint8(0, _kind.index); |
| 240 } | 240 } |
| 241 if (offset_partUris != null) { | 241 if (offset_partUris != null) { |
| 242 fbBuilder.addOffset(3, offset_partUris); | 242 fbBuilder.addOffset(3, offset_partUris); |
| 243 } | 243 } |
| 244 return fbBuilder.endTable(); | 244 return fbBuilder.endTable(); |
| 245 } | 245 } |
| 246 } | 246 } |
| 247 | 247 |
| 248 idl.CacheSourceContent readCacheSourceContent(List<int> buffer) { | 248 idl.CacheSourceContent readCacheSourceContent(List<int> buffer) { |
| 249 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 249 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 250 return const _CacheSourceContentReader().read(rootRef); | 250 return const _CacheSourceContentReader().read(rootRef, 0); |
| 251 } | 251 } |
| 252 | 252 |
| 253 class _CacheSourceContentReader extends fb.TableReader<_CacheSourceContentImpl>
{ | 253 class _CacheSourceContentReader extends fb.TableReader<_CacheSourceContentImpl>
{ |
| 254 const _CacheSourceContentReader(); | 254 const _CacheSourceContentReader(); |
| 255 | 255 |
| 256 @override | 256 @override |
| 257 _CacheSourceContentImpl createObject(fb.BufferPointer bp) => new _CacheSourceC
ontentImpl(bp); | 257 _CacheSourceContentImpl createObject(fb.BufferContext bc, int offset) => new _
CacheSourceContentImpl(bc, offset); |
| 258 } | 258 } |
| 259 | 259 |
| 260 class _CacheSourceContentImpl extends Object with _CacheSourceContentMixin imple
ments idl.CacheSourceContent { | 260 class _CacheSourceContentImpl extends Object with _CacheSourceContentMixin imple
ments idl.CacheSourceContent { |
| 261 final fb.BufferPointer _bp; | 261 final fb.BufferContext _bc; |
| 262 final int _bcOffset; |
| 262 | 263 |
| 263 _CacheSourceContentImpl(this._bp); | 264 _CacheSourceContentImpl(this._bc, this._bcOffset); |
| 264 | 265 |
| 265 List<String> _exportedUris; | 266 List<String> _exportedUris; |
| 266 List<String> _importedUris; | 267 List<String> _importedUris; |
| 267 idl.CacheSourceKind _kind; | 268 idl.CacheSourceKind _kind; |
| 268 List<String> _partUris; | 269 List<String> _partUris; |
| 269 | 270 |
| 270 @override | 271 @override |
| 271 List<String> get exportedUris { | 272 List<String> get exportedUris { |
| 272 _exportedUris ??= const fb.ListReader<String>(const fb.StringReader()).vTabl
eGet(_bp, 2, const <String>[]); | 273 _exportedUris ??= const fb.ListReader<String>(const fb.StringReader()).vTabl
eGet(_bc, _bcOffset, 2, const <String>[]); |
| 273 return _exportedUris; | 274 return _exportedUris; |
| 274 } | 275 } |
| 275 | 276 |
| 276 @override | 277 @override |
| 277 List<String> get importedUris { | 278 List<String> get importedUris { |
| 278 _importedUris ??= const fb.ListReader<String>(const fb.StringReader()).vTabl
eGet(_bp, 1, const <String>[]); | 279 _importedUris ??= const fb.ListReader<String>(const fb.StringReader()).vTabl
eGet(_bc, _bcOffset, 1, const <String>[]); |
| 279 return _importedUris; | 280 return _importedUris; |
| 280 } | 281 } |
| 281 | 282 |
| 282 @override | 283 @override |
| 283 idl.CacheSourceKind get kind { | 284 idl.CacheSourceKind get kind { |
| 284 _kind ??= const _CacheSourceKindReader().vTableGet(_bp, 0, idl.CacheSourceKi
nd.library); | 285 _kind ??= const _CacheSourceKindReader().vTableGet(_bc, _bcOffset, 0, idl.Ca
cheSourceKind.library); |
| 285 return _kind; | 286 return _kind; |
| 286 } | 287 } |
| 287 | 288 |
| 288 @override | 289 @override |
| 289 List<String> get partUris { | 290 List<String> get partUris { |
| 290 _partUris ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet
(_bp, 3, const <String>[]); | 291 _partUris ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet
(_bc, _bcOffset, 3, const <String>[]); |
| 291 return _partUris; | 292 return _partUris; |
| 292 } | 293 } |
| 293 } | 294 } |
| 294 | 295 |
| 295 abstract class _CacheSourceContentMixin implements idl.CacheSourceContent { | 296 abstract class _CacheSourceContentMixin implements idl.CacheSourceContent { |
| 296 @override | 297 @override |
| 297 Map<String, Object> toJson() { | 298 Map<String, Object> toJson() { |
| 298 Map<String, Object> _result = <String, Object>{}; | 299 Map<String, Object> _result = <String, Object>{}; |
| 299 if (exportedUris.isNotEmpty) _result["exportedUris"] = exportedUris; | 300 if (exportedUris.isNotEmpty) _result["exportedUris"] = exportedUris; |
| 300 if (importedUris.isNotEmpty) _result["importedUris"] = importedUris; | 301 if (importedUris.isNotEmpty) _result["importedUris"] = importedUris; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 fbBuilder.addUint32(0, _offset); | 367 fbBuilder.addUint32(0, _offset); |
| 367 } | 368 } |
| 368 return fbBuilder.endTable(); | 369 return fbBuilder.endTable(); |
| 369 } | 370 } |
| 370 } | 371 } |
| 371 | 372 |
| 372 class _CodeRangeReader extends fb.TableReader<_CodeRangeImpl> { | 373 class _CodeRangeReader extends fb.TableReader<_CodeRangeImpl> { |
| 373 const _CodeRangeReader(); | 374 const _CodeRangeReader(); |
| 374 | 375 |
| 375 @override | 376 @override |
| 376 _CodeRangeImpl createObject(fb.BufferPointer bp) => new _CodeRangeImpl(bp); | 377 _CodeRangeImpl createObject(fb.BufferContext bc, int offset) => new _CodeRange
Impl(bc, offset); |
| 377 } | 378 } |
| 378 | 379 |
| 379 class _CodeRangeImpl extends Object with _CodeRangeMixin implements idl.CodeRang
e { | 380 class _CodeRangeImpl extends Object with _CodeRangeMixin implements idl.CodeRang
e { |
| 380 final fb.BufferPointer _bp; | 381 final fb.BufferContext _bc; |
| 382 final int _bcOffset; |
| 381 | 383 |
| 382 _CodeRangeImpl(this._bp); | 384 _CodeRangeImpl(this._bc, this._bcOffset); |
| 383 | 385 |
| 384 int _length; | 386 int _length; |
| 385 int _offset; | 387 int _offset; |
| 386 | 388 |
| 387 @override | 389 @override |
| 388 int get length { | 390 int get length { |
| 389 _length ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 391 _length ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 390 return _length; | 392 return _length; |
| 391 } | 393 } |
| 392 | 394 |
| 393 @override | 395 @override |
| 394 int get offset { | 396 int get offset { |
| 395 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 397 _offset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 396 return _offset; | 398 return _offset; |
| 397 } | 399 } |
| 398 } | 400 } |
| 399 | 401 |
| 400 abstract class _CodeRangeMixin implements idl.CodeRange { | 402 abstract class _CodeRangeMixin implements idl.CodeRange { |
| 401 @override | 403 @override |
| 402 Map<String, Object> toJson() { | 404 Map<String, Object> toJson() { |
| 403 Map<String, Object> _result = <String, Object>{}; | 405 Map<String, Object> _result = <String, Object>{}; |
| 404 if (length != 0) _result["length"] = length; | 406 if (length != 0) _result["length"] = length; |
| 405 if (offset != 0) _result["offset"] = offset; | 407 if (offset != 0) _result["offset"] = offset; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 fbBuilder.addOffset(1, offset_typeArguments); | 617 fbBuilder.addOffset(1, offset_typeArguments); |
| 616 } | 618 } |
| 617 return fbBuilder.endTable(); | 619 return fbBuilder.endTable(); |
| 618 } | 620 } |
| 619 } | 621 } |
| 620 | 622 |
| 621 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { | 623 class _EntityRefReader extends fb.TableReader<_EntityRefImpl> { |
| 622 const _EntityRefReader(); | 624 const _EntityRefReader(); |
| 623 | 625 |
| 624 @override | 626 @override |
| 625 _EntityRefImpl createObject(fb.BufferPointer bp) => new _EntityRefImpl(bp); | 627 _EntityRefImpl createObject(fb.BufferContext bc, int offset) => new _EntityRef
Impl(bc, offset); |
| 626 } | 628 } |
| 627 | 629 |
| 628 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { | 630 class _EntityRefImpl extends Object with _EntityRefMixin implements idl.EntityRe
f { |
| 629 final fb.BufferPointer _bp; | 631 final fb.BufferContext _bc; |
| 632 final int _bcOffset; |
| 630 | 633 |
| 631 _EntityRefImpl(this._bp); | 634 _EntityRefImpl(this._bc, this._bcOffset); |
| 632 | 635 |
| 633 List<int> _implicitFunctionTypeIndices; | 636 List<int> _implicitFunctionTypeIndices; |
| 634 int _paramReference; | 637 int _paramReference; |
| 635 int _reference; | 638 int _reference; |
| 636 int _slot; | 639 int _slot; |
| 637 List<idl.UnlinkedParam> _syntheticParams; | 640 List<idl.UnlinkedParam> _syntheticParams; |
| 638 idl.EntityRef _syntheticReturnType; | 641 idl.EntityRef _syntheticReturnType; |
| 639 List<idl.EntityRef> _typeArguments; | 642 List<idl.EntityRef> _typeArguments; |
| 640 | 643 |
| 641 @override | 644 @override |
| 642 List<int> get implicitFunctionTypeIndices { | 645 List<int> get implicitFunctionTypeIndices { |
| 643 _implicitFunctionTypeIndices ??= const fb.Uint32ListReader().vTableGet(_bp,
4, const <int>[]); | 646 _implicitFunctionTypeIndices ??= const fb.Uint32ListReader().vTableGet(_bc,
_bcOffset, 4, const <int>[]); |
| 644 return _implicitFunctionTypeIndices; | 647 return _implicitFunctionTypeIndices; |
| 645 } | 648 } |
| 646 | 649 |
| 647 @override | 650 @override |
| 648 int get paramReference { | 651 int get paramReference { |
| 649 _paramReference ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 652 _paramReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3, 0); |
| 650 return _paramReference; | 653 return _paramReference; |
| 651 } | 654 } |
| 652 | 655 |
| 653 @override | 656 @override |
| 654 int get reference { | 657 int get reference { |
| 655 _reference ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 658 _reference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 656 return _reference; | 659 return _reference; |
| 657 } | 660 } |
| 658 | 661 |
| 659 @override | 662 @override |
| 660 int get slot { | 663 int get slot { |
| 661 _slot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 664 _slot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 662 return _slot; | 665 return _slot; |
| 663 } | 666 } |
| 664 | 667 |
| 665 @override | 668 @override |
| 666 List<idl.UnlinkedParam> get syntheticParams { | 669 List<idl.UnlinkedParam> get syntheticParams { |
| 667 _syntheticParams ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedP
aramReader()).vTableGet(_bp, 6, const <idl.UnlinkedParam>[]); | 670 _syntheticParams ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedP
aramReader()).vTableGet(_bc, _bcOffset, 6, const <idl.UnlinkedParam>[]); |
| 668 return _syntheticParams; | 671 return _syntheticParams; |
| 669 } | 672 } |
| 670 | 673 |
| 671 @override | 674 @override |
| 672 idl.EntityRef get syntheticReturnType { | 675 idl.EntityRef get syntheticReturnType { |
| 673 _syntheticReturnType ??= const _EntityRefReader().vTableGet(_bp, 5, null); | 676 _syntheticReturnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset,
5, null); |
| 674 return _syntheticReturnType; | 677 return _syntheticReturnType; |
| 675 } | 678 } |
| 676 | 679 |
| 677 @override | 680 @override |
| 678 List<idl.EntityRef> get typeArguments { | 681 List<idl.EntityRef> get typeArguments { |
| 679 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bp, 1, const <idl.EntityRef>[]); | 682 _typeArguments ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader
()).vTableGet(_bc, _bcOffset, 1, const <idl.EntityRef>[]); |
| 680 return _typeArguments; | 683 return _typeArguments; |
| 681 } | 684 } |
| 682 } | 685 } |
| 683 | 686 |
| 684 abstract class _EntityRefMixin implements idl.EntityRef { | 687 abstract class _EntityRefMixin implements idl.EntityRef { |
| 685 @override | 688 @override |
| 686 Map<String, Object> toJson() { | 689 Map<String, Object> toJson() { |
| 687 Map<String, Object> _result = <String, Object>{}; | 690 Map<String, Object> _result = <String, Object>{}; |
| 688 if (implicitFunctionTypeIndices.isNotEmpty) _result["implicitFunctionTypeInd
ices"] = implicitFunctionTypeIndices; | 691 if (implicitFunctionTypeIndices.isNotEmpty) _result["implicitFunctionTypeInd
ices"] = implicitFunctionTypeIndices; |
| 689 if (paramReference != 0) _result["paramReference"] = paramReference; | 692 if (paramReference != 0) _result["paramReference"] = paramReference; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 fbBuilder.addOffset(0, offset_uri); | 775 fbBuilder.addOffset(0, offset_uri); |
| 773 } | 776 } |
| 774 return fbBuilder.endTable(); | 777 return fbBuilder.endTable(); |
| 775 } | 778 } |
| 776 } | 779 } |
| 777 | 780 |
| 778 class _LinkedDependencyReader extends fb.TableReader<_LinkedDependencyImpl> { | 781 class _LinkedDependencyReader extends fb.TableReader<_LinkedDependencyImpl> { |
| 779 const _LinkedDependencyReader(); | 782 const _LinkedDependencyReader(); |
| 780 | 783 |
| 781 @override | 784 @override |
| 782 _LinkedDependencyImpl createObject(fb.BufferPointer bp) => new _LinkedDependen
cyImpl(bp); | 785 _LinkedDependencyImpl createObject(fb.BufferContext bc, int offset) => new _Li
nkedDependencyImpl(bc, offset); |
| 783 } | 786 } |
| 784 | 787 |
| 785 class _LinkedDependencyImpl extends Object with _LinkedDependencyMixin implement
s idl.LinkedDependency { | 788 class _LinkedDependencyImpl extends Object with _LinkedDependencyMixin implement
s idl.LinkedDependency { |
| 786 final fb.BufferPointer _bp; | 789 final fb.BufferContext _bc; |
| 790 final int _bcOffset; |
| 787 | 791 |
| 788 _LinkedDependencyImpl(this._bp); | 792 _LinkedDependencyImpl(this._bc, this._bcOffset); |
| 789 | 793 |
| 790 List<String> _parts; | 794 List<String> _parts; |
| 791 String _uri; | 795 String _uri; |
| 792 | 796 |
| 793 @override | 797 @override |
| 794 List<String> get parts { | 798 List<String> get parts { |
| 795 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); | 799 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
c, _bcOffset, 1, const <String>[]); |
| 796 return _parts; | 800 return _parts; |
| 797 } | 801 } |
| 798 | 802 |
| 799 @override | 803 @override |
| 800 String get uri { | 804 String get uri { |
| 801 _uri ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 805 _uri ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 802 return _uri; | 806 return _uri; |
| 803 } | 807 } |
| 804 } | 808 } |
| 805 | 809 |
| 806 abstract class _LinkedDependencyMixin implements idl.LinkedDependency { | 810 abstract class _LinkedDependencyMixin implements idl.LinkedDependency { |
| 807 @override | 811 @override |
| 808 Map<String, Object> toJson() { | 812 Map<String, Object> toJson() { |
| 809 Map<String, Object> _result = <String, Object>{}; | 813 Map<String, Object> _result = <String, Object>{}; |
| 810 if (parts.isNotEmpty) _result["parts"] = parts; | 814 if (parts.isNotEmpty) _result["parts"] = parts; |
| 811 if (uri != '') _result["uri"] = uri; | 815 if (uri != '') _result["uri"] = uri; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 914 fbBuilder.addUint32(2, _unit); | 918 fbBuilder.addUint32(2, _unit); |
| 915 } | 919 } |
| 916 return fbBuilder.endTable(); | 920 return fbBuilder.endTable(); |
| 917 } | 921 } |
| 918 } | 922 } |
| 919 | 923 |
| 920 class _LinkedExportNameReader extends fb.TableReader<_LinkedExportNameImpl> { | 924 class _LinkedExportNameReader extends fb.TableReader<_LinkedExportNameImpl> { |
| 921 const _LinkedExportNameReader(); | 925 const _LinkedExportNameReader(); |
| 922 | 926 |
| 923 @override | 927 @override |
| 924 _LinkedExportNameImpl createObject(fb.BufferPointer bp) => new _LinkedExportNa
meImpl(bp); | 928 _LinkedExportNameImpl createObject(fb.BufferContext bc, int offset) => new _Li
nkedExportNameImpl(bc, offset); |
| 925 } | 929 } |
| 926 | 930 |
| 927 class _LinkedExportNameImpl extends Object with _LinkedExportNameMixin implement
s idl.LinkedExportName { | 931 class _LinkedExportNameImpl extends Object with _LinkedExportNameMixin implement
s idl.LinkedExportName { |
| 928 final fb.BufferPointer _bp; | 932 final fb.BufferContext _bc; |
| 933 final int _bcOffset; |
| 929 | 934 |
| 930 _LinkedExportNameImpl(this._bp); | 935 _LinkedExportNameImpl(this._bc, this._bcOffset); |
| 931 | 936 |
| 932 int _dependency; | 937 int _dependency; |
| 933 idl.ReferenceKind _kind; | 938 idl.ReferenceKind _kind; |
| 934 String _name; | 939 String _name; |
| 935 int _unit; | 940 int _unit; |
| 936 | 941 |
| 937 @override | 942 @override |
| 938 int get dependency { | 943 int get dependency { |
| 939 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 944 _dependency ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 940 return _dependency; | 945 return _dependency; |
| 941 } | 946 } |
| 942 | 947 |
| 943 @override | 948 @override |
| 944 idl.ReferenceKind get kind { | 949 idl.ReferenceKind get kind { |
| 945 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 3, idl.ReferenceKind.c
lassOrEnum); | 950 _kind ??= const _ReferenceKindReader().vTableGet(_bc, _bcOffset, 3, idl.Refe
renceKind.classOrEnum); |
| 946 return _kind; | 951 return _kind; |
| 947 } | 952 } |
| 948 | 953 |
| 949 @override | 954 @override |
| 950 String get name { | 955 String get name { |
| 951 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 956 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); |
| 952 return _name; | 957 return _name; |
| 953 } | 958 } |
| 954 | 959 |
| 955 @override | 960 @override |
| 956 int get unit { | 961 int get unit { |
| 957 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 962 _unit ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 958 return _unit; | 963 return _unit; |
| 959 } | 964 } |
| 960 } | 965 } |
| 961 | 966 |
| 962 abstract class _LinkedExportNameMixin implements idl.LinkedExportName { | 967 abstract class _LinkedExportNameMixin implements idl.LinkedExportName { |
| 963 @override | 968 @override |
| 964 Map<String, Object> toJson() { | 969 Map<String, Object> toJson() { |
| 965 Map<String, Object> _result = <String, Object>{}; | 970 Map<String, Object> _result = <String, Object>{}; |
| 966 if (dependency != 0) _result["dependency"] = dependency; | 971 if (dependency != 0) _result["dependency"] = dependency; |
| 967 if (kind != idl.ReferenceKind.classOrEnum) _result["kind"] = kind.toString()
.split('.')[1]; | 972 if (kind != idl.ReferenceKind.classOrEnum) _result["kind"] = kind.toString()
.split('.')[1]; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1164 fbBuilder.addUint32(2, _numPrelinkedDependencies); | 1169 fbBuilder.addUint32(2, _numPrelinkedDependencies); |
| 1165 } | 1170 } |
| 1166 if (offset_units != null) { | 1171 if (offset_units != null) { |
| 1167 fbBuilder.addOffset(3, offset_units); | 1172 fbBuilder.addOffset(3, offset_units); |
| 1168 } | 1173 } |
| 1169 return fbBuilder.endTable(); | 1174 return fbBuilder.endTable(); |
| 1170 } | 1175 } |
| 1171 } | 1176 } |
| 1172 | 1177 |
| 1173 idl.LinkedLibrary readLinkedLibrary(List<int> buffer) { | 1178 idl.LinkedLibrary readLinkedLibrary(List<int> buffer) { |
| 1174 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 1179 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 1175 return const _LinkedLibraryReader().read(rootRef); | 1180 return const _LinkedLibraryReader().read(rootRef, 0); |
| 1176 } | 1181 } |
| 1177 | 1182 |
| 1178 class _LinkedLibraryReader extends fb.TableReader<_LinkedLibraryImpl> { | 1183 class _LinkedLibraryReader extends fb.TableReader<_LinkedLibraryImpl> { |
| 1179 const _LinkedLibraryReader(); | 1184 const _LinkedLibraryReader(); |
| 1180 | 1185 |
| 1181 @override | 1186 @override |
| 1182 _LinkedLibraryImpl createObject(fb.BufferPointer bp) => new _LinkedLibraryImpl
(bp); | 1187 _LinkedLibraryImpl createObject(fb.BufferContext bc, int offset) => new _Linke
dLibraryImpl(bc, offset); |
| 1183 } | 1188 } |
| 1184 | 1189 |
| 1185 class _LinkedLibraryImpl extends Object with _LinkedLibraryMixin implements idl.
LinkedLibrary { | 1190 class _LinkedLibraryImpl extends Object with _LinkedLibraryMixin implements idl.
LinkedLibrary { |
| 1186 final fb.BufferPointer _bp; | 1191 final fb.BufferContext _bc; |
| 1192 final int _bcOffset; |
| 1187 | 1193 |
| 1188 _LinkedLibraryImpl(this._bp); | 1194 _LinkedLibraryImpl(this._bc, this._bcOffset); |
| 1189 | 1195 |
| 1190 List<idl.LinkedDependency> _dependencies; | 1196 List<idl.LinkedDependency> _dependencies; |
| 1191 List<int> _exportDependencies; | 1197 List<int> _exportDependencies; |
| 1192 List<idl.LinkedExportName> _exportNames; | 1198 List<idl.LinkedExportName> _exportNames; |
| 1193 bool _fallbackMode; | 1199 bool _fallbackMode; |
| 1194 List<int> _importDependencies; | 1200 List<int> _importDependencies; |
| 1195 int _numPrelinkedDependencies; | 1201 int _numPrelinkedDependencies; |
| 1196 List<idl.LinkedUnit> _units; | 1202 List<idl.LinkedUnit> _units; |
| 1197 | 1203 |
| 1198 @override | 1204 @override |
| 1199 List<idl.LinkedDependency> get dependencies { | 1205 List<idl.LinkedDependency> get dependencies { |
| 1200 _dependencies ??= const fb.ListReader<idl.LinkedDependency>(const _LinkedDep
endencyReader()).vTableGet(_bp, 0, const <idl.LinkedDependency>[]); | 1206 _dependencies ??= const fb.ListReader<idl.LinkedDependency>(const _LinkedDep
endencyReader()).vTableGet(_bc, _bcOffset, 0, const <idl.LinkedDependency>[]); |
| 1201 return _dependencies; | 1207 return _dependencies; |
| 1202 } | 1208 } |
| 1203 | 1209 |
| 1204 @override | 1210 @override |
| 1205 List<int> get exportDependencies { | 1211 List<int> get exportDependencies { |
| 1206 _exportDependencies ??= const fb.Uint32ListReader().vTableGet(_bp, 6, const
<int>[]); | 1212 _exportDependencies ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset
, 6, const <int>[]); |
| 1207 return _exportDependencies; | 1213 return _exportDependencies; |
| 1208 } | 1214 } |
| 1209 | 1215 |
| 1210 @override | 1216 @override |
| 1211 List<idl.LinkedExportName> get exportNames { | 1217 List<idl.LinkedExportName> get exportNames { |
| 1212 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo
rtNameReader()).vTableGet(_bp, 4, const <idl.LinkedExportName>[]); | 1218 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo
rtNameReader()).vTableGet(_bc, _bcOffset, 4, const <idl.LinkedExportName>[]); |
| 1213 return _exportNames; | 1219 return _exportNames; |
| 1214 } | 1220 } |
| 1215 | 1221 |
| 1216 @override | 1222 @override |
| 1217 bool get fallbackMode { | 1223 bool get fallbackMode { |
| 1218 _fallbackMode ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 1224 _fallbackMode ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 5, false); |
| 1219 return _fallbackMode; | 1225 return _fallbackMode; |
| 1220 } | 1226 } |
| 1221 | 1227 |
| 1222 @override | 1228 @override |
| 1223 List<int> get importDependencies { | 1229 List<int> get importDependencies { |
| 1224 _importDependencies ??= const fb.Uint32ListReader().vTableGet(_bp, 1, const
<int>[]); | 1230 _importDependencies ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset
, 1, const <int>[]); |
| 1225 return _importDependencies; | 1231 return _importDependencies; |
| 1226 } | 1232 } |
| 1227 | 1233 |
| 1228 @override | 1234 @override |
| 1229 int get numPrelinkedDependencies { | 1235 int get numPrelinkedDependencies { |
| 1230 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 1236 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffs
et, 2, 0); |
| 1231 return _numPrelinkedDependencies; | 1237 return _numPrelinkedDependencies; |
| 1232 } | 1238 } |
| 1233 | 1239 |
| 1234 @override | 1240 @override |
| 1235 List<idl.LinkedUnit> get units { | 1241 List<idl.LinkedUnit> get units { |
| 1236 _units ??= const fb.ListReader<idl.LinkedUnit>(const _LinkedUnitReader()).vT
ableGet(_bp, 3, const <idl.LinkedUnit>[]); | 1242 _units ??= const fb.ListReader<idl.LinkedUnit>(const _LinkedUnitReader()).vT
ableGet(_bc, _bcOffset, 3, const <idl.LinkedUnit>[]); |
| 1237 return _units; | 1243 return _units; |
| 1238 } | 1244 } |
| 1239 } | 1245 } |
| 1240 | 1246 |
| 1241 abstract class _LinkedLibraryMixin implements idl.LinkedLibrary { | 1247 abstract class _LinkedLibraryMixin implements idl.LinkedLibrary { |
| 1242 @override | 1248 @override |
| 1243 Map<String, Object> toJson() { | 1249 Map<String, Object> toJson() { |
| 1244 Map<String, Object> _result = <String, Object>{}; | 1250 Map<String, Object> _result = <String, Object>{}; |
| 1245 if (dependencies.isNotEmpty) _result["dependencies"] = dependencies.map((_va
lue) => _value.toJson()).toList(); | 1251 if (dependencies.isNotEmpty) _result["dependencies"] = dependencies.map((_va
lue) => _value.toJson()).toList(); |
| 1246 if (exportDependencies.isNotEmpty) _result["exportDependencies"] = exportDep
endencies; | 1252 if (exportDependencies.isNotEmpty) _result["exportDependencies"] = exportDep
endencies; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 fbBuilder.addUint32(0, _unit); | 1438 fbBuilder.addUint32(0, _unit); |
| 1433 } | 1439 } |
| 1434 return fbBuilder.endTable(); | 1440 return fbBuilder.endTable(); |
| 1435 } | 1441 } |
| 1436 } | 1442 } |
| 1437 | 1443 |
| 1438 class _LinkedReferenceReader extends fb.TableReader<_LinkedReferenceImpl> { | 1444 class _LinkedReferenceReader extends fb.TableReader<_LinkedReferenceImpl> { |
| 1439 const _LinkedReferenceReader(); | 1445 const _LinkedReferenceReader(); |
| 1440 | 1446 |
| 1441 @override | 1447 @override |
| 1442 _LinkedReferenceImpl createObject(fb.BufferPointer bp) => new _LinkedReference
Impl(bp); | 1448 _LinkedReferenceImpl createObject(fb.BufferContext bc, int offset) => new _Lin
kedReferenceImpl(bc, offset); |
| 1443 } | 1449 } |
| 1444 | 1450 |
| 1445 class _LinkedReferenceImpl extends Object with _LinkedReferenceMixin implements
idl.LinkedReference { | 1451 class _LinkedReferenceImpl extends Object with _LinkedReferenceMixin implements
idl.LinkedReference { |
| 1446 final fb.BufferPointer _bp; | 1452 final fb.BufferContext _bc; |
| 1453 final int _bcOffset; |
| 1447 | 1454 |
| 1448 _LinkedReferenceImpl(this._bp); | 1455 _LinkedReferenceImpl(this._bc, this._bcOffset); |
| 1449 | 1456 |
| 1450 int _containingReference; | 1457 int _containingReference; |
| 1451 int _dependency; | 1458 int _dependency; |
| 1452 idl.ReferenceKind _kind; | 1459 idl.ReferenceKind _kind; |
| 1453 int _localIndex; | 1460 int _localIndex; |
| 1454 String _name; | 1461 String _name; |
| 1455 int _numTypeParameters; | 1462 int _numTypeParameters; |
| 1456 int _unit; | 1463 int _unit; |
| 1457 | 1464 |
| 1458 @override | 1465 @override |
| 1459 int get containingReference { | 1466 int get containingReference { |
| 1460 _containingReference ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); | 1467 _containingReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 5
, 0); |
| 1461 return _containingReference; | 1468 return _containingReference; |
| 1462 } | 1469 } |
| 1463 | 1470 |
| 1464 @override | 1471 @override |
| 1465 int get dependency { | 1472 int get dependency { |
| 1466 _dependency ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 1473 _dependency ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 1467 return _dependency; | 1474 return _dependency; |
| 1468 } | 1475 } |
| 1469 | 1476 |
| 1470 @override | 1477 @override |
| 1471 idl.ReferenceKind get kind { | 1478 idl.ReferenceKind get kind { |
| 1472 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 2, idl.ReferenceKind.c
lassOrEnum); | 1479 _kind ??= const _ReferenceKindReader().vTableGet(_bc, _bcOffset, 2, idl.Refe
renceKind.classOrEnum); |
| 1473 return _kind; | 1480 return _kind; |
| 1474 } | 1481 } |
| 1475 | 1482 |
| 1476 @override | 1483 @override |
| 1477 int get localIndex { | 1484 int get localIndex { |
| 1478 _localIndex ??= const fb.Uint32Reader().vTableGet(_bp, 6, 0); | 1485 _localIndex ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 6, 0); |
| 1479 return _localIndex; | 1486 return _localIndex; |
| 1480 } | 1487 } |
| 1481 | 1488 |
| 1482 @override | 1489 @override |
| 1483 String get name { | 1490 String get name { |
| 1484 _name ??= const fb.StringReader().vTableGet(_bp, 3, ''); | 1491 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 3, ''); |
| 1485 return _name; | 1492 return _name; |
| 1486 } | 1493 } |
| 1487 | 1494 |
| 1488 @override | 1495 @override |
| 1489 int get numTypeParameters { | 1496 int get numTypeParameters { |
| 1490 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 4, 0); | 1497 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 4,
0); |
| 1491 return _numTypeParameters; | 1498 return _numTypeParameters; |
| 1492 } | 1499 } |
| 1493 | 1500 |
| 1494 @override | 1501 @override |
| 1495 int get unit { | 1502 int get unit { |
| 1496 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 1503 _unit ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 1497 return _unit; | 1504 return _unit; |
| 1498 } | 1505 } |
| 1499 } | 1506 } |
| 1500 | 1507 |
| 1501 abstract class _LinkedReferenceMixin implements idl.LinkedReference { | 1508 abstract class _LinkedReferenceMixin implements idl.LinkedReference { |
| 1502 @override | 1509 @override |
| 1503 Map<String, Object> toJson() { | 1510 Map<String, Object> toJson() { |
| 1504 Map<String, Object> _result = <String, Object>{}; | 1511 Map<String, Object> _result = <String, Object>{}; |
| 1505 if (containingReference != 0) _result["containingReference"] = containingRef
erence; | 1512 if (containingReference != 0) _result["containingReference"] = containingRef
erence; |
| 1506 if (dependency != 0) _result["dependency"] = dependency; | 1513 if (dependency != 0) _result["dependency"] = dependency; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1614 fbBuilder.addOffset(1, offset_types); | 1621 fbBuilder.addOffset(1, offset_types); |
| 1615 } | 1622 } |
| 1616 return fbBuilder.endTable(); | 1623 return fbBuilder.endTable(); |
| 1617 } | 1624 } |
| 1618 } | 1625 } |
| 1619 | 1626 |
| 1620 class _LinkedUnitReader extends fb.TableReader<_LinkedUnitImpl> { | 1627 class _LinkedUnitReader extends fb.TableReader<_LinkedUnitImpl> { |
| 1621 const _LinkedUnitReader(); | 1628 const _LinkedUnitReader(); |
| 1622 | 1629 |
| 1623 @override | 1630 @override |
| 1624 _LinkedUnitImpl createObject(fb.BufferPointer bp) => new _LinkedUnitImpl(bp); | 1631 _LinkedUnitImpl createObject(fb.BufferContext bc, int offset) => new _LinkedUn
itImpl(bc, offset); |
| 1625 } | 1632 } |
| 1626 | 1633 |
| 1627 class _LinkedUnitImpl extends Object with _LinkedUnitMixin implements idl.Linked
Unit { | 1634 class _LinkedUnitImpl extends Object with _LinkedUnitMixin implements idl.Linked
Unit { |
| 1628 final fb.BufferPointer _bp; | 1635 final fb.BufferContext _bc; |
| 1636 final int _bcOffset; |
| 1629 | 1637 |
| 1630 _LinkedUnitImpl(this._bp); | 1638 _LinkedUnitImpl(this._bc, this._bcOffset); |
| 1631 | 1639 |
| 1632 List<int> _constCycles; | 1640 List<int> _constCycles; |
| 1633 List<idl.LinkedReference> _references; | 1641 List<idl.LinkedReference> _references; |
| 1634 List<idl.EntityRef> _types; | 1642 List<idl.EntityRef> _types; |
| 1635 | 1643 |
| 1636 @override | 1644 @override |
| 1637 List<int> get constCycles { | 1645 List<int> get constCycles { |
| 1638 _constCycles ??= const fb.Uint32ListReader().vTableGet(_bp, 2, const <int>[]
); | 1646 _constCycles ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 2, co
nst <int>[]); |
| 1639 return _constCycles; | 1647 return _constCycles; |
| 1640 } | 1648 } |
| 1641 | 1649 |
| 1642 @override | 1650 @override |
| 1643 List<idl.LinkedReference> get references { | 1651 List<idl.LinkedReference> get references { |
| 1644 _references ??= const fb.ListReader<idl.LinkedReference>(const _LinkedRefere
nceReader()).vTableGet(_bp, 0, const <idl.LinkedReference>[]); | 1652 _references ??= const fb.ListReader<idl.LinkedReference>(const _LinkedRefere
nceReader()).vTableGet(_bc, _bcOffset, 0, const <idl.LinkedReference>[]); |
| 1645 return _references; | 1653 return _references; |
| 1646 } | 1654 } |
| 1647 | 1655 |
| 1648 @override | 1656 @override |
| 1649 List<idl.EntityRef> get types { | 1657 List<idl.EntityRef> get types { |
| 1650 _types ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTab
leGet(_bp, 1, const <idl.EntityRef>[]); | 1658 _types ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTab
leGet(_bc, _bcOffset, 1, const <idl.EntityRef>[]); |
| 1651 return _types; | 1659 return _types; |
| 1652 } | 1660 } |
| 1653 } | 1661 } |
| 1654 | 1662 |
| 1655 abstract class _LinkedUnitMixin implements idl.LinkedUnit { | 1663 abstract class _LinkedUnitMixin implements idl.LinkedUnit { |
| 1656 @override | 1664 @override |
| 1657 Map<String, Object> toJson() { | 1665 Map<String, Object> toJson() { |
| 1658 Map<String, Object> _result = <String, Object>{}; | 1666 Map<String, Object> _result = <String, Object>{}; |
| 1659 if (constCycles.isNotEmpty) _result["constCycles"] = constCycles; | 1667 if (constCycles.isNotEmpty) _result["constCycles"] = constCycles; |
| 1660 if (references.isNotEmpty) _result["references"] = references.map((_value) =
> _value.toJson()).toList(); | 1668 if (references.isNotEmpty) _result["references"] = references.map((_value) =
> _value.toJson()).toList(); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1833 fbBuilder.addOffset(2, offset_unlinkedUnits); | 1841 fbBuilder.addOffset(2, offset_unlinkedUnits); |
| 1834 } | 1842 } |
| 1835 if (offset_unlinkedUnitUris != null) { | 1843 if (offset_unlinkedUnitUris != null) { |
| 1836 fbBuilder.addOffset(3, offset_unlinkedUnitUris); | 1844 fbBuilder.addOffset(3, offset_unlinkedUnitUris); |
| 1837 } | 1845 } |
| 1838 return fbBuilder.endTable(); | 1846 return fbBuilder.endTable(); |
| 1839 } | 1847 } |
| 1840 } | 1848 } |
| 1841 | 1849 |
| 1842 idl.PackageBundle readPackageBundle(List<int> buffer) { | 1850 idl.PackageBundle readPackageBundle(List<int> buffer) { |
| 1843 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 1851 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 1844 return const _PackageBundleReader().read(rootRef); | 1852 return const _PackageBundleReader().read(rootRef, 0); |
| 1845 } | 1853 } |
| 1846 | 1854 |
| 1847 class _PackageBundleReader extends fb.TableReader<_PackageBundleImpl> { | 1855 class _PackageBundleReader extends fb.TableReader<_PackageBundleImpl> { |
| 1848 const _PackageBundleReader(); | 1856 const _PackageBundleReader(); |
| 1849 | 1857 |
| 1850 @override | 1858 @override |
| 1851 _PackageBundleImpl createObject(fb.BufferPointer bp) => new _PackageBundleImpl
(bp); | 1859 _PackageBundleImpl createObject(fb.BufferContext bc, int offset) => new _Packa
geBundleImpl(bc, offset); |
| 1852 } | 1860 } |
| 1853 | 1861 |
| 1854 class _PackageBundleImpl extends Object with _PackageBundleMixin implements idl.
PackageBundle { | 1862 class _PackageBundleImpl extends Object with _PackageBundleMixin implements idl.
PackageBundle { |
| 1855 final fb.BufferPointer _bp; | 1863 final fb.BufferContext _bc; |
| 1864 final int _bcOffset; |
| 1856 | 1865 |
| 1857 _PackageBundleImpl(this._bp); | 1866 _PackageBundleImpl(this._bc, this._bcOffset); |
| 1858 | 1867 |
| 1859 List<idl.LinkedLibrary> _linkedLibraries; | 1868 List<idl.LinkedLibrary> _linkedLibraries; |
| 1860 List<String> _linkedLibraryUris; | 1869 List<String> _linkedLibraryUris; |
| 1861 int _majorVersion; | 1870 int _majorVersion; |
| 1862 int _minorVersion; | 1871 int _minorVersion; |
| 1863 List<String> _unlinkedUnitHashes; | 1872 List<String> _unlinkedUnitHashes; |
| 1864 List<idl.UnlinkedUnit> _unlinkedUnits; | 1873 List<idl.UnlinkedUnit> _unlinkedUnits; |
| 1865 List<String> _unlinkedUnitUris; | 1874 List<String> _unlinkedUnitUris; |
| 1866 | 1875 |
| 1867 @override | 1876 @override |
| 1868 List<idl.LinkedLibrary> get linkedLibraries { | 1877 List<idl.LinkedLibrary> get linkedLibraries { |
| 1869 _linkedLibraries ??= const fb.ListReader<idl.LinkedLibrary>(const _LinkedLib
raryReader()).vTableGet(_bp, 0, const <idl.LinkedLibrary>[]); | 1878 _linkedLibraries ??= const fb.ListReader<idl.LinkedLibrary>(const _LinkedLib
raryReader()).vTableGet(_bc, _bcOffset, 0, const <idl.LinkedLibrary>[]); |
| 1870 return _linkedLibraries; | 1879 return _linkedLibraries; |
| 1871 } | 1880 } |
| 1872 | 1881 |
| 1873 @override | 1882 @override |
| 1874 List<String> get linkedLibraryUris { | 1883 List<String> get linkedLibraryUris { |
| 1875 _linkedLibraryUris ??= const fb.ListReader<String>(const fb.StringReader()).
vTableGet(_bp, 1, const <String>[]); | 1884 _linkedLibraryUris ??= const fb.ListReader<String>(const fb.StringReader()).
vTableGet(_bc, _bcOffset, 1, const <String>[]); |
| 1876 return _linkedLibraryUris; | 1885 return _linkedLibraryUris; |
| 1877 } | 1886 } |
| 1878 | 1887 |
| 1879 @override | 1888 @override |
| 1880 int get majorVersion { | 1889 int get majorVersion { |
| 1881 _majorVersion ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); | 1890 _majorVersion ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 5, 0); |
| 1882 return _majorVersion; | 1891 return _majorVersion; |
| 1883 } | 1892 } |
| 1884 | 1893 |
| 1885 @override | 1894 @override |
| 1886 int get minorVersion { | 1895 int get minorVersion { |
| 1887 _minorVersion ??= const fb.Uint32Reader().vTableGet(_bp, 6, 0); | 1896 _minorVersion ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 6, 0); |
| 1888 return _minorVersion; | 1897 return _minorVersion; |
| 1889 } | 1898 } |
| 1890 | 1899 |
| 1891 @override | 1900 @override |
| 1892 List<String> get unlinkedUnitHashes { | 1901 List<String> get unlinkedUnitHashes { |
| 1893 _unlinkedUnitHashes ??= const fb.ListReader<String>(const fb.StringReader())
.vTableGet(_bp, 4, const <String>[]); | 1902 _unlinkedUnitHashes ??= const fb.ListReader<String>(const fb.StringReader())
.vTableGet(_bc, _bcOffset, 4, const <String>[]); |
| 1894 return _unlinkedUnitHashes; | 1903 return _unlinkedUnitHashes; |
| 1895 } | 1904 } |
| 1896 | 1905 |
| 1897 @override | 1906 @override |
| 1898 List<idl.UnlinkedUnit> get unlinkedUnits { | 1907 List<idl.UnlinkedUnit> get unlinkedUnits { |
| 1899 _unlinkedUnits ??= const fb.ListReader<idl.UnlinkedUnit>(const _UnlinkedUnit
Reader()).vTableGet(_bp, 2, const <idl.UnlinkedUnit>[]); | 1908 _unlinkedUnits ??= const fb.ListReader<idl.UnlinkedUnit>(const _UnlinkedUnit
Reader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedUnit>[]); |
| 1900 return _unlinkedUnits; | 1909 return _unlinkedUnits; |
| 1901 } | 1910 } |
| 1902 | 1911 |
| 1903 @override | 1912 @override |
| 1904 List<String> get unlinkedUnitUris { | 1913 List<String> get unlinkedUnitUris { |
| 1905 _unlinkedUnitUris ??= const fb.ListReader<String>(const fb.StringReader()).v
TableGet(_bp, 3, const <String>[]); | 1914 _unlinkedUnitUris ??= const fb.ListReader<String>(const fb.StringReader()).v
TableGet(_bc, _bcOffset, 3, const <String>[]); |
| 1906 return _unlinkedUnitUris; | 1915 return _unlinkedUnitUris; |
| 1907 } | 1916 } |
| 1908 } | 1917 } |
| 1909 | 1918 |
| 1910 abstract class _PackageBundleMixin implements idl.PackageBundle { | 1919 abstract class _PackageBundleMixin implements idl.PackageBundle { |
| 1911 @override | 1920 @override |
| 1912 Map<String, Object> toJson() { | 1921 Map<String, Object> toJson() { |
| 1913 Map<String, Object> _result = <String, Object>{}; | 1922 Map<String, Object> _result = <String, Object>{}; |
| 1914 if (linkedLibraries.isNotEmpty) _result["linkedLibraries"] = linkedLibraries
.map((_value) => _value.toJson()).toList(); | 1923 if (linkedLibraries.isNotEmpty) _result["linkedLibraries"] = linkedLibraries
.map((_value) => _value.toJson()).toList(); |
| 1915 if (linkedLibraryUris.isNotEmpty) _result["linkedLibraryUris"] = linkedLibra
ryUris; | 1924 if (linkedLibraryUris.isNotEmpty) _result["linkedLibraryUris"] = linkedLibra
ryUris; |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2112 fbBuilder.addOffset(4, offset_units); | 2121 fbBuilder.addOffset(4, offset_units); |
| 2113 } | 2122 } |
| 2114 if (offset_unitUnitUris != null) { | 2123 if (offset_unitUnitUris != null) { |
| 2115 fbBuilder.addOffset(3, offset_unitUnitUris); | 2124 fbBuilder.addOffset(3, offset_unitUnitUris); |
| 2116 } | 2125 } |
| 2117 return fbBuilder.endTable(); | 2126 return fbBuilder.endTable(); |
| 2118 } | 2127 } |
| 2119 } | 2128 } |
| 2120 | 2129 |
| 2121 idl.PackageIndex readPackageIndex(List<int> buffer) { | 2130 idl.PackageIndex readPackageIndex(List<int> buffer) { |
| 2122 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 2131 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 2123 return const _PackageIndexReader().read(rootRef); | 2132 return const _PackageIndexReader().read(rootRef, 0); |
| 2124 } | 2133 } |
| 2125 | 2134 |
| 2126 class _PackageIndexReader extends fb.TableReader<_PackageIndexImpl> { | 2135 class _PackageIndexReader extends fb.TableReader<_PackageIndexImpl> { |
| 2127 const _PackageIndexReader(); | 2136 const _PackageIndexReader(); |
| 2128 | 2137 |
| 2129 @override | 2138 @override |
| 2130 _PackageIndexImpl createObject(fb.BufferPointer bp) => new _PackageIndexImpl(b
p); | 2139 _PackageIndexImpl createObject(fb.BufferContext bc, int offset) => new _Packag
eIndexImpl(bc, offset); |
| 2131 } | 2140 } |
| 2132 | 2141 |
| 2133 class _PackageIndexImpl extends Object with _PackageIndexMixin implements idl.Pa
ckageIndex { | 2142 class _PackageIndexImpl extends Object with _PackageIndexMixin implements idl.Pa
ckageIndex { |
| 2134 final fb.BufferPointer _bp; | 2143 final fb.BufferContext _bc; |
| 2144 final int _bcOffset; |
| 2135 | 2145 |
| 2136 _PackageIndexImpl(this._bp); | 2146 _PackageIndexImpl(this._bc, this._bcOffset); |
| 2137 | 2147 |
| 2138 List<idl.IndexSyntheticElementKind> _elementKinds; | 2148 List<idl.IndexSyntheticElementKind> _elementKinds; |
| 2139 List<int> _elementOffsets; | 2149 List<int> _elementOffsets; |
| 2140 List<int> _elementUnits; | 2150 List<int> _elementUnits; |
| 2141 List<String> _strings; | 2151 List<String> _strings; |
| 2142 List<int> _unitLibraryUris; | 2152 List<int> _unitLibraryUris; |
| 2143 List<idl.UnitIndex> _units; | 2153 List<idl.UnitIndex> _units; |
| 2144 List<int> _unitUnitUris; | 2154 List<int> _unitUnitUris; |
| 2145 | 2155 |
| 2146 @override | 2156 @override |
| 2147 List<idl.IndexSyntheticElementKind> get elementKinds { | 2157 List<idl.IndexSyntheticElementKind> get elementKinds { |
| 2148 _elementKinds ??= const fb.ListReader<idl.IndexSyntheticElementKind>(const _
IndexSyntheticElementKindReader()).vTableGet(_bp, 5, const <idl.IndexSyntheticEl
ementKind>[]); | 2158 _elementKinds ??= const fb.ListReader<idl.IndexSyntheticElementKind>(const _
IndexSyntheticElementKindReader()).vTableGet(_bc, _bcOffset, 5, const <idl.Index
SyntheticElementKind>[]); |
| 2149 return _elementKinds; | 2159 return _elementKinds; |
| 2150 } | 2160 } |
| 2151 | 2161 |
| 2152 @override | 2162 @override |
| 2153 List<int> get elementOffsets { | 2163 List<int> get elementOffsets { |
| 2154 _elementOffsets ??= const fb.Uint32ListReader().vTableGet(_bp, 1, const <int
>[]); | 2164 _elementOffsets ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 1,
const <int>[]); |
| 2155 return _elementOffsets; | 2165 return _elementOffsets; |
| 2156 } | 2166 } |
| 2157 | 2167 |
| 2158 @override | 2168 @override |
| 2159 List<int> get elementUnits { | 2169 List<int> get elementUnits { |
| 2160 _elementUnits ??= const fb.Uint32ListReader().vTableGet(_bp, 0, const <int>[
]); | 2170 _elementUnits ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 0, c
onst <int>[]); |
| 2161 return _elementUnits; | 2171 return _elementUnits; |
| 2162 } | 2172 } |
| 2163 | 2173 |
| 2164 @override | 2174 @override |
| 2165 List<String> get strings { | 2175 List<String> get strings { |
| 2166 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bp, 6, const <String>[]); | 2176 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bc, _bcOffset, 6, const <String>[]); |
| 2167 return _strings; | 2177 return _strings; |
| 2168 } | 2178 } |
| 2169 | 2179 |
| 2170 @override | 2180 @override |
| 2171 List<int> get unitLibraryUris { | 2181 List<int> get unitLibraryUris { |
| 2172 _unitLibraryUris ??= const fb.Uint32ListReader().vTableGet(_bp, 2, const <in
t>[]); | 2182 _unitLibraryUris ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 2
, const <int>[]); |
| 2173 return _unitLibraryUris; | 2183 return _unitLibraryUris; |
| 2174 } | 2184 } |
| 2175 | 2185 |
| 2176 @override | 2186 @override |
| 2177 List<idl.UnitIndex> get units { | 2187 List<idl.UnitIndex> get units { |
| 2178 _units ??= const fb.ListReader<idl.UnitIndex>(const _UnitIndexReader()).vTab
leGet(_bp, 4, const <idl.UnitIndex>[]); | 2188 _units ??= const fb.ListReader<idl.UnitIndex>(const _UnitIndexReader()).vTab
leGet(_bc, _bcOffset, 4, const <idl.UnitIndex>[]); |
| 2179 return _units; | 2189 return _units; |
| 2180 } | 2190 } |
| 2181 | 2191 |
| 2182 @override | 2192 @override |
| 2183 List<int> get unitUnitUris { | 2193 List<int> get unitUnitUris { |
| 2184 _unitUnitUris ??= const fb.Uint32ListReader().vTableGet(_bp, 3, const <int>[
]); | 2194 _unitUnitUris ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 3, c
onst <int>[]); |
| 2185 return _unitUnitUris; | 2195 return _unitUnitUris; |
| 2186 } | 2196 } |
| 2187 } | 2197 } |
| 2188 | 2198 |
| 2189 abstract class _PackageIndexMixin implements idl.PackageIndex { | 2199 abstract class _PackageIndexMixin implements idl.PackageIndex { |
| 2190 @override | 2200 @override |
| 2191 Map<String, Object> toJson() { | 2201 Map<String, Object> toJson() { |
| 2192 Map<String, Object> _result = <String, Object>{}; | 2202 Map<String, Object> _result = <String, Object>{}; |
| 2193 if (elementKinds.isNotEmpty) _result["elementKinds"] = elementKinds.map((_va
lue) => _value.toString().split('.')[1]).toList(); | 2203 if (elementKinds.isNotEmpty) _result["elementKinds"] = elementKinds.map((_va
lue) => _value.toString().split('.')[1]).toList(); |
| 2194 if (elementOffsets.isNotEmpty) _result["elementOffsets"] = elementOffsets; | 2204 if (elementOffsets.isNotEmpty) _result["elementOffsets"] = elementOffsets; |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2509 fbBuilder.addOffset(8, offset_usedNames); | 2519 fbBuilder.addOffset(8, offset_usedNames); |
| 2510 } | 2520 } |
| 2511 return fbBuilder.endTable(); | 2521 return fbBuilder.endTable(); |
| 2512 } | 2522 } |
| 2513 } | 2523 } |
| 2514 | 2524 |
| 2515 class _UnitIndexReader extends fb.TableReader<_UnitIndexImpl> { | 2525 class _UnitIndexReader extends fb.TableReader<_UnitIndexImpl> { |
| 2516 const _UnitIndexReader(); | 2526 const _UnitIndexReader(); |
| 2517 | 2527 |
| 2518 @override | 2528 @override |
| 2519 _UnitIndexImpl createObject(fb.BufferPointer bp) => new _UnitIndexImpl(bp); | 2529 _UnitIndexImpl createObject(fb.BufferContext bc, int offset) => new _UnitIndex
Impl(bc, offset); |
| 2520 } | 2530 } |
| 2521 | 2531 |
| 2522 class _UnitIndexImpl extends Object with _UnitIndexMixin implements idl.UnitInde
x { | 2532 class _UnitIndexImpl extends Object with _UnitIndexMixin implements idl.UnitInde
x { |
| 2523 final fb.BufferPointer _bp; | 2533 final fb.BufferContext _bc; |
| 2534 final int _bcOffset; |
| 2524 | 2535 |
| 2525 _UnitIndexImpl(this._bp); | 2536 _UnitIndexImpl(this._bc, this._bcOffset); |
| 2526 | 2537 |
| 2527 List<idl.IndexNameKind> _definedNameKinds; | 2538 List<idl.IndexNameKind> _definedNameKinds; |
| 2528 List<int> _definedNameOffsets; | 2539 List<int> _definedNameOffsets; |
| 2529 List<int> _definedNames; | 2540 List<int> _definedNames; |
| 2530 int _unit; | 2541 int _unit; |
| 2531 List<bool> _usedElementIsQualifiedFlags; | 2542 List<bool> _usedElementIsQualifiedFlags; |
| 2532 List<idl.IndexRelationKind> _usedElementKinds; | 2543 List<idl.IndexRelationKind> _usedElementKinds; |
| 2533 List<int> _usedElementLengths; | 2544 List<int> _usedElementLengths; |
| 2534 List<int> _usedElementOffsets; | 2545 List<int> _usedElementOffsets; |
| 2535 List<int> _usedElements; | 2546 List<int> _usedElements; |
| 2536 List<bool> _usedNameIsQualifiedFlags; | 2547 List<bool> _usedNameIsQualifiedFlags; |
| 2537 List<idl.IndexRelationKind> _usedNameKinds; | 2548 List<idl.IndexRelationKind> _usedNameKinds; |
| 2538 List<int> _usedNameOffsets; | 2549 List<int> _usedNameOffsets; |
| 2539 List<int> _usedNames; | 2550 List<int> _usedNames; |
| 2540 | 2551 |
| 2541 @override | 2552 @override |
| 2542 List<idl.IndexNameKind> get definedNameKinds { | 2553 List<idl.IndexNameKind> get definedNameKinds { |
| 2543 _definedNameKinds ??= const fb.ListReader<idl.IndexNameKind>(const _IndexNam
eKindReader()).vTableGet(_bp, 6, const <idl.IndexNameKind>[]); | 2554 _definedNameKinds ??= const fb.ListReader<idl.IndexNameKind>(const _IndexNam
eKindReader()).vTableGet(_bc, _bcOffset, 6, const <idl.IndexNameKind>[]); |
| 2544 return _definedNameKinds; | 2555 return _definedNameKinds; |
| 2545 } | 2556 } |
| 2546 | 2557 |
| 2547 @override | 2558 @override |
| 2548 List<int> get definedNameOffsets { | 2559 List<int> get definedNameOffsets { |
| 2549 _definedNameOffsets ??= const fb.Uint32ListReader().vTableGet(_bp, 7, const
<int>[]); | 2560 _definedNameOffsets ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset
, 7, const <int>[]); |
| 2550 return _definedNameOffsets; | 2561 return _definedNameOffsets; |
| 2551 } | 2562 } |
| 2552 | 2563 |
| 2553 @override | 2564 @override |
| 2554 List<int> get definedNames { | 2565 List<int> get definedNames { |
| 2555 _definedNames ??= const fb.Uint32ListReader().vTableGet(_bp, 5, const <int>[
]); | 2566 _definedNames ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 5, c
onst <int>[]); |
| 2556 return _definedNames; | 2567 return _definedNames; |
| 2557 } | 2568 } |
| 2558 | 2569 |
| 2559 @override | 2570 @override |
| 2560 int get unit { | 2571 int get unit { |
| 2561 _unit ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 2572 _unit ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 2562 return _unit; | 2573 return _unit; |
| 2563 } | 2574 } |
| 2564 | 2575 |
| 2565 @override | 2576 @override |
| 2566 List<bool> get usedElementIsQualifiedFlags { | 2577 List<bool> get usedElementIsQualifiedFlags { |
| 2567 _usedElementIsQualifiedFlags ??= const fb.BoolListReader().vTableGet(_bp, 11
, const <bool>[]); | 2578 _usedElementIsQualifiedFlags ??= const fb.BoolListReader().vTableGet(_bc, _b
cOffset, 11, const <bool>[]); |
| 2568 return _usedElementIsQualifiedFlags; | 2579 return _usedElementIsQualifiedFlags; |
| 2569 } | 2580 } |
| 2570 | 2581 |
| 2571 @override | 2582 @override |
| 2572 List<idl.IndexRelationKind> get usedElementKinds { | 2583 List<idl.IndexRelationKind> get usedElementKinds { |
| 2573 _usedElementKinds ??= const fb.ListReader<idl.IndexRelationKind>(const _Inde
xRelationKindReader()).vTableGet(_bp, 4, const <idl.IndexRelationKind>[]); | 2584 _usedElementKinds ??= const fb.ListReader<idl.IndexRelationKind>(const _Inde
xRelationKindReader()).vTableGet(_bc, _bcOffset, 4, const <idl.IndexRelationKind
>[]); |
| 2574 return _usedElementKinds; | 2585 return _usedElementKinds; |
| 2575 } | 2586 } |
| 2576 | 2587 |
| 2577 @override | 2588 @override |
| 2578 List<int> get usedElementLengths { | 2589 List<int> get usedElementLengths { |
| 2579 _usedElementLengths ??= const fb.Uint32ListReader().vTableGet(_bp, 1, const
<int>[]); | 2590 _usedElementLengths ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset
, 1, const <int>[]); |
| 2580 return _usedElementLengths; | 2591 return _usedElementLengths; |
| 2581 } | 2592 } |
| 2582 | 2593 |
| 2583 @override | 2594 @override |
| 2584 List<int> get usedElementOffsets { | 2595 List<int> get usedElementOffsets { |
| 2585 _usedElementOffsets ??= const fb.Uint32ListReader().vTableGet(_bp, 2, const
<int>[]); | 2596 _usedElementOffsets ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset
, 2, const <int>[]); |
| 2586 return _usedElementOffsets; | 2597 return _usedElementOffsets; |
| 2587 } | 2598 } |
| 2588 | 2599 |
| 2589 @override | 2600 @override |
| 2590 List<int> get usedElements { | 2601 List<int> get usedElements { |
| 2591 _usedElements ??= const fb.Uint32ListReader().vTableGet(_bp, 3, const <int>[
]); | 2602 _usedElements ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 3, c
onst <int>[]); |
| 2592 return _usedElements; | 2603 return _usedElements; |
| 2593 } | 2604 } |
| 2594 | 2605 |
| 2595 @override | 2606 @override |
| 2596 List<bool> get usedNameIsQualifiedFlags { | 2607 List<bool> get usedNameIsQualifiedFlags { |
| 2597 _usedNameIsQualifiedFlags ??= const fb.BoolListReader().vTableGet(_bp, 12, c
onst <bool>[]); | 2608 _usedNameIsQualifiedFlags ??= const fb.BoolListReader().vTableGet(_bc, _bcOf
fset, 12, const <bool>[]); |
| 2598 return _usedNameIsQualifiedFlags; | 2609 return _usedNameIsQualifiedFlags; |
| 2599 } | 2610 } |
| 2600 | 2611 |
| 2601 @override | 2612 @override |
| 2602 List<idl.IndexRelationKind> get usedNameKinds { | 2613 List<idl.IndexRelationKind> get usedNameKinds { |
| 2603 _usedNameKinds ??= const fb.ListReader<idl.IndexRelationKind>(const _IndexRe
lationKindReader()).vTableGet(_bp, 10, const <idl.IndexRelationKind>[]); | 2614 _usedNameKinds ??= const fb.ListReader<idl.IndexRelationKind>(const _IndexRe
lationKindReader()).vTableGet(_bc, _bcOffset, 10, const <idl.IndexRelationKind>[
]); |
| 2604 return _usedNameKinds; | 2615 return _usedNameKinds; |
| 2605 } | 2616 } |
| 2606 | 2617 |
| 2607 @override | 2618 @override |
| 2608 List<int> get usedNameOffsets { | 2619 List<int> get usedNameOffsets { |
| 2609 _usedNameOffsets ??= const fb.Uint32ListReader().vTableGet(_bp, 9, const <in
t>[]); | 2620 _usedNameOffsets ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 9
, const <int>[]); |
| 2610 return _usedNameOffsets; | 2621 return _usedNameOffsets; |
| 2611 } | 2622 } |
| 2612 | 2623 |
| 2613 @override | 2624 @override |
| 2614 List<int> get usedNames { | 2625 List<int> get usedNames { |
| 2615 _usedNames ??= const fb.Uint32ListReader().vTableGet(_bp, 8, const <int>[]); | 2626 _usedNames ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 8, cons
t <int>[]); |
| 2616 return _usedNames; | 2627 return _usedNames; |
| 2617 } | 2628 } |
| 2618 } | 2629 } |
| 2619 | 2630 |
| 2620 abstract class _UnitIndexMixin implements idl.UnitIndex { | 2631 abstract class _UnitIndexMixin implements idl.UnitIndex { |
| 2621 @override | 2632 @override |
| 2622 Map<String, Object> toJson() { | 2633 Map<String, Object> toJson() { |
| 2623 Map<String, Object> _result = <String, Object>{}; | 2634 Map<String, Object> _result = <String, Object>{}; |
| 2624 if (definedNameKinds.isNotEmpty) _result["definedNameKinds"] = definedNameKi
nds.map((_value) => _value.toString().split('.')[1]).toList(); | 2635 if (definedNameKinds.isNotEmpty) _result["definedNameKinds"] = definedNameKi
nds.map((_value) => _value.toString().split('.')[1]).toList(); |
| 2625 if (definedNameOffsets.isNotEmpty) _result["definedNameOffsets"] = definedNa
meOffsets; | 2636 if (definedNameOffsets.isNotEmpty) _result["definedNameOffsets"] = definedNa
meOffsets; |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2954 fbBuilder.addOffset(9, offset_typeParameters); | 2965 fbBuilder.addOffset(9, offset_typeParameters); |
| 2955 } | 2966 } |
| 2956 return fbBuilder.endTable(); | 2967 return fbBuilder.endTable(); |
| 2957 } | 2968 } |
| 2958 } | 2969 } |
| 2959 | 2970 |
| 2960 class _UnlinkedClassReader extends fb.TableReader<_UnlinkedClassImpl> { | 2971 class _UnlinkedClassReader extends fb.TableReader<_UnlinkedClassImpl> { |
| 2961 const _UnlinkedClassReader(); | 2972 const _UnlinkedClassReader(); |
| 2962 | 2973 |
| 2963 @override | 2974 @override |
| 2964 _UnlinkedClassImpl createObject(fb.BufferPointer bp) => new _UnlinkedClassImpl
(bp); | 2975 _UnlinkedClassImpl createObject(fb.BufferContext bc, int offset) => new _Unlin
kedClassImpl(bc, offset); |
| 2965 } | 2976 } |
| 2966 | 2977 |
| 2967 class _UnlinkedClassImpl extends Object with _UnlinkedClassMixin implements idl.
UnlinkedClass { | 2978 class _UnlinkedClassImpl extends Object with _UnlinkedClassMixin implements idl.
UnlinkedClass { |
| 2968 final fb.BufferPointer _bp; | 2979 final fb.BufferContext _bc; |
| 2980 final int _bcOffset; |
| 2969 | 2981 |
| 2970 _UnlinkedClassImpl(this._bp); | 2982 _UnlinkedClassImpl(this._bc, this._bcOffset); |
| 2971 | 2983 |
| 2972 List<idl.UnlinkedConst> _annotations; | 2984 List<idl.UnlinkedConst> _annotations; |
| 2973 idl.CodeRange _codeRange; | 2985 idl.CodeRange _codeRange; |
| 2974 idl.UnlinkedDocumentationComment _documentationComment; | 2986 idl.UnlinkedDocumentationComment _documentationComment; |
| 2975 List<idl.UnlinkedExecutable> _executables; | 2987 List<idl.UnlinkedExecutable> _executables; |
| 2976 List<idl.UnlinkedVariable> _fields; | 2988 List<idl.UnlinkedVariable> _fields; |
| 2977 bool _hasNoSupertype; | 2989 bool _hasNoSupertype; |
| 2978 List<idl.EntityRef> _interfaces; | 2990 List<idl.EntityRef> _interfaces; |
| 2979 bool _isAbstract; | 2991 bool _isAbstract; |
| 2980 bool _isMixinApplication; | 2992 bool _isMixinApplication; |
| 2981 List<idl.EntityRef> _mixins; | 2993 List<idl.EntityRef> _mixins; |
| 2982 String _name; | 2994 String _name; |
| 2983 int _nameOffset; | 2995 int _nameOffset; |
| 2984 idl.EntityRef _supertype; | 2996 idl.EntityRef _supertype; |
| 2985 List<idl.UnlinkedTypeParam> _typeParameters; | 2997 List<idl.UnlinkedTypeParam> _typeParameters; |
| 2986 | 2998 |
| 2987 @override | 2999 @override |
| 2988 List<idl.UnlinkedConst> get annotations { | 3000 List<idl.UnlinkedConst> get annotations { |
| 2989 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 5, const <idl.UnlinkedConst>[]); | 3001 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 5, const <idl.UnlinkedConst>[]); |
| 2990 return _annotations; | 3002 return _annotations; |
| 2991 } | 3003 } |
| 2992 | 3004 |
| 2993 @override | 3005 @override |
| 2994 idl.CodeRange get codeRange { | 3006 idl.CodeRange get codeRange { |
| 2995 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 13, null); | 3007 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 13, null); |
| 2996 return _codeRange; | 3008 return _codeRange; |
| 2997 } | 3009 } |
| 2998 | 3010 |
| 2999 @override | 3011 @override |
| 3000 idl.UnlinkedDocumentationComment get documentationComment { | 3012 idl.UnlinkedDocumentationComment get documentationComment { |
| 3001 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 6, null); | 3013 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 6, null); |
| 3002 return _documentationComment; | 3014 return _documentationComment; |
| 3003 } | 3015 } |
| 3004 | 3016 |
| 3005 @override | 3017 @override |
| 3006 List<idl.UnlinkedExecutable> get executables { | 3018 List<idl.UnlinkedExecutable> get executables { |
| 3007 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 2, const <idl.UnlinkedExecutable>[]); | 3019 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedExecutable>[
]); |
| 3008 return _executables; | 3020 return _executables; |
| 3009 } | 3021 } |
| 3010 | 3022 |
| 3011 @override | 3023 @override |
| 3012 List<idl.UnlinkedVariable> get fields { | 3024 List<idl.UnlinkedVariable> get fields { |
| 3013 _fields ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVariabl
eReader()).vTableGet(_bp, 4, const <idl.UnlinkedVariable>[]); | 3025 _fields ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVariabl
eReader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedVariable>[]); |
| 3014 return _fields; | 3026 return _fields; |
| 3015 } | 3027 } |
| 3016 | 3028 |
| 3017 @override | 3029 @override |
| 3018 bool get hasNoSupertype { | 3030 bool get hasNoSupertype { |
| 3019 _hasNoSupertype ??= const fb.BoolReader().vTableGet(_bp, 12, false); | 3031 _hasNoSupertype ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 12, fals
e); |
| 3020 return _hasNoSupertype; | 3032 return _hasNoSupertype; |
| 3021 } | 3033 } |
| 3022 | 3034 |
| 3023 @override | 3035 @override |
| 3024 List<idl.EntityRef> get interfaces { | 3036 List<idl.EntityRef> get interfaces { |
| 3025 _interfaces ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 7, const <idl.EntityRef>[]); | 3037 _interfaces ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bc, _bcOffset, 7, const <idl.EntityRef>[]); |
| 3026 return _interfaces; | 3038 return _interfaces; |
| 3027 } | 3039 } |
| 3028 | 3040 |
| 3029 @override | 3041 @override |
| 3030 bool get isAbstract { | 3042 bool get isAbstract { |
| 3031 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 8, false); | 3043 _isAbstract ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 8, false); |
| 3032 return _isAbstract; | 3044 return _isAbstract; |
| 3033 } | 3045 } |
| 3034 | 3046 |
| 3035 @override | 3047 @override |
| 3036 bool get isMixinApplication { | 3048 bool get isMixinApplication { |
| 3037 _isMixinApplication ??= const fb.BoolReader().vTableGet(_bp, 11, false); | 3049 _isMixinApplication ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 11,
false); |
| 3038 return _isMixinApplication; | 3050 return _isMixinApplication; |
| 3039 } | 3051 } |
| 3040 | 3052 |
| 3041 @override | 3053 @override |
| 3042 List<idl.EntityRef> get mixins { | 3054 List<idl.EntityRef> get mixins { |
| 3043 _mixins ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTa
bleGet(_bp, 10, const <idl.EntityRef>[]); | 3055 _mixins ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader()).vTa
bleGet(_bc, _bcOffset, 10, const <idl.EntityRef>[]); |
| 3044 return _mixins; | 3056 return _mixins; |
| 3045 } | 3057 } |
| 3046 | 3058 |
| 3047 @override | 3059 @override |
| 3048 String get name { | 3060 String get name { |
| 3049 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 3061 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 3050 return _name; | 3062 return _name; |
| 3051 } | 3063 } |
| 3052 | 3064 |
| 3053 @override | 3065 @override |
| 3054 int get nameOffset { | 3066 int get nameOffset { |
| 3055 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 3067 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 3056 return _nameOffset; | 3068 return _nameOffset; |
| 3057 } | 3069 } |
| 3058 | 3070 |
| 3059 @override | 3071 @override |
| 3060 idl.EntityRef get supertype { | 3072 idl.EntityRef get supertype { |
| 3061 _supertype ??= const _EntityRefReader().vTableGet(_bp, 3, null); | 3073 _supertype ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 3, null); |
| 3062 return _supertype; | 3074 return _supertype; |
| 3063 } | 3075 } |
| 3064 | 3076 |
| 3065 @override | 3077 @override |
| 3066 List<idl.UnlinkedTypeParam> get typeParameters { | 3078 List<idl.UnlinkedTypeParam> get typeParameters { |
| 3067 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 9, const <idl.UnlinkedTypeParam>[]); | 3079 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 9, const <idl.UnlinkedTypeParam>[
]); |
| 3068 return _typeParameters; | 3080 return _typeParameters; |
| 3069 } | 3081 } |
| 3070 } | 3082 } |
| 3071 | 3083 |
| 3072 abstract class _UnlinkedClassMixin implements idl.UnlinkedClass { | 3084 abstract class _UnlinkedClassMixin implements idl.UnlinkedClass { |
| 3073 @override | 3085 @override |
| 3074 Map<String, Object> toJson() { | 3086 Map<String, Object> toJson() { |
| 3075 Map<String, Object> _result = <String, Object>{}; | 3087 Map<String, Object> _result = <String, Object>{}; |
| 3076 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 3088 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 3077 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 3089 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3207 fbBuilder.addOffset(0, offset_shows); | 3219 fbBuilder.addOffset(0, offset_shows); |
| 3208 } | 3220 } |
| 3209 return fbBuilder.endTable(); | 3221 return fbBuilder.endTable(); |
| 3210 } | 3222 } |
| 3211 } | 3223 } |
| 3212 | 3224 |
| 3213 class _UnlinkedCombinatorReader extends fb.TableReader<_UnlinkedCombinatorImpl>
{ | 3225 class _UnlinkedCombinatorReader extends fb.TableReader<_UnlinkedCombinatorImpl>
{ |
| 3214 const _UnlinkedCombinatorReader(); | 3226 const _UnlinkedCombinatorReader(); |
| 3215 | 3227 |
| 3216 @override | 3228 @override |
| 3217 _UnlinkedCombinatorImpl createObject(fb.BufferPointer bp) => new _UnlinkedComb
inatorImpl(bp); | 3229 _UnlinkedCombinatorImpl createObject(fb.BufferContext bc, int offset) => new _
UnlinkedCombinatorImpl(bc, offset); |
| 3218 } | 3230 } |
| 3219 | 3231 |
| 3220 class _UnlinkedCombinatorImpl extends Object with _UnlinkedCombinatorMixin imple
ments idl.UnlinkedCombinator { | 3232 class _UnlinkedCombinatorImpl extends Object with _UnlinkedCombinatorMixin imple
ments idl.UnlinkedCombinator { |
| 3221 final fb.BufferPointer _bp; | 3233 final fb.BufferContext _bc; |
| 3234 final int _bcOffset; |
| 3222 | 3235 |
| 3223 _UnlinkedCombinatorImpl(this._bp); | 3236 _UnlinkedCombinatorImpl(this._bc, this._bcOffset); |
| 3224 | 3237 |
| 3225 int _end; | 3238 int _end; |
| 3226 List<String> _hides; | 3239 List<String> _hides; |
| 3227 int _offset; | 3240 int _offset; |
| 3228 List<String> _shows; | 3241 List<String> _shows; |
| 3229 | 3242 |
| 3230 @override | 3243 @override |
| 3231 int get end { | 3244 int get end { |
| 3232 _end ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 3245 _end ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3, 0); |
| 3233 return _end; | 3246 return _end; |
| 3234 } | 3247 } |
| 3235 | 3248 |
| 3236 @override | 3249 @override |
| 3237 List<String> get hides { | 3250 List<String> get hides { |
| 3238 _hides ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); | 3251 _hides ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
c, _bcOffset, 1, const <String>[]); |
| 3239 return _hides; | 3252 return _hides; |
| 3240 } | 3253 } |
| 3241 | 3254 |
| 3242 @override | 3255 @override |
| 3243 int get offset { | 3256 int get offset { |
| 3244 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 3257 _offset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 3245 return _offset; | 3258 return _offset; |
| 3246 } | 3259 } |
| 3247 | 3260 |
| 3248 @override | 3261 @override |
| 3249 List<String> get shows { | 3262 List<String> get shows { |
| 3250 _shows ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 0, const <String>[]); | 3263 _shows ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
c, _bcOffset, 0, const <String>[]); |
| 3251 return _shows; | 3264 return _shows; |
| 3252 } | 3265 } |
| 3253 } | 3266 } |
| 3254 | 3267 |
| 3255 abstract class _UnlinkedCombinatorMixin implements idl.UnlinkedCombinator { | 3268 abstract class _UnlinkedCombinatorMixin implements idl.UnlinkedCombinator { |
| 3256 @override | 3269 @override |
| 3257 Map<String, Object> toJson() { | 3270 Map<String, Object> toJson() { |
| 3258 Map<String, Object> _result = <String, Object>{}; | 3271 Map<String, Object> _result = <String, Object>{}; |
| 3259 if (end != 0) _result["end"] = end; | 3272 if (end != 0) _result["end"] = end; |
| 3260 if (hides.isNotEmpty) _result["hides"] = hides; | 3273 if (hides.isNotEmpty) _result["hides"] = hides; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3438 fbBuilder.addOffset(3, offset_strings); | 3451 fbBuilder.addOffset(3, offset_strings); |
| 3439 } | 3452 } |
| 3440 return fbBuilder.endTable(); | 3453 return fbBuilder.endTable(); |
| 3441 } | 3454 } |
| 3442 } | 3455 } |
| 3443 | 3456 |
| 3444 class _UnlinkedConstReader extends fb.TableReader<_UnlinkedConstImpl> { | 3457 class _UnlinkedConstReader extends fb.TableReader<_UnlinkedConstImpl> { |
| 3445 const _UnlinkedConstReader(); | 3458 const _UnlinkedConstReader(); |
| 3446 | 3459 |
| 3447 @override | 3460 @override |
| 3448 _UnlinkedConstImpl createObject(fb.BufferPointer bp) => new _UnlinkedConstImpl
(bp); | 3461 _UnlinkedConstImpl createObject(fb.BufferContext bc, int offset) => new _Unlin
kedConstImpl(bc, offset); |
| 3449 } | 3462 } |
| 3450 | 3463 |
| 3451 class _UnlinkedConstImpl extends Object with _UnlinkedConstMixin implements idl.
UnlinkedConst { | 3464 class _UnlinkedConstImpl extends Object with _UnlinkedConstMixin implements idl.
UnlinkedConst { |
| 3452 final fb.BufferPointer _bp; | 3465 final fb.BufferContext _bc; |
| 3466 final int _bcOffset; |
| 3453 | 3467 |
| 3454 _UnlinkedConstImpl(this._bp); | 3468 _UnlinkedConstImpl(this._bc, this._bcOffset); |
| 3455 | 3469 |
| 3456 List<idl.UnlinkedExprAssignOperator> _assignmentOperators; | 3470 List<idl.UnlinkedExprAssignOperator> _assignmentOperators; |
| 3457 List<double> _doubles; | 3471 List<double> _doubles; |
| 3458 List<int> _ints; | 3472 List<int> _ints; |
| 3459 bool _isValidConst; | 3473 bool _isValidConst; |
| 3460 List<idl.UnlinkedConstOperation> _operations; | 3474 List<idl.UnlinkedConstOperation> _operations; |
| 3461 List<idl.EntityRef> _references; | 3475 List<idl.EntityRef> _references; |
| 3462 List<String> _strings; | 3476 List<String> _strings; |
| 3463 | 3477 |
| 3464 @override | 3478 @override |
| 3465 List<idl.UnlinkedExprAssignOperator> get assignmentOperators { | 3479 List<idl.UnlinkedExprAssignOperator> get assignmentOperators { |
| 3466 _assignmentOperators ??= const fb.ListReader<idl.UnlinkedExprAssignOperator>
(const _UnlinkedExprAssignOperatorReader()).vTableGet(_bp, 6, const <idl.Unlinke
dExprAssignOperator>[]); | 3480 _assignmentOperators ??= const fb.ListReader<idl.UnlinkedExprAssignOperator>
(const _UnlinkedExprAssignOperatorReader()).vTableGet(_bc, _bcOffset, 6, const <
idl.UnlinkedExprAssignOperator>[]); |
| 3467 return _assignmentOperators; | 3481 return _assignmentOperators; |
| 3468 } | 3482 } |
| 3469 | 3483 |
| 3470 @override | 3484 @override |
| 3471 List<double> get doubles { | 3485 List<double> get doubles { |
| 3472 _doubles ??= const fb.Float64ListReader().vTableGet(_bp, 4, const <double>[]
); | 3486 _doubles ??= const fb.Float64ListReader().vTableGet(_bc, _bcOffset, 4, const
<double>[]); |
| 3473 return _doubles; | 3487 return _doubles; |
| 3474 } | 3488 } |
| 3475 | 3489 |
| 3476 @override | 3490 @override |
| 3477 List<int> get ints { | 3491 List<int> get ints { |
| 3478 _ints ??= const fb.Uint32ListReader().vTableGet(_bp, 1, const <int>[]); | 3492 _ints ??= const fb.Uint32ListReader().vTableGet(_bc, _bcOffset, 1, const <in
t>[]); |
| 3479 return _ints; | 3493 return _ints; |
| 3480 } | 3494 } |
| 3481 | 3495 |
| 3482 @override | 3496 @override |
| 3483 bool get isValidConst { | 3497 bool get isValidConst { |
| 3484 _isValidConst ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 3498 _isValidConst ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 5, false); |
| 3485 return _isValidConst; | 3499 return _isValidConst; |
| 3486 } | 3500 } |
| 3487 | 3501 |
| 3488 @override | 3502 @override |
| 3489 List<idl.UnlinkedConstOperation> get operations { | 3503 List<idl.UnlinkedConstOperation> get operations { |
| 3490 _operations ??= const fb.ListReader<idl.UnlinkedConstOperation>(const _Unlin
kedConstOperationReader()).vTableGet(_bp, 0, const <idl.UnlinkedConstOperation>[
]); | 3504 _operations ??= const fb.ListReader<idl.UnlinkedConstOperation>(const _Unlin
kedConstOperationReader()).vTableGet(_bc, _bcOffset, 0, const <idl.UnlinkedConst
Operation>[]); |
| 3491 return _operations; | 3505 return _operations; |
| 3492 } | 3506 } |
| 3493 | 3507 |
| 3494 @override | 3508 @override |
| 3495 List<idl.EntityRef> get references { | 3509 List<idl.EntityRef> get references { |
| 3496 _references ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bp, 2, const <idl.EntityRef>[]); | 3510 _references ??= const fb.ListReader<idl.EntityRef>(const _EntityRefReader())
.vTableGet(_bc, _bcOffset, 2, const <idl.EntityRef>[]); |
| 3497 return _references; | 3511 return _references; |
| 3498 } | 3512 } |
| 3499 | 3513 |
| 3500 @override | 3514 @override |
| 3501 List<String> get strings { | 3515 List<String> get strings { |
| 3502 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bp, 3, const <String>[]); | 3516 _strings ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(
_bc, _bcOffset, 3, const <String>[]); |
| 3503 return _strings; | 3517 return _strings; |
| 3504 } | 3518 } |
| 3505 } | 3519 } |
| 3506 | 3520 |
| 3507 abstract class _UnlinkedConstMixin implements idl.UnlinkedConst { | 3521 abstract class _UnlinkedConstMixin implements idl.UnlinkedConst { |
| 3508 @override | 3522 @override |
| 3509 Map<String, Object> toJson() { | 3523 Map<String, Object> toJson() { |
| 3510 Map<String, Object> _result = <String, Object>{}; | 3524 Map<String, Object> _result = <String, Object>{}; |
| 3511 if (assignmentOperators.isNotEmpty) _result["assignmentOperators"] = assignm
entOperators.map((_value) => _value.toString().split('.')[1]).toList(); | 3525 if (assignmentOperators.isNotEmpty) _result["assignmentOperators"] = assignm
entOperators.map((_value) => _value.toString().split('.')[1]).toList(); |
| 3512 if (doubles.isNotEmpty) _result["doubles"] = doubles.map((_value) => _value.
isFinite ? _value : _value.toString()).toList(); | 3526 if (doubles.isNotEmpty) _result["doubles"] = doubles.map((_value) => _value.
isFinite ? _value : _value.toString()).toList(); |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3655 fbBuilder.addOffset(0, offset_name); | 3669 fbBuilder.addOffset(0, offset_name); |
| 3656 } | 3670 } |
| 3657 return fbBuilder.endTable(); | 3671 return fbBuilder.endTable(); |
| 3658 } | 3672 } |
| 3659 } | 3673 } |
| 3660 | 3674 |
| 3661 class _UnlinkedConstructorInitializerReader extends fb.TableReader<_UnlinkedCons
tructorInitializerImpl> { | 3675 class _UnlinkedConstructorInitializerReader extends fb.TableReader<_UnlinkedCons
tructorInitializerImpl> { |
| 3662 const _UnlinkedConstructorInitializerReader(); | 3676 const _UnlinkedConstructorInitializerReader(); |
| 3663 | 3677 |
| 3664 @override | 3678 @override |
| 3665 _UnlinkedConstructorInitializerImpl createObject(fb.BufferPointer bp) => new _
UnlinkedConstructorInitializerImpl(bp); | 3679 _UnlinkedConstructorInitializerImpl createObject(fb.BufferContext bc, int offs
et) => new _UnlinkedConstructorInitializerImpl(bc, offset); |
| 3666 } | 3680 } |
| 3667 | 3681 |
| 3668 class _UnlinkedConstructorInitializerImpl extends Object with _UnlinkedConstruct
orInitializerMixin implements idl.UnlinkedConstructorInitializer { | 3682 class _UnlinkedConstructorInitializerImpl extends Object with _UnlinkedConstruct
orInitializerMixin implements idl.UnlinkedConstructorInitializer { |
| 3669 final fb.BufferPointer _bp; | 3683 final fb.BufferContext _bc; |
| 3684 final int _bcOffset; |
| 3670 | 3685 |
| 3671 _UnlinkedConstructorInitializerImpl(this._bp); | 3686 _UnlinkedConstructorInitializerImpl(this._bc, this._bcOffset); |
| 3672 | 3687 |
| 3673 List<idl.UnlinkedConst> _arguments; | 3688 List<idl.UnlinkedConst> _arguments; |
| 3674 List<String> _argumentNames; | 3689 List<String> _argumentNames; |
| 3675 idl.UnlinkedConst _expression; | 3690 idl.UnlinkedConst _expression; |
| 3676 idl.UnlinkedConstructorInitializerKind _kind; | 3691 idl.UnlinkedConstructorInitializerKind _kind; |
| 3677 String _name; | 3692 String _name; |
| 3678 | 3693 |
| 3679 @override | 3694 @override |
| 3680 List<idl.UnlinkedConst> get arguments { | 3695 List<idl.UnlinkedConst> get arguments { |
| 3681 _arguments ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConstRe
ader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); | 3696 _arguments ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConstRe
ader()).vTableGet(_bc, _bcOffset, 3, const <idl.UnlinkedConst>[]); |
| 3682 return _arguments; | 3697 return _arguments; |
| 3683 } | 3698 } |
| 3684 | 3699 |
| 3685 @override | 3700 @override |
| 3686 List<String> get argumentNames { | 3701 List<String> get argumentNames { |
| 3687 _argumentNames ??= const fb.ListReader<String>(const fb.StringReader()).vTab
leGet(_bp, 4, const <String>[]); | 3702 _argumentNames ??= const fb.ListReader<String>(const fb.StringReader()).vTab
leGet(_bc, _bcOffset, 4, const <String>[]); |
| 3688 return _argumentNames; | 3703 return _argumentNames; |
| 3689 } | 3704 } |
| 3690 | 3705 |
| 3691 @override | 3706 @override |
| 3692 idl.UnlinkedConst get expression { | 3707 idl.UnlinkedConst get expression { |
| 3693 _expression ??= const _UnlinkedConstReader().vTableGet(_bp, 1, null); | 3708 _expression ??= const _UnlinkedConstReader().vTableGet(_bc, _bcOffset, 1, nu
ll); |
| 3694 return _expression; | 3709 return _expression; |
| 3695 } | 3710 } |
| 3696 | 3711 |
| 3697 @override | 3712 @override |
| 3698 idl.UnlinkedConstructorInitializerKind get kind { | 3713 idl.UnlinkedConstructorInitializerKind get kind { |
| 3699 _kind ??= const _UnlinkedConstructorInitializerKindReader().vTableGet(_bp, 2
, idl.UnlinkedConstructorInitializerKind.field); | 3714 _kind ??= const _UnlinkedConstructorInitializerKindReader().vTableGet(_bc, _
bcOffset, 2, idl.UnlinkedConstructorInitializerKind.field); |
| 3700 return _kind; | 3715 return _kind; |
| 3701 } | 3716 } |
| 3702 | 3717 |
| 3703 @override | 3718 @override |
| 3704 String get name { | 3719 String get name { |
| 3705 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 3720 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 3706 return _name; | 3721 return _name; |
| 3707 } | 3722 } |
| 3708 } | 3723 } |
| 3709 | 3724 |
| 3710 abstract class _UnlinkedConstructorInitializerMixin implements idl.UnlinkedConst
ructorInitializer { | 3725 abstract class _UnlinkedConstructorInitializerMixin implements idl.UnlinkedConst
ructorInitializer { |
| 3711 @override | 3726 @override |
| 3712 Map<String, Object> toJson() { | 3727 Map<String, Object> toJson() { |
| 3713 Map<String, Object> _result = <String, Object>{}; | 3728 Map<String, Object> _result = <String, Object>{}; |
| 3714 if (arguments.isNotEmpty) _result["arguments"] = arguments.map((_value) => _
value.toJson()).toList(); | 3729 if (arguments.isNotEmpty) _result["arguments"] = arguments.map((_value) => _
value.toJson()).toList(); |
| 3715 if (argumentNames.isNotEmpty) _result["argumentNames"] = argumentNames; | 3730 if (argumentNames.isNotEmpty) _result["argumentNames"] = argumentNames; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3807 fbBuilder.addOffset(1, offset_text); | 3822 fbBuilder.addOffset(1, offset_text); |
| 3808 } | 3823 } |
| 3809 return fbBuilder.endTable(); | 3824 return fbBuilder.endTable(); |
| 3810 } | 3825 } |
| 3811 } | 3826 } |
| 3812 | 3827 |
| 3813 class _UnlinkedDocumentationCommentReader extends fb.TableReader<_UnlinkedDocume
ntationCommentImpl> { | 3828 class _UnlinkedDocumentationCommentReader extends fb.TableReader<_UnlinkedDocume
ntationCommentImpl> { |
| 3814 const _UnlinkedDocumentationCommentReader(); | 3829 const _UnlinkedDocumentationCommentReader(); |
| 3815 | 3830 |
| 3816 @override | 3831 @override |
| 3817 _UnlinkedDocumentationCommentImpl createObject(fb.BufferPointer bp) => new _Un
linkedDocumentationCommentImpl(bp); | 3832 _UnlinkedDocumentationCommentImpl createObject(fb.BufferContext bc, int offset
) => new _UnlinkedDocumentationCommentImpl(bc, offset); |
| 3818 } | 3833 } |
| 3819 | 3834 |
| 3820 class _UnlinkedDocumentationCommentImpl extends Object with _UnlinkedDocumentati
onCommentMixin implements idl.UnlinkedDocumentationComment { | 3835 class _UnlinkedDocumentationCommentImpl extends Object with _UnlinkedDocumentati
onCommentMixin implements idl.UnlinkedDocumentationComment { |
| 3821 final fb.BufferPointer _bp; | 3836 final fb.BufferContext _bc; |
| 3837 final int _bcOffset; |
| 3822 | 3838 |
| 3823 _UnlinkedDocumentationCommentImpl(this._bp); | 3839 _UnlinkedDocumentationCommentImpl(this._bc, this._bcOffset); |
| 3824 | 3840 |
| 3825 int _length; | 3841 int _length; |
| 3826 int _offset; | 3842 int _offset; |
| 3827 String _text; | 3843 String _text; |
| 3828 | 3844 |
| 3829 @override | 3845 @override |
| 3830 int get length { | 3846 int get length { |
| 3831 _length ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 3847 _length ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 3832 return _length; | 3848 return _length; |
| 3833 } | 3849 } |
| 3834 | 3850 |
| 3835 @override | 3851 @override |
| 3836 int get offset { | 3852 int get offset { |
| 3837 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 3853 _offset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 3838 return _offset; | 3854 return _offset; |
| 3839 } | 3855 } |
| 3840 | 3856 |
| 3841 @override | 3857 @override |
| 3842 String get text { | 3858 String get text { |
| 3843 _text ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 3859 _text ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); |
| 3844 return _text; | 3860 return _text; |
| 3845 } | 3861 } |
| 3846 } | 3862 } |
| 3847 | 3863 |
| 3848 abstract class _UnlinkedDocumentationCommentMixin implements idl.UnlinkedDocumen
tationComment { | 3864 abstract class _UnlinkedDocumentationCommentMixin implements idl.UnlinkedDocumen
tationComment { |
| 3849 @override | 3865 @override |
| 3850 Map<String, Object> toJson() { | 3866 Map<String, Object> toJson() { |
| 3851 Map<String, Object> _result = <String, Object>{}; | 3867 Map<String, Object> _result = <String, Object>{}; |
| 3852 if (length != 0) _result["length"] = length; | 3868 if (length != 0) _result["length"] = length; |
| 3853 if (offset != 0) _result["offset"] = offset; | 3869 if (offset != 0) _result["offset"] = offset; |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4006 fbBuilder.addOffset(2, offset_values); | 4022 fbBuilder.addOffset(2, offset_values); |
| 4007 } | 4023 } |
| 4008 return fbBuilder.endTable(); | 4024 return fbBuilder.endTable(); |
| 4009 } | 4025 } |
| 4010 } | 4026 } |
| 4011 | 4027 |
| 4012 class _UnlinkedEnumReader extends fb.TableReader<_UnlinkedEnumImpl> { | 4028 class _UnlinkedEnumReader extends fb.TableReader<_UnlinkedEnumImpl> { |
| 4013 const _UnlinkedEnumReader(); | 4029 const _UnlinkedEnumReader(); |
| 4014 | 4030 |
| 4015 @override | 4031 @override |
| 4016 _UnlinkedEnumImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumImpl(b
p); | 4032 _UnlinkedEnumImpl createObject(fb.BufferContext bc, int offset) => new _Unlink
edEnumImpl(bc, offset); |
| 4017 } | 4033 } |
| 4018 | 4034 |
| 4019 class _UnlinkedEnumImpl extends Object with _UnlinkedEnumMixin implements idl.Un
linkedEnum { | 4035 class _UnlinkedEnumImpl extends Object with _UnlinkedEnumMixin implements idl.Un
linkedEnum { |
| 4020 final fb.BufferPointer _bp; | 4036 final fb.BufferContext _bc; |
| 4037 final int _bcOffset; |
| 4021 | 4038 |
| 4022 _UnlinkedEnumImpl(this._bp); | 4039 _UnlinkedEnumImpl(this._bc, this._bcOffset); |
| 4023 | 4040 |
| 4024 List<idl.UnlinkedConst> _annotations; | 4041 List<idl.UnlinkedConst> _annotations; |
| 4025 idl.CodeRange _codeRange; | 4042 idl.CodeRange _codeRange; |
| 4026 idl.UnlinkedDocumentationComment _documentationComment; | 4043 idl.UnlinkedDocumentationComment _documentationComment; |
| 4027 String _name; | 4044 String _name; |
| 4028 int _nameOffset; | 4045 int _nameOffset; |
| 4029 List<idl.UnlinkedEnumValue> _values; | 4046 List<idl.UnlinkedEnumValue> _values; |
| 4030 | 4047 |
| 4031 @override | 4048 @override |
| 4032 List<idl.UnlinkedConst> get annotations { | 4049 List<idl.UnlinkedConst> get annotations { |
| 4033 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 4, const <idl.UnlinkedConst>[]); | 4050 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedConst>[]); |
| 4034 return _annotations; | 4051 return _annotations; |
| 4035 } | 4052 } |
| 4036 | 4053 |
| 4037 @override | 4054 @override |
| 4038 idl.CodeRange get codeRange { | 4055 idl.CodeRange get codeRange { |
| 4039 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 5, null); | 4056 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 5, null); |
| 4040 return _codeRange; | 4057 return _codeRange; |
| 4041 } | 4058 } |
| 4042 | 4059 |
| 4043 @override | 4060 @override |
| 4044 idl.UnlinkedDocumentationComment get documentationComment { | 4061 idl.UnlinkedDocumentationComment get documentationComment { |
| 4045 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 3, null); | 4062 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 3, null); |
| 4046 return _documentationComment; | 4063 return _documentationComment; |
| 4047 } | 4064 } |
| 4048 | 4065 |
| 4049 @override | 4066 @override |
| 4050 String get name { | 4067 String get name { |
| 4051 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 4068 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 4052 return _name; | 4069 return _name; |
| 4053 } | 4070 } |
| 4054 | 4071 |
| 4055 @override | 4072 @override |
| 4056 int get nameOffset { | 4073 int get nameOffset { |
| 4057 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 4074 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 4058 return _nameOffset; | 4075 return _nameOffset; |
| 4059 } | 4076 } |
| 4060 | 4077 |
| 4061 @override | 4078 @override |
| 4062 List<idl.UnlinkedEnumValue> get values { | 4079 List<idl.UnlinkedEnumValue> get values { |
| 4063 _values ??= const fb.ListReader<idl.UnlinkedEnumValue>(const _UnlinkedEnumVa
lueReader()).vTableGet(_bp, 2, const <idl.UnlinkedEnumValue>[]); | 4080 _values ??= const fb.ListReader<idl.UnlinkedEnumValue>(const _UnlinkedEnumVa
lueReader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedEnumValue>[]); |
| 4064 return _values; | 4081 return _values; |
| 4065 } | 4082 } |
| 4066 } | 4083 } |
| 4067 | 4084 |
| 4068 abstract class _UnlinkedEnumMixin implements idl.UnlinkedEnum { | 4085 abstract class _UnlinkedEnumMixin implements idl.UnlinkedEnum { |
| 4069 @override | 4086 @override |
| 4070 Map<String, Object> toJson() { | 4087 Map<String, Object> toJson() { |
| 4071 Map<String, Object> _result = <String, Object>{}; | 4088 Map<String, Object> _result = <String, Object>{}; |
| 4072 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 4089 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 4073 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 4090 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4169 fbBuilder.addUint32(1, _nameOffset); | 4186 fbBuilder.addUint32(1, _nameOffset); |
| 4170 } | 4187 } |
| 4171 return fbBuilder.endTable(); | 4188 return fbBuilder.endTable(); |
| 4172 } | 4189 } |
| 4173 } | 4190 } |
| 4174 | 4191 |
| 4175 class _UnlinkedEnumValueReader extends fb.TableReader<_UnlinkedEnumValueImpl> { | 4192 class _UnlinkedEnumValueReader extends fb.TableReader<_UnlinkedEnumValueImpl> { |
| 4176 const _UnlinkedEnumValueReader(); | 4193 const _UnlinkedEnumValueReader(); |
| 4177 | 4194 |
| 4178 @override | 4195 @override |
| 4179 _UnlinkedEnumValueImpl createObject(fb.BufferPointer bp) => new _UnlinkedEnumV
alueImpl(bp); | 4196 _UnlinkedEnumValueImpl createObject(fb.BufferContext bc, int offset) => new _U
nlinkedEnumValueImpl(bc, offset); |
| 4180 } | 4197 } |
| 4181 | 4198 |
| 4182 class _UnlinkedEnumValueImpl extends Object with _UnlinkedEnumValueMixin impleme
nts idl.UnlinkedEnumValue { | 4199 class _UnlinkedEnumValueImpl extends Object with _UnlinkedEnumValueMixin impleme
nts idl.UnlinkedEnumValue { |
| 4183 final fb.BufferPointer _bp; | 4200 final fb.BufferContext _bc; |
| 4201 final int _bcOffset; |
| 4184 | 4202 |
| 4185 _UnlinkedEnumValueImpl(this._bp); | 4203 _UnlinkedEnumValueImpl(this._bc, this._bcOffset); |
| 4186 | 4204 |
| 4187 idl.UnlinkedDocumentationComment _documentationComment; | 4205 idl.UnlinkedDocumentationComment _documentationComment; |
| 4188 String _name; | 4206 String _name; |
| 4189 int _nameOffset; | 4207 int _nameOffset; |
| 4190 | 4208 |
| 4191 @override | 4209 @override |
| 4192 idl.UnlinkedDocumentationComment get documentationComment { | 4210 idl.UnlinkedDocumentationComment get documentationComment { |
| 4193 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 2, null); | 4211 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 2, null); |
| 4194 return _documentationComment; | 4212 return _documentationComment; |
| 4195 } | 4213 } |
| 4196 | 4214 |
| 4197 @override | 4215 @override |
| 4198 String get name { | 4216 String get name { |
| 4199 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 4217 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 4200 return _name; | 4218 return _name; |
| 4201 } | 4219 } |
| 4202 | 4220 |
| 4203 @override | 4221 @override |
| 4204 int get nameOffset { | 4222 int get nameOffset { |
| 4205 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 4223 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 4206 return _nameOffset; | 4224 return _nameOffset; |
| 4207 } | 4225 } |
| 4208 } | 4226 } |
| 4209 | 4227 |
| 4210 abstract class _UnlinkedEnumValueMixin implements idl.UnlinkedEnumValue { | 4228 abstract class _UnlinkedEnumValueMixin implements idl.UnlinkedEnumValue { |
| 4211 @override | 4229 @override |
| 4212 Map<String, Object> toJson() { | 4230 Map<String, Object> toJson() { |
| 4213 Map<String, Object> _result = <String, Object>{}; | 4231 Map<String, Object> _result = <String, Object>{}; |
| 4214 if (documentationComment != null) _result["documentationComment"] = document
ationComment.toJson(); | 4232 if (documentationComment != null) _result["documentationComment"] = document
ationComment.toJson(); |
| 4215 if (name != '') _result["name"] = name; | 4233 if (name != '') _result["name"] = name; |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4817 fbBuilder.addUint32(21, _visibleOffset); | 4835 fbBuilder.addUint32(21, _visibleOffset); |
| 4818 } | 4836 } |
| 4819 return fbBuilder.endTable(); | 4837 return fbBuilder.endTable(); |
| 4820 } | 4838 } |
| 4821 } | 4839 } |
| 4822 | 4840 |
| 4823 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ | 4841 class _UnlinkedExecutableReader extends fb.TableReader<_UnlinkedExecutableImpl>
{ |
| 4824 const _UnlinkedExecutableReader(); | 4842 const _UnlinkedExecutableReader(); |
| 4825 | 4843 |
| 4826 @override | 4844 @override |
| 4827 _UnlinkedExecutableImpl createObject(fb.BufferPointer bp) => new _UnlinkedExec
utableImpl(bp); | 4845 _UnlinkedExecutableImpl createObject(fb.BufferContext bc, int offset) => new _
UnlinkedExecutableImpl(bc, offset); |
| 4828 } | 4846 } |
| 4829 | 4847 |
| 4830 class _UnlinkedExecutableImpl extends Object with _UnlinkedExecutableMixin imple
ments idl.UnlinkedExecutable { | 4848 class _UnlinkedExecutableImpl extends Object with _UnlinkedExecutableMixin imple
ments idl.UnlinkedExecutable { |
| 4831 final fb.BufferPointer _bp; | 4849 final fb.BufferContext _bc; |
| 4850 final int _bcOffset; |
| 4832 | 4851 |
| 4833 _UnlinkedExecutableImpl(this._bp); | 4852 _UnlinkedExecutableImpl(this._bc, this._bcOffset); |
| 4834 | 4853 |
| 4835 List<idl.UnlinkedConst> _annotations; | 4854 List<idl.UnlinkedConst> _annotations; |
| 4836 idl.CodeRange _codeRange; | 4855 idl.CodeRange _codeRange; |
| 4837 List<idl.UnlinkedConstructorInitializer> _constantInitializers; | 4856 List<idl.UnlinkedConstructorInitializer> _constantInitializers; |
| 4838 int _constCycleSlot; | 4857 int _constCycleSlot; |
| 4839 idl.UnlinkedDocumentationComment _documentationComment; | 4858 idl.UnlinkedDocumentationComment _documentationComment; |
| 4840 int _inferredReturnTypeSlot; | 4859 int _inferredReturnTypeSlot; |
| 4841 bool _isAbstract; | 4860 bool _isAbstract; |
| 4842 bool _isAsynchronous; | 4861 bool _isAsynchronous; |
| 4843 bool _isConst; | 4862 bool _isConst; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 4857 int _periodOffset; | 4876 int _periodOffset; |
| 4858 idl.EntityRef _redirectedConstructor; | 4877 idl.EntityRef _redirectedConstructor; |
| 4859 String _redirectedConstructorName; | 4878 String _redirectedConstructorName; |
| 4860 idl.EntityRef _returnType; | 4879 idl.EntityRef _returnType; |
| 4861 List<idl.UnlinkedTypeParam> _typeParameters; | 4880 List<idl.UnlinkedTypeParam> _typeParameters; |
| 4862 int _visibleLength; | 4881 int _visibleLength; |
| 4863 int _visibleOffset; | 4882 int _visibleOffset; |
| 4864 | 4883 |
| 4865 @override | 4884 @override |
| 4866 List<idl.UnlinkedConst> get annotations { | 4885 List<idl.UnlinkedConst> get annotations { |
| 4867 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 6, const <idl.UnlinkedConst>[]); | 4886 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 6, const <idl.UnlinkedConst>[]); |
| 4868 return _annotations; | 4887 return _annotations; |
| 4869 } | 4888 } |
| 4870 | 4889 |
| 4871 @override | 4890 @override |
| 4872 idl.CodeRange get codeRange { | 4891 idl.CodeRange get codeRange { |
| 4873 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 26, null); | 4892 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 26, null); |
| 4874 return _codeRange; | 4893 return _codeRange; |
| 4875 } | 4894 } |
| 4876 | 4895 |
| 4877 @override | 4896 @override |
| 4878 List<idl.UnlinkedConstructorInitializer> get constantInitializers { | 4897 List<idl.UnlinkedConstructorInitializer> get constantInitializers { |
| 4879 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bp, 14, const <i
dl.UnlinkedConstructorInitializer>[]); | 4898 _constantInitializers ??= const fb.ListReader<idl.UnlinkedConstructorInitial
izer>(const _UnlinkedConstructorInitializerReader()).vTableGet(_bc, _bcOffset, 1
4, const <idl.UnlinkedConstructorInitializer>[]); |
| 4880 return _constantInitializers; | 4899 return _constantInitializers; |
| 4881 } | 4900 } |
| 4882 | 4901 |
| 4883 @override | 4902 @override |
| 4884 int get constCycleSlot { | 4903 int get constCycleSlot { |
| 4885 _constCycleSlot ??= const fb.Uint32Reader().vTableGet(_bp, 25, 0); | 4904 _constCycleSlot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 25, 0)
; |
| 4886 return _constCycleSlot; | 4905 return _constCycleSlot; |
| 4887 } | 4906 } |
| 4888 | 4907 |
| 4889 @override | 4908 @override |
| 4890 idl.UnlinkedDocumentationComment get documentationComment { | 4909 idl.UnlinkedDocumentationComment get documentationComment { |
| 4891 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 7, null); | 4910 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 7, null); |
| 4892 return _documentationComment; | 4911 return _documentationComment; |
| 4893 } | 4912 } |
| 4894 | 4913 |
| 4895 @override | 4914 @override |
| 4896 int get inferredReturnTypeSlot { | 4915 int get inferredReturnTypeSlot { |
| 4897 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 5, 0); | 4916 _inferredReturnTypeSlot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset
, 5, 0); |
| 4898 return _inferredReturnTypeSlot; | 4917 return _inferredReturnTypeSlot; |
| 4899 } | 4918 } |
| 4900 | 4919 |
| 4901 @override | 4920 @override |
| 4902 bool get isAbstract { | 4921 bool get isAbstract { |
| 4903 _isAbstract ??= const fb.BoolReader().vTableGet(_bp, 10, false); | 4922 _isAbstract ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 10, false); |
| 4904 return _isAbstract; | 4923 return _isAbstract; |
| 4905 } | 4924 } |
| 4906 | 4925 |
| 4907 @override | 4926 @override |
| 4908 bool get isAsynchronous { | 4927 bool get isAsynchronous { |
| 4909 _isAsynchronous ??= const fb.BoolReader().vTableGet(_bp, 27, false); | 4928 _isAsynchronous ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 27, fals
e); |
| 4910 return _isAsynchronous; | 4929 return _isAsynchronous; |
| 4911 } | 4930 } |
| 4912 | 4931 |
| 4913 @override | 4932 @override |
| 4914 bool get isConst { | 4933 bool get isConst { |
| 4915 _isConst ??= const fb.BoolReader().vTableGet(_bp, 12, false); | 4934 _isConst ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 12, false); |
| 4916 return _isConst; | 4935 return _isConst; |
| 4917 } | 4936 } |
| 4918 | 4937 |
| 4919 @override | 4938 @override |
| 4920 bool get isExternal { | 4939 bool get isExternal { |
| 4921 _isExternal ??= const fb.BoolReader().vTableGet(_bp, 11, false); | 4940 _isExternal ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 11, false); |
| 4922 return _isExternal; | 4941 return _isExternal; |
| 4923 } | 4942 } |
| 4924 | 4943 |
| 4925 @override | 4944 @override |
| 4926 bool get isFactory { | 4945 bool get isFactory { |
| 4927 _isFactory ??= const fb.BoolReader().vTableGet(_bp, 8, false); | 4946 _isFactory ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 8, false); |
| 4928 return _isFactory; | 4947 return _isFactory; |
| 4929 } | 4948 } |
| 4930 | 4949 |
| 4931 @override | 4950 @override |
| 4932 bool get isGenerator { | 4951 bool get isGenerator { |
| 4933 _isGenerator ??= const fb.BoolReader().vTableGet(_bp, 28, false); | 4952 _isGenerator ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 28, false); |
| 4934 return _isGenerator; | 4953 return _isGenerator; |
| 4935 } | 4954 } |
| 4936 | 4955 |
| 4937 @override | 4956 @override |
| 4938 bool get isRedirectedConstructor { | 4957 bool get isRedirectedConstructor { |
| 4939 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bp, 13, false)
; | 4958 _isRedirectedConstructor ??= const fb.BoolReader().vTableGet(_bc, _bcOffset,
13, false); |
| 4940 return _isRedirectedConstructor; | 4959 return _isRedirectedConstructor; |
| 4941 } | 4960 } |
| 4942 | 4961 |
| 4943 @override | 4962 @override |
| 4944 bool get isStatic { | 4963 bool get isStatic { |
| 4945 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 9, false); | 4964 _isStatic ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 9, false); |
| 4946 return _isStatic; | 4965 return _isStatic; |
| 4947 } | 4966 } |
| 4948 | 4967 |
| 4949 @override | 4968 @override |
| 4950 idl.UnlinkedExecutableKind get kind { | 4969 idl.UnlinkedExecutableKind get kind { |
| 4951 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bp, 4, idl.Unlink
edExecutableKind.functionOrMethod); | 4970 _kind ??= const _UnlinkedExecutableKindReader().vTableGet(_bc, _bcOffset, 4,
idl.UnlinkedExecutableKind.functionOrMethod); |
| 4952 return _kind; | 4971 return _kind; |
| 4953 } | 4972 } |
| 4954 | 4973 |
| 4955 @override | 4974 @override |
| 4956 List<idl.UnlinkedExecutable> get localFunctions { | 4975 List<idl.UnlinkedExecutable> get localFunctions { |
| 4957 _localFunctions ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlin
kedExecutableReader()).vTableGet(_bp, 18, const <idl.UnlinkedExecutable>[]); | 4976 _localFunctions ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlin
kedExecutableReader()).vTableGet(_bc, _bcOffset, 18, const <idl.UnlinkedExecutab
le>[]); |
| 4958 return _localFunctions; | 4977 return _localFunctions; |
| 4959 } | 4978 } |
| 4960 | 4979 |
| 4961 @override | 4980 @override |
| 4962 List<idl.UnlinkedLabel> get localLabels { | 4981 List<idl.UnlinkedLabel> get localLabels { |
| 4963 _localLabels ??= const fb.ListReader<idl.UnlinkedLabel>(const _UnlinkedLabel
Reader()).vTableGet(_bp, 22, const <idl.UnlinkedLabel>[]); | 4982 _localLabels ??= const fb.ListReader<idl.UnlinkedLabel>(const _UnlinkedLabel
Reader()).vTableGet(_bc, _bcOffset, 22, const <idl.UnlinkedLabel>[]); |
| 4964 return _localLabels; | 4983 return _localLabels; |
| 4965 } | 4984 } |
| 4966 | 4985 |
| 4967 @override | 4986 @override |
| 4968 List<idl.UnlinkedVariable> get localVariables { | 4987 List<idl.UnlinkedVariable> get localVariables { |
| 4969 _localVariables ??= const fb.ListReader<idl.UnlinkedVariable>(const _Unlinke
dVariableReader()).vTableGet(_bp, 19, const <idl.UnlinkedVariable>[]); | 4988 _localVariables ??= const fb.ListReader<idl.UnlinkedVariable>(const _Unlinke
dVariableReader()).vTableGet(_bc, _bcOffset, 19, const <idl.UnlinkedVariable>[])
; |
| 4970 return _localVariables; | 4989 return _localVariables; |
| 4971 } | 4990 } |
| 4972 | 4991 |
| 4973 @override | 4992 @override |
| 4974 String get name { | 4993 String get name { |
| 4975 _name ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 4994 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); |
| 4976 return _name; | 4995 return _name; |
| 4977 } | 4996 } |
| 4978 | 4997 |
| 4979 @override | 4998 @override |
| 4980 int get nameEnd { | 4999 int get nameEnd { |
| 4981 _nameEnd ??= const fb.Uint32Reader().vTableGet(_bp, 23, 0); | 5000 _nameEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 23, 0); |
| 4982 return _nameEnd; | 5001 return _nameEnd; |
| 4983 } | 5002 } |
| 4984 | 5003 |
| 4985 @override | 5004 @override |
| 4986 int get nameOffset { | 5005 int get nameOffset { |
| 4987 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 5006 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 4988 return _nameOffset; | 5007 return _nameOffset; |
| 4989 } | 5008 } |
| 4990 | 5009 |
| 4991 @override | 5010 @override |
| 4992 List<idl.UnlinkedParam> get parameters { | 5011 List<idl.UnlinkedParam> get parameters { |
| 4993 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 2, const <idl.UnlinkedParam>[]); | 5012 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedParam>[]); |
| 4994 return _parameters; | 5013 return _parameters; |
| 4995 } | 5014 } |
| 4996 | 5015 |
| 4997 @override | 5016 @override |
| 4998 int get periodOffset { | 5017 int get periodOffset { |
| 4999 _periodOffset ??= const fb.Uint32Reader().vTableGet(_bp, 24, 0); | 5018 _periodOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 24, 0); |
| 5000 return _periodOffset; | 5019 return _periodOffset; |
| 5001 } | 5020 } |
| 5002 | 5021 |
| 5003 @override | 5022 @override |
| 5004 idl.EntityRef get redirectedConstructor { | 5023 idl.EntityRef get redirectedConstructor { |
| 5005 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bp, 15, null)
; | 5024 _redirectedConstructor ??= const _EntityRefReader().vTableGet(_bc, _bcOffset
, 15, null); |
| 5006 return _redirectedConstructor; | 5025 return _redirectedConstructor; |
| 5007 } | 5026 } |
| 5008 | 5027 |
| 5009 @override | 5028 @override |
| 5010 String get redirectedConstructorName { | 5029 String get redirectedConstructorName { |
| 5011 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bp, 17, ''
); | 5030 _redirectedConstructorName ??= const fb.StringReader().vTableGet(_bc, _bcOff
set, 17, ''); |
| 5012 return _redirectedConstructorName; | 5031 return _redirectedConstructorName; |
| 5013 } | 5032 } |
| 5014 | 5033 |
| 5015 @override | 5034 @override |
| 5016 idl.EntityRef get returnType { | 5035 idl.EntityRef get returnType { |
| 5017 _returnType ??= const _EntityRefReader().vTableGet(_bp, 3, null); | 5036 _returnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 3, null); |
| 5018 return _returnType; | 5037 return _returnType; |
| 5019 } | 5038 } |
| 5020 | 5039 |
| 5021 @override | 5040 @override |
| 5022 List<idl.UnlinkedTypeParam> get typeParameters { | 5041 List<idl.UnlinkedTypeParam> get typeParameters { |
| 5023 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 16, const <idl.UnlinkedTypeParam>[]); | 5042 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 16, const <idl.UnlinkedTypeParam>
[]); |
| 5024 return _typeParameters; | 5043 return _typeParameters; |
| 5025 } | 5044 } |
| 5026 | 5045 |
| 5027 @override | 5046 @override |
| 5028 int get visibleLength { | 5047 int get visibleLength { |
| 5029 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bp, 20, 0); | 5048 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 20, 0); |
| 5030 return _visibleLength; | 5049 return _visibleLength; |
| 5031 } | 5050 } |
| 5032 | 5051 |
| 5033 @override | 5052 @override |
| 5034 int get visibleOffset { | 5053 int get visibleOffset { |
| 5035 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bp, 21, 0); | 5054 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 21, 0); |
| 5036 return _visibleOffset; | 5055 return _visibleOffset; |
| 5037 } | 5056 } |
| 5038 } | 5057 } |
| 5039 | 5058 |
| 5040 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { | 5059 abstract class _UnlinkedExecutableMixin implements idl.UnlinkedExecutable { |
| 5041 @override | 5060 @override |
| 5042 Map<String, Object> toJson() { | 5061 Map<String, Object> toJson() { |
| 5043 Map<String, Object> _result = <String, Object>{}; | 5062 Map<String, Object> _result = <String, Object>{}; |
| 5044 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 5063 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 5045 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 5064 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5204 fbBuilder.addUint32(2, _uriOffset); | 5223 fbBuilder.addUint32(2, _uriOffset); |
| 5205 } | 5224 } |
| 5206 return fbBuilder.endTable(); | 5225 return fbBuilder.endTable(); |
| 5207 } | 5226 } |
| 5208 } | 5227 } |
| 5209 | 5228 |
| 5210 class _UnlinkedExportNonPublicReader extends fb.TableReader<_UnlinkedExportNonPu
blicImpl> { | 5229 class _UnlinkedExportNonPublicReader extends fb.TableReader<_UnlinkedExportNonPu
blicImpl> { |
| 5211 const _UnlinkedExportNonPublicReader(); | 5230 const _UnlinkedExportNonPublicReader(); |
| 5212 | 5231 |
| 5213 @override | 5232 @override |
| 5214 _UnlinkedExportNonPublicImpl createObject(fb.BufferPointer bp) => new _Unlinke
dExportNonPublicImpl(bp); | 5233 _UnlinkedExportNonPublicImpl createObject(fb.BufferContext bc, int offset) =>
new _UnlinkedExportNonPublicImpl(bc, offset); |
| 5215 } | 5234 } |
| 5216 | 5235 |
| 5217 class _UnlinkedExportNonPublicImpl extends Object with _UnlinkedExportNonPublicM
ixin implements idl.UnlinkedExportNonPublic { | 5236 class _UnlinkedExportNonPublicImpl extends Object with _UnlinkedExportNonPublicM
ixin implements idl.UnlinkedExportNonPublic { |
| 5218 final fb.BufferPointer _bp; | 5237 final fb.BufferContext _bc; |
| 5238 final int _bcOffset; |
| 5219 | 5239 |
| 5220 _UnlinkedExportNonPublicImpl(this._bp); | 5240 _UnlinkedExportNonPublicImpl(this._bc, this._bcOffset); |
| 5221 | 5241 |
| 5222 List<idl.UnlinkedConst> _annotations; | 5242 List<idl.UnlinkedConst> _annotations; |
| 5223 int _offset; | 5243 int _offset; |
| 5224 int _uriEnd; | 5244 int _uriEnd; |
| 5225 int _uriOffset; | 5245 int _uriOffset; |
| 5226 | 5246 |
| 5227 @override | 5247 @override |
| 5228 List<idl.UnlinkedConst> get annotations { | 5248 List<idl.UnlinkedConst> get annotations { |
| 5229 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); | 5249 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 3, const <idl.UnlinkedConst>[]); |
| 5230 return _annotations; | 5250 return _annotations; |
| 5231 } | 5251 } |
| 5232 | 5252 |
| 5233 @override | 5253 @override |
| 5234 int get offset { | 5254 int get offset { |
| 5235 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 5255 _offset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 5236 return _offset; | 5256 return _offset; |
| 5237 } | 5257 } |
| 5238 | 5258 |
| 5239 @override | 5259 @override |
| 5240 int get uriEnd { | 5260 int get uriEnd { |
| 5241 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 5261 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 5242 return _uriEnd; | 5262 return _uriEnd; |
| 5243 } | 5263 } |
| 5244 | 5264 |
| 5245 @override | 5265 @override |
| 5246 int get uriOffset { | 5266 int get uriOffset { |
| 5247 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 5267 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 5248 return _uriOffset; | 5268 return _uriOffset; |
| 5249 } | 5269 } |
| 5250 } | 5270 } |
| 5251 | 5271 |
| 5252 abstract class _UnlinkedExportNonPublicMixin implements idl.UnlinkedExportNonPub
lic { | 5272 abstract class _UnlinkedExportNonPublicMixin implements idl.UnlinkedExportNonPub
lic { |
| 5253 @override | 5273 @override |
| 5254 Map<String, Object> toJson() { | 5274 Map<String, Object> toJson() { |
| 5255 Map<String, Object> _result = <String, Object>{}; | 5275 Map<String, Object> _result = <String, Object>{}; |
| 5256 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 5276 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 5257 if (offset != 0) _result["offset"] = offset; | 5277 if (offset != 0) _result["offset"] = offset; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5330 fbBuilder.addOffset(0, offset_uri); | 5350 fbBuilder.addOffset(0, offset_uri); |
| 5331 } | 5351 } |
| 5332 return fbBuilder.endTable(); | 5352 return fbBuilder.endTable(); |
| 5333 } | 5353 } |
| 5334 } | 5354 } |
| 5335 | 5355 |
| 5336 class _UnlinkedExportPublicReader extends fb.TableReader<_UnlinkedExportPublicIm
pl> { | 5356 class _UnlinkedExportPublicReader extends fb.TableReader<_UnlinkedExportPublicIm
pl> { |
| 5337 const _UnlinkedExportPublicReader(); | 5357 const _UnlinkedExportPublicReader(); |
| 5338 | 5358 |
| 5339 @override | 5359 @override |
| 5340 _UnlinkedExportPublicImpl createObject(fb.BufferPointer bp) => new _UnlinkedEx
portPublicImpl(bp); | 5360 _UnlinkedExportPublicImpl createObject(fb.BufferContext bc, int offset) => new
_UnlinkedExportPublicImpl(bc, offset); |
| 5341 } | 5361 } |
| 5342 | 5362 |
| 5343 class _UnlinkedExportPublicImpl extends Object with _UnlinkedExportPublicMixin i
mplements idl.UnlinkedExportPublic { | 5363 class _UnlinkedExportPublicImpl extends Object with _UnlinkedExportPublicMixin i
mplements idl.UnlinkedExportPublic { |
| 5344 final fb.BufferPointer _bp; | 5364 final fb.BufferContext _bc; |
| 5365 final int _bcOffset; |
| 5345 | 5366 |
| 5346 _UnlinkedExportPublicImpl(this._bp); | 5367 _UnlinkedExportPublicImpl(this._bc, this._bcOffset); |
| 5347 | 5368 |
| 5348 List<idl.UnlinkedCombinator> _combinators; | 5369 List<idl.UnlinkedCombinator> _combinators; |
| 5349 String _uri; | 5370 String _uri; |
| 5350 | 5371 |
| 5351 @override | 5372 @override |
| 5352 List<idl.UnlinkedCombinator> get combinators { | 5373 List<idl.UnlinkedCombinator> get combinators { |
| 5353 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 1, const <idl.UnlinkedCombinator>[]); | 5374 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bc, _bcOffset, 1, const <idl.UnlinkedCombinator>[
]); |
| 5354 return _combinators; | 5375 return _combinators; |
| 5355 } | 5376 } |
| 5356 | 5377 |
| 5357 @override | 5378 @override |
| 5358 String get uri { | 5379 String get uri { |
| 5359 _uri ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 5380 _uri ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 5360 return _uri; | 5381 return _uri; |
| 5361 } | 5382 } |
| 5362 } | 5383 } |
| 5363 | 5384 |
| 5364 abstract class _UnlinkedExportPublicMixin implements idl.UnlinkedExportPublic { | 5385 abstract class _UnlinkedExportPublicMixin implements idl.UnlinkedExportPublic { |
| 5365 @override | 5386 @override |
| 5366 Map<String, Object> toJson() { | 5387 Map<String, Object> toJson() { |
| 5367 Map<String, Object> _result = <String, Object>{}; | 5388 Map<String, Object> _result = <String, Object>{}; |
| 5368 if (combinators.isNotEmpty) _result["combinators"] = combinators.map((_value
) => _value.toJson()).toList(); | 5389 if (combinators.isNotEmpty) _result["combinators"] = combinators.map((_value
) => _value.toJson()).toList(); |
| 5369 if (uri != '') _result["uri"] = uri; | 5390 if (uri != '') _result["uri"] = uri; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5587 fbBuilder.addUint32(3, _uriOffset); | 5608 fbBuilder.addUint32(3, _uriOffset); |
| 5588 } | 5609 } |
| 5589 return fbBuilder.endTable(); | 5610 return fbBuilder.endTable(); |
| 5590 } | 5611 } |
| 5591 } | 5612 } |
| 5592 | 5613 |
| 5593 class _UnlinkedImportReader extends fb.TableReader<_UnlinkedImportImpl> { | 5614 class _UnlinkedImportReader extends fb.TableReader<_UnlinkedImportImpl> { |
| 5594 const _UnlinkedImportReader(); | 5615 const _UnlinkedImportReader(); |
| 5595 | 5616 |
| 5596 @override | 5617 @override |
| 5597 _UnlinkedImportImpl createObject(fb.BufferPointer bp) => new _UnlinkedImportIm
pl(bp); | 5618 _UnlinkedImportImpl createObject(fb.BufferContext bc, int offset) => new _Unli
nkedImportImpl(bc, offset); |
| 5598 } | 5619 } |
| 5599 | 5620 |
| 5600 class _UnlinkedImportImpl extends Object with _UnlinkedImportMixin implements id
l.UnlinkedImport { | 5621 class _UnlinkedImportImpl extends Object with _UnlinkedImportMixin implements id
l.UnlinkedImport { |
| 5601 final fb.BufferPointer _bp; | 5622 final fb.BufferContext _bc; |
| 5623 final int _bcOffset; |
| 5602 | 5624 |
| 5603 _UnlinkedImportImpl(this._bp); | 5625 _UnlinkedImportImpl(this._bc, this._bcOffset); |
| 5604 | 5626 |
| 5605 List<idl.UnlinkedConst> _annotations; | 5627 List<idl.UnlinkedConst> _annotations; |
| 5606 List<idl.UnlinkedCombinator> _combinators; | 5628 List<idl.UnlinkedCombinator> _combinators; |
| 5607 bool _isDeferred; | 5629 bool _isDeferred; |
| 5608 bool _isImplicit; | 5630 bool _isImplicit; |
| 5609 int _offset; | 5631 int _offset; |
| 5610 int _prefixOffset; | 5632 int _prefixOffset; |
| 5611 int _prefixReference; | 5633 int _prefixReference; |
| 5612 String _uri; | 5634 String _uri; |
| 5613 int _uriEnd; | 5635 int _uriEnd; |
| 5614 int _uriOffset; | 5636 int _uriOffset; |
| 5615 | 5637 |
| 5616 @override | 5638 @override |
| 5617 List<idl.UnlinkedConst> get annotations { | 5639 List<idl.UnlinkedConst> get annotations { |
| 5618 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 8, const <idl.UnlinkedConst>[]); | 5640 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 8, const <idl.UnlinkedConst>[]); |
| 5619 return _annotations; | 5641 return _annotations; |
| 5620 } | 5642 } |
| 5621 | 5643 |
| 5622 @override | 5644 @override |
| 5623 List<idl.UnlinkedCombinator> get combinators { | 5645 List<idl.UnlinkedCombinator> get combinators { |
| 5624 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bp, 4, const <idl.UnlinkedCombinator>[]); | 5646 _combinators ??= const fb.ListReader<idl.UnlinkedCombinator>(const _Unlinked
CombinatorReader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedCombinator>[
]); |
| 5625 return _combinators; | 5647 return _combinators; |
| 5626 } | 5648 } |
| 5627 | 5649 |
| 5628 @override | 5650 @override |
| 5629 bool get isDeferred { | 5651 bool get isDeferred { |
| 5630 _isDeferred ??= const fb.BoolReader().vTableGet(_bp, 9, false); | 5652 _isDeferred ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 9, false); |
| 5631 return _isDeferred; | 5653 return _isDeferred; |
| 5632 } | 5654 } |
| 5633 | 5655 |
| 5634 @override | 5656 @override |
| 5635 bool get isImplicit { | 5657 bool get isImplicit { |
| 5636 _isImplicit ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 5658 _isImplicit ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 5, false); |
| 5637 return _isImplicit; | 5659 return _isImplicit; |
| 5638 } | 5660 } |
| 5639 | 5661 |
| 5640 @override | 5662 @override |
| 5641 int get offset { | 5663 int get offset { |
| 5642 _offset ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 5664 _offset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 5643 return _offset; | 5665 return _offset; |
| 5644 } | 5666 } |
| 5645 | 5667 |
| 5646 @override | 5668 @override |
| 5647 int get prefixOffset { | 5669 int get prefixOffset { |
| 5648 _prefixOffset ??= const fb.Uint32Reader().vTableGet(_bp, 6, 0); | 5670 _prefixOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 6, 0); |
| 5649 return _prefixOffset; | 5671 return _prefixOffset; |
| 5650 } | 5672 } |
| 5651 | 5673 |
| 5652 @override | 5674 @override |
| 5653 int get prefixReference { | 5675 int get prefixReference { |
| 5654 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bp, 7, 0); | 5676 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 7, 0)
; |
| 5655 return _prefixReference; | 5677 return _prefixReference; |
| 5656 } | 5678 } |
| 5657 | 5679 |
| 5658 @override | 5680 @override |
| 5659 String get uri { | 5681 String get uri { |
| 5660 _uri ??= const fb.StringReader().vTableGet(_bp, 1, ''); | 5682 _uri ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 1, ''); |
| 5661 return _uri; | 5683 return _uri; |
| 5662 } | 5684 } |
| 5663 | 5685 |
| 5664 @override | 5686 @override |
| 5665 int get uriEnd { | 5687 int get uriEnd { |
| 5666 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 5688 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0); |
| 5667 return _uriEnd; | 5689 return _uriEnd; |
| 5668 } | 5690 } |
| 5669 | 5691 |
| 5670 @override | 5692 @override |
| 5671 int get uriOffset { | 5693 int get uriOffset { |
| 5672 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 5694 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3, 0); |
| 5673 return _uriOffset; | 5695 return _uriOffset; |
| 5674 } | 5696 } |
| 5675 } | 5697 } |
| 5676 | 5698 |
| 5677 abstract class _UnlinkedImportMixin implements idl.UnlinkedImport { | 5699 abstract class _UnlinkedImportMixin implements idl.UnlinkedImport { |
| 5678 @override | 5700 @override |
| 5679 Map<String, Object> toJson() { | 5701 Map<String, Object> toJson() { |
| 5680 Map<String, Object> _result = <String, Object>{}; | 5702 Map<String, Object> _result = <String, Object>{}; |
| 5681 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 5703 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 5682 if (combinators.isNotEmpty) _result["combinators"] = combinators.map((_value
) => _value.toJson()).toList(); | 5704 if (combinators.isNotEmpty) _result["combinators"] = combinators.map((_value
) => _value.toJson()).toList(); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5797 fbBuilder.addUint32(1, _nameOffset); | 5819 fbBuilder.addUint32(1, _nameOffset); |
| 5798 } | 5820 } |
| 5799 return fbBuilder.endTable(); | 5821 return fbBuilder.endTable(); |
| 5800 } | 5822 } |
| 5801 } | 5823 } |
| 5802 | 5824 |
| 5803 class _UnlinkedLabelReader extends fb.TableReader<_UnlinkedLabelImpl> { | 5825 class _UnlinkedLabelReader extends fb.TableReader<_UnlinkedLabelImpl> { |
| 5804 const _UnlinkedLabelReader(); | 5826 const _UnlinkedLabelReader(); |
| 5805 | 5827 |
| 5806 @override | 5828 @override |
| 5807 _UnlinkedLabelImpl createObject(fb.BufferPointer bp) => new _UnlinkedLabelImpl
(bp); | 5829 _UnlinkedLabelImpl createObject(fb.BufferContext bc, int offset) => new _Unlin
kedLabelImpl(bc, offset); |
| 5808 } | 5830 } |
| 5809 | 5831 |
| 5810 class _UnlinkedLabelImpl extends Object with _UnlinkedLabelMixin implements idl.
UnlinkedLabel { | 5832 class _UnlinkedLabelImpl extends Object with _UnlinkedLabelMixin implements idl.
UnlinkedLabel { |
| 5811 final fb.BufferPointer _bp; | 5833 final fb.BufferContext _bc; |
| 5834 final int _bcOffset; |
| 5812 | 5835 |
| 5813 _UnlinkedLabelImpl(this._bp); | 5836 _UnlinkedLabelImpl(this._bc, this._bcOffset); |
| 5814 | 5837 |
| 5815 bool _isOnSwitchMember; | 5838 bool _isOnSwitchMember; |
| 5816 bool _isOnSwitchStatement; | 5839 bool _isOnSwitchStatement; |
| 5817 String _name; | 5840 String _name; |
| 5818 int _nameOffset; | 5841 int _nameOffset; |
| 5819 | 5842 |
| 5820 @override | 5843 @override |
| 5821 bool get isOnSwitchMember { | 5844 bool get isOnSwitchMember { |
| 5822 _isOnSwitchMember ??= const fb.BoolReader().vTableGet(_bp, 2, false); | 5845 _isOnSwitchMember ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 2, fal
se); |
| 5823 return _isOnSwitchMember; | 5846 return _isOnSwitchMember; |
| 5824 } | 5847 } |
| 5825 | 5848 |
| 5826 @override | 5849 @override |
| 5827 bool get isOnSwitchStatement { | 5850 bool get isOnSwitchStatement { |
| 5828 _isOnSwitchStatement ??= const fb.BoolReader().vTableGet(_bp, 3, false); | 5851 _isOnSwitchStatement ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 3,
false); |
| 5829 return _isOnSwitchStatement; | 5852 return _isOnSwitchStatement; |
| 5830 } | 5853 } |
| 5831 | 5854 |
| 5832 @override | 5855 @override |
| 5833 String get name { | 5856 String get name { |
| 5834 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 5857 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 5835 return _name; | 5858 return _name; |
| 5836 } | 5859 } |
| 5837 | 5860 |
| 5838 @override | 5861 @override |
| 5839 int get nameOffset { | 5862 int get nameOffset { |
| 5840 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 5863 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 5841 return _nameOffset; | 5864 return _nameOffset; |
| 5842 } | 5865 } |
| 5843 } | 5866 } |
| 5844 | 5867 |
| 5845 abstract class _UnlinkedLabelMixin implements idl.UnlinkedLabel { | 5868 abstract class _UnlinkedLabelMixin implements idl.UnlinkedLabel { |
| 5846 @override | 5869 @override |
| 5847 Map<String, Object> toJson() { | 5870 Map<String, Object> toJson() { |
| 5848 Map<String, Object> _result = <String, Object>{}; | 5871 Map<String, Object> _result = <String, Object>{}; |
| 5849 if (isOnSwitchMember != false) _result["isOnSwitchMember"] = isOnSwitchMembe
r; | 5872 if (isOnSwitchMember != false) _result["isOnSwitchMember"] = isOnSwitchMembe
r; |
| 5850 if (isOnSwitchStatement != false) _result["isOnSwitchStatement"] = isOnSwitc
hStatement; | 5873 if (isOnSwitchStatement != false) _result["isOnSwitchStatement"] = isOnSwitc
hStatement; |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6181 fbBuilder.addUint32(11, _visibleOffset); | 6204 fbBuilder.addUint32(11, _visibleOffset); |
| 6182 } | 6205 } |
| 6183 return fbBuilder.endTable(); | 6206 return fbBuilder.endTable(); |
| 6184 } | 6207 } |
| 6185 } | 6208 } |
| 6186 | 6209 |
| 6187 class _UnlinkedParamReader extends fb.TableReader<_UnlinkedParamImpl> { | 6210 class _UnlinkedParamReader extends fb.TableReader<_UnlinkedParamImpl> { |
| 6188 const _UnlinkedParamReader(); | 6211 const _UnlinkedParamReader(); |
| 6189 | 6212 |
| 6190 @override | 6213 @override |
| 6191 _UnlinkedParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedParamImpl
(bp); | 6214 _UnlinkedParamImpl createObject(fb.BufferContext bc, int offset) => new _Unlin
kedParamImpl(bc, offset); |
| 6192 } | 6215 } |
| 6193 | 6216 |
| 6194 class _UnlinkedParamImpl extends Object with _UnlinkedParamMixin implements idl.
UnlinkedParam { | 6217 class _UnlinkedParamImpl extends Object with _UnlinkedParamMixin implements idl.
UnlinkedParam { |
| 6195 final fb.BufferPointer _bp; | 6218 final fb.BufferContext _bc; |
| 6219 final int _bcOffset; |
| 6196 | 6220 |
| 6197 _UnlinkedParamImpl(this._bp); | 6221 _UnlinkedParamImpl(this._bc, this._bcOffset); |
| 6198 | 6222 |
| 6199 List<idl.UnlinkedConst> _annotations; | 6223 List<idl.UnlinkedConst> _annotations; |
| 6200 idl.CodeRange _codeRange; | 6224 idl.CodeRange _codeRange; |
| 6201 idl.UnlinkedConst _defaultValue; | 6225 idl.UnlinkedConst _defaultValue; |
| 6202 String _defaultValueCode; | 6226 String _defaultValueCode; |
| 6203 int _inferredTypeSlot; | 6227 int _inferredTypeSlot; |
| 6204 idl.UnlinkedExecutable _initializer; | 6228 idl.UnlinkedExecutable _initializer; |
| 6205 bool _isFunctionTyped; | 6229 bool _isFunctionTyped; |
| 6206 bool _isInitializingFormal; | 6230 bool _isInitializingFormal; |
| 6207 idl.UnlinkedParamKind _kind; | 6231 idl.UnlinkedParamKind _kind; |
| 6208 String _name; | 6232 String _name; |
| 6209 int _nameOffset; | 6233 int _nameOffset; |
| 6210 List<idl.UnlinkedParam> _parameters; | 6234 List<idl.UnlinkedParam> _parameters; |
| 6211 idl.EntityRef _type; | 6235 idl.EntityRef _type; |
| 6212 int _visibleLength; | 6236 int _visibleLength; |
| 6213 int _visibleOffset; | 6237 int _visibleOffset; |
| 6214 | 6238 |
| 6215 @override | 6239 @override |
| 6216 List<idl.UnlinkedConst> get annotations { | 6240 List<idl.UnlinkedConst> get annotations { |
| 6217 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 9, const <idl.UnlinkedConst>[]); | 6241 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 9, const <idl.UnlinkedConst>[]); |
| 6218 return _annotations; | 6242 return _annotations; |
| 6219 } | 6243 } |
| 6220 | 6244 |
| 6221 @override | 6245 @override |
| 6222 idl.CodeRange get codeRange { | 6246 idl.CodeRange get codeRange { |
| 6223 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 14, null); | 6247 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 14, null); |
| 6224 return _codeRange; | 6248 return _codeRange; |
| 6225 } | 6249 } |
| 6226 | 6250 |
| 6227 @override | 6251 @override |
| 6228 idl.UnlinkedConst get defaultValue { | 6252 idl.UnlinkedConst get defaultValue { |
| 6229 _defaultValue ??= const _UnlinkedConstReader().vTableGet(_bp, 7, null); | 6253 _defaultValue ??= const _UnlinkedConstReader().vTableGet(_bc, _bcOffset, 7,
null); |
| 6230 return _defaultValue; | 6254 return _defaultValue; |
| 6231 } | 6255 } |
| 6232 | 6256 |
| 6233 @override | 6257 @override |
| 6234 String get defaultValueCode { | 6258 String get defaultValueCode { |
| 6235 _defaultValueCode ??= const fb.StringReader().vTableGet(_bp, 13, ''); | 6259 _defaultValueCode ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 13,
''); |
| 6236 return _defaultValueCode; | 6260 return _defaultValueCode; |
| 6237 } | 6261 } |
| 6238 | 6262 |
| 6239 @override | 6263 @override |
| 6240 int get inferredTypeSlot { | 6264 int get inferredTypeSlot { |
| 6241 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 6265 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2, 0
); |
| 6242 return _inferredTypeSlot; | 6266 return _inferredTypeSlot; |
| 6243 } | 6267 } |
| 6244 | 6268 |
| 6245 @override | 6269 @override |
| 6246 idl.UnlinkedExecutable get initializer { | 6270 idl.UnlinkedExecutable get initializer { |
| 6247 _initializer ??= const _UnlinkedExecutableReader().vTableGet(_bp, 12, null); | 6271 _initializer ??= const _UnlinkedExecutableReader().vTableGet(_bc, _bcOffset,
12, null); |
| 6248 return _initializer; | 6272 return _initializer; |
| 6249 } | 6273 } |
| 6250 | 6274 |
| 6251 @override | 6275 @override |
| 6252 bool get isFunctionTyped { | 6276 bool get isFunctionTyped { |
| 6253 _isFunctionTyped ??= const fb.BoolReader().vTableGet(_bp, 5, false); | 6277 _isFunctionTyped ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 5, fals
e); |
| 6254 return _isFunctionTyped; | 6278 return _isFunctionTyped; |
| 6255 } | 6279 } |
| 6256 | 6280 |
| 6257 @override | 6281 @override |
| 6258 bool get isInitializingFormal { | 6282 bool get isInitializingFormal { |
| 6259 _isInitializingFormal ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 6283 _isInitializingFormal ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 6,
false); |
| 6260 return _isInitializingFormal; | 6284 return _isInitializingFormal; |
| 6261 } | 6285 } |
| 6262 | 6286 |
| 6263 @override | 6287 @override |
| 6264 idl.UnlinkedParamKind get kind { | 6288 idl.UnlinkedParamKind get kind { |
| 6265 _kind ??= const _UnlinkedParamKindReader().vTableGet(_bp, 4, idl.UnlinkedPar
amKind.required); | 6289 _kind ??= const _UnlinkedParamKindReader().vTableGet(_bc, _bcOffset, 4, idl.
UnlinkedParamKind.required); |
| 6266 return _kind; | 6290 return _kind; |
| 6267 } | 6291 } |
| 6268 | 6292 |
| 6269 @override | 6293 @override |
| 6270 String get name { | 6294 String get name { |
| 6271 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 6295 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 6272 return _name; | 6296 return _name; |
| 6273 } | 6297 } |
| 6274 | 6298 |
| 6275 @override | 6299 @override |
| 6276 int get nameOffset { | 6300 int get nameOffset { |
| 6277 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 6301 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 6278 return _nameOffset; | 6302 return _nameOffset; |
| 6279 } | 6303 } |
| 6280 | 6304 |
| 6281 @override | 6305 @override |
| 6282 List<idl.UnlinkedParam> get parameters { | 6306 List<idl.UnlinkedParam> get parameters { |
| 6283 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 8, const <idl.UnlinkedParam>[]); | 6307 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bc, _bcOffset, 8, const <idl.UnlinkedParam>[]); |
| 6284 return _parameters; | 6308 return _parameters; |
| 6285 } | 6309 } |
| 6286 | 6310 |
| 6287 @override | 6311 @override |
| 6288 idl.EntityRef get type { | 6312 idl.EntityRef get type { |
| 6289 _type ??= const _EntityRefReader().vTableGet(_bp, 3, null); | 6313 _type ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 3, null); |
| 6290 return _type; | 6314 return _type; |
| 6291 } | 6315 } |
| 6292 | 6316 |
| 6293 @override | 6317 @override |
| 6294 int get visibleLength { | 6318 int get visibleLength { |
| 6295 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bp, 10, 0); | 6319 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 10, 0); |
| 6296 return _visibleLength; | 6320 return _visibleLength; |
| 6297 } | 6321 } |
| 6298 | 6322 |
| 6299 @override | 6323 @override |
| 6300 int get visibleOffset { | 6324 int get visibleOffset { |
| 6301 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bp, 11, 0); | 6325 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 11, 0); |
| 6302 return _visibleOffset; | 6326 return _visibleOffset; |
| 6303 } | 6327 } |
| 6304 } | 6328 } |
| 6305 | 6329 |
| 6306 abstract class _UnlinkedParamMixin implements idl.UnlinkedParam { | 6330 abstract class _UnlinkedParamMixin implements idl.UnlinkedParam { |
| 6307 @override | 6331 @override |
| 6308 Map<String, Object> toJson() { | 6332 Map<String, Object> toJson() { |
| 6309 Map<String, Object> _result = <String, Object>{}; | 6333 Map<String, Object> _result = <String, Object>{}; |
| 6310 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 6334 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 6311 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 6335 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6424 fbBuilder.addUint32(1, _uriOffset); | 6448 fbBuilder.addUint32(1, _uriOffset); |
| 6425 } | 6449 } |
| 6426 return fbBuilder.endTable(); | 6450 return fbBuilder.endTable(); |
| 6427 } | 6451 } |
| 6428 } | 6452 } |
| 6429 | 6453 |
| 6430 class _UnlinkedPartReader extends fb.TableReader<_UnlinkedPartImpl> { | 6454 class _UnlinkedPartReader extends fb.TableReader<_UnlinkedPartImpl> { |
| 6431 const _UnlinkedPartReader(); | 6455 const _UnlinkedPartReader(); |
| 6432 | 6456 |
| 6433 @override | 6457 @override |
| 6434 _UnlinkedPartImpl createObject(fb.BufferPointer bp) => new _UnlinkedPartImpl(b
p); | 6458 _UnlinkedPartImpl createObject(fb.BufferContext bc, int offset) => new _Unlink
edPartImpl(bc, offset); |
| 6435 } | 6459 } |
| 6436 | 6460 |
| 6437 class _UnlinkedPartImpl extends Object with _UnlinkedPartMixin implements idl.Un
linkedPart { | 6461 class _UnlinkedPartImpl extends Object with _UnlinkedPartMixin implements idl.Un
linkedPart { |
| 6438 final fb.BufferPointer _bp; | 6462 final fb.BufferContext _bc; |
| 6463 final int _bcOffset; |
| 6439 | 6464 |
| 6440 _UnlinkedPartImpl(this._bp); | 6465 _UnlinkedPartImpl(this._bc, this._bcOffset); |
| 6441 | 6466 |
| 6442 List<idl.UnlinkedConst> _annotations; | 6467 List<idl.UnlinkedConst> _annotations; |
| 6443 int _uriEnd; | 6468 int _uriEnd; |
| 6444 int _uriOffset; | 6469 int _uriOffset; |
| 6445 | 6470 |
| 6446 @override | 6471 @override |
| 6447 List<idl.UnlinkedConst> get annotations { | 6472 List<idl.UnlinkedConst> get annotations { |
| 6448 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 2, const <idl.UnlinkedConst>[]); | 6473 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedConst>[]); |
| 6449 return _annotations; | 6474 return _annotations; |
| 6450 } | 6475 } |
| 6451 | 6476 |
| 6452 @override | 6477 @override |
| 6453 int get uriEnd { | 6478 int get uriEnd { |
| 6454 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bp, 0, 0); | 6479 _uriEnd ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 0, 0); |
| 6455 return _uriEnd; | 6480 return _uriEnd; |
| 6456 } | 6481 } |
| 6457 | 6482 |
| 6458 @override | 6483 @override |
| 6459 int get uriOffset { | 6484 int get uriOffset { |
| 6460 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 6485 _uriOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 6461 return _uriOffset; | 6486 return _uriOffset; |
| 6462 } | 6487 } |
| 6463 } | 6488 } |
| 6464 | 6489 |
| 6465 abstract class _UnlinkedPartMixin implements idl.UnlinkedPart { | 6490 abstract class _UnlinkedPartMixin implements idl.UnlinkedPart { |
| 6466 @override | 6491 @override |
| 6467 Map<String, Object> toJson() { | 6492 Map<String, Object> toJson() { |
| 6468 Map<String, Object> _result = <String, Object>{}; | 6493 Map<String, Object> _result = <String, Object>{}; |
| 6469 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 6494 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 6470 if (uriEnd != 0) _result["uriEnd"] = uriEnd; | 6495 if (uriEnd != 0) _result["uriEnd"] = uriEnd; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6580 fbBuilder.addUint32(3, _numTypeParameters); | 6605 fbBuilder.addUint32(3, _numTypeParameters); |
| 6581 } | 6606 } |
| 6582 return fbBuilder.endTable(); | 6607 return fbBuilder.endTable(); |
| 6583 } | 6608 } |
| 6584 } | 6609 } |
| 6585 | 6610 |
| 6586 class _UnlinkedPublicNameReader extends fb.TableReader<_UnlinkedPublicNameImpl>
{ | 6611 class _UnlinkedPublicNameReader extends fb.TableReader<_UnlinkedPublicNameImpl>
{ |
| 6587 const _UnlinkedPublicNameReader(); | 6612 const _UnlinkedPublicNameReader(); |
| 6588 | 6613 |
| 6589 @override | 6614 @override |
| 6590 _UnlinkedPublicNameImpl createObject(fb.BufferPointer bp) => new _UnlinkedPubl
icNameImpl(bp); | 6615 _UnlinkedPublicNameImpl createObject(fb.BufferContext bc, int offset) => new _
UnlinkedPublicNameImpl(bc, offset); |
| 6591 } | 6616 } |
| 6592 | 6617 |
| 6593 class _UnlinkedPublicNameImpl extends Object with _UnlinkedPublicNameMixin imple
ments idl.UnlinkedPublicName { | 6618 class _UnlinkedPublicNameImpl extends Object with _UnlinkedPublicNameMixin imple
ments idl.UnlinkedPublicName { |
| 6594 final fb.BufferPointer _bp; | 6619 final fb.BufferContext _bc; |
| 6620 final int _bcOffset; |
| 6595 | 6621 |
| 6596 _UnlinkedPublicNameImpl(this._bp); | 6622 _UnlinkedPublicNameImpl(this._bc, this._bcOffset); |
| 6597 | 6623 |
| 6598 idl.ReferenceKind _kind; | 6624 idl.ReferenceKind _kind; |
| 6599 List<idl.UnlinkedPublicName> _members; | 6625 List<idl.UnlinkedPublicName> _members; |
| 6600 String _name; | 6626 String _name; |
| 6601 int _numTypeParameters; | 6627 int _numTypeParameters; |
| 6602 | 6628 |
| 6603 @override | 6629 @override |
| 6604 idl.ReferenceKind get kind { | 6630 idl.ReferenceKind get kind { |
| 6605 _kind ??= const _ReferenceKindReader().vTableGet(_bp, 1, idl.ReferenceKind.c
lassOrEnum); | 6631 _kind ??= const _ReferenceKindReader().vTableGet(_bc, _bcOffset, 1, idl.Refe
renceKind.classOrEnum); |
| 6606 return _kind; | 6632 return _kind; |
| 6607 } | 6633 } |
| 6608 | 6634 |
| 6609 @override | 6635 @override |
| 6610 List<idl.UnlinkedPublicName> get members { | 6636 List<idl.UnlinkedPublicName> get members { |
| 6611 _members ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPubl
icNameReader()).vTableGet(_bp, 2, const <idl.UnlinkedPublicName>[]); | 6637 _members ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPubl
icNameReader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedPublicName>[]); |
| 6612 return _members; | 6638 return _members; |
| 6613 } | 6639 } |
| 6614 | 6640 |
| 6615 @override | 6641 @override |
| 6616 String get name { | 6642 String get name { |
| 6617 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 6643 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 6618 return _name; | 6644 return _name; |
| 6619 } | 6645 } |
| 6620 | 6646 |
| 6621 @override | 6647 @override |
| 6622 int get numTypeParameters { | 6648 int get numTypeParameters { |
| 6623 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); | 6649 _numTypeParameters ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 3,
0); |
| 6624 return _numTypeParameters; | 6650 return _numTypeParameters; |
| 6625 } | 6651 } |
| 6626 } | 6652 } |
| 6627 | 6653 |
| 6628 abstract class _UnlinkedPublicNameMixin implements idl.UnlinkedPublicName { | 6654 abstract class _UnlinkedPublicNameMixin implements idl.UnlinkedPublicName { |
| 6629 @override | 6655 @override |
| 6630 Map<String, Object> toJson() { | 6656 Map<String, Object> toJson() { |
| 6631 Map<String, Object> _result = <String, Object>{}; | 6657 Map<String, Object> _result = <String, Object>{}; |
| 6632 if (kind != idl.ReferenceKind.classOrEnum) _result["kind"] = kind.toString()
.split('.')[1]; | 6658 if (kind != idl.ReferenceKind.classOrEnum) _result["kind"] = kind.toString()
.split('.')[1]; |
| 6633 if (members.isNotEmpty) _result["members"] = members.map((_value) => _value.
toJson()).toList(); | 6659 if (members.isNotEmpty) _result["members"] = members.map((_value) => _value.
toJson()).toList(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6732 fbBuilder.addOffset(0, offset_names); | 6758 fbBuilder.addOffset(0, offset_names); |
| 6733 } | 6759 } |
| 6734 if (offset_parts != null) { | 6760 if (offset_parts != null) { |
| 6735 fbBuilder.addOffset(1, offset_parts); | 6761 fbBuilder.addOffset(1, offset_parts); |
| 6736 } | 6762 } |
| 6737 return fbBuilder.endTable(); | 6763 return fbBuilder.endTable(); |
| 6738 } | 6764 } |
| 6739 } | 6765 } |
| 6740 | 6766 |
| 6741 idl.UnlinkedPublicNamespace readUnlinkedPublicNamespace(List<int> buffer) { | 6767 idl.UnlinkedPublicNamespace readUnlinkedPublicNamespace(List<int> buffer) { |
| 6742 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 6768 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 6743 return const _UnlinkedPublicNamespaceReader().read(rootRef); | 6769 return const _UnlinkedPublicNamespaceReader().read(rootRef, 0); |
| 6744 } | 6770 } |
| 6745 | 6771 |
| 6746 class _UnlinkedPublicNamespaceReader extends fb.TableReader<_UnlinkedPublicNames
paceImpl> { | 6772 class _UnlinkedPublicNamespaceReader extends fb.TableReader<_UnlinkedPublicNames
paceImpl> { |
| 6747 const _UnlinkedPublicNamespaceReader(); | 6773 const _UnlinkedPublicNamespaceReader(); |
| 6748 | 6774 |
| 6749 @override | 6775 @override |
| 6750 _UnlinkedPublicNamespaceImpl createObject(fb.BufferPointer bp) => new _Unlinke
dPublicNamespaceImpl(bp); | 6776 _UnlinkedPublicNamespaceImpl createObject(fb.BufferContext bc, int offset) =>
new _UnlinkedPublicNamespaceImpl(bc, offset); |
| 6751 } | 6777 } |
| 6752 | 6778 |
| 6753 class _UnlinkedPublicNamespaceImpl extends Object with _UnlinkedPublicNamespaceM
ixin implements idl.UnlinkedPublicNamespace { | 6779 class _UnlinkedPublicNamespaceImpl extends Object with _UnlinkedPublicNamespaceM
ixin implements idl.UnlinkedPublicNamespace { |
| 6754 final fb.BufferPointer _bp; | 6780 final fb.BufferContext _bc; |
| 6781 final int _bcOffset; |
| 6755 | 6782 |
| 6756 _UnlinkedPublicNamespaceImpl(this._bp); | 6783 _UnlinkedPublicNamespaceImpl(this._bc, this._bcOffset); |
| 6757 | 6784 |
| 6758 List<idl.UnlinkedExportPublic> _exports; | 6785 List<idl.UnlinkedExportPublic> _exports; |
| 6759 List<idl.UnlinkedPublicName> _names; | 6786 List<idl.UnlinkedPublicName> _names; |
| 6760 List<String> _parts; | 6787 List<String> _parts; |
| 6761 | 6788 |
| 6762 @override | 6789 @override |
| 6763 List<idl.UnlinkedExportPublic> get exports { | 6790 List<idl.UnlinkedExportPublic> get exports { |
| 6764 _exports ??= const fb.ListReader<idl.UnlinkedExportPublic>(const _UnlinkedEx
portPublicReader()).vTableGet(_bp, 2, const <idl.UnlinkedExportPublic>[]); | 6791 _exports ??= const fb.ListReader<idl.UnlinkedExportPublic>(const _UnlinkedEx
portPublicReader()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedExportPublic
>[]); |
| 6765 return _exports; | 6792 return _exports; |
| 6766 } | 6793 } |
| 6767 | 6794 |
| 6768 @override | 6795 @override |
| 6769 List<idl.UnlinkedPublicName> get names { | 6796 List<idl.UnlinkedPublicName> get names { |
| 6770 _names ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPublic
NameReader()).vTableGet(_bp, 0, const <idl.UnlinkedPublicName>[]); | 6797 _names ??= const fb.ListReader<idl.UnlinkedPublicName>(const _UnlinkedPublic
NameReader()).vTableGet(_bc, _bcOffset, 0, const <idl.UnlinkedPublicName>[]); |
| 6771 return _names; | 6798 return _names; |
| 6772 } | 6799 } |
| 6773 | 6800 |
| 6774 @override | 6801 @override |
| 6775 List<String> get parts { | 6802 List<String> get parts { |
| 6776 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
p, 1, const <String>[]); | 6803 _parts ??= const fb.ListReader<String>(const fb.StringReader()).vTableGet(_b
c, _bcOffset, 1, const <String>[]); |
| 6777 return _parts; | 6804 return _parts; |
| 6778 } | 6805 } |
| 6779 } | 6806 } |
| 6780 | 6807 |
| 6781 abstract class _UnlinkedPublicNamespaceMixin implements idl.UnlinkedPublicNamesp
ace { | 6808 abstract class _UnlinkedPublicNamespaceMixin implements idl.UnlinkedPublicNamesp
ace { |
| 6782 @override | 6809 @override |
| 6783 Map<String, Object> toJson() { | 6810 Map<String, Object> toJson() { |
| 6784 Map<String, Object> _result = <String, Object>{}; | 6811 Map<String, Object> _result = <String, Object>{}; |
| 6785 if (exports.isNotEmpty) _result["exports"] = exports.map((_value) => _value.
toJson()).toList(); | 6812 if (exports.isNotEmpty) _result["exports"] = exports.map((_value) => _value.
toJson()).toList(); |
| 6786 if (names.isNotEmpty) _result["names"] = names.map((_value) => _value.toJson
()).toList(); | 6813 if (names.isNotEmpty) _result["names"] = names.map((_value) => _value.toJson
()).toList(); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6860 fbBuilder.addUint32(1, _prefixReference); | 6887 fbBuilder.addUint32(1, _prefixReference); |
| 6861 } | 6888 } |
| 6862 return fbBuilder.endTable(); | 6889 return fbBuilder.endTable(); |
| 6863 } | 6890 } |
| 6864 } | 6891 } |
| 6865 | 6892 |
| 6866 class _UnlinkedReferenceReader extends fb.TableReader<_UnlinkedReferenceImpl> { | 6893 class _UnlinkedReferenceReader extends fb.TableReader<_UnlinkedReferenceImpl> { |
| 6867 const _UnlinkedReferenceReader(); | 6894 const _UnlinkedReferenceReader(); |
| 6868 | 6895 |
| 6869 @override | 6896 @override |
| 6870 _UnlinkedReferenceImpl createObject(fb.BufferPointer bp) => new _UnlinkedRefer
enceImpl(bp); | 6897 _UnlinkedReferenceImpl createObject(fb.BufferContext bc, int offset) => new _U
nlinkedReferenceImpl(bc, offset); |
| 6871 } | 6898 } |
| 6872 | 6899 |
| 6873 class _UnlinkedReferenceImpl extends Object with _UnlinkedReferenceMixin impleme
nts idl.UnlinkedReference { | 6900 class _UnlinkedReferenceImpl extends Object with _UnlinkedReferenceMixin impleme
nts idl.UnlinkedReference { |
| 6874 final fb.BufferPointer _bp; | 6901 final fb.BufferContext _bc; |
| 6902 final int _bcOffset; |
| 6875 | 6903 |
| 6876 _UnlinkedReferenceImpl(this._bp); | 6904 _UnlinkedReferenceImpl(this._bc, this._bcOffset); |
| 6877 | 6905 |
| 6878 String _name; | 6906 String _name; |
| 6879 int _prefixReference; | 6907 int _prefixReference; |
| 6880 | 6908 |
| 6881 @override | 6909 @override |
| 6882 String get name { | 6910 String get name { |
| 6883 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 6911 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 6884 return _name; | 6912 return _name; |
| 6885 } | 6913 } |
| 6886 | 6914 |
| 6887 @override | 6915 @override |
| 6888 int get prefixReference { | 6916 int get prefixReference { |
| 6889 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 6917 _prefixReference ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0)
; |
| 6890 return _prefixReference; | 6918 return _prefixReference; |
| 6891 } | 6919 } |
| 6892 } | 6920 } |
| 6893 | 6921 |
| 6894 abstract class _UnlinkedReferenceMixin implements idl.UnlinkedReference { | 6922 abstract class _UnlinkedReferenceMixin implements idl.UnlinkedReference { |
| 6895 @override | 6923 @override |
| 6896 Map<String, Object> toJson() { | 6924 Map<String, Object> toJson() { |
| 6897 Map<String, Object> _result = <String, Object>{}; | 6925 Map<String, Object> _result = <String, Object>{}; |
| 6898 if (name != '') _result["name"] = name; | 6926 if (name != '') _result["name"] = name; |
| 6899 if (prefixReference != 0) _result["prefixReference"] = prefixReference; | 6927 if (prefixReference != 0) _result["prefixReference"] = prefixReference; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7092 fbBuilder.addOffset(5, offset_typeParameters); | 7120 fbBuilder.addOffset(5, offset_typeParameters); |
| 7093 } | 7121 } |
| 7094 return fbBuilder.endTable(); | 7122 return fbBuilder.endTable(); |
| 7095 } | 7123 } |
| 7096 } | 7124 } |
| 7097 | 7125 |
| 7098 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { | 7126 class _UnlinkedTypedefReader extends fb.TableReader<_UnlinkedTypedefImpl> { |
| 7099 const _UnlinkedTypedefReader(); | 7127 const _UnlinkedTypedefReader(); |
| 7100 | 7128 |
| 7101 @override | 7129 @override |
| 7102 _UnlinkedTypedefImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypedef
Impl(bp); | 7130 _UnlinkedTypedefImpl createObject(fb.BufferContext bc, int offset) => new _Unl
inkedTypedefImpl(bc, offset); |
| 7103 } | 7131 } |
| 7104 | 7132 |
| 7105 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { | 7133 class _UnlinkedTypedefImpl extends Object with _UnlinkedTypedefMixin implements
idl.UnlinkedTypedef { |
| 7106 final fb.BufferPointer _bp; | 7134 final fb.BufferContext _bc; |
| 7135 final int _bcOffset; |
| 7107 | 7136 |
| 7108 _UnlinkedTypedefImpl(this._bp); | 7137 _UnlinkedTypedefImpl(this._bc, this._bcOffset); |
| 7109 | 7138 |
| 7110 List<idl.UnlinkedConst> _annotations; | 7139 List<idl.UnlinkedConst> _annotations; |
| 7111 idl.CodeRange _codeRange; | 7140 idl.CodeRange _codeRange; |
| 7112 idl.UnlinkedDocumentationComment _documentationComment; | 7141 idl.UnlinkedDocumentationComment _documentationComment; |
| 7113 String _name; | 7142 String _name; |
| 7114 int _nameOffset; | 7143 int _nameOffset; |
| 7115 List<idl.UnlinkedParam> _parameters; | 7144 List<idl.UnlinkedParam> _parameters; |
| 7116 idl.EntityRef _returnType; | 7145 idl.EntityRef _returnType; |
| 7117 List<idl.UnlinkedTypeParam> _typeParameters; | 7146 List<idl.UnlinkedTypeParam> _typeParameters; |
| 7118 | 7147 |
| 7119 @override | 7148 @override |
| 7120 List<idl.UnlinkedConst> get annotations { | 7149 List<idl.UnlinkedConst> get annotations { |
| 7121 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 4, const <idl.UnlinkedConst>[]); | 7150 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedConst>[]); |
| 7122 return _annotations; | 7151 return _annotations; |
| 7123 } | 7152 } |
| 7124 | 7153 |
| 7125 @override | 7154 @override |
| 7126 idl.CodeRange get codeRange { | 7155 idl.CodeRange get codeRange { |
| 7127 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 7, null); | 7156 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 7, null); |
| 7128 return _codeRange; | 7157 return _codeRange; |
| 7129 } | 7158 } |
| 7130 | 7159 |
| 7131 @override | 7160 @override |
| 7132 idl.UnlinkedDocumentationComment get documentationComment { | 7161 idl.UnlinkedDocumentationComment get documentationComment { |
| 7133 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 6, null); | 7162 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 6, null); |
| 7134 return _documentationComment; | 7163 return _documentationComment; |
| 7135 } | 7164 } |
| 7136 | 7165 |
| 7137 @override | 7166 @override |
| 7138 String get name { | 7167 String get name { |
| 7139 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 7168 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 7140 return _name; | 7169 return _name; |
| 7141 } | 7170 } |
| 7142 | 7171 |
| 7143 @override | 7172 @override |
| 7144 int get nameOffset { | 7173 int get nameOffset { |
| 7145 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 7174 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 7146 return _nameOffset; | 7175 return _nameOffset; |
| 7147 } | 7176 } |
| 7148 | 7177 |
| 7149 @override | 7178 @override |
| 7150 List<idl.UnlinkedParam> get parameters { | 7179 List<idl.UnlinkedParam> get parameters { |
| 7151 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bp, 3, const <idl.UnlinkedParam>[]); | 7180 _parameters ??= const fb.ListReader<idl.UnlinkedParam>(const _UnlinkedParamR
eader()).vTableGet(_bc, _bcOffset, 3, const <idl.UnlinkedParam>[]); |
| 7152 return _parameters; | 7181 return _parameters; |
| 7153 } | 7182 } |
| 7154 | 7183 |
| 7155 @override | 7184 @override |
| 7156 idl.EntityRef get returnType { | 7185 idl.EntityRef get returnType { |
| 7157 _returnType ??= const _EntityRefReader().vTableGet(_bp, 2, null); | 7186 _returnType ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 2, null); |
| 7158 return _returnType; | 7187 return _returnType; |
| 7159 } | 7188 } |
| 7160 | 7189 |
| 7161 @override | 7190 @override |
| 7162 List<idl.UnlinkedTypeParam> get typeParameters { | 7191 List<idl.UnlinkedTypeParam> get typeParameters { |
| 7163 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bp, 5, const <idl.UnlinkedTypeParam>[]); | 7192 _typeParameters ??= const fb.ListReader<idl.UnlinkedTypeParam>(const _Unlink
edTypeParamReader()).vTableGet(_bc, _bcOffset, 5, const <idl.UnlinkedTypeParam>[
]); |
| 7164 return _typeParameters; | 7193 return _typeParameters; |
| 7165 } | 7194 } |
| 7166 } | 7195 } |
| 7167 | 7196 |
| 7168 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { | 7197 abstract class _UnlinkedTypedefMixin implements idl.UnlinkedTypedef { |
| 7169 @override | 7198 @override |
| 7170 Map<String, Object> toJson() { | 7199 Map<String, Object> toJson() { |
| 7171 Map<String, Object> _result = <String, Object>{}; | 7200 Map<String, Object> _result = <String, Object>{}; |
| 7172 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 7201 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 7173 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 7202 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7315 fbBuilder.addUint32(1, _nameOffset); | 7344 fbBuilder.addUint32(1, _nameOffset); |
| 7316 } | 7345 } |
| 7317 return fbBuilder.endTable(); | 7346 return fbBuilder.endTable(); |
| 7318 } | 7347 } |
| 7319 } | 7348 } |
| 7320 | 7349 |
| 7321 class _UnlinkedTypeParamReader extends fb.TableReader<_UnlinkedTypeParamImpl> { | 7350 class _UnlinkedTypeParamReader extends fb.TableReader<_UnlinkedTypeParamImpl> { |
| 7322 const _UnlinkedTypeParamReader(); | 7351 const _UnlinkedTypeParamReader(); |
| 7323 | 7352 |
| 7324 @override | 7353 @override |
| 7325 _UnlinkedTypeParamImpl createObject(fb.BufferPointer bp) => new _UnlinkedTypeP
aramImpl(bp); | 7354 _UnlinkedTypeParamImpl createObject(fb.BufferContext bc, int offset) => new _U
nlinkedTypeParamImpl(bc, offset); |
| 7326 } | 7355 } |
| 7327 | 7356 |
| 7328 class _UnlinkedTypeParamImpl extends Object with _UnlinkedTypeParamMixin impleme
nts idl.UnlinkedTypeParam { | 7357 class _UnlinkedTypeParamImpl extends Object with _UnlinkedTypeParamMixin impleme
nts idl.UnlinkedTypeParam { |
| 7329 final fb.BufferPointer _bp; | 7358 final fb.BufferContext _bc; |
| 7359 final int _bcOffset; |
| 7330 | 7360 |
| 7331 _UnlinkedTypeParamImpl(this._bp); | 7361 _UnlinkedTypeParamImpl(this._bc, this._bcOffset); |
| 7332 | 7362 |
| 7333 List<idl.UnlinkedConst> _annotations; | 7363 List<idl.UnlinkedConst> _annotations; |
| 7334 idl.EntityRef _bound; | 7364 idl.EntityRef _bound; |
| 7335 idl.CodeRange _codeRange; | 7365 idl.CodeRange _codeRange; |
| 7336 String _name; | 7366 String _name; |
| 7337 int _nameOffset; | 7367 int _nameOffset; |
| 7338 | 7368 |
| 7339 @override | 7369 @override |
| 7340 List<idl.UnlinkedConst> get annotations { | 7370 List<idl.UnlinkedConst> get annotations { |
| 7341 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 3, const <idl.UnlinkedConst>[]); | 7371 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 3, const <idl.UnlinkedConst>[]); |
| 7342 return _annotations; | 7372 return _annotations; |
| 7343 } | 7373 } |
| 7344 | 7374 |
| 7345 @override | 7375 @override |
| 7346 idl.EntityRef get bound { | 7376 idl.EntityRef get bound { |
| 7347 _bound ??= const _EntityRefReader().vTableGet(_bp, 2, null); | 7377 _bound ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 2, null); |
| 7348 return _bound; | 7378 return _bound; |
| 7349 } | 7379 } |
| 7350 | 7380 |
| 7351 @override | 7381 @override |
| 7352 idl.CodeRange get codeRange { | 7382 idl.CodeRange get codeRange { |
| 7353 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 4, null); | 7383 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 4, null); |
| 7354 return _codeRange; | 7384 return _codeRange; |
| 7355 } | 7385 } |
| 7356 | 7386 |
| 7357 @override | 7387 @override |
| 7358 String get name { | 7388 String get name { |
| 7359 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 7389 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 7360 return _name; | 7390 return _name; |
| 7361 } | 7391 } |
| 7362 | 7392 |
| 7363 @override | 7393 @override |
| 7364 int get nameOffset { | 7394 int get nameOffset { |
| 7365 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 7395 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 7366 return _nameOffset; | 7396 return _nameOffset; |
| 7367 } | 7397 } |
| 7368 } | 7398 } |
| 7369 | 7399 |
| 7370 abstract class _UnlinkedTypeParamMixin implements idl.UnlinkedTypeParam { | 7400 abstract class _UnlinkedTypeParamMixin implements idl.UnlinkedTypeParam { |
| 7371 @override | 7401 @override |
| 7372 Map<String, Object> toJson() { | 7402 Map<String, Object> toJson() { |
| 7373 Map<String, Object> _result = <String, Object>{}; | 7403 Map<String, Object> _result = <String, Object>{}; |
| 7374 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 7404 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 7375 if (bound != null) _result["bound"] = bound.toJson(); | 7405 if (bound != null) _result["bound"] = bound.toJson(); |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7773 fbBuilder.addOffset(10, offset_typedefs); | 7803 fbBuilder.addOffset(10, offset_typedefs); |
| 7774 } | 7804 } |
| 7775 if (offset_variables != null) { | 7805 if (offset_variables != null) { |
| 7776 fbBuilder.addOffset(3, offset_variables); | 7806 fbBuilder.addOffset(3, offset_variables); |
| 7777 } | 7807 } |
| 7778 return fbBuilder.endTable(); | 7808 return fbBuilder.endTable(); |
| 7779 } | 7809 } |
| 7780 } | 7810 } |
| 7781 | 7811 |
| 7782 idl.UnlinkedUnit readUnlinkedUnit(List<int> buffer) { | 7812 idl.UnlinkedUnit readUnlinkedUnit(List<int> buffer) { |
| 7783 fb.BufferPointer rootRef = new fb.BufferPointer.fromBytes(buffer); | 7813 fb.BufferContext rootRef = new fb.BufferContext.fromBytes(buffer); |
| 7784 return const _UnlinkedUnitReader().read(rootRef); | 7814 return const _UnlinkedUnitReader().read(rootRef, 0); |
| 7785 } | 7815 } |
| 7786 | 7816 |
| 7787 class _UnlinkedUnitReader extends fb.TableReader<_UnlinkedUnitImpl> { | 7817 class _UnlinkedUnitReader extends fb.TableReader<_UnlinkedUnitImpl> { |
| 7788 const _UnlinkedUnitReader(); | 7818 const _UnlinkedUnitReader(); |
| 7789 | 7819 |
| 7790 @override | 7820 @override |
| 7791 _UnlinkedUnitImpl createObject(fb.BufferPointer bp) => new _UnlinkedUnitImpl(b
p); | 7821 _UnlinkedUnitImpl createObject(fb.BufferContext bc, int offset) => new _Unlink
edUnitImpl(bc, offset); |
| 7792 } | 7822 } |
| 7793 | 7823 |
| 7794 class _UnlinkedUnitImpl extends Object with _UnlinkedUnitMixin implements idl.Un
linkedUnit { | 7824 class _UnlinkedUnitImpl extends Object with _UnlinkedUnitMixin implements idl.Un
linkedUnit { |
| 7795 final fb.BufferPointer _bp; | 7825 final fb.BufferContext _bc; |
| 7826 final int _bcOffset; |
| 7796 | 7827 |
| 7797 _UnlinkedUnitImpl(this._bp); | 7828 _UnlinkedUnitImpl(this._bc, this._bcOffset); |
| 7798 | 7829 |
| 7799 List<idl.UnlinkedClass> _classes; | 7830 List<idl.UnlinkedClass> _classes; |
| 7800 idl.CodeRange _codeRange; | 7831 idl.CodeRange _codeRange; |
| 7801 List<idl.UnlinkedEnum> _enums; | 7832 List<idl.UnlinkedEnum> _enums; |
| 7802 List<idl.UnlinkedExecutable> _executables; | 7833 List<idl.UnlinkedExecutable> _executables; |
| 7803 List<idl.UnlinkedExportNonPublic> _exports; | 7834 List<idl.UnlinkedExportNonPublic> _exports; |
| 7804 String _fallbackModePath; | 7835 String _fallbackModePath; |
| 7805 List<idl.UnlinkedImport> _imports; | 7836 List<idl.UnlinkedImport> _imports; |
| 7806 List<idl.UnlinkedConst> _libraryAnnotations; | 7837 List<idl.UnlinkedConst> _libraryAnnotations; |
| 7807 idl.UnlinkedDocumentationComment _libraryDocumentationComment; | 7838 idl.UnlinkedDocumentationComment _libraryDocumentationComment; |
| 7808 String _libraryName; | 7839 String _libraryName; |
| 7809 int _libraryNameLength; | 7840 int _libraryNameLength; |
| 7810 int _libraryNameOffset; | 7841 int _libraryNameOffset; |
| 7811 List<idl.UnlinkedPart> _parts; | 7842 List<idl.UnlinkedPart> _parts; |
| 7812 idl.UnlinkedPublicNamespace _publicNamespace; | 7843 idl.UnlinkedPublicNamespace _publicNamespace; |
| 7813 List<idl.UnlinkedReference> _references; | 7844 List<idl.UnlinkedReference> _references; |
| 7814 List<idl.UnlinkedTypedef> _typedefs; | 7845 List<idl.UnlinkedTypedef> _typedefs; |
| 7815 List<idl.UnlinkedVariable> _variables; | 7846 List<idl.UnlinkedVariable> _variables; |
| 7816 | 7847 |
| 7817 @override | 7848 @override |
| 7818 List<idl.UnlinkedClass> get classes { | 7849 List<idl.UnlinkedClass> get classes { |
| 7819 _classes ??= const fb.ListReader<idl.UnlinkedClass>(const _UnlinkedClassRead
er()).vTableGet(_bp, 2, const <idl.UnlinkedClass>[]); | 7850 _classes ??= const fb.ListReader<idl.UnlinkedClass>(const _UnlinkedClassRead
er()).vTableGet(_bc, _bcOffset, 2, const <idl.UnlinkedClass>[]); |
| 7820 return _classes; | 7851 return _classes; |
| 7821 } | 7852 } |
| 7822 | 7853 |
| 7823 @override | 7854 @override |
| 7824 idl.CodeRange get codeRange { | 7855 idl.CodeRange get codeRange { |
| 7825 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 15, null); | 7856 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 15, null); |
| 7826 return _codeRange; | 7857 return _codeRange; |
| 7827 } | 7858 } |
| 7828 | 7859 |
| 7829 @override | 7860 @override |
| 7830 List<idl.UnlinkedEnum> get enums { | 7861 List<idl.UnlinkedEnum> get enums { |
| 7831 _enums ??= const fb.ListReader<idl.UnlinkedEnum>(const _UnlinkedEnumReader()
).vTableGet(_bp, 12, const <idl.UnlinkedEnum>[]); | 7862 _enums ??= const fb.ListReader<idl.UnlinkedEnum>(const _UnlinkedEnumReader()
).vTableGet(_bc, _bcOffset, 12, const <idl.UnlinkedEnum>[]); |
| 7832 return _enums; | 7863 return _enums; |
| 7833 } | 7864 } |
| 7834 | 7865 |
| 7835 @override | 7866 @override |
| 7836 List<idl.UnlinkedExecutable> get executables { | 7867 List<idl.UnlinkedExecutable> get executables { |
| 7837 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bp, 4, const <idl.UnlinkedExecutable>[]); | 7868 _executables ??= const fb.ListReader<idl.UnlinkedExecutable>(const _Unlinked
ExecutableReader()).vTableGet(_bc, _bcOffset, 4, const <idl.UnlinkedExecutable>[
]); |
| 7838 return _executables; | 7869 return _executables; |
| 7839 } | 7870 } |
| 7840 | 7871 |
| 7841 @override | 7872 @override |
| 7842 List<idl.UnlinkedExportNonPublic> get exports { | 7873 List<idl.UnlinkedExportNonPublic> get exports { |
| 7843 _exports ??= const fb.ListReader<idl.UnlinkedExportNonPublic>(const _Unlinke
dExportNonPublicReader()).vTableGet(_bp, 13, const <idl.UnlinkedExportNonPublic>
[]); | 7874 _exports ??= const fb.ListReader<idl.UnlinkedExportNonPublic>(const _Unlinke
dExportNonPublicReader()).vTableGet(_bc, _bcOffset, 13, const <idl.UnlinkedExpor
tNonPublic>[]); |
| 7844 return _exports; | 7875 return _exports; |
| 7845 } | 7876 } |
| 7846 | 7877 |
| 7847 @override | 7878 @override |
| 7848 String get fallbackModePath { | 7879 String get fallbackModePath { |
| 7849 _fallbackModePath ??= const fb.StringReader().vTableGet(_bp, 16, ''); | 7880 _fallbackModePath ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 16,
''); |
| 7850 return _fallbackModePath; | 7881 return _fallbackModePath; |
| 7851 } | 7882 } |
| 7852 | 7883 |
| 7853 @override | 7884 @override |
| 7854 List<idl.UnlinkedImport> get imports { | 7885 List<idl.UnlinkedImport> get imports { |
| 7855 _imports ??= const fb.ListReader<idl.UnlinkedImport>(const _UnlinkedImportRe
ader()).vTableGet(_bp, 5, const <idl.UnlinkedImport>[]); | 7886 _imports ??= const fb.ListReader<idl.UnlinkedImport>(const _UnlinkedImportRe
ader()).vTableGet(_bc, _bcOffset, 5, const <idl.UnlinkedImport>[]); |
| 7856 return _imports; | 7887 return _imports; |
| 7857 } | 7888 } |
| 7858 | 7889 |
| 7859 @override | 7890 @override |
| 7860 List<idl.UnlinkedConst> get libraryAnnotations { | 7891 List<idl.UnlinkedConst> get libraryAnnotations { |
| 7861 _libraryAnnotations ??= const fb.ListReader<idl.UnlinkedConst>(const _Unlink
edConstReader()).vTableGet(_bp, 14, const <idl.UnlinkedConst>[]); | 7892 _libraryAnnotations ??= const fb.ListReader<idl.UnlinkedConst>(const _Unlink
edConstReader()).vTableGet(_bc, _bcOffset, 14, const <idl.UnlinkedConst>[]); |
| 7862 return _libraryAnnotations; | 7893 return _libraryAnnotations; |
| 7863 } | 7894 } |
| 7864 | 7895 |
| 7865 @override | 7896 @override |
| 7866 idl.UnlinkedDocumentationComment get libraryDocumentationComment { | 7897 idl.UnlinkedDocumentationComment get libraryDocumentationComment { |
| 7867 _libraryDocumentationComment ??= const _UnlinkedDocumentationCommentReader()
.vTableGet(_bp, 9, null); | 7898 _libraryDocumentationComment ??= const _UnlinkedDocumentationCommentReader()
.vTableGet(_bc, _bcOffset, 9, null); |
| 7868 return _libraryDocumentationComment; | 7899 return _libraryDocumentationComment; |
| 7869 } | 7900 } |
| 7870 | 7901 |
| 7871 @override | 7902 @override |
| 7872 String get libraryName { | 7903 String get libraryName { |
| 7873 _libraryName ??= const fb.StringReader().vTableGet(_bp, 6, ''); | 7904 _libraryName ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 6, ''); |
| 7874 return _libraryName; | 7905 return _libraryName; |
| 7875 } | 7906 } |
| 7876 | 7907 |
| 7877 @override | 7908 @override |
| 7878 int get libraryNameLength { | 7909 int get libraryNameLength { |
| 7879 _libraryNameLength ??= const fb.Uint32Reader().vTableGet(_bp, 7, 0); | 7910 _libraryNameLength ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 7,
0); |
| 7880 return _libraryNameLength; | 7911 return _libraryNameLength; |
| 7881 } | 7912 } |
| 7882 | 7913 |
| 7883 @override | 7914 @override |
| 7884 int get libraryNameOffset { | 7915 int get libraryNameOffset { |
| 7885 _libraryNameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 8, 0); | 7916 _libraryNameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 8,
0); |
| 7886 return _libraryNameOffset; | 7917 return _libraryNameOffset; |
| 7887 } | 7918 } |
| 7888 | 7919 |
| 7889 @override | 7920 @override |
| 7890 List<idl.UnlinkedPart> get parts { | 7921 List<idl.UnlinkedPart> get parts { |
| 7891 _parts ??= const fb.ListReader<idl.UnlinkedPart>(const _UnlinkedPartReader()
).vTableGet(_bp, 11, const <idl.UnlinkedPart>[]); | 7922 _parts ??= const fb.ListReader<idl.UnlinkedPart>(const _UnlinkedPartReader()
).vTableGet(_bc, _bcOffset, 11, const <idl.UnlinkedPart>[]); |
| 7892 return _parts; | 7923 return _parts; |
| 7893 } | 7924 } |
| 7894 | 7925 |
| 7895 @override | 7926 @override |
| 7896 idl.UnlinkedPublicNamespace get publicNamespace { | 7927 idl.UnlinkedPublicNamespace get publicNamespace { |
| 7897 _publicNamespace ??= const _UnlinkedPublicNamespaceReader().vTableGet(_bp, 0
, null); | 7928 _publicNamespace ??= const _UnlinkedPublicNamespaceReader().vTableGet(_bc, _
bcOffset, 0, null); |
| 7898 return _publicNamespace; | 7929 return _publicNamespace; |
| 7899 } | 7930 } |
| 7900 | 7931 |
| 7901 @override | 7932 @override |
| 7902 List<idl.UnlinkedReference> get references { | 7933 List<idl.UnlinkedReference> get references { |
| 7903 _references ??= const fb.ListReader<idl.UnlinkedReference>(const _UnlinkedRe
ferenceReader()).vTableGet(_bp, 1, const <idl.UnlinkedReference>[]); | 7934 _references ??= const fb.ListReader<idl.UnlinkedReference>(const _UnlinkedRe
ferenceReader()).vTableGet(_bc, _bcOffset, 1, const <idl.UnlinkedReference>[]); |
| 7904 return _references; | 7935 return _references; |
| 7905 } | 7936 } |
| 7906 | 7937 |
| 7907 @override | 7938 @override |
| 7908 List<idl.UnlinkedTypedef> get typedefs { | 7939 List<idl.UnlinkedTypedef> get typedefs { |
| 7909 _typedefs ??= const fb.ListReader<idl.UnlinkedTypedef>(const _UnlinkedTypede
fReader()).vTableGet(_bp, 10, const <idl.UnlinkedTypedef>[]); | 7940 _typedefs ??= const fb.ListReader<idl.UnlinkedTypedef>(const _UnlinkedTypede
fReader()).vTableGet(_bc, _bcOffset, 10, const <idl.UnlinkedTypedef>[]); |
| 7910 return _typedefs; | 7941 return _typedefs; |
| 7911 } | 7942 } |
| 7912 | 7943 |
| 7913 @override | 7944 @override |
| 7914 List<idl.UnlinkedVariable> get variables { | 7945 List<idl.UnlinkedVariable> get variables { |
| 7915 _variables ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVari
ableReader()).vTableGet(_bp, 3, const <idl.UnlinkedVariable>[]); | 7946 _variables ??= const fb.ListReader<idl.UnlinkedVariable>(const _UnlinkedVari
ableReader()).vTableGet(_bc, _bcOffset, 3, const <idl.UnlinkedVariable>[]); |
| 7916 return _variables; | 7947 return _variables; |
| 7917 } | 7948 } |
| 7918 } | 7949 } |
| 7919 | 7950 |
| 7920 abstract class _UnlinkedUnitMixin implements idl.UnlinkedUnit { | 7951 abstract class _UnlinkedUnitMixin implements idl.UnlinkedUnit { |
| 7921 @override | 7952 @override |
| 7922 Map<String, Object> toJson() { | 7953 Map<String, Object> toJson() { |
| 7923 Map<String, Object> _result = <String, Object>{}; | 7954 Map<String, Object> _result = <String, Object>{}; |
| 7924 if (classes.isNotEmpty) _result["classes"] = classes.map((_value) => _value.
toJson()).toList(); | 7955 if (classes.isNotEmpty) _result["classes"] = classes.map((_value) => _value.
toJson()).toList(); |
| 7925 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 7956 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8279 fbBuilder.addUint32(12, _visibleOffset); | 8310 fbBuilder.addUint32(12, _visibleOffset); |
| 8280 } | 8311 } |
| 8281 return fbBuilder.endTable(); | 8312 return fbBuilder.endTable(); |
| 8282 } | 8313 } |
| 8283 } | 8314 } |
| 8284 | 8315 |
| 8285 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { | 8316 class _UnlinkedVariableReader extends fb.TableReader<_UnlinkedVariableImpl> { |
| 8286 const _UnlinkedVariableReader(); | 8317 const _UnlinkedVariableReader(); |
| 8287 | 8318 |
| 8288 @override | 8319 @override |
| 8289 _UnlinkedVariableImpl createObject(fb.BufferPointer bp) => new _UnlinkedVariab
leImpl(bp); | 8320 _UnlinkedVariableImpl createObject(fb.BufferContext bc, int offset) => new _Un
linkedVariableImpl(bc, offset); |
| 8290 } | 8321 } |
| 8291 | 8322 |
| 8292 class _UnlinkedVariableImpl extends Object with _UnlinkedVariableMixin implement
s idl.UnlinkedVariable { | 8323 class _UnlinkedVariableImpl extends Object with _UnlinkedVariableMixin implement
s idl.UnlinkedVariable { |
| 8293 final fb.BufferPointer _bp; | 8324 final fb.BufferContext _bc; |
| 8325 final int _bcOffset; |
| 8294 | 8326 |
| 8295 _UnlinkedVariableImpl(this._bp); | 8327 _UnlinkedVariableImpl(this._bc, this._bcOffset); |
| 8296 | 8328 |
| 8297 List<idl.UnlinkedConst> _annotations; | 8329 List<idl.UnlinkedConst> _annotations; |
| 8298 idl.CodeRange _codeRange; | 8330 idl.CodeRange _codeRange; |
| 8299 idl.UnlinkedConst _constExpr; | 8331 idl.UnlinkedConst _constExpr; |
| 8300 idl.UnlinkedDocumentationComment _documentationComment; | 8332 idl.UnlinkedDocumentationComment _documentationComment; |
| 8301 int _inferredTypeSlot; | 8333 int _inferredTypeSlot; |
| 8302 idl.UnlinkedExecutable _initializer; | 8334 idl.UnlinkedExecutable _initializer; |
| 8303 bool _isConst; | 8335 bool _isConst; |
| 8304 bool _isFinal; | 8336 bool _isFinal; |
| 8305 bool _isStatic; | 8337 bool _isStatic; |
| 8306 String _name; | 8338 String _name; |
| 8307 int _nameOffset; | 8339 int _nameOffset; |
| 8308 int _propagatedTypeSlot; | 8340 int _propagatedTypeSlot; |
| 8309 idl.EntityRef _type; | 8341 idl.EntityRef _type; |
| 8310 int _visibleLength; | 8342 int _visibleLength; |
| 8311 int _visibleOffset; | 8343 int _visibleOffset; |
| 8312 | 8344 |
| 8313 @override | 8345 @override |
| 8314 List<idl.UnlinkedConst> get annotations { | 8346 List<idl.UnlinkedConst> get annotations { |
| 8315 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bp, 8, const <idl.UnlinkedConst>[]); | 8347 _annotations ??= const fb.ListReader<idl.UnlinkedConst>(const _UnlinkedConst
Reader()).vTableGet(_bc, _bcOffset, 8, const <idl.UnlinkedConst>[]); |
| 8316 return _annotations; | 8348 return _annotations; |
| 8317 } | 8349 } |
| 8318 | 8350 |
| 8319 @override | 8351 @override |
| 8320 idl.CodeRange get codeRange { | 8352 idl.CodeRange get codeRange { |
| 8321 _codeRange ??= const _CodeRangeReader().vTableGet(_bp, 14, null); | 8353 _codeRange ??= const _CodeRangeReader().vTableGet(_bc, _bcOffset, 14, null); |
| 8322 return _codeRange; | 8354 return _codeRange; |
| 8323 } | 8355 } |
| 8324 | 8356 |
| 8325 @override | 8357 @override |
| 8326 idl.UnlinkedConst get constExpr { | 8358 idl.UnlinkedConst get constExpr { |
| 8327 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bp, 5, null); | 8359 _constExpr ??= const _UnlinkedConstReader().vTableGet(_bc, _bcOffset, 5, nul
l); |
| 8328 return _constExpr; | 8360 return _constExpr; |
| 8329 } | 8361 } |
| 8330 | 8362 |
| 8331 @override | 8363 @override |
| 8332 idl.UnlinkedDocumentationComment get documentationComment { | 8364 idl.UnlinkedDocumentationComment get documentationComment { |
| 8333 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bp, 10, null); | 8365 _documentationComment ??= const _UnlinkedDocumentationCommentReader().vTable
Get(_bc, _bcOffset, 10, null); |
| 8334 return _documentationComment; | 8366 return _documentationComment; |
| 8335 } | 8367 } |
| 8336 | 8368 |
| 8337 @override | 8369 @override |
| 8338 int get inferredTypeSlot { | 8370 int get inferredTypeSlot { |
| 8339 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 9, 0); | 8371 _inferredTypeSlot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 9, 0
); |
| 8340 return _inferredTypeSlot; | 8372 return _inferredTypeSlot; |
| 8341 } | 8373 } |
| 8342 | 8374 |
| 8343 @override | 8375 @override |
| 8344 idl.UnlinkedExecutable get initializer { | 8376 idl.UnlinkedExecutable get initializer { |
| 8345 _initializer ??= const _UnlinkedExecutableReader().vTableGet(_bp, 13, null); | 8377 _initializer ??= const _UnlinkedExecutableReader().vTableGet(_bc, _bcOffset,
13, null); |
| 8346 return _initializer; | 8378 return _initializer; |
| 8347 } | 8379 } |
| 8348 | 8380 |
| 8349 @override | 8381 @override |
| 8350 bool get isConst { | 8382 bool get isConst { |
| 8351 _isConst ??= const fb.BoolReader().vTableGet(_bp, 6, false); | 8383 _isConst ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 6, false); |
| 8352 return _isConst; | 8384 return _isConst; |
| 8353 } | 8385 } |
| 8354 | 8386 |
| 8355 @override | 8387 @override |
| 8356 bool get isFinal { | 8388 bool get isFinal { |
| 8357 _isFinal ??= const fb.BoolReader().vTableGet(_bp, 7, false); | 8389 _isFinal ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 7, false); |
| 8358 return _isFinal; | 8390 return _isFinal; |
| 8359 } | 8391 } |
| 8360 | 8392 |
| 8361 @override | 8393 @override |
| 8362 bool get isStatic { | 8394 bool get isStatic { |
| 8363 _isStatic ??= const fb.BoolReader().vTableGet(_bp, 4, false); | 8395 _isStatic ??= const fb.BoolReader().vTableGet(_bc, _bcOffset, 4, false); |
| 8364 return _isStatic; | 8396 return _isStatic; |
| 8365 } | 8397 } |
| 8366 | 8398 |
| 8367 @override | 8399 @override |
| 8368 String get name { | 8400 String get name { |
| 8369 _name ??= const fb.StringReader().vTableGet(_bp, 0, ''); | 8401 _name ??= const fb.StringReader().vTableGet(_bc, _bcOffset, 0, ''); |
| 8370 return _name; | 8402 return _name; |
| 8371 } | 8403 } |
| 8372 | 8404 |
| 8373 @override | 8405 @override |
| 8374 int get nameOffset { | 8406 int get nameOffset { |
| 8375 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); | 8407 _nameOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 1, 0); |
| 8376 return _nameOffset; | 8408 return _nameOffset; |
| 8377 } | 8409 } |
| 8378 | 8410 |
| 8379 @override | 8411 @override |
| 8380 int get propagatedTypeSlot { | 8412 int get propagatedTypeSlot { |
| 8381 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bp, 2, 0); | 8413 _propagatedTypeSlot ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 2,
0); |
| 8382 return _propagatedTypeSlot; | 8414 return _propagatedTypeSlot; |
| 8383 } | 8415 } |
| 8384 | 8416 |
| 8385 @override | 8417 @override |
| 8386 idl.EntityRef get type { | 8418 idl.EntityRef get type { |
| 8387 _type ??= const _EntityRefReader().vTableGet(_bp, 3, null); | 8419 _type ??= const _EntityRefReader().vTableGet(_bc, _bcOffset, 3, null); |
| 8388 return _type; | 8420 return _type; |
| 8389 } | 8421 } |
| 8390 | 8422 |
| 8391 @override | 8423 @override |
| 8392 int get visibleLength { | 8424 int get visibleLength { |
| 8393 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bp, 11, 0); | 8425 _visibleLength ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 11, 0); |
| 8394 return _visibleLength; | 8426 return _visibleLength; |
| 8395 } | 8427 } |
| 8396 | 8428 |
| 8397 @override | 8429 @override |
| 8398 int get visibleOffset { | 8430 int get visibleOffset { |
| 8399 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bp, 12, 0); | 8431 _visibleOffset ??= const fb.Uint32Reader().vTableGet(_bc, _bcOffset, 12, 0); |
| 8400 return _visibleOffset; | 8432 return _visibleOffset; |
| 8401 } | 8433 } |
| 8402 } | 8434 } |
| 8403 | 8435 |
| 8404 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { | 8436 abstract class _UnlinkedVariableMixin implements idl.UnlinkedVariable { |
| 8405 @override | 8437 @override |
| 8406 Map<String, Object> toJson() { | 8438 Map<String, Object> toJson() { |
| 8407 Map<String, Object> _result = <String, Object>{}; | 8439 Map<String, Object> _result = <String, Object>{}; |
| 8408 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); | 8440 if (annotations.isNotEmpty) _result["annotations"] = annotations.map((_value
) => _value.toJson()).toList(); |
| 8409 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); | 8441 if (codeRange != null) _result["codeRange"] = codeRange.toJson(); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 8439 "propagatedTypeSlot": propagatedTypeSlot, | 8471 "propagatedTypeSlot": propagatedTypeSlot, |
| 8440 "type": type, | 8472 "type": type, |
| 8441 "visibleLength": visibleLength, | 8473 "visibleLength": visibleLength, |
| 8442 "visibleOffset": visibleOffset, | 8474 "visibleOffset": visibleOffset, |
| 8443 }; | 8475 }; |
| 8444 | 8476 |
| 8445 @override | 8477 @override |
| 8446 String toString() => convert.JSON.encode(toJson()); | 8478 String toString() => convert.JSON.encode(toJson()); |
| 8447 } | 8479 } |
| 8448 | 8480 |
| OLD | NEW |