tvm
|
Doc that represents tuple literal. More...
#include <doc.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (TupleDocNode, ExprDocNode) | |
![]() | |
ExprDoc | Attr (String attr) const |
Create a doc representing attribute access on the current ExprDoc. More... | |
ExprDoc | operator[] (Array< Doc > indices) const |
Create a doc representing index access on the current ExprDoc. More... | |
ExprDoc | Call (Array< ExprDoc, void > args) const |
Create a doc representing calling the current ExprDoc. More... | |
ExprDoc | 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. More... | |
TVM_DECLARE_BASE_OBJECT_INFO (ExprDocNode, DocNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (DocNode, Object) | |
virtual | ~DocNode ()=default |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Array< ExprDoc > | elements |
Elements of tuple. More... | |
![]() | |
Array< ffi::reflection::AccessPath > | source_paths |
The list of object paths of the source IR node. More... | |
Static Public Attributes | |
static constexpr const char * | _type_key = "script.printer.TupleDoc" |
![]() | |
static constexpr const char * | _type_key = "script.printer.ExprDoc" |
![]() | |
static constexpr const char * | _type_key = "script.printer.Doc" |
static constexpr bool | _type_mutable = true |
|
inlinestatic |
tvm::script::printer::TupleDocNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | TupleDocNode | , |
ExprDocNode | |||
) |
|
staticconstexpr |
Array<ExprDoc> tvm::script::printer::TupleDocNode::elements |
Elements of tuple.