Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ serialize
Method
serialize
lean_py/z3/core.py:384–386 ·
view source on GitHub ↗
Serialize expression to string.
(self)
Source
from the content-addressed store, hash-verified
382
return
id(self._ast)
383
384
def
serialize(self) -> str:
385
""
"Serialize expression to string."
""
386
return
_ast_repr(self._ast)
387
388
389
class
DatatypeRef(ExprRef):
Callers
2
test_serialize
Method · 0.45
test_serialize_binop
Method · 0.45
Calls
1
_ast_repr
Function · 0.85
Tested by
2
test_serialize
Method · 0.36
test_serialize_binop
Method · 0.36