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