ConditionalType enum
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.
Constructors
- ConditionalType()
-
const
Values
- 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.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ConditionalType> -
A constant List of the values in this enum, in order of their declaration.
[none, unique, priority]