Files
tsgo/testdata/baselines/reference/submodule/fourslash/callHierarchy/callHierarchyExportDefaultFunction.callHierarchy.txt

66 lines
1.6 KiB
Plaintext

// === Call Hierarchy ===
╭ name: default
├ kind: function
├ file: /other.ts
├ span:
│ ╭ /other.ts:1:1-3:2
│ │ 1: export default function () {
│ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ │ 2: baz();
│ │ ^^^^^^^^^^
│ │ 3: }
│ │ ^
│ ╰
├ selectionSpan:
│ ╭ /other.ts:1:8-1:15
│ │ 1: export default function () {
│ │ ^^^^^^^
│ ╰
├ incoming:
│ ╭ from:
│ │ ╭ name: foo
│ │ ├ kind: function
│ │ ├ file: /main.ts
│ │ ├ span:
│ │ │ ╭ /main.ts:3:1-5:2
│ │ │ │ 3: function foo() {
│ │ │ │ ^^^^^^^^^^^^^^^^
│ │ │ │ 4: bar();
│ │ │ │ ^^^^^^^^^^
│ │ │ │ 5: }
│ │ │ │ ^
│ │ │ ╰
│ │ ├ selectionSpan:
│ │ │ ╭ /main.ts:3:10-3:13
│ │ │ │ 3: function foo() {
│ │ │ │ ^^^
│ │ │ ╰
│ │ ╰ incoming: none
│ ├ fromSpans:
│ │ ╭ /main.ts:4:5-4:8
│ │ │ 4: bar();
│ │ │ ^^^
│ ╰ ╰
├ outgoing:
│ ╭ to:
│ │ ╭ name: baz
│ │ ├ kind: function
│ │ ├ file: /other.ts
│ │ ├ span:
│ │ │ ╭ /other.ts:5:1-6:2
│ │ │ │ 5: function baz() {
│ │ │ │ ^^^^^^^^^^^^^^^^
│ │ │ │ 6: }
│ │ │ │ ^
│ │ │ ╰
│ │ ├ selectionSpan:
│ │ │ ╭ /other.ts:5:10-5:13
│ │ │ │ 5: function baz() {
│ │ │ │ ^^^
│ │ │ ╰
│ │ ╰ outgoing: none
│ ├ fromSpans:
│ │ ╭ /other.ts:2:5-2:8
│ │ │ 2: baz();
│ │ │ ^^^
╰ ╰ ╰