pub fn parse_indirect_object<R: Resolve + ?Sized>(
lx: &mut Lexer<'_>,
limits: &Limits,
diags: &mut Diagnostics,
strictness: Strictness,
store: &R,
) -> Result<Indirect, Error>Expand description
Parse N G obj … endobj at the lexer’s position.
The header must be exactly two number tokens and the keyword obj;
anything else rewinds to where the parse started and fails, which is what
lets a caller probe an offset without losing its place.
§Errors
Error::NoObject when the header or body will not parse.