slang::ast::InsideExpression class

Represents a set membership operator expression.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public functions

auto left() const -> const Expression&
auto rangeList() const -> std::span<const Expression*const>

Function documentation

const Expression& slang::ast::InsideExpression::left() const

Returns the left-hand side operand

std::span<const Expression*const> slang::ast::InsideExpression::rangeList() const

Returns the lsit of ranges denoting the set to check for membership.