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 (Array< ExprDoc > elements)
 Constructor of ListDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (ListDoc, ExprDoc, ListDocNode)
 
- Public Member Functions inherited from tvm::script::printer::ExprDoc
ExprDoc operator[] (Array< Doc > indices) const
 Create a doc representing index access on the current ExprDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (ExprDoc, Doc, ExprDocNode)
 
- Public Member Functions inherited from tvm::script::printer::Doc
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (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
 

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 ( Array< ExprDoc elements)
explicit

Constructor of ListDoc.

Parameters
elementsElements of list.

Member Function Documentation

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

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

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