class
#include <slang/ast/SystemSubroutine.h>
NonConstantFunction An implementation of the SystemSubroutine interface that is also a "simple" subroutine that is also not allowed in constant contexts.
Base classes
- class SimpleSystemSubroutine
- An implementation of the SystemSubroutine interface that has basic argument types and a well-defined return type.
Public functions
-
auto eval(EvalContext& context,
const Args& args,
SourceRange range,
const CallExpression::
SystemCallInfo& callInfo) const -> ConstantValue final - Performs constant evaluation of the subroutine, or reports an error if it's not allowed to be called in a constant context.