Skip to main content

printparamnode

Function printparamnode 

Source
pub fn printparamnode(hn: &mut param, printflags: i32)
Expand description

Port of printparamnode(HashNode hn, int printflags) from Src/params.c:6123. Real C body is ~200 lines emitting the typeset/declare-style listing for one param honouring PRINT_NAMEONLY / PRINT_TYPESET / PRINT_KV_PAIR / PRINT_LINE / PRINT_INCLUDEVALUE / PRINT_POSIX_READONLY / PRINT_POSIX_EXPORT / PRINT_WITH_NAMESPACE and the per-paramtypes attribute table. Faithful direct port of the common path: skip-on-.-prefix without WITH_NAMESPACE, skip-on-PM_UNSET (with the POSIX preserve), AUTOLOAD gating, then nam + =value via printparamvalue.