CodeQL library for Python
codeql/python-all 2.1.3-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()