macro_rules! read_context { ($doc: expr, $id: expr, $variant: ident) => { ... }; }
Read the preprocessor output variant from document context. Returns None if there is no output.