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