Skip to main content

Crate sim_lib_view_expr_tree

Crate sim_lib_view_expr_tree 

Source
Expand description

Bounded, reversible expression-tree outline over SIM’s standard view stack.

ExpressionTreeSurfaceCodec implements sim_lib_view::SurfaceCodec. Its input is an ordinary ExpressionTreeSnapshot value: collapsed nodes carry no fetched child or face payload, while expanded child pages are either complete or end in an explicit continuation. The codec projects that one value to desktop and phone layouts from sim_lib_view::SurfaceCaps, decodes standard Intents, and commits them to existing expr-tree/* operations with their declared capabilities.

Structs§

ExpressionTreeSnapshot
One revisioned, finite surface snapshot.
ExpressionTreeSurfaceCodec
Reversible, stateless codec for a revisioned expression-tree snapshot.
FaceSnapshot
One already bounded source or result face.
NodeDetail
Expanded details for one cell row.
NodeSnapshot
One finite directory or cell snapshot.
ReceiptSummary
Bounded calculation-receipt facts shown in one outline row.
TimestampSummary
Optional human timestamps used only for explanation.

Enums§

ChildPage
Fetched child state for an expanded directory.
FaceState
A source or result face outcome safe to expose to a surface.
Freshness
Every non-evaluating expression-tree freshness state.

Constants§

EXPRESSION_TREE_SURFACE_CODEC_ID
Stable registry id for the expression-tree reversible surface.

Functions§

crate_identity
Returns the crate’s public view-library identity.
expression_tree_surface_codec_symbol
Returns the expression-tree surface registry symbol.
register_expression_tree_surface_codec
Registers the canonical expression-tree reversible surface in a view registry.
runtime_identity
Returns the runtime library identity composed by this view.