|
Coreutils++
The GNU Coreutils implemented in C++
|
Classes | |
| struct | ComptimeString |
| struct | ArgumentBase |
| struct | ArgumentBase<""> |
| struct | Argument |
| struct | Argument< T, NArgs::Many, Converter, Names... > |
| struct | Argument< T, NArgs::Many, Converter, ""> |
| struct | Argument< T, NArgs::None, Converter, Names... > |
| struct | Argument< T, NArgs::One, Converter, Names... > |
Enumerations | |
| enum class | ParseState : std::uint8_t { Start , Seeking , End } |
| enum struct | NArgs : std::uint8_t { None , One , Many } |
|
strong |
|
strong |
Represents a possible state of an Argument As it goes along the parsing process. State transitions should be 100% deterministic and proceed with each token consumed from the command line. This should theortically be modelable with a DFA:
| Enumerator | |
|---|---|
| Start | |
| Seeking | |
| End | |