slang::ast::StringLiteral class

Represents a string literal.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public functions

auto getValue() const -> std::string_view
Gets the value of the literal.
auto getRawValue() const -> std::string_view
Gets the raw unprocessed text of the string literal token.
auto getIntValue() const -> const ConstantValue&
Gets the value of the string literal interpretted as an integer constant.