ParameterSymbol class final
Represents a parameter value.
Base classes
- class ValueSymbol
- A base class for symbols that represent a value (for example a variable or a parameter).
- class ParameterSymbolBase
- A base class for parameter symbols, both type and value.
Public functions
- void setDefParamValue(Compilation& compilation, ConstantValue value, bool isImplicitString)
- Sets the value of this parameter from a pre-evaluated defparam override.
Function documentation
void slang:: ast:: ParameterSymbol:: setDefParamValue(Compilation& compilation,
ConstantValue value,
bool isImplicitString)
Sets the value of this parameter from a pre-evaluated defparam override.
If the parameter is declared without a type, its type is inferred from the value, as it would have been from an initializer expression [6.20.2].