|
Joutsen.ArgumentsParsing
v0.2.1
|
A group containing arguments of a simmilar kind. More...
Public Member Functions | |
| void | AddParsersToCollection (ArgumentsListParser collection) |
| Adds the literal parsers of this group's arguments to the list parser. More... | |
| void | AddArgument (ParserArgument argument, string name=null) |
| Adds a new argument to the group. More... | |
| string | Usage () |
| Fetches the usage explanation of the arguments in the group. More... | |
| string | Description () |
| Fetches a detailed description of the arguments in the group. More... | |
Properties | |
| string | Prefix [get] |
| The characters in front of the name of the arguments of this group indicating that they belong to this group. More... | |
A group containing arguments of a simmilar kind.
| void Joutsen.ArgumentsParsing.ArgumentsGroup.AddArgument | ( | ParserArgument | argument, |
| string | name = null |
||
| ) |
Adds a new argument to the group.
| argument | the new argument |
| name | if the argument is identified by its name (instead of its position) the name that identifies it |
Implemented in Joutsen.ArgumentsParsing.Groups.NamedArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DisplayArgumentsGroup, and Joutsen.ArgumentsParsing.Groups.PositionalArgumentsGroup.
| void Joutsen.ArgumentsParsing.ArgumentsGroup.AddParsersToCollection | ( | ArgumentsListParser | collection | ) |
Adds the literal parsers of this group's arguments to the list parser.
| collection | the list parser containing all the literal parsers. |
Implemented in Joutsen.ArgumentsParsing.Groups.NamedArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DisplayArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DefaultMutuallyExclusiveArgumentsGroup, and Joutsen.ArgumentsParsing.Groups.PositionalArgumentsGroup.
| string Joutsen.ArgumentsParsing.ArgumentsGroup.Description | ( | ) |
Fetches a detailed description of the arguments in the group.
Implemented in Joutsen.ArgumentsParsing.Groups.NamedArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DisplayArgumentsGroup, Joutsen.ArgumentsParsing.Groups.PositionalArgumentsGroup, and Joutsen.ArgumentsParsing.Groups.SubParserGroup.
| string Joutsen.ArgumentsParsing.ArgumentsGroup.Usage | ( | ) |
Fetches the usage explanation of the arguments in the group.
Implemented in Joutsen.ArgumentsParsing.Groups.NamedArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DisplayArgumentsGroup, Joutsen.ArgumentsParsing.Groups.DefaultMutuallyExclusiveArgumentsGroup, Joutsen.ArgumentsParsing.Groups.PositionalArgumentsGroup, and Joutsen.ArgumentsParsing.Groups.SubParserGroup.
|
get |
The characters in front of the name of the arguments of this group indicating that they belong to this group.
Positional groups have no prefix.
1.8.13