Preparing core package for use by other packages.
This commit is contained in:
14
packages/js/core/dist/document.js
vendored
Normal file
14
packages/js/core/dist/document.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { parseLine as a, LineData as o } from "./parser.js";
|
||||
function f(u, i = " ") {
|
||||
let e = null, n = o(), t = !1;
|
||||
async function r() {
|
||||
return e = await u(), e === null ? t = !0 : a(e, n, i), { line: e, lineData: n, ended: t, next: r, current: l };
|
||||
}
|
||||
function l() {
|
||||
return { line: e, lineData: n, ended: t, next: r, current: l };
|
||||
}
|
||||
return { next: r, current: l };
|
||||
}
|
||||
export {
|
||||
f as document
|
||||
};
|
||||
Reference in New Issue
Block a user