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

Module API::Label

Provides classes modeling the various edges (labels) in the API graph.

Import path

import semmle.python.ApiGraphs

Predicates

await

Gets the await edge label.

entryPoint

Gets the label going from the root node to the nodes associated with the given entry point.

index

Gets the subscript edge label.

keywordParameter

Gets the parameter edge label for the keyword parameter name.

member

Gets the member edge label for member m.

memberFromRef

Gets the member edge label for the given attribute reference.

mod

Gets the edge label for the module m.

parameter

Gets the parameter edge label for parameter i.

return

Gets the return edge label.

selfParameter

Gets the edge label for the self parameter.

subclass

Gets the subclass edge label.

subscript

Gets the subscript edge label.

unknownMember

Gets the member edge label for the unknown member.

Classes

ApiLabel

A label in the API-graph