mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
79 lines
1.9 KiB
Plaintext
79 lines
1.9 KiB
Plaintext
// === Call Hierarchy ===
|
|
╭ 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;
|
|
│ │ ^^^
|
|
│ ╰
|
|
├ incoming:
|
|
│ ╭ from:
|
|
│ │ ╭ 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
|
|
│ ├ fromSpans:
|
|
│ │ ╭ /main.ts:2:5-2:8
|
|
│ │ │ 2: foo();
|
|
│ │ │ ^^^
|
|
│ ╰ ╰
|
|
╰ outgoing: none
|
|
╭ 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;
|
|
│ │ ^^^
|
|
│ ╰
|
|
├ incoming:
|
|
│ ╭ from:
|
|
│ │ ╭ 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
|
|
│ ├ fromSpans:
|
|
│ │ ╭ /main.ts:2:5-2:8
|
|
│ │ │ 2: foo();
|
|
│ │ │ ^^^
|
|
│ ╰ ╰
|
|
╰ outgoing: none |