Doc that represents index access on another expression.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.IndexDoc" |
|
static constexpr const char * | _type_key = "script.printer.ExprDoc" |
|
static constexpr const char * | _type_key = "script.printer.Doc" |
|
static constexpr bool | _type_mutable = true |
|
Doc that represents index access on another expression.
- See also
- IndexDoc
◆ RegisterReflection()
static void tvm::script::printer::IndexDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_FINAL_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::IndexDocNode::_type_key = "script.printer.IndexDoc" |
|
staticconstexpr |
◆ indices
Array<Doc> tvm::script::printer::IndexDocNode::indices |
The indices to access.
Possible actual types:
- ExprDoc (single point access like a[1, 2])
- SliceDoc (slice access like a[1:5, 2])
◆ value
ExprDoc tvm::script::printer::IndexDocNode::value {nullptr} |
The container value to be accessed.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h