@@ -48,7 +48,8 @@ const clTObject = 'TObject', clTNamed = 'TNamed', clTObjString = 'TObjString', c
4848/** @summary Custom streamers for root classes
4949 * @desc map of user-streamer function like func(buf,obj)
5050 * or alias (classname) which can be used to read that function
51- * or list of read functions */
51+ * or list of read functions
52+ * @private */
5253const CustomStreamers = {
5354 TObject ( buf , obj ) {
5455 obj . fUniqueID = buf . ntou4 ( ) ;
@@ -482,8 +483,9 @@ function addUserStreamer(type, user_streamer) {
482483}
483484
484485
485- /** @summary these are streamers which do not handle version regularly
486- * @desc used for special classes like TRef or TBasket */
486+ /** @summary these are streamers which do not handle version regularly
487+ * @desc used for special classes like TRef or TBasket
488+ * @private */
487489const DirectStreamers = {
488490 // do nothing for these classes
489491 TQObject ( ) { } ,
@@ -3072,9 +3074,9 @@ class TFile {
30723074 * @param {number } [cycle] - cycle number, also can be included in obj_name
30733075 * @returns {Promise } promise with object read
30743076 * @example
3075- * let f = await openFile("https://root.cern/js/files/hsimple.root");
3076- * let obj = await f.readObject("hpxpy;1");
3077- * console.log(`Read object of type ${obj._typename}`); */
3077+ * let f = await openFile("https://root.cern/js/files/hsimple.root");
3078+ * let obj = await f.readObject("hpxpy;1");
3079+ * console.log(`Read object of type ${obj._typename}`); */
30783080 readObject ( obj_name , cycle , only_dir ) {
30793081
30803082 let pos = obj_name . lastIndexOf ( ";" ) ;
@@ -3738,6 +3740,8 @@ class TNodejsFile extends TFile {
37383740 * @param {string|object } arg - argument for file open like url, see details
37393741 * @returns {object } - Promise with {@link TFile} instance when file is opened
37403742 * @example
3743+ *
3744+ * import { openFile } from '/path_to_jsroot/modules/io.mjs';
37413745 * let f = await openFile("https://root.cern/js/files/hsimple.root");
37423746 * console.log(`Open file ${f.getFileName()}`); */
37433747function openFile ( arg ) {
0 commit comments