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

Member predicate Stmt::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()