CodeQL library for Go
codeql/go-all 2.1.4-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

Holds if this callable is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

isExternalFileScope

Holds if this DataFlowCallable is an external file scope.

toString

Gets a string representation of this callable.