Skip to main content

expl3_slots

Function expl3_slots 

Source
pub fn expl3_slots(name: &str) -> Option<Vec<Expl3Slot>>
Expand description

The argument slots of an expl3 function name, read from its argspec suffix (the substring after the final :), or None when the name has no derivable call-site arity.

Some iff the name contains a : and every suffix letter is a fixed-shape letter per the module docs; an empty suffix (\scan_stop:, \group_end:) is Some(vec![]) — a recognized zero-argument call. None for a colonless name (\def, \@ifpackageloaded), or a spec containing w, D, a mid-spec T/F, or any unknown letter.