sinwan-compiler 0.4.0 → 1.0.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.
- package/dist/analyze.d.ts +1 -1
- package/dist/ast/generate.d.ts +16 -0
- package/dist/ast/index.d.ts +8 -0
- package/dist/ast/node.d.ts +147 -0
- package/dist/ast/parse.d.ts +19 -0
- package/dist/ast/path.d.ts +116 -0
- package/dist/ast/traverse.d.ts +4 -0
- package/dist/ast/types.d.ts +267 -0
- package/dist/auto-cc.d.ts +1 -1
- package/dist/{chunk-sy6qf73w.js → chunk-rshqq0t3.js} +3801 -2505
- package/dist/cli.js +1 -1
- package/dist/exports.d.ts +2 -2
- package/dist/index.js +334 -132
- package/dist/live-cc-destructure.d.ts +1 -1
- package/dist/reactive-wrap.d.ts +2 -2
- package/dist/transform.d.ts +2 -0
- package/docs/api.md +2 -2
- package/docs/architecture.md +16 -0
- package/docs/transform.md +1 -1
- package/package.json +4 -8
package/dist/cli.js
CHANGED
package/dist/exports.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export interface ExportedComponent {
|
|
|
19
19
|
/**
|
|
20
20
|
* Collect top-level exported component bindings from a module source string.
|
|
21
21
|
*
|
|
22
|
-
* Parses the source with
|
|
23
|
-
* find functions and variables whose name starts with an uppercase letter.
|
|
22
|
+
* Parses the source with oxc-parser, then walks top-level export declarations
|
|
23
|
+
* to find functions and variables whose name starts with an uppercase letter.
|
|
24
24
|
*
|
|
25
25
|
* Returns an array of `{ local, key }` pairs. Returns an empty array if the
|
|
26
26
|
* source cannot be parsed.
|