(Optionally) add an additional suffix namespace to generated fbs files. (#5698)
[platform/upstream/flatbuffers.git] / tests / prototest / test_union_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 namespace proto.test.test_namespace_suffix.ProtoMessage_;
14
15 union RUnion {
16   /// doc comment for s.
17   proto.test.test_namespace_suffix.ImportedMessage,
18   /// doc comment for t on 2
19   /// lines.
20   proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage,
21 }
22
23 namespace proto.test.test_namespace_suffix;
24
25 table ImportedMessage {
26   a:int;
27 }
28
29 /// 2nd table doc comment with
30 /// many lines.
31 table 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.test_namespace_suffix.ProtoMessage_.OtherMessage;
50   o:[string];
51   z:proto.test.test_namespace_suffix.ImportedMessage;
52   /// doc comment for r.
53   r:proto.test.test_namespace_suffix.ProtoMessage_.RUnion;
54 }
55
56 namespace proto.test.test_namespace_suffix.ProtoMessage_;
57
58 table OtherMessage {
59   a:double;
60   /// doc comment for b.
61   b:float = 3.14149;
62 }
63