Skip to main content

primitive_recv_kind

Function primitive_recv_kind 

Source
pub fn primitive_recv_kind(node: &AIRNode) -> Option<&str>
Expand description

The receiver-kind annotation value, parsed into the primitive type name.

Returns the primitive type’s name (e.g. "Int", "Float", "String") when the node carries a recv_kind = "Primitive:<Ty>" metadata stamp, else None. This is the codegen-side reader of the checker→codegen annotation.