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