The base class of expression doc.
More...
#include <doc.h>
The base class of expression doc.
- See also
- ExprDoc
◆ Attr()
ExprDoc tvm::script::printer::ExprDocNode::Attr |
( |
ffi::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 |
( |
ffi::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 |
( |
ffi::Array< ExprDoc, void > |
args, |
|
|
ffi::Array< ffi::String > |
kwargs_keys, |
|
|
ffi::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[] |
( |
ffi::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_FFI_DECLARE_OBJECT_INFO()
tvm::script::printer::ExprDocNode::TVM_FFI_DECLARE_OBJECT_INFO |
( |
"script.printer.ExprDoc" |
, |
|
|
ExprDocNode |
, |
|
|
DocNode |
|
|
) |
| |
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h