mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
250 lines
4.9 KiB
JSON
250 lines
4.9 KiB
JSON
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// namespace FindRef4 {
|
|
// namespace MixedStaticsClassTest {
|
|
// export class Foo {
|
|
// /*FIND ALL REFS*/[|bar|]: Foo;
|
|
// static bar: Foo;
|
|
//
|
|
// public foo(): void {
|
|
// --- (line: 8) skipped ---
|
|
|
|
// --- (line: 14) skipped ---
|
|
// // instance function
|
|
// var x = new MixedStaticsClassTest.Foo();
|
|
// x.foo();
|
|
// x.[|bar|];
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.foo();
|
|
// --- (line: 22) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// namespace FindRef4 {
|
|
// namespace MixedStaticsClassTest {
|
|
// export class Foo {
|
|
// bar: Foo;
|
|
// /*FIND ALL REFS*/static [|bar|]: Foo;
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// --- (line: 9) skipped ---
|
|
|
|
// --- (line: 18) skipped ---
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.foo();
|
|
// MixedStaticsClassTest.Foo.[|bar|];
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// namespace FindRef4 {
|
|
// namespace MixedStaticsClassTest {
|
|
// export class Foo {
|
|
// bar: Foo;
|
|
// static /*FIND ALL REFS*/[|bar|]: Foo;
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// --- (line: 9) skipped ---
|
|
|
|
// --- (line: 18) skipped ---
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.foo();
|
|
// MixedStaticsClassTest.Foo.[|bar|];
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// bar: Foo;
|
|
// static bar: Foo;
|
|
//
|
|
// /*FIND ALL REFS*/public [|foo|](): void {
|
|
// }
|
|
// public static foo(): void {
|
|
// }
|
|
// }
|
|
// }
|
|
//
|
|
// function test() {
|
|
// // instance function
|
|
// var x = new MixedStaticsClassTest.Foo();
|
|
// x.[|foo|]();
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// --- (line: 21) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// bar: Foo;
|
|
// static bar: Foo;
|
|
//
|
|
// public /*FIND ALL REFS*/[|foo|](): void {
|
|
// }
|
|
// public static foo(): void {
|
|
// }
|
|
// }
|
|
// }
|
|
//
|
|
// function test() {
|
|
// // instance function
|
|
// var x = new MixedStaticsClassTest.Foo();
|
|
// x.[|foo|]();
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// --- (line: 21) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 5) skipped ---
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// /*FIND ALL REFS*/public static [|foo|](): void {
|
|
// }
|
|
// }
|
|
// }
|
|
// --- (line: 13) skipped ---
|
|
|
|
// --- (line: 17) skipped ---
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.[|foo|]();
|
|
// MixedStaticsClassTest.Foo.bar;
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 5) skipped ---
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// public static /*FIND ALL REFS*/[|foo|](): void {
|
|
// }
|
|
// }
|
|
// }
|
|
// --- (line: 13) skipped ---
|
|
|
|
// --- (line: 17) skipped ---
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.[|foo|]();
|
|
// MixedStaticsClassTest.Foo.bar;
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// bar: Foo;
|
|
// static bar: Foo;
|
|
//
|
|
// public [|foo|](): void {
|
|
// }
|
|
// public static foo(): void {
|
|
// }
|
|
// }
|
|
// }
|
|
//
|
|
// function test() {
|
|
// // instance function
|
|
// var x = new MixedStaticsClassTest.Foo();
|
|
// x./*FIND ALL REFS*/[|foo|]();
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// --- (line: 21) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// namespace FindRef4 {
|
|
// namespace MixedStaticsClassTest {
|
|
// export class Foo {
|
|
// [|bar|]: Foo;
|
|
// static bar: Foo;
|
|
//
|
|
// public foo(): void {
|
|
// --- (line: 8) skipped ---
|
|
|
|
// --- (line: 14) skipped ---
|
|
// // instance function
|
|
// var x = new MixedStaticsClassTest.Foo();
|
|
// x.foo();
|
|
// x./*FIND ALL REFS*/[|bar|];
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.foo();
|
|
// --- (line: 22) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// --- (line: 5) skipped ---
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// public static [|foo|](): void {
|
|
// }
|
|
// }
|
|
// }
|
|
// --- (line: 13) skipped ---
|
|
|
|
// --- (line: 17) skipped ---
|
|
// x.bar;
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo./*FIND ALL REFS*/[|foo|]();
|
|
// MixedStaticsClassTest.Foo.bar;
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForStaticsAndMembersWithSameNames.ts ===
|
|
// namespace FindRef4 {
|
|
// namespace MixedStaticsClassTest {
|
|
// export class Foo {
|
|
// bar: Foo;
|
|
// static [|bar|]: Foo;
|
|
//
|
|
// public foo(): void {
|
|
// }
|
|
// --- (line: 9) skipped ---
|
|
|
|
// --- (line: 18) skipped ---
|
|
//
|
|
// // static function
|
|
// MixedStaticsClassTest.Foo.foo();
|
|
// MixedStaticsClassTest.Foo./*FIND ALL REFS*/[|bar|];
|
|
// }
|
|
// } |