Skip to main content

CONDTAB

Static CONDTAB 

Source
pub static CONDTAB: Lazy<Mutex<Vec<conddef>>>
Expand description

Port of file-static Conddef condtab; from Src/cond.c:21 — the global condition-definition linked-list head consulted by [[ ... ]] dispatch. Modules register custom conditions via addconddef; the runtime walks condtab looking for the matching name+infix flag at each [[ evaluation. Rust port stores entries in a Vec (linear add/remove + walk; same observable behaviour as C linked list).