kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/typescript/testdata/unicode.ts (about)

     1  // This module tests offsets when the input text contains non-ASCII text.
     2  // It exercises the UTF-16<->UTF-8 handling.
     3  
     4  export {}
     5  
     6  //- @"ಠ_ಠ" defines/binding Look
     7  let ಠ_ಠ = 'grumpy';
     8  
     9  //- @foo defines/binding Foo
    10  let foo = 3;
    11  
    12  //- @"ಠ_ಠ" ref Look
    13  //- @foo ref Foo
    14  let sum = ಠ_ಠ + foo;