Doc that represents assign statement.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.AssignDoc" |
|
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 assign statement.
- See also
- AssignDoc
◆ RegisterReflection()
static void tvm::script::printer::AssignDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::AssignDocNode::_type_key = "script.printer.AssignDoc" |
|
staticconstexpr |
◆ annotation
Optional<ExprDoc> tvm::script::printer::AssignDocNode::annotation |
The type annotation of this assignment.
◆ lhs
ExprDoc tvm::script::printer::AssignDocNode::lhs {nullptr} |
The left hand side of the assignment.
◆ rhs
Optional<ExprDoc> tvm::script::printer::AssignDocNode::rhs |
The right hand side of the assignment.
If null, this doc represents declaration, e.g. A: T.Buffer((1,2))
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h