Skip to main content

parse_object_from_token

Function parse_object_from_token 

Source
pub fn parse_object_from_token(
    lexer: &mut Lexer<'_>,
    tok: Token,
) -> Result<PdfObj, PdfError>
Expand description

Parse a PDF object given an already-consumed first token.

Container nesting is capped at MAX_OBJECT_DEPTH.