Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import {alt, seq, ver, tok, Expression} from "../combi"; import {Version} from "../../../version"; import {WAt, ParenLeftW, WParenRightW} from "../../1_lexer/tokens"; import {Source, SimpleSource3} from "."; import {IStatementRunnable} from "../statement_runnable"; // todo, delete this expression, its the same as SQLSource? export class SQLSourceSimple extends Expression { public getRunnable(): IStatementRunnable { const paren = seq(tok(ParenLeftW), Source, tok(WParenRightW)); const at = ver(Version.v740sp05, seq(tok(WAt), alt(SimpleSource3, paren))); return alt(SimpleSource3, at); } } |