@abaplint/core
Version:
abaplint - Core API
13 lines • 682 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CDSAnnotationSimple = void 0;
const _1 = require(".");
const combi_1 = require("../../abap/2_statements/combi");
class CDSAnnotationSimple extends combi_1.Expression {
getRunnable() {
const value = (0, combi_1.alt)(_1.CDSString, "true", "false", (0, combi_1.regex)(/^\d+$/), (0, combi_1.seq)((0, combi_1.regex)(/^\d+$/), ".", (0, combi_1.regex)(/^\d+$/)), (0, combi_1.seq)("#", "(", (0, combi_1.regex)(/^[\w_]+$/), ")"), (0, combi_1.regex)(/^#[\w_]+$/));
return value;
}
}
exports.CDSAnnotationSimple = CDSAnnotationSimple;
//# sourceMappingURL=cds_annotation_simple.js.map