foldable_impl#
Low-level implementation details of the foldable system.
This module contains low-level wrappers that handle folding and unfolding as well as hyperlinking (and unfolding) internal nodes.
Classes
A deferred part. |
|
Stores a deferred placeholder along with its thunk. |
|
Concrete implementation of a node that can be expanded or collapsed. |
|
Wraps a node so that it can be targeted by a hyperlink. |
|
Builds a hyperlink to another node, based on that node's JAX keypath. |
|
Builds a button that, when clicked, copies the given path. |
Functions
Context manager that defers and collects |
|
|
Displays a root node in an IPython notebook in a streaming fashion. |
|
Possibly defers rendering of a part in interactive contexts. |
|
Renders a root node to HTML. |
|
Renders a root node to text. |