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