CaseProd struct
A production that chooses an item with a case statement.
Base classes
- struct ProdBase
- The base class for productions in a rule.
Public variables
-
not_
null<const Expression*> expr - The case condition expression.
-
std::
span<const CaseItem> items - The case items.
-
std::
optional<ProdItem> defaultItem - The item to produce if no case item matches, if there is one.