Doc that represents attribute access on another expression.
More...
#include <doc.h>
|
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.AttrAccessDoc", AttrAccessDocNode, ExprDocNode) |
|
ExprDoc | Attr (ffi::String attr) const |
| Create a doc representing attribute access on the current ExprDoc. More...
|
|
ExprDoc | operator[] (ffi::Array< Doc > indices) const |
| Create a doc representing index access on the current ExprDoc. More...
|
|
ExprDoc | Call (ffi::Array< ExprDoc, void > args) const |
| Create a doc representing calling the current ExprDoc. More...
|
|
ExprDoc | 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. More...
|
|
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.ExprDoc", ExprDocNode, DocNode) |
|
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, Object) |
|
virtual | ~DocNode ()=default |
|
|
ExprDoc | value {ffi::UnsafeInit()} |
| The target expression to be accessed. More...
|
|
ffi::String | name |
| The attribute to be accessed. More...
|
|
ffi::Array< ffi::reflection::AccessPath > | source_paths |
| The list of object paths of the source IR node. More...
|
|
Doc that represents attribute access on another expression.
- See also
- AttrAccessDoc
◆ RegisterReflection()
static void tvm::script::printer::AttrAccessDocNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
tvm::script::printer::AttrAccessDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"script.printer.AttrAccessDoc" |
, |
|
|
AttrAccessDocNode |
, |
|
|
ExprDocNode |
|
|
) |
| |
◆ name
ffi::String tvm::script::printer::AttrAccessDocNode::name |
The attribute to be accessed.
◆ value
ExprDoc tvm::script::printer::AttrAccessDocNode::value {ffi::UnsafeInit()} |
The target expression to be accessed.
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h