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