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

Class Endpoint

An element of the source code to be modeled.

See EndPointKind for the possible kinds of elements.

Import path

import modeling.ModelEditor

Known direct subtypes

Fields

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.

getFileName

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

getFunctionName

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

getKind

Gets the kind of this endpoint. See EndPointKind.

getLocation

Gets the location of this endpoint.

getNamespace

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

getParameters

Gets a string representation of the parameters 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.

toString

Gets a string representation of this endpoint.

Charpred