slang::ast::StructurePattern class

Represents a pattern that matches a structure.

Base classes

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

Public types

struct FieldPattern
A pattern over a struct field.

Public variables

std::span<const FieldPattern> patterns
The list of patterns to match against the struct.