UNPKG

@abaplint/core

Version:
14 lines 580 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CDSAs = void 0; const _1 = require("."); const combi_1 = require("../../abap/2_statements/combi"); class CDSAs extends combi_1.Expression { getRunnable() { // Greedy opt (not optPrio) — avoids exponential backtracking in CDSElement const colonType = (0, combi_1.seq)(":", (0, combi_1.alt)(_1.CDSType, _1.CDSName, "LOCALIZED")); return (0, combi_1.seq)("AS", _1.CDSName, (0, combi_1.opt)(colonType)); } } exports.CDSAs = CDSAs; //# sourceMappingURL=cds_as.js.map