UNPKG

@abaplint/core

Version:
14 lines 875 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CDSElement = void 0; const _1 = require("."); const combi_1 = require("../../abap/2_statements/combi"); const cds_as_1 = require("./cds_as"); const cds_cast_1 = require("./cds_cast"); class CDSElement extends combi_1.Expression { getRunnable() { return (0, combi_1.seq)((0, combi_1.starPrio)(_1.CDSAnnotation), (0, combi_1.optPrio)("KEY"), (0, combi_1.altPrio)(_1.CDSAggregate, _1.CDSString, _1.CDSArithmetics, _1.CDSFunction, cds_cast_1.CDSCast, _1.CDSCase, (0, combi_1.seq)("(", _1.CDSCase, ")"), (0, combi_1.seq)(_1.CDSName, ": REDIRECTED TO", (0, combi_1.opt)((0, combi_1.alt)("PARENT", "COMPOSITION CHILD")), _1.CDSName), _1.CDSPrefixedName, _1.CDSInteger), (0, combi_1.opt)(cds_as_1.CDSAs)); } } exports.CDSElement = CDSElement; //# sourceMappingURL=cds_element.js.map