| 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 _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { |
| 15 const _IndexRelationKindReader() : super(); |
| 16 |
| 17 @override |
| 18 int get size => 1; |
| 19 |
| 20 @override |
| 21 idl.IndexRelationKind read(fb.BufferPointer bp) { |
| 22 int index = const fb.Uint8Reader().read(bp); |
| 23 return idl.IndexRelationKind.values[index]; |
| 24 } |
| 25 } |
| 26 |
| 14 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { | 27 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { |
| 15 const _IndexSyntheticElementKindReader() : super(); | 28 const _IndexSyntheticElementKindReader() : super(); |
| 16 | 29 |
| 17 @override | 30 @override |
| 18 int get size => 1; | 31 int get size => 1; |
| 19 | 32 |
| 20 @override | 33 @override |
| 21 idl.IndexSyntheticElementKind read(fb.BufferPointer bp) { | 34 idl.IndexSyntheticElementKind read(fb.BufferPointer bp) { |
| 22 int index = const fb.Uint8Reader().read(bp); | 35 int index = const fb.Uint8Reader().read(bp); |
| 23 return idl.IndexSyntheticElementKind.values[index]; | 36 return idl.IndexSyntheticElementKind.values[index]; |
| 24 } | 37 } |
| 25 } | 38 } |
| 26 | 39 |
| 27 class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { | |
| 28 const _IndexRelationKindReader() : super(); | |
| 29 | |
| 30 @override | |
| 31 int get size => 1; | |
| 32 | |
| 33 @override | |
| 34 idl.IndexRelationKind read(fb.BufferPointer bp) { | |
| 35 int index = const fb.Uint8Reader().read(bp); | |
| 36 return idl.IndexRelationKind.values[index]; | |
| 37 } | |
| 38 } | |
| 39 | |
| 40 class _ReferenceKindReader extends fb.Reader<idl.ReferenceKind> { | 40 class _ReferenceKindReader extends fb.Reader<idl.ReferenceKind> { |
| 41 const _ReferenceKindReader() : super(); | 41 const _ReferenceKindReader() : 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.ReferenceKind read(fb.BufferPointer bp) { | 47 idl.ReferenceKind read(fb.BufferPointer bp) { |
| 48 int index = const fb.Uint8Reader().read(bp); | 48 int index = const fb.Uint8Reader().read(bp); |
| 49 return idl.ReferenceKind.values[index]; | 49 return idl.ReferenceKind.values[index]; |
| (...skipping 7017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7067 "propagatedTypeSlot": propagatedTypeSlot, | 7067 "propagatedTypeSlot": propagatedTypeSlot, |
| 7068 "type": type, | 7068 "type": type, |
| 7069 "visibleLength": visibleLength, | 7069 "visibleLength": visibleLength, |
| 7070 "visibleOffset": visibleOffset, | 7070 "visibleOffset": visibleOffset, |
| 7071 }; | 7071 }; |
| 7072 | 7072 |
| 7073 @override | 7073 @override |
| 7074 String toString() => convert.JSON.encode(toJson()); | 7074 String toString() => convert.JSON.encode(toJson()); |
| 7075 } | 7075 } |
| 7076 | 7076 |
| OLD | NEW |