17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import {Command, ParseContext} from "./command.js";
|
|
import {LexInput} from "../lexer.js";
|
|
|
|
export class Paste extends Command<{}> {
|
|
isParseCandidate(token: LexInput): boolean {
|
|
return this.isKeyword(token, 'paste')
|
|
}
|
|
|
|
attemptParse(context: ParseContext): {} {
|
|
return {}
|
|
}
|
|
|
|
getDisplayName(): string {
|
|
return 'paste'
|
|
}
|
|
}
|