@reckona/mreact-compiler 0.0.65 → 0.0.67
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/package.json +4 -3
- package/src/compiler-module-context.ts +31 -0
- package/src/diagnostics.ts +184 -0
- package/src/emit-client.ts +837 -0
- package/src/emit-compat.ts +567 -0
- package/src/emit-escape-helper.ts +45 -0
- package/src/emit-server-shared.ts +384 -0
- package/src/emit-server-stream.ts +2558 -0
- package/src/emit-server.ts +1827 -0
- package/src/index.ts +44 -0
- package/src/internal.ts +1905 -0
- package/src/ir.ts +151 -0
- package/src/oxc-analysis-types.ts +5 -0
- package/src/oxc-await-analysis.ts +165 -0
- package/src/oxc-await-ids.ts +62 -0
- package/src/oxc-await-validation.ts +117 -0
- package/src/oxc-bindings.ts +70 -0
- package/src/oxc-body-lowering.ts +430 -0
- package/src/oxc-child-analysis.ts +791 -0
- package/src/oxc-code-utils.ts +19 -0
- package/src/oxc-component-detection.ts +459 -0
- package/src/oxc-component-props.ts +170 -0
- package/src/oxc-component-references.ts +613 -0
- package/src/oxc-dom-lowering.ts +127 -0
- package/src/oxc-expression-utils.ts +42 -0
- package/src/oxc-jsx-attributes.ts +110 -0
- package/src/oxc-jsx-text.ts +84 -0
- package/src/oxc-nested-lowering.ts +319 -0
- package/src/oxc-node-utils.ts +65 -0
- package/src/oxc-raw-jsx.ts +239 -0
- package/src/oxc-render-values.ts +620 -0
- package/src/oxc-runtime-emit.ts +212 -0
- package/src/oxc-transform.ts +77 -0
- package/src/oxc.ts +932 -0
- package/src/transform.ts +634 -0
- package/src/types.ts +117 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export {
|
|
2
|
+
collectIdentifierReferenceNames,
|
|
3
|
+
collectJsxComponentRootNames,
|
|
4
|
+
collectClientRouteModuleAnalysis,
|
|
5
|
+
collectFormActionReferences,
|
|
6
|
+
collectFormActionReferenceNames,
|
|
7
|
+
collectStaticExportReferences,
|
|
8
|
+
collectStaticImportReferences,
|
|
9
|
+
collectStaticModuleSpecifiers,
|
|
10
|
+
collectTopLevelExportRenderInfo,
|
|
11
|
+
collectTopLevelValueExportNames,
|
|
12
|
+
demoteTopLevelExportDeclarations,
|
|
13
|
+
hasClientRuntimeSyntax,
|
|
14
|
+
hasModuleDirective,
|
|
15
|
+
hasTopLevelExportDeclaration,
|
|
16
|
+
stripTopLevelExportDeclarations,
|
|
17
|
+
} from "./internal.js";
|
|
18
|
+
export type {
|
|
19
|
+
StaticExportReference,
|
|
20
|
+
FormActionReference,
|
|
21
|
+
StaticImportReference,
|
|
22
|
+
StaticImportSpecifierReference,
|
|
23
|
+
ClientRouteModuleAnalysis,
|
|
24
|
+
ClientRouteStaticImportReference,
|
|
25
|
+
TopLevelExportRenderInfo,
|
|
26
|
+
} from "./internal.js";
|
|
27
|
+
export { formatDiagnostic } from "./diagnostics.js";
|
|
28
|
+
export { transform } from "./transform.js";
|
|
29
|
+
export type {
|
|
30
|
+
CompileTarget,
|
|
31
|
+
CompilerFrontend,
|
|
32
|
+
CompilerMetadata,
|
|
33
|
+
ClientReferenceMetadata,
|
|
34
|
+
ComponentMetadata,
|
|
35
|
+
Diagnostic,
|
|
36
|
+
ModuleMetadata,
|
|
37
|
+
ServerBootstrapMode,
|
|
38
|
+
ServerEscapeOptions,
|
|
39
|
+
RuntimeImport,
|
|
40
|
+
ServerOutputMode,
|
|
41
|
+
SourceLocation,
|
|
42
|
+
TransformInput,
|
|
43
|
+
TransformOutput,
|
|
44
|
+
} from "./types.js";
|