Doc that represents while statement.
More...
#include <doc.h>
|
| ExprDoc | predicate {ffi::UnsafeInit()} |
| | The predicate of the while statement.
|
| |
| ffi::Array< StmtDoc > | body |
| | The body of the while statement.
|
| |
| ffi::Optional< ffi::String > | comment {std::nullopt} |
| | The comment of this doc.
|
| |
| ffi::Array< AccessPath > | source_paths |
| | The list of object paths of the source IR node.
|
| |
Doc that represents while statement.
- See also
- WhileDoc
◆ RegisterReflection()
| static void tvm::script::printer::WhileDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::script::printer::WhileDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"script.printer.WhileDoc" |
, |
|
|
WhileDocNode |
, |
|
|
StmtDocNode |
|
|
) |
| |
◆ body
| ffi::Array<StmtDoc> tvm::script::printer::WhileDocNode::body |
The body of the while statement.
◆ predicate
| ExprDoc tvm::script::printer::WhileDocNode::predicate {ffi::UnsafeInit()} |
The predicate of the while statement.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h