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