class
VariableSymbolRepresents a variable declaration.
Base classes
- class ValueSymbol
Derived classes
- class ClockVarSymbol
- Represents a clocking block signal.
- class FieldSymbol
- Represents a field member of a struct or union.
- class FormalArgumentSymbol
- Represents a formal argument in subroutine (task or function).
- class LocalAssertionVarSymbol
- class TempVarSymbol
Public static functions
-
static void fromSyntax(Compilation& compilation,
const syntax::
DataDeclarationSyntax& syntax, const Scope& scope, SmallVectorBase<const ValueSymbol*>& results)
Function documentation
static void slang:: ast:: VariableSymbol:: fromSyntax(Compilation& compilation,
const syntax:: DataDeclarationSyntax& syntax,
const Scope& scope,
SmallVectorBase<const ValueSymbol*>& results)
Constructs all variable symbols specified by the given syntax node. Note that this might actually construct net symbols if the data type syntax refers to a user defined net type or alias.