kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/cxx/indexer/proto/testdata/corner_cases/wide-chars.proto (about)

     1  // Test proto to test Kythe UTF-8 handling. Note that non-ASCII characters
     2  // aren't allowed most places in proto syntax.
     3  
     4  syntax = "proto2";
     5  
     6  package proto_kythe_test;
     7  
     8  
     9  //- MoneyComment.node/kind doc
    10  //- MoneyComment documents MoneyMessage
    11  //- MoneyComment.text
    12  //-   "Caution: ẅ̸̛̠̟͇̜̱̲͍͈̙̣̻̻̝́̃̀̀̽̀͝͝ͅȅ̸̜̀̀̐a̵̰̥̖̳̰̭̗͓͐̀͆̎̾̿͑̒́͛̌l̷̛͖̰̱̺͉̪͈̗͎͚̱̫͌̌͒̑̊͂̐͆̓̇̏̏͒ͅt̴̺̼̊̂̅͛͒̿̈́̈́̈́̊͝͝͝h̶̪̜̻͙̥͙́͑͋̃͐̉̅̍ ̷̢̡̥͕͓̻̄̉͆͐̑̎͆̊ͅb̷̢̼̲͈̫̹̪̯͖͈̈́̈̓̾̆̔̄ĕ̶̢̢̟͇̤̞̺̝̝̱͖̰̦̂͊͜͜͝y̸̮̼̤͕̯͉̳̱̅̈̌̅͐̈́͑̏̍͆̋̃̈́͠ô̵̢̩̣̯̣̞͙͕͊̊̈́̿͗́̊̈́̏͆͠n̸̦̳̠̬̖̠̤͉͍̋͋̉̄̈́̒̃̚͘̕͠d̴̨̛͇̺̥͎̅͆͂̒̃̏͝ ̸̢̨̡̩̦́ÿ̸̢̦̥̫͉̯̣͎͚̖̘̜̠́̽̋̉̓̍ö̷̧̥̹̫̱͈̪̗͕͕͔̭̩̱͝u̵͇̘̼͕̫̭͔̞̰̰̗̯͙̯̱͑̊͛͒́̌̍̚r̴̲̰͈̤͙̭̝̖͚͓͚̰̀̓̃̕ ̷͚̥̤̗̝͕̠̗͇̗̋̆̕ͅẅ̸̪͈̖̻̊̔̽̀͛̿̏̈́̃̕͘͠͝i̴̦̺̭͍̣̬͍̱̖̦̗͓̘̊̿̽͐̇̓̅̈͐̈́l̷͕͔̱̒͑̋̂͗̀̈̀͐̊́͆d̵̫͊̾̃̉̎̉͒͂́́́̾̚͘ȅ̶̡̧̖̟̼͇̥̟̥̤̲ś̸̯͎̞̣̫̗̒̾͒͘̕͘͠ț̸̨̡̬̳͎͍̝̳̻̬̏͗͒̓̃̇̄̚͘͝ ̷̧̘̤̤̬̥̘̭͉̞̗̰̮͕̌̆d̴̺̔͝ŗ̸̢̤̦̝̖̻̼̦͇͍̻̫̬̿̌̿̈̀͆̍͐̕̚͠e̸̤̔ạ̸̖̫̲̖͓͔͔̜̰̠̄̄͝͝͝m̶̡̛͔͎̘̱̳̼̝͖̐̽̔͑͋͂͂́͘s̴̨̛̤̳͉͓̗̲̩͎̲̹̺̭͈̆̄̐̌̉̑͂͛͘.̷̢̢̼̗̲͙̣̰̪͛̿̚.̴̢̮̥͎͍̫͍̾̈́̀̈̉̾͝.̶̤̪̜͚̣̺̅͑̐̃̋̂̄͐͑̓͂͘\nNot responsible for any externalities."
    13  //- @+4"Money" defines/binding MoneyMessage
    14  
    15  // Caution: ẅ̸̛̠̟͇̜̱̲͍͈̙̣̻̻̝́̃̀̀̽̀͝͝ͅȅ̸̜̀̀̐a̵̰̥̖̳̰̭̗͓͐̀͆̎̾̿͑̒́͛̌l̷̛͖̰̱̺͉̪͈̗͎͚̱̫͌̌͒̑̊͂̐͆̓̇̏̏͒ͅt̴̺̼̊̂̅͛͒̿̈́̈́̈́̊͝͝͝h̶̪̜̻͙̥͙́͑͋̃͐̉̅̍ ̷̢̡̥͕͓̻̄̉͆͐̑̎͆̊ͅb̷̢̼̲͈̫̹̪̯͖͈̈́̈̓̾̆̔̄ĕ̶̢̢̟͇̤̞̺̝̝̱͖̰̦̂͊͜͜͝y̸̮̼̤͕̯͉̳̱̅̈̌̅͐̈́͑̏̍͆̋̃̈́͠ô̵̢̩̣̯̣̞͙͕͊̊̈́̿͗́̊̈́̏͆͠n̸̦̳̠̬̖̠̤͉͍̋͋̉̄̈́̒̃̚͘̕͠d̴̨̛͇̺̥͎̅͆͂̒̃̏͝ ̸̢̨̡̩̦́ÿ̸̢̦̥̫͉̯̣͎͚̖̘̜̠́̽̋̉̓̍ö̷̧̥̹̫̱͈̪̗͕͕͔̭̩̱͝u̵͇̘̼͕̫̭͔̞̰̰̗̯͙̯̱͑̊͛͒́̌̍̚r̴̲̰͈̤͙̭̝̖͚͓͚̰̀̓̃̕ ̷͚̥̤̗̝͕̠̗͇̗̋̆̕ͅẅ̸̪͈̖̻̊̔̽̀͛̿̏̈́̃̕͘͠͝i̴̦̺̭͍̣̬͍̱̖̦̗͓̘̊̿̽͐̇̓̅̈͐̈́l̷͕͔̱̒͑̋̂͗̀̈̀͐̊́͆d̵̫͊̾̃̉̎̉͒͂́́́̾̚͘ȅ̶̡̧̖̟̼͇̥̟̥̤̲ś̸̯͎̞̣̫̗̒̾͒͘̕͘͠ț̸̨̡̬̳͎͍̝̳̻̬̏͗͒̓̃̇̄̚͘͝ ̷̧̘̤̤̬̥̘̭͉̞̗̰̮͕̌̆d̴̺̔͝ŗ̸̢̤̦̝̖̻̼̦͇͍̻̫̬̿̌̿̈̀͆̍͐̕̚͠e̸̤̔ạ̸̖̫̲̖͓͔͔̜̰̠̄̄͝͝͝m̶̡̛͔͎̘̱̳̼̝͖̐̽̔͑͋͂͂́͘s̴̨̛̤̳͉͓̗̲̩͎̲̹̺̭͈̆̄̐̌̉̑͂͛͘.̷̢̢̼̗̲͙̣̰̪͛̿̚.̴̢̮̥͎͍̫͍̾̈́̀̈̉̾͝.̶̤̪̜͚̣̺̅͑̐̃̋̂̄͐͑̓͂͘
    16  // Not responsible for any externalities.
    17  message Money {
    18    //- @units defines/binding UnitsField
    19    //- UnitsField childof MoneyMessage
    20    //- UnitsComment.node/kind doc
    21    //- UnitsComment.text
    22    //-   "💀  💀  💀  NOTICE 💀  💀  💀\n\nDoubloons subject to confiscation\n\n❤️, LeChuck\n"
    23    //- UnitsComment documents UnitsField
    24    optional string units = 1 [default = "£"];
    25    /* 💀  💀  💀  NOTICE 💀  💀  💀
    26     *
    27     * Doubloons subject to confiscation
    28     *
    29     * ❤️, LeChuck
    30     */
    31  
    32  
    33    //- AmountField childof _AmountMessage
    34    //- AmountComment.node/kind doc
    35    //- AmountComment.text
    36    //-   "this can be many useful values from ℤ\nbut you'll probably be happier if it's also in ℕ"
    37    //- AmountComment documents AmountField
    38    //- @+4"amount" defines/binding AmountField
    39  
    40    // this can be many useful values from ℤ
    41    // but you'll probably be happier if it's also in ℕ
    42    required int64 amount = 2;
    43  }