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

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

#include <doc.h>

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

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.NamespaceDoc", NamespaceDocNode, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDocNode
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", ExprDocNode, DocNode)
 
- Public Member Functions inherited from tvm::script::printer::DocNode
 TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, ffi::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

ffi::String canonical_name
 The namespace name before alias resolution.
 
- Public Attributes inherited from tvm::script::printer::DocNode
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::DocNode
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::NamespaceDocNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::script::printer::NamespaceDocNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "script.printer.NamespaceDoc"  ,
NamespaceDocNode  ,
ExprDocNode   
)

Member Data Documentation

◆ canonical_name

ffi::String tvm::script::printer::NamespaceDocNode::canonical_name

The namespace name before alias resolution.


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