Allows to link nested calls to their parent calls. This way, you can link an assert_equal call to the parent test_that call etc:

test_that("my test", {
assert_equal(1 + 1, 2)
})
interface LinkToNestedCall<CallName extends CallNameTypes = CallNameTypes> {
    callName: CallName;
    ignoreIf?: (id: NodeId, graph: DataflowGraph) => boolean;
    type: "link-to-nested-call";
}

Type Parameters

Hierarchy (View Summary)

Hierarchy-Diagram

UML class diagram of LinkToNestedCall

Properties

callName: CallName

Regex regarding the function name of the last call. Similar to DefaultCallContextQueryFormat#callName, strings are interpreted as a RegExp.

ignoreIf?: (id: NodeId, graph: DataflowGraph) => boolean

Should we ignore this (source) call? Currently, there is no well working serialization for this.

type: "link-to-nested-call"

used to select the query type :)