• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Generated from test.proto
2
3include "imported.fbs";
4
5namespace proto.test;
6
7/// Enum doc comment.
8enum ProtoEnum : int {
9  NUL = 0,
10  FOO = 1,
11  /// Enum 2nd value doc comment misaligned.
12  BAR = 5,
13}
14
15namespace proto.test.ProtoMessage_;
16
17union RUnion {
18  /// doc comment for s.
19  proto.test.ImportedMessage,
20  /// doc comment for t on 2
21  /// lines.
22  proto.test.ProtoMessage_.OtherMessage,
23}
24
25namespace proto.test;
26
27/// 2nd table doc comment with
28/// many lines.
29table ProtoMessage {
30  c:int = 16;
31  d:long;
32  p:uint;
33  e:ulong;
34  /// doc comment for f.
35  f:int = -1;
36  g:long;
37  h:uint;
38  q:ulong;
39  i:int;
40  j:long;
41  /// doc comment for k.
42  k:bool;
43  /// doc comment for l on 2
44  /// lines
45  l:string (required);
46  m:[ubyte];
47  n:proto.test.ProtoMessage_.OtherMessage;
48  o:[string];
49  z:proto.test.ImportedMessage;
50  /// doc comment for r.
51  r:proto.test.ProtoMessage_.RUnion;
52}
53
54namespace proto.test.ProtoMessage_;
55
56table OtherMessage {
57  a:double;
58  /// doc comment for b.
59  b:float = 3.14149;
60}
61
62