@abaplint/transpiler 2.13.28 → 2.13.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/build/src/chunk.js +35 -2
- package/build/src/db/index.js +34 -1
- package/build/src/db/schema_generation/pg_database_schema.js +34 -1
- package/build/src/db/schema_generation/snowflake_database_schema.js +34 -1
- package/build/src/db/schema_generation/sqlite_database_schema.js +34 -1
- package/build/src/expressions/attribute_name.js +34 -1
- package/build/src/expressions/call_transformation_options.js +34 -1
- package/build/src/expressions/call_transformation_parameters.js +34 -1
- package/build/src/expressions/component_cond.js +34 -1
- package/build/src/expressions/component_cond_sub.js +34 -1
- package/build/src/expressions/database_table.js +34 -1
- package/build/src/expressions/field_assignment.js +34 -1
- package/build/src/expressions/field_chain.js +34 -1
- package/build/src/expressions/function_exporting.js +34 -1
- package/build/src/expressions/method_call_body.js +34 -1
- package/build/src/expressions/new_object.js +34 -1
- package/build/src/expressions/sql_cond.d.ts +2 -0
- package/build/src/expressions/sql_cond.js +96 -8
- package/build/src/expressions/sql_field.js +34 -1
- package/build/src/expressions/sql_field_and_value.js +34 -1
- package/build/src/expressions/sql_field_list.js +34 -1
- package/build/src/expressions/sql_from.js +34 -1
- package/build/src/expressions/sql_from_source.js +34 -1
- package/build/src/expressions/sql_group_by.js +34 -1
- package/build/src/expressions/sql_into_list.js +34 -1
- package/build/src/expressions/sql_into_structure.js +34 -1
- package/build/src/expressions/sql_join.js +34 -1
- package/build/src/expressions/sql_order_by.js +34 -1
- package/build/src/expressions/sql_source.js +34 -1
- package/build/src/expressions/sql_source_simple.js +34 -1
- package/build/src/expressions/sql_target.js +34 -1
- package/build/src/expressions/target.js +34 -1
- package/build/src/expressions/type_name_or_infer.js +1 -1
- package/build/src/handlers/handle_abap.js +34 -1
- package/build/src/handlers/handle_fugr.js +34 -1
- package/build/src/handlers/handle_type_pool.js +34 -1
- package/build/src/index.js +34 -1
- package/build/src/initialization.js +34 -1
- package/build/src/inline.js +34 -1
- package/build/src/requires.js +34 -1
- package/build/src/statements/add.js +34 -1
- package/build/src/statements/append.js +34 -1
- package/build/src/statements/assert.js +34 -1
- package/build/src/statements/assign.js +34 -1
- package/build/src/statements/call.js +34 -1
- package/build/src/statements/call_function.js +34 -1
- package/build/src/statements/call_kernel.js +34 -1
- package/build/src/statements/call_transformation.js +34 -1
- package/build/src/statements/case.js +34 -1
- package/build/src/statements/check.js +34 -1
- package/build/src/statements/class_implementation.js +34 -1
- package/build/src/statements/clear.js +34 -1
- package/build/src/statements/close_cursor.js +34 -1
- package/build/src/statements/collect.js +34 -1
- package/build/src/statements/compute.js +34 -1
- package/build/src/statements/concatenate.js +34 -1
- package/build/src/statements/condense.js +34 -1
- package/build/src/statements/convert.js +34 -1
- package/build/src/statements/create_data.js +34 -1
- package/build/src/statements/create_object.js +34 -1
- package/build/src/statements/data.js +34 -1
- package/build/src/statements/delete_database.js +34 -1
- package/build/src/statements/delete_internal.js +34 -1
- package/build/src/statements/do.js +34 -1
- package/build/src/statements/else_if.js +34 -1
- package/build/src/statements/end_method.js +34 -1
- package/build/src/statements/enhancement_point.js +34 -1
- package/build/src/statements/fetch_next_cursor.js +34 -1
- package/build/src/statements/field_symbol.js +34 -1
- package/build/src/statements/find.js +34 -1
- package/build/src/statements/form.js +34 -1
- package/build/src/statements/get_bit.js +34 -1
- package/build/src/statements/get_locale.js +34 -1
- package/build/src/statements/get_parameter.js +34 -1
- package/build/src/statements/get_reference.js +34 -1
- package/build/src/statements/get_run_time.js +34 -1
- package/build/src/statements/get_time.js +34 -1
- package/build/src/statements/if.js +34 -1
- package/build/src/statements/include.js +34 -1
- package/build/src/statements/index.d.ts +2 -0
- package/build/src/statements/index.js +2 -0
- package/build/src/statements/insert_database.js +34 -1
- package/build/src/statements/insert_internal.js +34 -1
- package/build/src/statements/loop.js +34 -1
- package/build/src/statements/message.js +34 -1
- package/build/src/statements/method_implementation.js +34 -1
- package/build/src/statements/modify_database.js +34 -1
- package/build/src/statements/modify_entities.d.ts +7 -0
- package/build/src/statements/modify_entities.js +11 -0
- package/build/src/statements/modify_internal.js +34 -1
- package/build/src/statements/move.js +34 -1
- package/build/src/statements/move_corresponding.js +34 -1
- package/build/src/statements/open_cursor.js +34 -1
- package/build/src/statements/overlay.js +34 -1
- package/build/src/statements/perform.js +34 -1
- package/build/src/statements/raise.js +34 -1
- package/build/src/statements/raise_event.js +34 -1
- package/build/src/statements/ranges.js +34 -1
- package/build/src/statements/read_entities.d.ts +7 -0
- package/build/src/statements/read_entities.js +11 -0
- package/build/src/statements/read_table.js +34 -1
- package/build/src/statements/receive.js +34 -1
- package/build/src/statements/replace.js +34 -1
- package/build/src/statements/return.js +34 -1
- package/build/src/statements/scan.js +34 -1
- package/build/src/statements/select.js +34 -1
- package/build/src/statements/set_bit.js +34 -1
- package/build/src/statements/set_handler.js +34 -1
- package/build/src/statements/set_locale.js +34 -1
- package/build/src/statements/shift.js +34 -1
- package/build/src/statements/sort.js +34 -1
- package/build/src/statements/split.js +34 -1
- package/build/src/statements/subtract.js +34 -1
- package/build/src/statements/tables.js +34 -1
- package/build/src/statements/translate.js +34 -1
- package/build/src/statements/unassign.js +34 -1
- package/build/src/statements/unpack.js +34 -1
- package/build/src/statements/update_database.js +34 -1
- package/build/src/statements/wait.js +34 -1
- package/build/src/statements/when.js +34 -1
- package/build/src/statements/while.js +34 -1
- package/build/src/statements/write.js +34 -1
- package/build/src/structures/at.js +34 -1
- package/build/src/structures/at_first.js +34 -1
- package/build/src/structures/at_last.js +34 -1
- package/build/src/structures/case.js +34 -1
- package/build/src/structures/case_type.js +34 -1
- package/build/src/structures/class_definition.js +34 -1
- package/build/src/structures/class_implementation.js +34 -1
- package/build/src/structures/constants.js +34 -1
- package/build/src/structures/data.js +34 -1
- package/build/src/structures/do.js +34 -1
- package/build/src/structures/form.js +34 -1
- package/build/src/structures/function_module.js +34 -1
- package/build/src/structures/interface.js +34 -1
- package/build/src/structures/loop.js +34 -1
- package/build/src/structures/method.js +34 -1
- package/build/src/structures/select.js +36 -2
- package/build/src/structures/try.js +34 -1
- package/build/src/structures/type_enum.js +34 -1
- package/build/src/structures/while.js +34 -1
- package/build/src/transpile_types.js +34 -1
- package/build/src/traversal.js +37 -4
- package/build/src/unit_test.js +34 -1
- package/build/src/validation.js +1 -0
- package/package.json +4 -4
|
@@ -1,7 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.WhileTranspiler = void 0;
|
|
4
|
-
const abaplint = require("@abaplint/core");
|
|
37
|
+
const abaplint = __importStar(require("@abaplint/core"));
|
|
5
38
|
const chunk_1 = require("../chunk");
|
|
6
39
|
const statements_1 = require("../statements");
|
|
7
40
|
const unique_identifier_1 = require("../unique_identifier");
|
|
@@ -1,7 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.TranspileTypes = void 0;
|
|
4
|
-
const abaplint = require("@abaplint/core");
|
|
37
|
+
const abaplint = __importStar(require("@abaplint/core"));
|
|
5
38
|
const traversal_1 = require("./traversal");
|
|
6
39
|
const featureHexUInt8 = false;
|
|
7
40
|
class TranspileTypes {
|
package/build/src/traversal.js
CHANGED
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.Traversal = void 0;
|
|
4
|
-
const abaplint = require("@abaplint/core");
|
|
5
|
-
const StatementTranspilers = require("./statements");
|
|
6
|
-
const ExpressionTranspilers = require("./expressions");
|
|
7
|
-
const StructureTranspilers = require("./structures");
|
|
37
|
+
const abaplint = __importStar(require("@abaplint/core"));
|
|
38
|
+
const StatementTranspilers = __importStar(require("./statements"));
|
|
39
|
+
const ExpressionTranspilers = __importStar(require("./expressions"));
|
|
40
|
+
const StructureTranspilers = __importStar(require("./structures"));
|
|
8
41
|
const transpile_types_1 = require("./transpile_types");
|
|
9
42
|
const chunk_1 = require("./chunk");
|
|
10
43
|
const expressions_1 = require("./expressions");
|
package/build/src/unit_test.js
CHANGED
|
@@ -1,8 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
36
|
exports.UnitTest = void 0;
|
|
4
37
|
/* eslint-disable max-len */
|
|
5
|
-
const abaplint = require("@abaplint/core");
|
|
38
|
+
const abaplint = __importStar(require("@abaplint/core"));
|
|
6
39
|
const initialization_1 = require("./initialization");
|
|
7
40
|
class UnitTest {
|
|
8
41
|
unitTestScriptOpen(reg, _skip) {
|
package/build/src/validation.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.30",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@abaplint/core": "^2.119.
|
|
32
|
+
"@abaplint/core": "^2.119.31",
|
|
33
33
|
"source-map": "^0.7.6"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/chai": "^4.3.20",
|
|
37
37
|
"@types/mocha": "^10.0.10",
|
|
38
38
|
"chai": "^4.5.0",
|
|
39
|
-
"mocha": "^11.7.
|
|
39
|
+
"mocha": "^11.7.6",
|
|
40
40
|
"source-map-support": "^0.5.21",
|
|
41
|
-
"typescript": "^
|
|
41
|
+
"typescript": "^6.0.3"
|
|
42
42
|
}
|
|
43
43
|
}
|