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

Reference type of ListDocNode. More...

#include <doc.h>

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

Public Member Functions

 ListDoc ()
 Create an empty ListDoc. More...
 
 ListDoc (ffi::Array< ExprDoc > elements)
 Constructor of ListDoc. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ListDoc, ExprDoc, ListDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDoc
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)
 

Additional Inherited Members

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

Detailed Description

Reference type of ListDocNode.

See also
ListDocNode

Constructor & Destructor Documentation

◆ ListDoc() [1/2]

tvm::script::printer::ListDoc::ListDoc ( )
inline

Create an empty ListDoc.

◆ ListDoc() [2/2]

tvm::script::printer::ListDoc::ListDoc ( ffi::Array< ExprDoc elements)
explicit

Constructor of ListDoc.

Parameters
elementsElements of list.

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::script::printer::ListDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( ListDoc  ,
ExprDoc  ,
ListDocNode   
)

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