foldable_representation

foldable_representation#

Definition of components of Treescope’s intermediate representation.

Submodules

penzai.treescope.foldable_representation.basic_parts

Common building blocks for the treescope intermediate representation.

penzai.treescope.foldable_representation.common_structures

Helpers to build frequently-used configurations of rendered parts.

penzai.treescope.foldable_representation.common_styles

Common styles for parts of renderings.

penzai.treescope.foldable_representation.embedded_iframe

Embedding of external HTML content into treescope's IR.

penzai.treescope.foldable_representation.foldable_impl

Low-level implementation details of the foldable system.

penzai.treescope.foldable_representation.layout_algorithms

Algorithms for expanding and collapsing foldable nodes.

penzai.treescope.foldable_representation.part_interface

Base interface for the intermediate representation of a treescope rendering.