import { LineResults } from "../LineResults" ; import { CommandNames } from "../Names/CommandNames" ; import { Command } from "./Command" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Prints the 'break' keyword.
 */ export class BreakCommand extends Command { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . Break ) . withDescription ( "Prints the 'break' keyword" ) ; returns public getMetadata ( ) { return BreakCommand . metadata ; } param parameters returns public render ( parameters ) { const output = this . language . syntax . loops . break ; return LineResults . newSingleLine ( output ) . withAddSemicolon ( true ) ; } }