@generaltranslation/compiler 1.3.27 → 1.3.30
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/config.d.ts +12 -7
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +61 -6
- package/dist/index.js.map +1 -1
- package/dist/passes/basePass.d.ts.map +1 -1
- package/dist/passes/basePass.js +9 -10
- package/dist/passes/basePass.js.map +1 -1
- package/dist/processing/collection/processCallExpression.js +8 -6
- package/dist/processing/collection/processCallExpression.js.map +1 -1
- package/dist/processing/collection/processTaggedTemplateExpression.d.ts +1 -1
- package/dist/processing/collection/processTaggedTemplateExpression.js +1 -1
- package/dist/processing/collection/processTaggedTemplateExpression.js.map +1 -1
- package/dist/processing/jsx-insertion/processCallExpression.js.map +1 -1
- package/dist/processing/jsx-insertion/processProgram.d.ts.map +1 -1
- package/dist/processing/jsx-insertion/processProgram.js +1 -1
- package/dist/processing/jsx-insertion/processProgram.js.map +1 -1
- package/dist/processing/macro-expansion/processProgram.js +1 -1
- package/dist/processing/macro-expansion/processProgram.js.map +1 -1
- package/dist/processing/macro-expansion/processTaggedTemplateExpression.d.ts +1 -1
- package/dist/processing/macro-expansion/processTaggedTemplateExpression.js +1 -1
- package/dist/processing/macro-expansion/processTaggedTemplateExpression.js.map +1 -1
- package/dist/processing/processFunctionDeclaration.js +1 -1
- package/dist/processing/processFunctionExpression.js +1 -1
- package/dist/processing/runtime-translate/processProgram.d.ts.map +1 -1
- package/dist/processing/runtime-translate/processProgram.js +2 -1
- package/dist/processing/runtime-translate/processProgram.js.map +1 -1
- package/dist/state/StringCollector.d.ts +3 -3
- package/dist/state/StringCollector.d.ts.map +1 -1
- package/dist/state/StringCollector.js.map +1 -1
- package/dist/state/utils/initializeState.d.ts.map +1 -1
- package/dist/state/utils/initializeState.js +8 -5
- package/dist/state/utils/initializeState.js.map +1 -1
- package/dist/transform/injection/injectCallbackDeclaratorFunctionParameters.d.ts +1 -1
- package/dist/transform/injection/injectCallbackDeclaratorFunctionParameters.js +6 -5
- package/dist/transform/injection/injectCallbackDeclaratorFunctionParameters.js.map +1 -1
- package/dist/transform/injection/injectHashIntoTranslationOptions.d.ts.map +1 -1
- package/dist/transform/injection/injectHashIntoTranslationOptions.js +1 -0
- package/dist/transform/injection/injectHashIntoTranslationOptions.js.map +1 -1
- package/dist/transform/injection/injectTComponentParameters.d.ts.map +1 -1
- package/dist/transform/injection/injectTComponentParameters.js +2 -1
- package/dist/transform/injection/injectTComponentParameters.js.map +1 -1
- package/dist/transform/jsx-children/constructJsxChildren.d.ts +1 -0
- package/dist/transform/jsx-children/constructJsxChildren.d.ts.map +1 -1
- package/dist/transform/jsx-children/constructJsxChildren.js +17 -5
- package/dist/transform/jsx-children/constructJsxChildren.js.map +1 -1
- package/dist/transform/jsx-insertion/injectJsxInsertionImport.d.ts +2 -2
- package/dist/transform/jsx-insertion/injectJsxInsertionImport.d.ts.map +1 -1
- package/dist/transform/jsx-insertion/injectJsxInsertionImport.js +4 -3
- package/dist/transform/jsx-insertion/injectJsxInsertionImport.js.map +1 -1
- package/dist/transform/macro-expansion/injectMacroImport.d.ts +2 -2
- package/dist/transform/macro-expansion/injectMacroImport.d.ts.map +1 -1
- package/dist/transform/macro-expansion/injectMacroImport.js +4 -3
- package/dist/transform/macro-expansion/injectMacroImport.js.map +1 -1
- package/dist/transform/registration/callbacks/registerUseGTCallback.d.ts.map +1 -1
- package/dist/transform/registration/callbacks/registerUseGTCallback.js +0 -1
- package/dist/transform/registration/callbacks/registerUseGTCallback.js.map +1 -1
- package/dist/transform/registration/registerStandaloneTranslation.d.ts.map +1 -1
- package/dist/transform/registration/registerStandaloneTranslation.js +0 -1
- package/dist/transform/registration/registerStandaloneTranslation.js.map +1 -1
- package/dist/transform/runtime-translate/injectRuntimeTranslateImport.d.ts +3 -2
- package/dist/transform/runtime-translate/injectRuntimeTranslateImport.d.ts.map +1 -1
- package/dist/transform/runtime-translate/injectRuntimeTranslateImport.js +4 -3
- package/dist/transform/runtime-translate/injectRuntimeTranslateImport.js.map +1 -1
- package/dist/transform/validation/validateTranslationComponentArgs.d.ts +2 -0
- package/dist/transform/validation/validateTranslationComponentArgs.d.ts.map +1 -1
- package/dist/transform/validation/validateTranslationComponentArgs.js +4 -3
- package/dist/transform/validation/validateTranslationComponentArgs.js.map +1 -1
- package/dist/transform/validation/validateTranslationFunction.d.ts.map +1 -1
- package/dist/transform/validation/validateTranslationFunction.js +3 -3
- package/dist/transform/validation/validateTranslationFunction.js.map +1 -1
- package/dist/utils/calculateHash.d.ts +1 -2
- package/dist/utils/calculateHash.d.ts.map +1 -1
- package/dist/utils/calculateHash.js +1 -3
- package/dist/utils/calculateHash.js.map +1 -1
- package/dist/utils/constants/gt/constants.d.ts +1 -5
- package/dist/utils/constants/gt/constants.d.ts.map +1 -1
- package/dist/utils/constants/gt/constants.js +1 -5
- package/dist/utils/constants/gt/constants.js.map +1 -1
- package/dist/utils/constants/gt/helpers.d.ts +2 -1
- package/dist/utils/constants/gt/helpers.d.ts.map +1 -1
- package/dist/utils/constants/gt/helpers.js +15 -5
- package/dist/utils/constants/gt/helpers.js.map +1 -1
- package/dist/utils/constants/resolveIdentifier/isGTComponent.d.ts +1 -1
- package/dist/utils/constants/resolveIdentifier/isGTComponent.d.ts.map +1 -1
- package/dist/utils/constants/resolveIdentifier/isGTComponent.js +2 -3
- package/dist/utils/constants/resolveIdentifier/isGTComponent.js.map +1 -1
- package/dist/utils/parsing/isStringTranslationTaggedTemplate.d.ts +1 -1
- package/dist/utils/parsing/isStringTranslationTaggedTemplate.js +3 -3
- package/dist/utils/parsing/isStringTranslationTaggedTemplate.js.map +1 -1
- package/package.json +3 -3
- package/dist/processing/index.d.ts +0 -15
- package/dist/processing/index.d.ts.map +0 -1
- package/dist/processing/index.js +0 -29
- package/dist/transform/jsx-children/index.d.ts +0 -2
- package/dist/transform/jsx-children/index.d.ts.map +0 -1
- package/dist/transform/jsx-children/index.js +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isGTComponent.js","names":["t","isGTImportSource"],"sources":["../../../../src/utils/constants/resolveIdentifier/isGTComponent.ts"],"sourcesContent":["import { NodePath } from '@babel/traverse';\nimport * as t from '@babel/types';\nimport { isGTImportSource } from '../gt/helpers';\nimport { GT_COMPONENT_TYPES } from '../gt/constants';\n\n/**\n * Given a NodePath to the first argument of a jsx() call (the component identifier),\n * resolve it to its original imported name from a GT source.\n * Returns null if the identifier is not imported from a GT library.\n */\nexport function resolveFirstArgGTName(\n firstArgPath: NodePath<t.Expression>\n): string | null {\n if (!firstArgPath.isIdentifier()) return null;\n\n const binding = firstArgPath.scope.getBinding(firstArgPath.node.name);\n if (!binding || !binding.path.isImportSpecifier()) return null;\n\n const imported = binding.path.node.imported;\n const originalName = t.isIdentifier(imported)\n ? imported.name\n : imported.value;\n\n const parentPath = binding.path.parentPath;\n if (!parentPath?.isImportDeclaration()) return null;\n\n const importSource = parentPath.node.source.value;\n if (!isGTImportSource(importSource)) return null;\n\n return originalName;\n}\n\n/** Check if first arg of jsx call is user-written T (not GtInternalTranslateJsx) */\nexport function isUserTranslationComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n return resolveFirstArgGTName(firstArgPath) === GT_COMPONENT_TYPES.T;\n}\n\n/** Check if first arg is user-written Var, Num, Currency, DateTime, or RelativeTime */\nexport function isUserVariableComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n const name = resolveFirstArgGTName(firstArgPath);\n return [\n GT_COMPONENT_TYPES.Var,\n GT_COMPONENT_TYPES.Num,\n GT_COMPONENT_TYPES.Currency,\n GT_COMPONENT_TYPES.DateTime,\n GT_COMPONENT_TYPES.RelativeTime,\n ].includes((name ?? '') as GT_COMPONENT_TYPES);\n}\n\n/** Check if first arg is Branch or Plural */\nexport function isGTBranchComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n const name = resolveFirstArgGTName(firstArgPath);\n return (\n name === GT_COMPONENT_TYPES.Branch || name === GT_COMPONENT_TYPES.Plural\n );\n}\n\n/** Check if first arg is Derive
|
|
1
|
+
{"version":3,"file":"isGTComponent.js","names":["t","isGTImportSource"],"sources":["../../../../src/utils/constants/resolveIdentifier/isGTComponent.ts"],"sourcesContent":["import { NodePath } from '@babel/traverse';\nimport * as t from '@babel/types';\nimport { isGTImportSource } from '../gt/helpers';\nimport { GT_COMPONENT_TYPES } from '../gt/constants';\n\n/**\n * Given a NodePath to the first argument of a jsx() call (the component identifier),\n * resolve it to its original imported name from a GT source.\n * Returns null if the identifier is not imported from a GT library.\n */\nexport function resolveFirstArgGTName(\n firstArgPath: NodePath<t.Expression>\n): string | null {\n if (!firstArgPath.isIdentifier()) return null;\n\n const binding = firstArgPath.scope.getBinding(firstArgPath.node.name);\n if (!binding || !binding.path.isImportSpecifier()) return null;\n\n const imported = binding.path.node.imported;\n const originalName = t.isIdentifier(imported)\n ? imported.name\n : imported.value;\n\n const parentPath = binding.path.parentPath;\n if (!parentPath?.isImportDeclaration()) return null;\n\n const importSource = parentPath.node.source.value;\n if (!isGTImportSource(importSource)) return null;\n\n return originalName;\n}\n\n/** Check if first arg of jsx call is user-written T (not GtInternalTranslateJsx) */\nexport function isUserTranslationComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n return resolveFirstArgGTName(firstArgPath) === GT_COMPONENT_TYPES.T;\n}\n\n/** Check if first arg is user-written Var, Num, Currency, DateTime, or RelativeTime */\nexport function isUserVariableComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n const name = resolveFirstArgGTName(firstArgPath);\n return [\n GT_COMPONENT_TYPES.Var,\n GT_COMPONENT_TYPES.Num,\n GT_COMPONENT_TYPES.Currency,\n GT_COMPONENT_TYPES.DateTime,\n GT_COMPONENT_TYPES.RelativeTime,\n ].includes((name ?? '') as GT_COMPONENT_TYPES);\n}\n\n/** Check if first arg is Branch or Plural */\nexport function isGTBranchComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n const name = resolveFirstArgGTName(firstArgPath);\n return (\n name === GT_COMPONENT_TYPES.Branch || name === GT_COMPONENT_TYPES.Plural\n );\n}\n\n/** Check if first arg is Derive */\nexport function isGTDeriveComponent(\n firstArgPath: NodePath<t.Expression>\n): boolean {\n const name = resolveFirstArgGTName(firstArgPath);\n return name === GT_COMPONENT_TYPES.Derive;\n}\n"],"mappings":";;;;;;;;;;;;AAUA,SAAgB,sBACd,cACe;AACf,KAAI,CAAC,aAAa,cAAc,CAAE,QAAO;CAEzC,MAAM,UAAU,aAAa,MAAM,WAAW,aAAa,KAAK,KAAK;AACrE,KAAI,CAAC,WAAW,CAAC,QAAQ,KAAK,mBAAmB,CAAE,QAAO;CAE1D,MAAM,WAAW,QAAQ,KAAK,KAAK;CACnC,MAAM,eAAeA,aAAE,aAAa,SAAS,GACzC,SAAS,OACT,SAAS;CAEb,MAAM,aAAa,QAAQ,KAAK;AAChC,KAAI,EAAA,eAAA,QAAA,eAAA,KAAA,IAAA,KAAA,IAAC,WAAY,qBAAqB,EAAE,QAAO;CAE/C,MAAM,eAAe,WAAW,KAAK,OAAO;AAC5C,KAAI,CAACC,mCAAAA,iBAAiB,aAAa,CAAE,QAAO;AAE5C,QAAO;;;AAIT,SAAgB,2BACd,cACS;AACT,QAAO,sBAAsB,aAAa,KAAA;;;AAI5C,SAAgB,wBACd,cACS;CACT,MAAM,OAAO,sBAAsB,aAAa;AAChD,QAAO;;;;;;EAMN,CAAC,SAAU,QAAQ,GAA0B;;;AAIhD,SAAgB,oBACd,cACS;CACT,MAAM,OAAO,sBAAsB,aAAa;AAChD,QACE,SAAA,YAAsC,SAAA;;;AAK1C,SAAgB,oBACd,cACS;AAET,QADa,sBAAsB,aACxB,KAAA"}
|
|
@@ -5,7 +5,7 @@ import * as t from '@babel/types';
|
|
|
5
5
|
* string translation macro.
|
|
6
6
|
*
|
|
7
7
|
* The macro is valid when it is an unbound bare identifier, or when it is
|
|
8
|
-
* imported from gt-react
|
|
8
|
+
* imported from gt-react. This covers global `t`, but not explicit
|
|
9
9
|
* member access such as `globalThis.t` or `window.t`. Other bindings are left
|
|
10
10
|
* alone so local/i18next t tags do not get transformed or extracted.
|
|
11
11
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
3
|
-
require("../constants/gt/
|
|
3
|
+
const require_utils_constants_gt_helpers = require("../constants/gt/helpers.js");
|
|
4
4
|
let _babel_types = require("@babel/types");
|
|
5
5
|
_babel_types = require_runtime.__toESM(_babel_types);
|
|
6
6
|
//#region src/utils/parsing/isStringTranslationTaggedTemplate.ts
|
|
@@ -9,7 +9,7 @@ _babel_types = require_runtime.__toESM(_babel_types);
|
|
|
9
9
|
* string translation macro.
|
|
10
10
|
*
|
|
11
11
|
* The macro is valid when it is an unbound bare identifier, or when it is
|
|
12
|
-
* imported from gt-react
|
|
12
|
+
* imported from gt-react. This covers global `t`, but not explicit
|
|
13
13
|
* member access such as `globalThis.t` or `window.t`. Other bindings are left
|
|
14
14
|
* alone so local/i18next t tags do not get transformed or extracted.
|
|
15
15
|
*/
|
|
@@ -19,7 +19,7 @@ function isStringTranslationTaggedTemplate(path, symbol) {
|
|
|
19
19
|
if (!binding) return true;
|
|
20
20
|
if (!binding.path.isImportSpecifier()) return false;
|
|
21
21
|
const importDecl = binding.path.parentPath;
|
|
22
|
-
return (importDecl === null || importDecl === void 0 ? void 0 : importDecl.isImportDeclaration()) === true && importDecl.node.source.value
|
|
22
|
+
return (importDecl === null || importDecl === void 0 ? void 0 : importDecl.isImportDeclaration()) === true && require_utils_constants_gt_helpers.isGTReactImportSource(importDecl.node.source.value);
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
exports.isStringTranslationTaggedTemplate = isStringTranslationTaggedTemplate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isStringTranslationTaggedTemplate.js","names":["t"],"sources":["../../../src/utils/parsing/isStringTranslationTaggedTemplate.ts"],"sourcesContent":["import type { NodePath } from '@babel/traverse';\nimport * as t from '@babel/types';\nimport {
|
|
1
|
+
{"version":3,"file":"isStringTranslationTaggedTemplate.js","names":["t","isGTReactImportSource"],"sources":["../../../src/utils/parsing/isStringTranslationTaggedTemplate.ts"],"sourcesContent":["import type { NodePath } from '@babel/traverse';\nimport * as t from '@babel/types';\nimport { isGTReactImportSource } from '../constants/gt/helpers';\n\n/**\n * Checks whether a tagged template expression should be treated as the GT\n * string translation macro.\n *\n * The macro is valid when it is an unbound bare identifier, or when it is\n * imported from gt-react. This covers global `t`, but not explicit\n * member access such as `globalThis.t` or `window.t`. Other bindings are left\n * alone so local/i18next t tags do not get transformed or extracted.\n */\nexport function isStringTranslationTaggedTemplate(\n path: NodePath<t.TaggedTemplateExpression>,\n symbol: string\n): boolean {\n if (!t.isIdentifier(path.node.tag, { name: symbol })) {\n return false;\n }\n\n const binding = path.scope.getBinding(symbol);\n if (!binding) {\n return true;\n }\n\n if (!binding.path.isImportSpecifier()) {\n return false;\n }\n\n const importDecl = binding.path.parentPath;\n return (\n importDecl?.isImportDeclaration() === true &&\n isGTReactImportSource(importDecl.node.source.value)\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;AAaA,SAAgB,kCACd,MACA,QACS;AACT,KAAI,CAACA,aAAE,aAAa,KAAK,KAAK,KAAK,EAAE,MAAM,QAAQ,CAAC,CAClD,QAAO;CAGT,MAAM,UAAU,KAAK,MAAM,WAAW,OAAO;AAC7C,KAAI,CAAC,QACH,QAAO;AAGT,KAAI,CAAC,QAAQ,KAAK,mBAAmB,CACnC,QAAO;CAGT,MAAM,aAAa,QAAQ,KAAK;AAChC,SAAA,eAAA,QAAA,eAAA,KAAA,IAAA,KAAA,IACE,WAAY,qBAAqB,MAAK,QACtCC,mCAAAA,sBAAsB,WAAW,KAAK,OAAO,MAAM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@generaltranslation/compiler",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.30",
|
|
4
4
|
"description": "Universal plugin for compile-time optimization of GT translation components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@babel/traverse": "^7.23.0",
|
|
25
25
|
"@babel/types": "^7.23.0",
|
|
26
26
|
"unplugin": "^2.3.10",
|
|
27
|
-
"@generaltranslation/format": "0.1.
|
|
28
|
-
"generaltranslation": "
|
|
27
|
+
"@generaltranslation/format": "0.1.2",
|
|
28
|
+
"generaltranslation": "9.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/babel__core": "^7.20.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './processArrowFunctionExpression';
|
|
2
|
-
export * from './processAssignmentExpression';
|
|
3
|
-
export * from './processCatchClause';
|
|
4
|
-
export * from './processClassDeclaration';
|
|
5
|
-
export * from './processClassMethod';
|
|
6
|
-
export * from './processClassPrivateMethod';
|
|
7
|
-
export * from './processForInStatement';
|
|
8
|
-
export * from './processForOfStatement';
|
|
9
|
-
export * from './processFunctionDeclaration';
|
|
10
|
-
export * from './processFunctionExpression';
|
|
11
|
-
export * from './processImportDeclaration';
|
|
12
|
-
export * from './processObjectMethod';
|
|
13
|
-
export * from './processProgram';
|
|
14
|
-
export * from './processScopeChange';
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/processing/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
package/dist/processing/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_processing_processArrowFunctionExpression = require("./processArrowFunctionExpression.js");
|
|
3
|
-
const require_processing_processAssignmentExpression = require("./processAssignmentExpression.js");
|
|
4
|
-
const require_processing_processCatchClause = require("./processCatchClause.js");
|
|
5
|
-
const require_processing_processClassDeclaration = require("./processClassDeclaration.js");
|
|
6
|
-
const require_processing_processClassMethod = require("./processClassMethod.js");
|
|
7
|
-
const require_processing_processClassPrivateMethod = require("./processClassPrivateMethod.js");
|
|
8
|
-
const require_processing_processForInStatement = require("./processForInStatement.js");
|
|
9
|
-
const require_processing_processForOfStatement = require("./processForOfStatement.js");
|
|
10
|
-
const require_processing_processFunctionDeclaration = require("./processFunctionDeclaration.js");
|
|
11
|
-
const require_processing_processFunctionExpression = require("./processFunctionExpression.js");
|
|
12
|
-
const require_processing_processImportDeclaration = require("./processImportDeclaration.js");
|
|
13
|
-
const require_processing_processObjectMethod = require("./processObjectMethod.js");
|
|
14
|
-
const require_processing_processProgram = require("./processProgram.js");
|
|
15
|
-
const require_processing_processScopeChange = require("./processScopeChange.js");
|
|
16
|
-
exports.processArrowFunctionExpression = require_processing_processArrowFunctionExpression.processArrowFunctionExpression;
|
|
17
|
-
exports.processAssignmentExpression = require_processing_processAssignmentExpression.processAssignmentExpression;
|
|
18
|
-
exports.processCatchClause = require_processing_processCatchClause.processCatchClause;
|
|
19
|
-
exports.processClassDeclaration = require_processing_processClassDeclaration.processClassDeclaration;
|
|
20
|
-
exports.processClassMethod = require_processing_processClassMethod.processClassMethod;
|
|
21
|
-
exports.processClassPrivateMethod = require_processing_processClassPrivateMethod.processClassPrivateMethod;
|
|
22
|
-
exports.processForInStatement = require_processing_processForInStatement.processForInStatement;
|
|
23
|
-
exports.processForOfStatement = require_processing_processForOfStatement.processForOfStatement;
|
|
24
|
-
exports.processFunctionDeclaration = require_processing_processFunctionDeclaration.processFunctionDeclaration;
|
|
25
|
-
exports.processFunctionExpression = require_processing_processFunctionExpression.processFunctionExpression;
|
|
26
|
-
exports.processImportDeclaration = require_processing_processImportDeclaration.processImportDeclaration;
|
|
27
|
-
exports.processObjectMethod = require_processing_processObjectMethod.processObjectMethod;
|
|
28
|
-
exports.processProgram = require_processing_processProgram.processProgram;
|
|
29
|
-
exports.processScopeChange = require_processing_processScopeChange.processScopeChange;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transform/jsx-children/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_transform_jsx_children_constructJsxChildren = require("./constructJsxChildren.js");
|
|
3
|
-
exports.constructJsxChildren = require_transform_jsx_children_constructJsxChildren.constructJsxChildren;
|