slang::ast::RandSequenceStatement::ProdItem struct

A production item, which invokes another production.

Base classes

struct ProdBase
The base class for productions in a rule.

Public functions

template<typename TVisitor>
void visitExprs(TVisitor&& visitor) const
Visits the argument expressions.

Public variables

const RandSeqProductionSymbol* target
The production being invoked, or nullptr if the name didn't refer to a valid production.
std::span<const Expression*const > args
The arguments passed to the production.