@abaplint/transpiler
Version:
13 lines • 527 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetLocaleTranspiler = void 0;
const abaplint = require("@abaplint/core");
const chunk_1 = require("../chunk");
class GetLocaleTranspiler {
transpile(node, traversal) {
const t = traversal.traverse(node.findFirstExpression(abaplint.Expressions.Target));
return new chunk_1.Chunk(`abap.statements.getLocale(${t.getCode()});`);
}
}
exports.GetLocaleTranspiler = GetLocaleTranspiler;
//# sourceMappingURL=get_locale.js.map