Skip to main content

Module shapes

Module shapes 

Source
Expand description

Shapes for Intent kinds.

Each baseline Intent kind gets a Shape that matches a kind-tagged Expr::Map for that kind; an umbrella intent/Intent Shape matches any recognized Intent and is used as the codec:intent expression shape. Editor dispatch (WEBUI_4 P3) selects editors by Shape match over these, reusing the kernel matcher.

Structs§

IntentKindShape
A Shape that accepts exactly one Intent kind.
IntentShape
The umbrella Shape that accepts any recognized Intent.

Functions§

intent_shape_specs
Build (symbol, shape) registrations for the umbrella Shape plus every baseline Intent kind Shape.
intent_shape_symbol
The symbol for the umbrella intent/Intent Shape.