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

Class DataFlowCallable

Import path

import semmle.go.dataflow.internal.DataFlowPrivate

Direct supertypes

Predicates

asCallable

Gets the Callable corresponding to this DataFlowCallable, if any.

asFileScope

Gets the File whose root scope corresponds to this DataFlowCallable, if any.

asSummarizedCallable

Gets the SummarizedCallable corresponding to this DataFlowCallable, if any.

getLocation

Gets the location of this callable.

getType

Gets the type of this callable.

hasLocationInfo

DEPRECATED: Use getLocation() instead.

isExternalFileScope

Holds if this DataFlowCallable is an external file scope.

toString

Gets a string representation of this callable.