Skip to main content

inline_decide_schema_name

Function inline_decide_schema_name 

Source
pub fn inline_decide_schema_name(rule: &str, binding: &str) -> String
Expand description

The hygienic class name synthesized for an inline decide -> { … } as <binding>. Dots are illegal in user class names (like the flow.<name>.seg* rule convention), so decide.<rule>.<binding> can never collide with a declared schema. The lowering pass, the type checker, and the runtime fixture all derive the same name, so the anonymous result shape flows exactly like a named coerce -> Schema: after <binding> succeeds as r resolves r’s fields for case dispatch and field access.