Class AssertDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class AssertDocObj : public tvm::script::printer::StmtDocObj#

Doc that represents assert statement.

See also

AssertDoc

Public Members

ExprDoc test = {ffi::UnsafeInit()}#

The expression to test.

ffi::Optional<ExprDoc> msg = {std::nullopt}#

The optional error message when assertion failed.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#