import { LineResults } from "../LineResults" ; import { CommandNames } from "../Names/CommandNames" ; import { Command } from "./Command" ; import { CommandResult } from "./CommandResult" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Ends a new dictionary.
 */ export class DictionaryNewEndCommand extends Command { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . DictionaryNewEnd ) . withDescription ( "Ends a new dictionary" ) . withIndentation ( [ - 1 ] ) ; returns public getMetadata ( ) { return DictionaryNewEndCommand . metadata ; } param parameters returns public render ( parameters ) { const ender = this . language . syntax . dictionaries . initializeEnd ; return new LineResults ( [ new CommandResult ( ender , - 1 ) ] ) . withAddSemicolon ( true ) ; } }