@optique/core 0.10.4-dev.408 → 0.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/parser.cjs +4 -4
- package/dist/parser.js +4 -4
- package/package.json +1 -1
package/dist/parser.cjs
CHANGED
|
@@ -350,11 +350,11 @@ function getDocPageSyncImpl(parser, args, options) {
|
|
|
350
350
|
state: initialState,
|
|
351
351
|
usage: parser.usage
|
|
352
352
|
};
|
|
353
|
-
|
|
353
|
+
while (context.buffer.length > 0) {
|
|
354
354
|
const result = parser.parse(context);
|
|
355
355
|
if (!result.success) break;
|
|
356
356
|
context = result.next;
|
|
357
|
-
}
|
|
357
|
+
}
|
|
358
358
|
return buildDocPage(parser, context, args);
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
@@ -372,11 +372,11 @@ async function getDocPageAsyncImpl(parser, args, options) {
|
|
|
372
372
|
state: initialState,
|
|
373
373
|
usage: parser.usage
|
|
374
374
|
};
|
|
375
|
-
|
|
375
|
+
while (context.buffer.length > 0) {
|
|
376
376
|
const result = await parser.parse(context);
|
|
377
377
|
if (!result.success) break;
|
|
378
378
|
context = result.next;
|
|
379
|
-
}
|
|
379
|
+
}
|
|
380
380
|
return buildDocPage(parser, context, args);
|
|
381
381
|
}
|
|
382
382
|
/**
|
package/dist/parser.js
CHANGED
|
@@ -350,11 +350,11 @@ function getDocPageSyncImpl(parser, args, options) {
|
|
|
350
350
|
state: initialState,
|
|
351
351
|
usage: parser.usage
|
|
352
352
|
};
|
|
353
|
-
|
|
353
|
+
while (context.buffer.length > 0) {
|
|
354
354
|
const result = parser.parse(context);
|
|
355
355
|
if (!result.success) break;
|
|
356
356
|
context = result.next;
|
|
357
|
-
}
|
|
357
|
+
}
|
|
358
358
|
return buildDocPage(parser, context, args);
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
@@ -372,11 +372,11 @@ async function getDocPageAsyncImpl(parser, args, options) {
|
|
|
372
372
|
state: initialState,
|
|
373
373
|
usage: parser.usage
|
|
374
374
|
};
|
|
375
|
-
|
|
375
|
+
while (context.buffer.length > 0) {
|
|
376
376
|
const result = await parser.parse(context);
|
|
377
377
|
if (!result.success) break;
|
|
378
378
|
context = result.next;
|
|
379
|
-
}
|
|
379
|
+
}
|
|
380
380
|
return buildDocPage(parser, context, args);
|
|
381
381
|
}
|
|
382
382
|
/**
|