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 13namespace proto.test.ProtoMessage_; 14 15union RUnion { 16 /// doc comment for s. 17 proto.test.ImportedMessage, 18 /// doc comment for t on 2 19 /// lines. 20 proto.test.ProtoMessage_.OtherMessage, 21} 22 23namespace proto.test; 24 25table ImportedMessage { 26 a:int; 27} 28 29/// 2nd table doc comment with 30/// many lines. 31table ProtoMessage { 32 c:int = 16; 33 d:long; 34 p:uint; 35 e:ulong; 36 /// doc comment for f. 37 f:int = -1; 38 g:long; 39 h:uint; 40 q:ulong; 41 i:int; 42 j:long; 43 /// doc comment for k. 44 k:bool; 45 /// doc comment for l on 2 46 /// lines 47 l:string (required); 48 m:[ubyte]; 49 n:proto.test.ProtoMessage_.OtherMessage; 50 o:[string]; 51 z:proto.test.ImportedMessage; 52 /// doc comment for r. 53 r:proto.test.ProtoMessage_.RUnion; 54} 55 56namespace proto.test.ProtoMessage_; 57 58table OtherMessage { 59 a:double; 60 /// doc comment for b. 61 b:float = 3.14149; 62} 63 64