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

     1  // All modules define a 'module' record representing the file as a module.
     2  // The signature is 'module' and the path is the module path (the filename
     3  // without an extension).  See the discussion of "Module name" in README.md.
     4  
     5  //- Mod=vname("module", _, _, "testdata/imports_group/module", _).node/kind record
     6  
     7  // The first letter in the module is tagged as defining the module.
     8  // See discussion in emitModuleAnchor().
     9  //- ModAnchor.node/kind anchor
    10  //- ModAnchor./kythe/loc/start 0
    11  //- ModAnchor./kythe/loc/end 0
    12  //- ModAnchor defines/implicit Mod
    13  
    14  //- @value defines/binding Val
    15  export const value = 3;
    16  
    17  //- @MyType defines/binding MyType
    18  export type MyType = string;