slang/ast/Patterns.h file

AST definitions for pattern matching.

Namespaces

namespace slang
Root namespace.
namespace slang::ast
The SystemVerilog AST.

Classes

class slang::ast::Pattern
Base class for "patterns", as used in pattern matching conditional statements and expressions.
class slang::ast::InvalidPattern
Represents an invalid pattern.
class slang::ast::WildcardPattern
Represents a wildcard pattern that matches anything.
class slang::ast::ConstantPattern
Reresents a pattern that matches a given constant expression.
class slang::ast::VariablePattern
Represents a pattern that stores its match in a pattern variable.
class slang::ast::TaggedPattern
Represents a pattern that matches a member of a tagged union.
class slang::ast::StructurePattern
Represents a pattern that matches a structure.
struct slang::ast::StructurePattern::FieldPattern
A pattern over a struct field.