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

Member predicate AttrRef::getAttributeNameExpr

Gets the expression node that defines the attribute being accessed, if any. This is usually an identifier or literal.

ExprNode getAttributeNameExpr()