mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
211 lines
3.2 KiB
JSON
211 lines
3.2 KiB
JSON
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// /*FIND ALL REFS*/[|foo|]:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static foo:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static foo:any
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// const x = new X();
|
|
// const y = new Y();
|
|
// const z = new Z();
|
|
// x.[|foo|];
|
|
// y.[|foo|];
|
|
// z.[|foo|];
|
|
// Y.foo;
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// foo:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static /*FIND ALL REFS*/[|foo|]:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// --- (line: 10) skipped ---
|
|
|
|
// --- (line: 16) skipped ---
|
|
// x.foo;
|
|
// y.foo;
|
|
// z.foo;
|
|
// Y.[|foo|];
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// --- (line: 6) skipped ---
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static /*FIND ALL REFS*/[|foo|]:any
|
|
// foo:any
|
|
// }
|
|
//
|
|
// --- (line: 14) skipped ---
|
|
|
|
// --- (line: 17) skipped ---
|
|
// y.foo;
|
|
// z.foo;
|
|
// Y.foo;
|
|
// Z.[|foo|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static foo:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static foo:any
|
|
// /*FIND ALL REFS*/[|foo|]:any
|
|
// }
|
|
//
|
|
// const x = new X();
|
|
// const y = new Y();
|
|
// const z = new Z();
|
|
// x.[|foo|];
|
|
// y.[|foo|];
|
|
// z.[|foo|];
|
|
// Y.foo;
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static foo:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static foo:any
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// const x = new X();
|
|
// const y = new Y();
|
|
// const z = new Z();
|
|
// x./*FIND ALL REFS*/[|foo|];
|
|
// y.[|foo|];
|
|
// z.[|foo|];
|
|
// Y.foo;
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static foo:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static foo:any
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// const x = new X();
|
|
// const y = new Y();
|
|
// const z = new Z();
|
|
// x.[|foo|];
|
|
// y./*FIND ALL REFS*/[|foo|];
|
|
// z.[|foo|];
|
|
// Y.foo;
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static foo:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static foo:any
|
|
// [|foo|]:any
|
|
// }
|
|
//
|
|
// const x = new X();
|
|
// const y = new Y();
|
|
// const z = new Z();
|
|
// x.[|foo|];
|
|
// y.[|foo|];
|
|
// z./*FIND ALL REFS*/[|foo|];
|
|
// Y.foo;
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// class X{
|
|
// foo:any
|
|
// }
|
|
//
|
|
// class Y extends X{
|
|
// static [|foo|]:any
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// --- (line: 10) skipped ---
|
|
|
|
// --- (line: 16) skipped ---
|
|
// x.foo;
|
|
// y.foo;
|
|
// z.foo;
|
|
// Y./*FIND ALL REFS*/[|foo|];
|
|
// Z.foo;
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /findAllRefsForStaticInstancePropertyInheritance.ts ===
|
|
// --- (line: 6) skipped ---
|
|
// }
|
|
//
|
|
// class Z extends Y{
|
|
// static [|foo|]:any
|
|
// foo:any
|
|
// }
|
|
//
|
|
// --- (line: 14) skipped ---
|
|
|
|
// --- (line: 17) skipped ---
|
|
// y.foo;
|
|
// z.foo;
|
|
// Y.foo;
|
|
// Z./*FIND ALL REFS*/[|foo|]; |