mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
105 lines
2.1 KiB
JSON
105 lines
2.1 KiB
JSON
// === findAllReferences ===
|
|
// === /a.ts ===
|
|
// export class C {
|
|
// /*FIND ALL REFS*/[|constructor|](n: number);
|
|
// [|constructor|]();
|
|
// [|constructor|](n?: number){}
|
|
// static f() {
|
|
// this.f();
|
|
// new [|this|]();
|
|
// }
|
|
// }
|
|
// new [|C|]();
|
|
// const D = C;
|
|
// new D();
|
|
|
|
// === /b.ts ===
|
|
// import { C } from "./a";
|
|
// new [|C|]();
|
|
|
|
// === /c.ts ===
|
|
// import { C } from "./a";
|
|
// class D extends C {
|
|
// constructor() {
|
|
// [|super|]();
|
|
// super.method();
|
|
// }
|
|
// method() { super(); }
|
|
// --- (line: 8) skipped ---
|
|
|
|
// === /d.ts ===
|
|
// import * as a from "./a";
|
|
// new a.[|C|]();
|
|
// class d extends a.C { constructor() { [|super|](); }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /a.ts ===
|
|
// export class C {
|
|
// [|constructor|](n: number);
|
|
// /*FIND ALL REFS*/[|constructor|]();
|
|
// [|constructor|](n?: number){}
|
|
// static f() {
|
|
// this.f();
|
|
// new [|this|]();
|
|
// }
|
|
// }
|
|
// new [|C|]();
|
|
// const D = C;
|
|
// new D();
|
|
|
|
// === /b.ts ===
|
|
// import { C } from "./a";
|
|
// new [|C|]();
|
|
|
|
// === /c.ts ===
|
|
// import { C } from "./a";
|
|
// class D extends C {
|
|
// constructor() {
|
|
// [|super|]();
|
|
// super.method();
|
|
// }
|
|
// method() { super(); }
|
|
// --- (line: 8) skipped ---
|
|
|
|
// === /d.ts ===
|
|
// import * as a from "./a";
|
|
// new a.[|C|]();
|
|
// class d extends a.C { constructor() { [|super|](); }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /a.ts ===
|
|
// export class C {
|
|
// [|constructor|](n: number);
|
|
// [|constructor|]();
|
|
// /*FIND ALL REFS*/[|constructor|](n?: number){}
|
|
// static f() {
|
|
// this.f();
|
|
// new [|this|]();
|
|
// }
|
|
// }
|
|
// new [|C|]();
|
|
// const D = C;
|
|
// new D();
|
|
|
|
// === /b.ts ===
|
|
// import { C } from "./a";
|
|
// new [|C|]();
|
|
|
|
// === /c.ts ===
|
|
// import { C } from "./a";
|
|
// class D extends C {
|
|
// constructor() {
|
|
// [|super|]();
|
|
// super.method();
|
|
// }
|
|
// method() { super(); }
|
|
// --- (line: 8) skipped ---
|
|
|
|
// === /d.ts ===
|
|
// import * as a from "./a";
|
|
// new a.[|C|]();
|
|
// class d extends a.C { constructor() { [|super|](); } |