CodeQL library for Python
codeql/python-all 2.1.3-dev (changelog, source)
Search

Class FunctionEndpoint

A callable function or method from source code.

Import path

import modeling.ModelEditor

Direct supertypes

Inherited fields

Predicates

getKind

Gets the kind of this endpoint. See EndPointKind.

getParameters

Gets the parameter types of this endpoint.

getSupportedStatus

Gets a boolean that is true iff this endpoint is supported by existing modeling.

getSupportedType

Gets a string that describes the type of support detected this endpoint.

hasSummary

Holds if this API has a supported summary.

isNeutral

Holds if this API is a known neutral.

isSink

Holds if this API is a known sink.

isSource

Holds if this API is a known source.

isSupported

Holds if this API is supported by existing CodeQL libraries, that is, it is either a recognized source, sink or neutral or it has a flow summary.

Inherited predicates

getClass

Gets the name of the class in which this endpoint is found, or the empty string if it is not found inside a class.

from Endpoint
getFileName

Gets hte basename of the file where this endpoint is found.

from Endpoint
getFunctionName

Gets the name of the endpoint if it is not a class, or the empty string if it is a class

from Endpoint
getLocation

Gets the location of this endpoint.

from Endpoint
getNamespace

Gets the namespace for this endpoint. This will typically be the package in which it is found.

from Endpoint
toString

Gets a string representation of this endpoint.

from Endpoint