tvm
|
Doc that represents for statement. More...
#include <doc.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.ForDoc", ForDocNode, StmtDocNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.StmtDoc", StmtDocNode, DocNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, Object) | |
virtual | ~DocNode ()=default |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
ExprDoc | lhs {ffi::UnsafeInit()} |
The left hand side of the assignment of iterating variable. More... | |
ExprDoc | rhs {ffi::UnsafeInit()} |
The right hand side of the assignment of iterating variable. More... | |
ffi::Array< StmtDoc > | body |
The body of the for statement. More... | |
![]() | |
ffi::Optional< ffi::String > | comment {std::nullopt} |
The comment of this doc. More... | |
![]() | |
ffi::Array< ffi::reflection::AccessPath > | source_paths |
The list of object paths of the source IR node. More... | |
Additional Inherited Members | |
![]() | |
static constexpr bool | _type_mutable = true |
|
inlinestatic |
tvm::script::printer::ForDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "script.printer.ForDoc" | , |
ForDocNode | , | ||
StmtDocNode | |||
) |
ffi::Array<StmtDoc> tvm::script::printer::ForDocNode::body |
The body of the for statement.
ExprDoc tvm::script::printer::ForDocNode::lhs {ffi::UnsafeInit()} |
The left hand side of the assignment of iterating variable.
ExprDoc tvm::script::printer::ForDocNode::rhs {ffi::UnsafeInit()} |
The right hand side of the assignment of iterating variable.