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" ; /**
 * Creates a lower-case version of a string.
 */ export class StringCaseLowerCommand extends NativeCallCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . StringCaseLower ) . withDescription ( "Creates a lower-case version of a string" ) . withParameters ( [ new SingleParameter ( "string" , "A string to create a lower-case version of." , true ) ] ) ; returns public getMetadata ( ) { return StringCaseLowerCommand . metadata ; } returns protected retrieveNativeCallSyntax ( ) { return this . language . syntax . strings . caseLower ; } }