Doc that represents assert statement.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.AssertDoc" |
|
static constexpr const char * | _type_key = "script.printer.StmtDoc" |
|
static constexpr const char * | _type_key = "script.printer.Doc" |
|
static constexpr bool | _type_mutable = true |
|
Doc that represents assert statement.
- See also
- AssertDoc
◆ RegisterReflection()
static void tvm::script::printer::AssertDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::AssertDocNode::_type_key = "script.printer.AssertDoc" |
|
staticconstexpr |
◆ msg
Optional<ExprDoc> tvm::script::printer::AssertDocNode::msg {std::nullopt} |
The optional error message when assertion failed.
◆ test
ExprDoc tvm::script::printer::AssertDocNode::test {nullptr} |
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h