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