@abaplint/core
Version:
abaplint - Core API
12 lines • 556 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IncludeName = void 0;
const combi_1 = require("../combi");
const tokens_1 = require("../../1_lexer/tokens");
class IncludeName extends combi_1.Expression {
getRunnable() {
return (0, combi_1.seq)((0, combi_1.regex)(/^<?(\/\w+\/)?[\w%#]+(~\w+)?>?$/), (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.tok)(tokens_1.Dash), (0, combi_1.optPrio)((0, combi_1.regex)(/^\w+$/)))));
}
}
exports.IncludeName = IncludeName;
//# sourceMappingURL=include_name.js.map