...

Text file src/github.com/google/flatbuffers/tests/prototest/test_include_id.golden.fbs

Documentation: github.com/google/flatbuffers/tests/prototest

     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
    15namespace proto.test.ProtoMessage_.OtherMessage_;
    16
    17enum ProtoEnum : int {
    18  NUL = 0,
    19  FOO = 1,
    20  BAR = 2,
    21  BAZ = 3,
    22}
    23
    24namespace proto.test;
    25
    26/// 2nd table doc comment with
    27/// many lines.
    28table ProtoMessage {
    29  c:int = 16 (id: 12);
    30  d:long (id: 1);
    31  p:uint (id: 21);
    32  e:ulong (id: 2);
    33  /// doc comment for f.
    34  f:int = -1 (id: 3);
    35  g:long (id: 4);
    36  h:uint (id: 5);
    37  q:ulong (id: 6);
    38  i:int (id: 7);
    39  j:long (id: 8);
    40  /// doc comment for k.
    41  k:bool (id: 9);
    42  /// doc comment for l on 2
    43  /// lines
    44  l:string (required,id: 10);
    45  m:[ubyte] (id: 11);
    46  n:proto.test.ProtoMessage_.OtherMessage (id: 22);
    47  o:[string] (id: 13);
    48  z:proto.test.ImportedMessage (id: 14);
    49  /// doc comment for r.
    50  r:proto.test.ProtoMessage_.Anonymous0 (id: 0);
    51  outer_enum:proto.test.ProtoEnum (id: 15);
    52  u:float = +inf (id: 16);
    53  v:float = +inf (id: 17);
    54  w:float = -inf (id: 18);
    55  grades:[proto.test.ProtoMessage_.GradesEntry] (id: 19);
    56  other_message_map:[proto.test.ProtoMessage_.OtherMessageMapEntry] (id: 20);
    57}
    58
    59namespace proto.test.ProtoMessage_;
    60
    61table OtherMessage {
    62  a:double (id: 0);
    63  /// doc comment for b.
    64  b:float = 3.14149 (id: 1);
    65  foo_bar_baz:proto.test.ProtoMessage_.OtherMessage_.ProtoEnum (id: 2);
    66}
    67
    68table Anonymous0 {
    69  /// doc comment for s.
    70  s:proto.test.ImportedMessage (id: 0);
    71  /// doc comment for t on 2
    72  /// lines.
    73  t:proto.test.ProtoMessage_.OtherMessage (id: 1);
    74}
    75
    76table GradesEntry {
    77  key:string (key);
    78  value:float;
    79}
    80
    81table OtherMessageMapEntry {
    82  key:string (key);
    83  value:proto.test.ProtoMessage_.OtherMessage;
    84}
    85

View as plain text