pub fn parse_object(lexer: &mut Lexer<'_>) -> Result<PdfObj, PdfError>Expand description
Parse a PDF object from the lexer (recursive descent).
This handles arrays, dicts, and indirect references (N G R).
Container nesting is capped at MAX_OBJECT_DEPTH; beyond that the parse
returns PdfError::NestingTooDeep rather than exhausting the stack.