slang::ast::IntegerLiteral class final

Represents an integer literal.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public functions

SVInt getValue() const
Gets the value of the literal.

Public variables

bool isDeclaredUnsized
Indicates whether the original token in the source text was declared unsized; if false, an explicit size was given.