@oxy.so/bloom-language-compiler-wasm32-wasi 1.0.0 → 1.1.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// napi-rs-artifact-metadata:{"version":2,"rootEntry":"index.js","exports":["compile"],"managedRootEntries":["browser.js","index.js","bloom-language-compiler.wasm","bloom-language-compiler.debug.wasm"]}
|
|
1
|
+
// napi-rs-artifact-metadata:{"version":2,"rootEntry":"index.js","exports":["compile","docLinks"],"managedRootEntries":["browser.js","index.js","bloom-language-compiler.wasm","bloom-language-compiler.debug.wasm"]}
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/* auto-generated by NAPI-RS */
|
|
4
4
|
|
|
@@ -2298,3 +2298,4 @@ try {
|
|
|
2298
2298
|
} catch {}
|
|
2299
2299
|
module.exports = __napiModule.exports
|
|
2300
2300
|
module.exports.compile = __napiModule.exports.compile
|
|
2301
|
+
module.exports.docLinks = __napiModule.exports.docLinks
|
|
@@ -8,11 +8,16 @@ export declare function compile(source: string, filename: string): Output
|
|
|
8
8
|
export interface Diagnostic {
|
|
9
9
|
message: string
|
|
10
10
|
help?: string
|
|
11
|
+
/** Links to the docs that explain it, the most precise first. */
|
|
12
|
+
docs: Array<string>
|
|
11
13
|
line: number
|
|
12
14
|
column: number
|
|
13
15
|
rendered: string
|
|
14
16
|
}
|
|
15
17
|
|
|
18
|
+
/** Every docs link a diagnostic can carry: what the docs check holds to a heading. */
|
|
19
|
+
export declare function docLinks(): Array<string>
|
|
20
|
+
|
|
16
21
|
export interface Output {
|
|
17
22
|
code: string
|
|
18
23
|
map?: string
|
|
Binary file
|