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

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

Issue 1738213003: Use separate relation kinds for qualified usages. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
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
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
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/summary/format.fbs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698