slang::ast::ConditionalStatement class

Represents a conditional statement.

Base classes

class Statement
The base class for all statements in SystemVerilog.

Public types

struct Condition
A condition.

Public variables

std::span<const Condition> conditions
The list of conditions that control the statement.
const Statement& ifTrue
The body for if-true evaluation.
const Statement* ifFalse
The optional body for else-false evaluation.
UniquePriorityCheck check
An optional unique or priority check that should be applied to the condition.