req_type? EOL EOF startxref notfound "%%EOF" LF || CRLF || CR y ignore_if_present(any_whitespace_characters_except_EOL) y throw syntax_error(EOF_not_found) there is no "startxref" y throw syntax_error(EOL_not_found) throw syntax_error(startxref_not_found) end of stream y ignore_if_present(any_whitespace_characters_except_EOL | comment) y require(EOL) there is no " [EOL] " throw syntax_error(EOF_invalid)