Expand description
Control flow primitives (if, else, switch)
This module contains implementations of generic conditional commands, as well as a mechanism for adding new conditional commands outside of this module. See the Condition trait for information on adding new commands.
Structs§
- Component
- A component for keeping track of conditional branches as they are expanded.
Traits§
- Condition
- Logical condition used to build
ifconditional commands.
Functions§
- get_
else - Get the
\elseprimitive. - get_fi
- Get the
\fiprimitive. - get_
ifcase - Get the
\ifcaseprimitive. - get_
iffalse - Get the
\iffalseprimitive. - get_
ifnum - Get the
\ifnumprimitive. - get_
ifodd - Get the
\ifoddprimitive. - get_
iftrue - Get the
\iftrueprimitive. - get_or
- Get the
\orprimitive.