MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / children

Method children

lean_py/z3/core.py:348–350  ·  view source on GitHub ↗

Return list of all children of this expression.

(self)

Source from the content-addressed store, hash-verified

346 return _child_expr(children[i], self, i)
347
348 def children(self) -> list[ExprRef]:
349 """Return list of all children of this expression."""
350 return [_child_expr(c, self, i) for i, c in enumerate(_ast_children(self._ast))]
351
352 def decl(self) -> FuncDeclRef:
353 """Return the function declaration for this expression."""

Callers 2

test_binop_childrenMethod · 0.80

Calls 2

_child_exprFunction · 0.85
_ast_childrenFunction · 0.85

Tested by 2

test_binop_childrenMethod · 0.64