Doc that represent if-then-else statement.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.IfDoc" |
|
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 represent if-then-else statement.
- See also
- IfDoc
◆ RegisterReflection()
static void tvm::script::printer::IfDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::IfDocNode::_type_key = "script.printer.IfDoc" |
|
staticconstexpr |
◆ else_branch
Array<StmtDoc> tvm::script::printer::IfDocNode::else_branch |
The else branch of the if-then-else statement.
◆ predicate
ExprDoc tvm::script::printer::IfDocNode::predicate {nullptr} |
The predicate of the if-then-else statement.
◆ then_branch
Array<StmtDoc> tvm::script::printer::IfDocNode::then_branch |
The then branch of the if-then-else statement.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h