import { LineResults } from "../LineResults" ; import { CommandNames } from "../Names/CommandNames" ; import { Command } from "./Command" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Prints the standard exception class name.
 */ export class ExceptionCommand extends Command { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . Exception ) . withDescription ( "Prints the standard exception class name" ) ; returns public getMetadata ( ) { return ExceptionCommand . metadata ; } param parameters returns public render ( parameters ) { const output = this . language . syntax . exceptions . className ; return LineResults . newSingleLine ( output ) . withImports ( this . language . syntax . exceptions . requiredImports ) ; } }