File: test_include_id.golden.fbs

package info (click to toggle)
golang-github-google-flatbuffers 24.3.25-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 17,364 kB
  • sloc: cpp: 49,726; python: 6,901; cs: 5,566; java: 4,370; ansic: 2,512; php: 1,460; javascript: 1,053; xml: 1,016; sh: 870; makefile: 13
file content (85 lines) | stat: -rw-r--r-- 1,766 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// Generated from test.proto

include "imported.fbs";

namespace proto.test;

/// Enum doc comment.
enum ProtoEnum : int {
  NUL = 0,
  FOO = 1,
  /// Enum 2nd value doc comment misaligned.
  BAR = 5,
}

namespace proto.test.ProtoMessage_.OtherMessage_;

enum ProtoEnum : int {
  NUL = 0,
  FOO = 1,
  BAR = 2,
  BAZ = 3,
}

namespace proto.test;

/// 2nd table doc comment with
/// many lines.
table ProtoMessage {
  c:int = 16 (id: 12);
  d:long (id: 1);
  p:uint (id: 21);
  e:ulong (id: 2);
  /// doc comment for f.
  f:int = -1 (id: 3);
  g:long (id: 4);
  h:uint (id: 5);
  q:ulong (id: 6);
  i:int (id: 7);
  j:long (id: 8);
  /// doc comment for k.
  k:bool (id: 9);
  /// doc comment for l on 2
  /// lines
  l:string (required,id: 10);
  m:[ubyte] (id: 11);
  n:proto.test.ProtoMessage_.OtherMessage (id: 22);
  o:[string] (id: 13);
  z:proto.test.ImportedMessage (id: 14);
  /// doc comment for r.
  r:proto.test.ProtoMessage_.Anonymous0 (id: 0);
  outer_enum:proto.test.ProtoEnum (id: 15);
  u:float = +inf (id: 16);
  v:float = +inf (id: 17);
  w:float = -inf (id: 18);
  grades:[proto.test.ProtoMessage_.GradesEntry] (id: 19);
  other_message_map:[proto.test.ProtoMessage_.OtherMessageMapEntry] (id: 20);
}

namespace proto.test.ProtoMessage_;

table OtherMessage {
  a:double (id: 0);
  /// doc comment for b.
  b:float = 3.14149 (id: 1);
  foo_bar_baz:proto.test.ProtoMessage_.OtherMessage_.ProtoEnum (id: 2);
}

table Anonymous0 {
  /// doc comment for s.
  s:proto.test.ImportedMessage (id: 0);
  /// doc comment for t on 2
  /// lines.
  t:proto.test.ProtoMessage_.OtherMessage (id: 1);
}

table GradesEntry {
  key:string (key);
  value:float;
}

table OtherMessageMapEntry {
  key:string (key);
  value:proto.test.ProtoMessage_.OtherMessage;
}