slang::ast::TaggedPattern class

Represents a pattern that matches a member of a tagged union.

Base classes

class Pattern
Base class for "patterns", as used in pattern matching conditional statements and expressions.

Public variables

const FieldSymbol& member
The union member to match.
const Pattern* valuePattern
The value to match against, or nullptr for void members.