import { NativeCallSyntax } from "../Languages/Properties/Syntax/NativeCallSyntax" ; import { CommandNames } from "../Names/CommandNames" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; import { SingleParameter } from "./Metadata/Parameters/SingleParameter" ; import { NativeCallCommand } from "./NativeCallCommand" ; /**
 * Retrieves the keys of a dictionary.
 */ export class DictionaryKeysCommand extends NativeCallCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . DictionaryKeys ) . withDescription ( "Retrieves the keys of a dictionary" ) . withParameters ( [ new SingleParameter ( "dictionary" , "A dictionary to retrieve the keys of." , true ) ] ) ; returns public getMetadata ( ) { return DictionaryKeysCommand . metadata ; } returns protected retrieveNativeCallSyntax ( ) { return this . language . syntax . dictionaries . keys ; } }