tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::script::printer::AttrAccessDocNode Class Reference

Doc that represents attribute access on another expression. More...

#include <doc.h>

Inheritance diagram for tvm::script::printer::AttrAccessDocNode:
Collaboration diagram for tvm::script::printer::AttrAccessDocNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (AttrAccessDocNode, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::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)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_DECLARE_BASE_OBJECT_INFO (DocNode, Object)
 
virtual ~DocNode ()=default
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::ExprDocNode
static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::script::printer::DocNode
static void RegisterReflection ()
 

Public Attributes

ExprDoc value {nullptr}
 The target expression to be accessed. More...
 
String name
 The attribute to be accessed. More...
 
- Public Attributes inherited from tvm::script::printer::DocNode
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.AttrAccessDoc"
 
- Static Public Attributes inherited from tvm::script::printer::ExprDocNode
static constexpr const char * _type_key = "script.printer.ExprDoc"
 
- Static Public Attributes inherited from tvm::script::printer::DocNode
static constexpr const char * _type_key = "script.printer.Doc"
 
static constexpr bool _type_mutable = true
 

Detailed Description

Doc that represents attribute access on another expression.

See also
AttrAccessDoc

Member Function Documentation

◆ RegisterReflection()

static void tvm::script::printer::AttrAccessDocNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::script::printer::AttrAccessDocNode::TVM_DECLARE_FINAL_OBJECT_INFO ( AttrAccessDocNode  ,
ExprDocNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::script::printer::AttrAccessDocNode::_type_key = "script.printer.AttrAccessDoc"
staticconstexpr

◆ name

String tvm::script::printer::AttrAccessDocNode::name

The attribute to be accessed.

◆ value

ExprDoc tvm::script::printer::AttrAccessDocNode::value {nullptr}

The target expression to be accessed.


The documentation for this class was generated from the following file: