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 17 18 19 20 21 22 23 24 25 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 7x 1x 1x | import {IStatement} from "./_statement"; import {verNot, str, seq, opt, per, tok} from "../combi"; import {Integer, MessageClass, Field, ReportName} from "../expressions"; import {Version} from "../../../version"; import {ParenLeft, ParenRightW} from "../../1_lexer/tokens"; import {IStatementRunnable} from "../statement_runnable"; export class Report implements IStatement { public getMatcher(): IStatementRunnable { const more = seq(tok(ParenLeft), Integer, tok(ParenRightW)); const heading = str("NO STANDARD PAGE HEADING"); const size = seq("LINE-SIZE", Integer); const count = seq("LINE-COUNT", Integer, opt(more)); const message = seq("MESSAGE-ID", MessageClass); const database = seq("USING DATABASE", Field); const ret = seq("REPORT", opt(ReportName), opt(per(heading, size, count, database, message))); return verNot(Version.Cloud, ret); } } |