The base class of expression doc.
More...
#include <doc.h>
|
static constexpr const char * | _type_key = "script.printer.ExprDoc" |
|
static constexpr const char * | _type_key = "script.printer.Doc" |
|
static constexpr bool | _type_mutable = true |
|
|
Array< ffi::reflection::AccessPath > | source_paths |
| The list of object paths of the source IR node. More...
|
|
The base class of expression doc.
- See also
- ExprDoc
◆ Attr()
ExprDoc tvm::script::printer::ExprDocNode::Attr |
( |
String |
attr | ) |
const |
Create a doc representing attribute access on the current ExprDoc.
- Parameters
-
attr | The attribute to access. |
◆ Call() [1/2]
ExprDoc tvm::script::printer::ExprDocNode::Call |
( |
Array< ExprDoc, void > |
args | ) |
const |
Create a doc representing calling the current ExprDoc.
- Parameters
-
args | The positional arguments of the function call. |
◆ Call() [2/2]
ExprDoc tvm::script::printer::ExprDocNode::Call |
( |
Array< ExprDoc, void > |
args, |
|
|
Array< String > |
kwargs_keys, |
|
|
Array< ExprDoc, void > |
kwargs_values |
|
) |
| const |
Create a doc representing attribute access on the current ExprDoc.
- Parameters
-
args | The positional arguments of the function call. |
kwargs_keys | Keys of keywords arguments of the function call. |
kwargs_values | Values of keywords arguments of the function call. |
◆ operator[]()
ExprDoc tvm::script::printer::ExprDocNode::operator[] |
( |
Array< Doc > |
indices | ) |
const |
Create a doc representing index access on the current ExprDoc.
- Parameters
-
indices | The indices to access. |
◆ RegisterReflection()
static void tvm::script::printer::ExprDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_DECLARE_BASE_OBJECT_INFO()
◆ _type_key
constexpr const char* tvm::script::printer::ExprDocNode::_type_key = "script.printer.ExprDoc" |
|
staticconstexpr |
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h