@abaplint/transpiler 2.7.40 → 2.7.42

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.
@@ -18,6 +18,19 @@ class ModifyInternalTranspiler {
18
18
  const s = new expressions_1.SourceTranspiler().transpile(from, traversal).getCode();
19
19
  extra.push("from: " + s);
20
20
  }
21
+ const whereNode = node.findDirectExpression(abaplint.Expressions.ComponentCond);
22
+ if (whereNode) {
23
+ // todo, replacing "await" is a hack
24
+ extra.push("where: " + traversal.traverse(whereNode).getCode().replace("await ", ""));
25
+ }
26
+ const transporting = node.findDirectExpressions(abaplint.Expressions.ComponentChainSimple);
27
+ if (transporting.length > 0) {
28
+ const list = [];
29
+ for (const t of transporting) {
30
+ list.push("\"" + t.concatTokens().toLowerCase() + "\"");
31
+ }
32
+ extra.push("transporting: [" + list.join(",") + "]");
33
+ }
21
34
  let concat = "";
22
35
  if (extra.length > 0) {
23
36
  concat = ",{" + extra.join(",") + "}";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.7.40",
3
+ "version": "2.7.42",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",