UNPKG

@abaplint/core

Version:
15 lines 726 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SQLFrom = void 0; const combi_1 = require("../combi"); const tokens_1 = require("../../1_lexer/tokens"); const _1 = require("."); class SQLFrom extends combi_1.Expression { getRunnable() { const from = (0, combi_1.seq)("FROM", (0, combi_1.starPrio)((0, combi_1.tok)(tokens_1.WParenLeftW)), _1.SQLFromSource); const source = (0, combi_1.seq)(from, (0, combi_1.starPrio)((0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.WParenRightW)), _1.SQLJoin, (0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.WParenRightW))))); return source; } } exports.SQLFrom = SQLFrom; //# sourceMappingURL=sql_from.js.map