(Optionally) add an additional suffix namespace to generated fbs files. (#5698)
[platform/upstream/flatbuffers.git] / tests / prototest / test_suffix.golden
1 // Generated from test.proto
2
3 namespace proto.test.test_namespace_suffix;
4
5 /// Enum doc comment.
6 enum ProtoEnum : int {
7   NUL = 0,
8   FOO = 1,
9   /// Enum 2nd value doc comment misaligned.
10   BAR = 5,
11 }
12
13 table ImportedMessage {
14   a:int;
15 }
16
17 /// 2nd table doc comment with
18 /// many lines.
19 table 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.test_namespace_suffix.ProtoMessage_.OtherMessage;
38   o:[string];
39   z:proto.test.test_namespace_suffix.ImportedMessage;
40   /// doc comment for r.
41   r:proto.test.test_namespace_suffix.ProtoMessage_.Anonymous0;
42 }
43
44 namespace proto.test.test_namespace_suffix.ProtoMessage_;
45
46 table OtherMessage {
47   a:double;
48   /// doc comment for b.
49   b:float = 3.14149;
50 }
51
52 table Anonymous0 {
53   /// doc comment for s.
54   s:proto.test.test_namespace_suffix.ImportedMessage;
55   /// doc comment for t on 2
56   /// lines.
57   t:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage;
58 }
59