@abaplint/transpiler-cli 2.5.12 → 2.5.13

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.
Files changed (2) hide show
  1. package/build/bundle.js +6 -6
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -77062,14 +77062,14 @@ class Traversal {
77062
77062
  traverseStructure(node) {
77063
77063
  const list = StructureTranspilers;
77064
77064
  const ret = new chunk_1.Chunk();
77065
+ const search = node.get().constructor.name + "Transpiler";
77066
+ if (list[search]) {
77067
+ const transpiler = new list[search]();
77068
+ ret.appendChunk(transpiler.transpile(node, this));
77069
+ return ret;
77070
+ }
77065
77071
  for (const c of node.getChildren()) {
77066
77072
  if (c instanceof abaplint.Nodes.StructureNode) {
77067
- const search = c.get().constructor.name + "Transpiler";
77068
- if (list[search]) {
77069
- const transpiler = new list[search]();
77070
- ret.appendChunk(transpiler.transpile(c, this));
77071
- continue;
77072
- }
77073
77073
  ret.appendChunk(this.traverseStructure(c));
77074
77074
  }
77075
77075
  else if (c instanceof abaplint.Nodes.StatementNode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.5.12",
3
+ "version": "2.5.13",
4
4
  "description": "Transpiler - Command Line Interface",
5
5
  "bin": {
6
6
  "abap_transpile": "./abap_transpile"
@@ -25,7 +25,7 @@
25
25
  "author": "abaplint",
26
26
  "license": "MIT",
27
27
  "devDependencies": {
28
- "@abaplint/transpiler": "^2.5.12",
28
+ "@abaplint/transpiler": "^2.5.13",
29
29
  "@types/glob": "^7.2.0",
30
30
  "glob": "=7.2.0",
31
31
  "@types/progress": "^2.0.5",