tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::script::printer::NamespaceDocObj Class Reference

A reference to a canonical script namespace. More...

#include <doc.h>

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

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.NamespaceDoc", NamespaceDocObj, ExprDocObj)
 
- Public Member Functions inherited from tvm::script::printer::ExprDocObj
TVM_TIRX_DLL ExprDoc Attr (ffi::String attr) const
 Create a doc representing attribute access on the current ExprDoc.
 
TVM_TIRX_DLL ExprDoc operator[] (ffi::Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc.
 
TVM_TIRX_DLL ExprDoc Call (ffi::Array< ExprDoc, void > args) const
 Create a doc representing calling the current ExprDoc.
 
TVM_TIRX_DLL 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.
 
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.ExprDoc", ExprDocObj, DocObj)
 
- Public Member Functions inherited from tvm::script::printer::DocObj
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocObj, ffi::Object)
 

Static Public Member Functions

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

Public Attributes

ffi::String canonical_name
 The namespace name before alias resolution.
 
- Public Attributes inherited from tvm::script::printer::DocObj
ffi::Array< AccessPath > source_paths
 The list of object paths of the source IR node.
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::script::printer::DocObj
static constexpr bool _type_mutable = true
 

Detailed Description

A reference to a canonical script namespace.

The renderer resolves the configured alias without remapping ordinary identifiers.

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::script::printer::NamespaceDocObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "script.printer.NamespaceDoc"  ,
NamespaceDocObj  ,
ExprDocObj   
)

Member Data Documentation

◆ canonical_name

ffi::String tvm::script::printer::NamespaceDocObj::canonical_name

The namespace name before alias resolution.


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