Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Side by Side Diff: pkg/analyzer/lib/src/summary/format.dart

Issue 1685263003: Minor improvements to list representation in flatbuffers. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add a test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 library analyzer.src.summary.format; 8 library analyzer.src.summary.format;
9 9
10 import 'flat_buffers.dart' as fb; 10 import 'flat_buffers.dart' as fb;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 _EntityRefImpl(this._bp); 236 _EntityRefImpl(this._bp);
237 237
238 List<int> _implicitFunctionTypeIndices; 238 List<int> _implicitFunctionTypeIndices;
239 int _paramReference; 239 int _paramReference;
240 int _reference; 240 int _reference;
241 int _slot; 241 int _slot;
242 List<idl.EntityRef> _typeArguments; 242 List<idl.EntityRef> _typeArguments;
243 243
244 @override 244 @override
245 List<int> get implicitFunctionTypeIndices { 245 List<int> get implicitFunctionTypeIndices {
246 _implicitFunctionTypeIndices ??= const fb.ListReader<int>(const fb.Uint32Rea der()).vTableGet(_bp, 0, const <int>[]); 246 _implicitFunctionTypeIndices ??= const fb.Uint32ListReader().vTableGet(_bp, 0, const <int>[]);
247 return _implicitFunctionTypeIndices; 247 return _implicitFunctionTypeIndices;
248 } 248 }
249 249
250 @override 250 @override
251 int get paramReference { 251 int get paramReference {
252 _paramReference ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0); 252 _paramReference ??= const fb.Uint32Reader().vTableGet(_bp, 1, 0);
253 return _paramReference; 253 return _paramReference;
254 } 254 }
255 255
256 @override 256 @override
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 } 689 }
690 690
691 @override 691 @override
692 List<idl.LinkedExportName> get exportNames { 692 List<idl.LinkedExportName> get exportNames {
693 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo rtNameReader()).vTableGet(_bp, 1, const <idl.LinkedExportName>[]); 693 _exportNames ??= const fb.ListReader<idl.LinkedExportName>(const _LinkedExpo rtNameReader()).vTableGet(_bp, 1, const <idl.LinkedExportName>[]);
694 return _exportNames; 694 return _exportNames;
695 } 695 }
696 696
697 @override 697 @override
698 List<int> get importDependencies { 698 List<int> get importDependencies {
699 _importDependencies ??= const fb.ListReader<int>(const fb.Uint32Reader()).vT ableGet(_bp, 2, const <int>[]); 699 _importDependencies ??= const fb.Uint32ListReader().vTableGet(_bp, 2, const <int>[]);
700 return _importDependencies; 700 return _importDependencies;
701 } 701 }
702 702
703 @override 703 @override
704 int get numPrelinkedDependencies { 704 int get numPrelinkedDependencies {
705 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0); 705 _numPrelinkedDependencies ??= const fb.Uint32Reader().vTableGet(_bp, 3, 0);
706 return _numPrelinkedDependencies; 706 return _numPrelinkedDependencies;
707 } 707 }
708 708
709 @override 709 @override
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 List<String> _strings; 1820 List<String> _strings;
1821 1821
1822 @override 1822 @override
1823 List<double> get doubles { 1823 List<double> get doubles {
1824 _doubles ??= const fb.Float64ListReader().vTableGet(_bp, 0, const <double>[] ); 1824 _doubles ??= const fb.Float64ListReader().vTableGet(_bp, 0, const <double>[] );
1825 return _doubles; 1825 return _doubles;
1826 } 1826 }
1827 1827
1828 @override 1828 @override
1829 List<int> get ints { 1829 List<int> get ints {
1830 _ints ??= const fb.ListReader<int>(const fb.Uint32Reader()).vTableGet(_bp, 1 , const <int>[]); 1830 _ints ??= const fb.Uint32ListReader().vTableGet(_bp, 1, const <int>[]);
1831 return _ints; 1831 return _ints;
1832 } 1832 }
1833 1833
1834 @override 1834 @override
1835 bool get isInvalid { 1835 bool get isInvalid {
1836 _isInvalid ??= const fb.BoolReader().vTableGet(_bp, 2, false); 1836 _isInvalid ??= const fb.BoolReader().vTableGet(_bp, 2, false);
1837 return _isInvalid; 1837 return _isInvalid;
1838 } 1838 }
1839 1839
1840 @override 1840 @override
(...skipping 3592 matching lines...) Expand 10 before | Expand all | Expand 10 after
5433 "isConst": isConst, 5433 "isConst": isConst,
5434 "isFinal": isFinal, 5434 "isFinal": isFinal,
5435 "isStatic": isStatic, 5435 "isStatic": isStatic,
5436 "name": name, 5436 "name": name,
5437 "nameOffset": nameOffset, 5437 "nameOffset": nameOffset,
5438 "propagatedTypeSlot": propagatedTypeSlot, 5438 "propagatedTypeSlot": propagatedTypeSlot,
5439 "type": type, 5439 "type": type,
5440 }; 5440 };
5441 } 5441 }
5442 5442
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/flat_buffers.dart ('k') | pkg/analyzer/test/src/summary/flat_buffers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698