Expand description
Pattern types.
Structs§
- Guard
- A guard in a switch case pattern:
when expr. - Record
Pattern - A record pattern:
Type(comp1, comp2, ...). - Type
Pattern - A type pattern:
Type nameor justType.
Enums§
- Pattern
- A Java pattern (used in instanceof, switch, etc.).