tvm
Public Member Functions | Protected Member Functions | List of all members
tvm::script::printer::ExprDoc Class Reference

Reference type of ExprDocNode. More...

#include <doc.h>

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

Public Member Functions

ExprDoc operator[] (ffi::Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
 ExprDoc (ObjectPtr< ExprDocNode > data)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ExprDoc, Doc, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::Doc
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Doc, ObjectRef, DocNode)
 

Protected Member Functions

 ExprDoc ()=default
 
- Protected Member Functions inherited from tvm::script::printer::Doc
 Doc ()=default
 
 Doc (ObjectPtr< DocNode > data)
 

Detailed Description

Reference type of ExprDocNode.

See also
ExprDocNode

Constructor & Destructor Documentation

◆ ExprDoc() [1/2]

tvm::script::printer::ExprDoc::ExprDoc ( )
protecteddefault

◆ ExprDoc() [2/2]

tvm::script::printer::ExprDoc::ExprDoc ( ObjectPtr< ExprDocNode data)
inlineexplicit

Member Function Documentation

◆ operator[]()

ExprDoc tvm::script::printer::ExprDoc::operator[] ( ffi::Array< Doc indices) const

Create a doc representing index access on the current ExprDoc.

Parameters
indicesThe indices to access.

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::script::printer::ExprDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( ExprDoc  ,
Doc  ,
ExprDocNode   
)

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