slang::ast::CallExpression class

Represents a subroutine call.

Base classes

class Expression
The base class for all expressions in SystemVerilog.

Public functions

auto thisClass() const -> const Expression*

Function documentation

const Expression* slang::ast::CallExpression::thisClass() const

If this call is for a class method, returns the expression representing the class handle on which the method is being invoked. Otherwise returns nullptr.