flatbuffers/tests/prototest/test.golden

53 lines
786 B
Plaintext

// Generated from test.proto
namespace _proto._test;
/// Enum doc comment.
enum ProtoEnum : int {
FOO = 1,
/// Enum 2nd value doc comment misaligned.
BAR = 5,
}
namespace _proto._test;
table ImportedMessage {
a:int;
}
namespace _proto._test;
/// 2nd table doc comment with
/// many lines.
table ProtoMessage {
c:int = 16;
d:long;
p:uint;
e:ulong;
/// doc comment for f.
f:int = -1;
g:long;
h:uint;
q:ulong;
i:int;
j:long;
/// doc comment for k.
k:bool;
/// doc comment for l on 2
/// lines
l:string (required);
m:string;
n:_proto._test._ProtoMessage.OtherMessage;
o:[string];
z:_proto._test.ImportedMessage;
}
namespace _proto._test._ProtoMessage;
table OtherMessage {
a:double;
/// doc comment for b.
b:float = 3.14149;
}