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" ; /**
 * Sorts a list in-place as strings.
 */ export class ListSortStringsCommand extends NativeCallCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . ListSortStrings ) . withDescription ( "Sorts a list in-place as strings" ) . withParameters ( [ new SingleParameter ( "name" , "The name of the list." , true ) ] ) ; returns public getMetadata ( ) { return ListSortStringsCommand . metadata ; } returns protected retrieveNativeCallSyntax ( ) { return this . language . syntax . lists . sortStrings ; } }