mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
// === Call Hierarchy ===
|
|
╭ name: bar
|
|
├ kind: function
|
|
├ file: /main.ts
|
|
├ span:
|
|
│ ╭ /main.ts:1:1-3:2
|
|
│ │ 1: function bar() {
|
|
│ │ ^^^^^^^^^^^^^^^^
|
|
│ │ 2: foo();
|
|
│ │ ^^^^^^^^^^
|
|
│ │ 3: }
|
|
│ │ ^
|
|
│ ╰
|
|
├ selectionSpan:
|
|
│ ╭ /main.ts:1:10-1:13
|
|
│ │ 1: function bar() {
|
|
│ │ ^^^
|
|
│ ╰
|
|
├ incoming: none
|
|
├ outgoing:
|
|
│ ╭ to:
|
|
│ │ ╭ name: foo
|
|
│ │ ├ kind: function
|
|
│ │ ├ file: /a.d.ts
|
|
│ │ ├ span:
|
|
│ │ │ ╭ /a.d.ts:1:1-1:40
|
|
│ │ │ │ 1: declare function foo(x?: number): void;
|
|
│ │ │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
│ │ │ ╰
|
|
│ │ ├ selectionSpan:
|
|
│ │ │ ╭ /a.d.ts:1:18-1:21
|
|
│ │ │ │ 1: declare function foo(x?: number): void;
|
|
│ │ │ │ ^^^
|
|
│ │ │ ╰
|
|
│ │ ╰ outgoing: none
|
|
│ ├ fromSpans:
|
|
│ │ ╭ /main.ts:2:5-2:8
|
|
│ │ │ 2: foo();
|
|
│ │ │ ^^^
|
|
│ ╰ ╰
|
|
│ ╭ to:
|
|
│ │ ╭ name: foo
|
|
│ │ ├ kind: function
|
|
│ │ ├ file: /b.d.ts
|
|
│ │ ├ span:
|
|
│ │ │ ╭ /b.d.ts:1:1-1:40
|
|
│ │ │ │ 1: declare function foo(x?: string): void;
|
|
│ │ │ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
│ │ │ ╰
|
|
│ │ ├ selectionSpan:
|
|
│ │ │ ╭ /b.d.ts:1:18-1:21
|
|
│ │ │ │ 1: declare function foo(x?: string): void;
|
|
│ │ │ │ ^^^
|
|
│ │ │ ╰
|
|
│ │ ╰ outgoing: none
|
|
│ ├ fromSpans:
|
|
│ │ ╭ /main.ts:2:5-2:8
|
|
│ │ │ 2: foo();
|
|
│ │ │ ^^^
|
|
╰ ╰ ╰ |