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