@abaplint/core
Version:
abaplint - Core API
16 lines • 903 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CDSAnnotationObject = void 0;
const _1 = require(".");
const combi_1 = require("../../abap/2_statements/combi");
const cds_annotation_simple_1 = require("./cds_annotation_simple");
class CDSAnnotationObject extends combi_1.Expression {
getRunnable() {
const value = (0, combi_1.seq)(":", (0, combi_1.alt)(CDSAnnotationObject, _1.CDSAnnotationArray, cds_annotation_simple_1.CDSAnnotationSimple));
const namedot = (0, combi_1.seq)(_1.CDSName, (0, combi_1.star)((0, combi_1.seq)(".", _1.CDSName)));
const valueNested = (0, combi_1.seq)("{", namedot, (0, combi_1.opt)(value), (0, combi_1.star)((0, combi_1.seq)(",", namedot, (0, combi_1.opt)(value))), "}");
return valueNested;
}
}
exports.CDSAnnotationObject = CDSAnnotationObject;
//# sourceMappingURL=cds_annotation_object.js.map