slang::ast::HierarchyOverrideNode::ParamOverride struct

Represents a single parameter override value.

Public variables

ConstantValue cv
The pre-evaluated constant value. Empty when expr is set instead.
const syntax::ExpressionSyntax* expr
An expression syntax to evaluate with type context (for CLI overrides).
const syntax::SyntaxNode* defparam
The source defparam syntax node doing the overriding, if any (can be null).

Variable documentation

const syntax::ExpressionSyntax* slang::ast::HierarchyOverrideNode::ParamOverride::expr

An expression syntax to evaluate with type context (for CLI overrides).

Null when cv is set instead.