mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
// === Call Hierarchy ===
|
|
╭ name: foo
|
|
├ kind: method
|
|
├ file: /callHierarchyInterfaceMethod.ts
|
|
├ span:
|
|
│ ╭ /callHierarchyInterfaceMethod.ts:2:5-2:17
|
|
│ │ 2: foo(): void;
|
|
│ │ ^^^^^^^^^^^^
|
|
│ ╰
|
|
├ selectionSpan:
|
|
│ ╭ /callHierarchyInterfaceMethod.ts:2:5-2:8
|
|
│ │ 2: foo(): void;
|
|
│ │ ^^^
|
|
│ ╰
|
|
├ incoming:
|
|
│ ╭ from:
|
|
│ │ ╭ name: /callHierarchyInterfaceMethod.ts
|
|
│ │ ├ kind: file
|
|
│ │ ├ file: /callHierarchyInterfaceMethod.ts
|
|
│ │ ├ span:
|
|
│ │ │ ╭ /callHierarchyInterfaceMethod.ts:1:1-7:11
|
|
│ │ │ │ 1: interface I {
|
|
│ │ │ │ ^^^^^^^^^^^^^
|
|
│ │ │ │ 2: foo(): void;
|
|
│ │ │ │ ^^^^^^^^^^^^^^^^
|
|
│ │ │ │ 3: }
|
|
│ │ │ │ ^
|
|
│ │ │ │ 4:
|
|
│ │ │ │ ^
|
|
│ │ │ │ 5: const obj: I = { foo() {} };
|
|
│ │ │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
│ │ │ │ 6:
|
|
│ │ │ │ ^
|
|
│ │ │ │ 7: obj.foo();
|
|
│ │ │ │ ^^^^^^^^^^
|
|
│ │ │ ╰
|
|
│ │ ├ selectionSpan:
|
|
│ │ │ ╭ /callHierarchyInterfaceMethod.ts:1:1-1:1
|
|
│ │ │ │ 1: interface I {
|
|
│ │ │ │ <
|
|
│ │ │ ╰
|
|
│ │ ╰ incoming: none
|
|
│ ├ fromSpans:
|
|
│ │ ╭ /callHierarchyInterfaceMethod.ts:7:5-7:8
|
|
│ │ │ 7: obj.foo();
|
|
│ │ │ ^^^
|
|
│ ╰ ╰
|
|
╰ outgoing: none |