tvm
|
Doc that represents list literal. More...
#include <doc.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (ListDocNode, 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 list. 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.ListDoc" |
![]() | |
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 list literal.
|
inlinestatic |
tvm::script::printer::ListDocNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | ListDocNode | , |
ExprDocNode | |||
) |
|
staticconstexpr |
Array<ExprDoc> tvm::script::printer::ListDocNode::elements |
Elements of list.