mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
160 lines
3.2 KiB
JSON
160 lines
3.2 KiB
JSON
// === findAllReferences ===
|
|
// === /referencesForOverrides.ts ===
|
|
// namespace FindRef3 {
|
|
// namespace SimpleClassTest {
|
|
// export class Foo {
|
|
// public /*FIND ALL REFS*/[|foo|](): void {
|
|
// }
|
|
// }
|
|
// export class Bar extends Foo {
|
|
// public [|foo|](): void {
|
|
// }
|
|
// }
|
|
// }
|
|
// --- (line: 12) skipped ---
|
|
|
|
// --- (line: 58) skipped ---
|
|
//
|
|
// function test() {
|
|
// var x = new SimpleClassTest.Bar();
|
|
// x.[|foo|]();
|
|
//
|
|
// var y: SimpleInterfaceTest.IBar = null;
|
|
// y.ifoo();
|
|
// --- (line: 66) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForOverrides.ts ===
|
|
// --- (line: 11) skipped ---
|
|
//
|
|
// namespace SimpleInterfaceTest {
|
|
// export interface IFoo {
|
|
// /*FIND ALL REFS*/[|ifoo|](): void;
|
|
// }
|
|
// export interface IBar extends IFoo {
|
|
// [|ifoo|](): void;
|
|
// }
|
|
// }
|
|
//
|
|
// --- (line: 22) skipped ---
|
|
|
|
// --- (line: 61) skipped ---
|
|
// x.foo();
|
|
//
|
|
// var y: SimpleInterfaceTest.IBar = null;
|
|
// y.[|ifoo|]();
|
|
//
|
|
// var w: SimpleClassInterfaceTest.Bar = null;
|
|
// w.icfoo();
|
|
// --- (line: 69) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForOverrides.ts ===
|
|
// --- (line: 20) skipped ---
|
|
//
|
|
// namespace SimpleClassInterfaceTest {
|
|
// export interface IFoo {
|
|
// /*FIND ALL REFS*/[|icfoo|](): void;
|
|
// }
|
|
// export class Bar implements IFoo {
|
|
// public [|icfoo|](): void {
|
|
// }
|
|
// }
|
|
// }
|
|
// --- (line: 31) skipped ---
|
|
|
|
// --- (line: 64) skipped ---
|
|
// y.ifoo();
|
|
//
|
|
// var w: SimpleClassInterfaceTest.Bar = null;
|
|
// w.[|icfoo|]();
|
|
//
|
|
// var z = new Test.BarBlah();
|
|
// z.field = "";
|
|
// --- (line: 72) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForOverrides.ts ===
|
|
// --- (line: 30) skipped ---
|
|
//
|
|
// namespace Test {
|
|
// export interface IBase {
|
|
// /*FIND ALL REFS*/[|field|]: string;
|
|
// method(): void;
|
|
// }
|
|
//
|
|
// export interface IBlah extends IBase {
|
|
// [|field|]: string;
|
|
// }
|
|
//
|
|
// export interface IBlah2 extends IBlah {
|
|
// [|field|]: string;
|
|
// }
|
|
//
|
|
// export interface IDerived extends IBlah2 {
|
|
// method(): void;
|
|
// }
|
|
//
|
|
// export class Bar implements IDerived {
|
|
// public [|field|]: string;
|
|
// public method(): void { }
|
|
// }
|
|
//
|
|
// export class BarBlah extends Bar {
|
|
// public [|field|]: string;
|
|
// }
|
|
// }
|
|
//
|
|
// --- (line: 60) skipped ---
|
|
|
|
// --- (line: 67) skipped ---
|
|
// w.icfoo();
|
|
//
|
|
// var z = new Test.BarBlah();
|
|
// z.[|field|] = "";
|
|
// z.method();
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForOverrides.ts ===
|
|
// --- (line: 31) skipped ---
|
|
// namespace Test {
|
|
// export interface IBase {
|
|
// field: string;
|
|
// /*FIND ALL REFS*/[|method|](): void;
|
|
// }
|
|
//
|
|
// export interface IBlah extends IBase {
|
|
// --- (line: 39) skipped ---
|
|
|
|
// --- (line: 43) skipped ---
|
|
// }
|
|
//
|
|
// export interface IDerived extends IBlah2 {
|
|
// [|method|](): void;
|
|
// }
|
|
//
|
|
// export class Bar implements IDerived {
|
|
// public field: string;
|
|
// public [|method|](): void { }
|
|
// }
|
|
//
|
|
// export class BarBlah extends Bar {
|
|
// --- (line: 56) skipped ---
|
|
|
|
// --- (line: 68) skipped ---
|
|
//
|
|
// var z = new Test.BarBlah();
|
|
// z.field = "";
|
|
// z.[|method|]();
|
|
// }
|
|
// } |