import { LineResults } from "../LineResults" ; import { CommandNames } from "../Names/CommandNames" ; import { BlockEndCommand } from "./BlockEndCommand" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Ends a try block.
 */ export class TryEndCommand extends BlockEndCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . TryEnd ) . withDescription ( "Ends a try block" ) . withIndentation ( [ - 1 ] ) ; returns public getMetadata ( ) { return TryEndCommand . metadata ; } param parameters returns public render ( parameters ) { return LineResults . newBlockLine ( "\0" , - 1 ) ; } }