tvm
Public Member Functions | Static Public Member Functions | 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_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.AttrAccessDoc", AttrAccessDocNode, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::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)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", 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 {ffi::UnsafeInit()}
 The target expression to be accessed. More...
 
ffi::String name
 The attribute to be accessed. More...
 
- Public Attributes inherited from tvm::script::printer::DocNode
ffi::Array< ffi::reflection::AccessPath > source_paths
 The list of object paths of the source IR node. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::script::printer::DocNode
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_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::script::printer::AttrAccessDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "script.printer.AttrAccessDoc"  ,
AttrAccessDocNode  ,
ExprDocNode   
)

Member Data Documentation

◆ 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: