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

Member predicate Comprehension::getAChildNode

Gets a child node of this node in the AST. This predicate exists to aid exploration of the AST and other experiments. The child-parent relation may not be meaningful. For a more meaningful relation in terms of dependency use Expr.getASubExpression(), Stmt.getASubStatement(), Stmt.getASubExpression() or Scope.getAStmt().

AstNode getAChildNode()