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