slang::ast::ConditionalConstraint class

Represents a constraint defined by an if-else condition.

Base classes

class Constraint
The base class for all constraints in SystemVerilog.

Public variables

const Expression& predicate
The condition predicate.
const Constraint& ifBody
The if-true constraint body.
const Constraint* elseBody
The else-false constraint body.