NewArrayExpression class final
Represents a new[] expression that creates a dynamic array.
Base classes
- class Expression
- The base class for all expressions in SystemVerilog.
Public functions
- const Expression& sizeExpr() const
- const Expression* initExpr() const
Function documentation
const Expression& slang:: ast:: NewArrayExpression:: sizeExpr() const
| Returns | the expression indicating the size of the array to create |
|---|
const Expression* slang:: ast:: NewArrayExpression:: initExpr() const
| Returns | an optional expression that initializes the array |
|---|