slang::ast::IntegerLiteral class

Represents an integer literal.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public functions

auto getValue() const -> SVInt
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.