Controls characteristics about Case blocks.
The default type is none. The unique and priority values have behavior similar to what is implemented in SystemVerilog.
priority indicates that the decisions must be executed in the same order that they are listed, and that every legal scenario is included. An exception will be thrown if there is no match to a scenario.
unique indicates that for a given expression, only one item will match. If multiple items match the expression, an exception will be thrown. If there is no match and no default item, an exception will also be thrown.
- none → const ConditionalType
There are no special checking or expectations.
- unique → const ConditionalType
Expect that exactly one condition is true.
- priority → const ConditionalType
Expect that at least one condition is true, and the first one is executed.
Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.
→ const List<
A constant List of the values in this enum, in order of their declaration.
[none, unique, priority]