ArgumentParser¶
Contains the arguments passed to a Method and an interface to parse them into Swift values.
Declaration
struct ArgumentParser
Discussion
Note
When an ArgumentParser belongs to an instance or class method, it does not contain the receiver as part of its arguments. This is passed separately as the first parameter of MethodBody.
Properties
The positional arguments.
The keyword arguments.
The module of the called method.
Functions
Parses an argument by name to a Swift value.
Parses multiple arguments by name to a Swift value.