object (PDF::Reader::Parser)

    # File lib/pdf/reader/parser.rb, line 188
        def object (id, gen)
          Error.assert_equal(parse_token, id)
          Error.assert_equal(parse_token, gen)
          Error.str_assert(parse_token, "obj")

          obj = parse_token
          post_obj = parse_token
          case post_obj
          when "endobj"   then return obj
          when "stream"   then return stream(obj)
          else            raise MalformedPDFError, "PDF malformed, unexpected token #{post_obj}"
          end
        end