UNPKG

@abaplint/transpiler

Version:
18 lines 684 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ParameterListSTranspiler = void 0; const core_1 = require("@abaplint/core"); const chunk_1 = require("../chunk"); class ParameterListSTranspiler { transpile(node, traversal) { const parameters = []; for (const c of node.getChildren()) { if (c instanceof core_1.Nodes.ExpressionNode) { parameters.push(traversal.traverse(c)); } } return new chunk_1.Chunk().appendString("{").join(parameters).appendString("}"); } } exports.ParameterListSTranspiler = ParameterListSTranspiler; //# sourceMappingURL=parameter_list_s.js.map