slang::ast::VariablePattern class

Represents a pattern that stores its match in a pattern variable.

Base classes

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

Public variables

const PatternVarSymbol& variable
The pattern variable that receives the result of the match.