mrdocs::getOperatorReadableName

Return the human-readable name of the operator

Synopsis

Declared in <mrdocs/Metadata/Specifiers/OperatorKind.hpp>

Optional<std::string_view>
getOperatorReadableName(
    OperatorKind kind,
    int nParams);

Return Value

The readable name, or nullopt if the operator is not recognized.

Parameters

NameDescription
kindThe kind of operator.
nParamsThe number of parameters the operator takes.