slang::ast::SubroutineSymbol class

Represents a subroutine (task or function).

Base classes

class Symbol
Base class for all symbols (logical code constructs) such as modules, types, functions, variables, etc.
class Scope
Base class for symbols that represent a name scope; that is, they contain children and can participate in name lookup.

Public functions

auto hasOutputArgs() const -> bool
Returns true if the subroutine has output, inout, or non-const ref arguments.