OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 // | 4 // |
5 // This file has been automatically generated. Please do not edit it manually. | 5 // This file has been automatically generated. Please do not edit it manually. |
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". | 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". |
7 | 7 |
8 library analyzer.src.summary.format; | 8 library analyzer.src.summary.format; |
9 | 9 |
10 import 'flat_buffers.dart' as fb; | 10 import 'flat_buffers.dart' as fb; |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { | 27 class _IndexRelationKindReader extends fb.Reader<idl.IndexRelationKind> { |
28 const _IndexRelationKindReader() : super(); | 28 const _IndexRelationKindReader() : 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.IndexRelationKind read(fb.BufferPointer bp) { | 34 idl.IndexRelationKind read(fb.BufferPointer bp) { |
35 int index = const fb.Uint8Reader().read(bp); | 35 int index = const fb.Uint8Reader().read(bp); |
36 return index < idl.IndexRelationKind.values.length ? idl.IndexRelationKind.v
alues[index] : idl.IndexRelationKind.IS_EXTENDED_BY; | 36 return index < idl.IndexRelationKind.values.length ? idl.IndexRelationKind.v
alues[index] : idl.IndexRelationKind.IS_ANCESTOR_OF; |
37 } | 37 } |
38 } | 38 } |
39 | 39 |
40 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { | 40 class _IndexSyntheticElementKindReader extends fb.Reader<idl.IndexSyntheticEleme
ntKind> { |
41 const _IndexSyntheticElementKindReader() : super(); | 41 const _IndexSyntheticElementKindReader() : super(); |
42 | 42 |
43 @override | 43 @override |
44 int get size => 1; | 44 int get size => 1; |
45 | 45 |
46 @override | 46 @override |
(...skipping 7666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7713 "propagatedTypeSlot": propagatedTypeSlot, | 7713 "propagatedTypeSlot": propagatedTypeSlot, |
7714 "type": type, | 7714 "type": type, |
7715 "visibleLength": visibleLength, | 7715 "visibleLength": visibleLength, |
7716 "visibleOffset": visibleOffset, | 7716 "visibleOffset": visibleOffset, |
7717 }; | 7717 }; |
7718 | 7718 |
7719 @override | 7719 @override |
7720 String toString() => convert.JSON.encode(toJson()); | 7720 String toString() => convert.JSON.encode(toJson()); |
7721 } | 7721 } |
7722 | 7722 |
OLD | NEW |