var searchIndex = {}; searchIndex["argonaut"] = {"doc":"Lets the user structure the arguments given to a program through a\ncommand-line.","items":[[3,"Parser","argonaut","An argument parser.",null,null],[3,"Arg","","An argument description for the parser. Use methods on 'arg' to create them.",null,null],[3,"OptArg","","The builder for an optional argument.",null,null],[3,"ParsedArgs","","The parsed arguments of a succesful parsing.",null,null],[3,"ParsedArgsAccess","","An object to access a named member of the parsed arguments.",null,null],[4,"OptName","","The name of an optional flag.",null,null],[13,"Short","","",0,null],[13,"Long","","",0,null],[13,"ShortAndLong","","",0,null],[4,"ParseStatus","","The result of a succesful parse. Either all the arguments are parsed and\nbound, or an interrupt flag is encountered and the handle of the\ncorresponding argument is returned.",null,null],[13,"Parsed","","",1,null],[13,"Interrupted","","",1,null],[11,"hash","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"is_long","","Returns whether this flag is the given long option (ex "help" for --help).",0,null],[11,"is_short","","Returns whether this flag is the given short option (ex 'h' for -h).",0,null],[11,"fmt","","",0,null],[11,"fmt","","",2,null],[11,"new","","Creates a new set of parsed arguments.",2,{"inputs":[{"name":"vec"},{"name":"hashmap"},{"name":"hashmap"},{"name":"hashmap"},{"name":"hashmap"}],"output":{"name":"parsedargs"}}],[11,"long","","Accesses a flag with the given long name in the parsed arguments.",2,null],[11,"short","","Accesses a flag with the given short name in the parsed arguments.",2,null],[11,"positional","","Returns the value of given positional argument.",2,null],[11,"trail","","Returns the arguments after the given position.",2,null],[11,"switch","","Returns the value of a switch.",3,null],[11,"single","","Returns the value of a flag with a single parameter.",3,null],[11,"multiple","","Returns the value of a flag with multiple parameters.",3,null],[11,"fmt","","",4,null],[11,"help","","Sets the help text for this argument.",4,null],[11,"positional","","Creates a positional argument with the given parameter name.",4,{"inputs":[{"name":"str"}],"output":{"name":"arg"}}],[11,"optional_trail","","Creates an argument that requires zero or more trailing parameters.",4,{"inputs":[{"name":"str"}],"output":{"name":"arg"}}],[11,"required_trail","","Creates an argument requires one or more trailing parameters.",4,{"inputs":[{"name":"str"}],"output":{"name":"arg"}}],[11,"short","","Creates a new optional argument with a short name (ex 'h' for -h).",4,{"inputs":[{"name":"char"}],"output":{"name":"optarg"}}],[11,"long","","Creates a new optional argument with a long name (ex "help" for --help).",4,{"inputs":[{"name":"str"}],"output":{"name":"optarg"}}],[11,"short_and_long","","Creates a new optional argument with both a short and a long name.",4,{"inputs":[{"name":"char"},{"name":"str"}],"output":{"name":"optarg"}}],[11,"option_name","","Returns the option name of this argument.",4,null],[11,"fmt","","",5,null],[11,"single","","The argument takes a single parameter.",5,null],[11,"one_or_more","","The argument takes one or more parameters.",5,null],[11,"zero_or_more","","The argument takes zero or more parameters.",5,null],[11,"flag","","The argument is a flag. Only valid for optional arguments.",5,null],[11,"interrupt_flag","","The argument is an interrupt flag. Only valid for optional arguments.",5,null],[11,"fmt","","",1,null],[11,"fmt","","",6,null],[11,"new","","Creates a new parser with the given title.",6,{"inputs":[],"output":{"name":"self"}}],[11,"add","","Attempts to add an argument to this parser.",6,null],[11,"parse","","Attempts to parse the given arguments with this parser.",6,null]],"paths":[[4,"OptName"],[4,"ParseStatus"],[3,"ParsedArgs"],[3,"ParsedArgsAccess"],[3,"Arg"],[3,"OptArg"],[3,"Parser"]]}; initSearch(searchIndex);