CodeQL library for Go
codeql/go-all 0.7.15-dev (changelog, source)
Search

Member predicate Public::CallNode::getACalleeIncludingExternals

Gets the definition of a possible target of this call.

For non-virtual calls, there is at most one possible call target (but there may be none if the target has no declaration).

For virtual calls, we look up possible targets in all types that implement the receiver interface type.

Callable getACalleeIncludingExternals()