IfElseProd struct
A production that chooses between items based on a condition.
Base classes
- struct ProdBase
- The base class for productions in a rule.
Public variables
-
not_
null<const Expression*> expr - The condition expression.
- ProdItem ifItem
- The item to produce if the condition is true.
-
std::
optional<ProdItem> elseItem - The item to produce if the condition is false, if there is one.