kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/cxx/indexer/proto/testdata/basic/map.proto (about)

     1  syntax = "proto3";
     2  
     3  package kythe_test_proto;
     4  
     5  
     6  //- @Value defines/binding ValueMsg
     7  message Value {}
     8  
     9  message Message {
    10    //- !{ @"map<string, int32>" ref _NativeMap }
    11    map<string, int32> builtin_map = 1;
    12  
    13    //- @Value ref ValueMsg
    14    //- !{ @"map<string, Value>" ref _MessageMap }
    15    map<string, Value> message_map = 2;
    16  }