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

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