|
Haio 0.2.X
Homebrew Asset IO/CDN
|
Functions | |
| consteval void | alternative (std::string &out, size_t &lineStart, std::string_view piece) |
| consteval std::string_view | quotedList (auto &&spellings) |
| consteval std::string_view | expressionOf (const Option &option) |
| consteval auto | optionRules () |
| consteval std::string_view | filterAlternation () |
| consteval std::string_view | formatAlternation () |
| consteval std::string_view | colorAlternation () |
| template<size_t A, size_t B, size_t C> | |
| consteval auto | joined (const std::array< Rule, A > &a, const std::array< Rule, B > &b, const std::array< Rule, C > &c) |
Variables | |
| constexpr std::array | structureRules |
| constexpr std::array | leafRules |
|
consteval |
an alternation, broken across lines wherever one would run too wide to read
Definition at line 186 of file haio_cli_grammar.hpp.

|
consteval |
and every name a colour answers to, which is the enum plus the borrowed spellings
Definition at line 262 of file haio_cli_grammar.hpp.

|
consteval |
'( "-resize" | "--resize" | "--size" ) , size', which is an option's whole grammar
Definition at line 210 of file haio_cli_grammar.hpp.

|
consteval |
the filters, named rather than spelled out, which is what { filter } stands for
Definition at line 236 of file haio_cli_grammar.hpp.

|
consteval |
every name the Format enum answers to, straight off the enum.
the list used to be written out by hand, which is how the grammar came to offer "etc1" and "rgb565" as containers long after they had stopped being any such thing. the parser has always asked the enum; now the page that documents it does too.
Definition at line 252 of file haio_cli_grammar.hpp.

|
consteval |
one rule per option, off the table rather than beside it
Definition at line 227 of file haio_cli_grammar.hpp.

|
consteval |
|
inlineconstexpr |
and the words the options take, which is the part no table can say either
Definition at line 298 of file haio_cli_grammar.hpp.
|
inlineconstexpr |
the shape of the line, which is the part no table can say
Definition at line 285 of file haio_cli_grammar.hpp.