import {Command, ParseContext, StrTerm} from './command.js' import {LexInput} from '../lexer.js' export class Lipsum extends Command<{ length: StrTerm }> { attemptParse(context: ParseContext): { length: StrTerm } { return { length: context.popTerm(), } } getDisplayName(): string { return 'lipsum' } isParseCandidate(token: LexInput): boolean { return this.isKeyword(token, 'lipsum') } }