Skip to main content

Module catalog

Module catalog 

Source
Expand description

Catalog of host Family.method invoke ids.

Vibe is the language; Poet (and other hosts) supply capabilities. Dotted calls such as Animation.orbit_spin(t) resolve against this catalog at compile time and lower to Host::capability_invoke. Unknown Family.method names fail closed.

Constants§

ALL_INVOKE_IDS
Every bound Family.method invoke id the Vibe catalog knows.
INVOKE_ID_COUNT

Functions§

animation_preset
Animation preset.
apply_preset_alias
When Animation.orbit_spin(t) lowers to Animation.evaluate_preset, fill family/preset on the payload so every Host sees the alias. Named fields already present win.
canonical_id
Resolve a dotted path to a canonical invoke id.
describe
One-line hover text for a catalog path or identifier.
did_you_mean
Did-you-mean suggestion.
families
Unique catalog family names, in catalog order.
family_grant
Expand using Animation; into the family grant id.
family_of
Family of a builtin.
granted_covers
true when the grant covers the capability.
invoke_local
Run a catalog id in-process.
is_known
true when known.
looks_like_catalog_path
Known catalog family + dotted method, e.g. HID.poll. User enums such as Shape.Circle are not catalog paths.
methods_for_family
Methods for a family.
parse_family_from_preset
Parses family-from-preset.
payload_from_args
Payload from args.
sample_to_value
Converts a sample to a value.