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

Reference type of ClassDocNode. More...

#include <doc.h>

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

Public Member Functions

 ClassDoc (IdDoc name, Array< ExprDoc > decorators, Array< StmtDoc > body)
 Constructor of ClassDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (ClassDoc, StmtDoc, ClassDocNode)
 
- Public Member Functions inherited from tvm::script::printer::StmtDoc
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (StmtDoc, Doc, StmtDocNode)
 
- 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::StmtDoc
 StmtDoc ()=default
 
- Protected Member Functions inherited from tvm::script::printer::Doc
 Doc ()=default
 

Detailed Description

Reference type of ClassDocNode.

See also
ClassDocNode

Constructor & Destructor Documentation

◆ ClassDoc()

tvm::script::printer::ClassDoc::ClassDoc ( IdDoc  name,
Array< ExprDoc decorators,
Array< StmtDoc body 
)
explicit

Constructor of ClassDoc.

Parameters
nameThe name of class.
decoratorsThe decorator of class.
bodyThe body of class.

Member Function Documentation

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::script::printer::ClassDoc::TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS ( ClassDoc  ,
StmtDoc  ,
ClassDocNode   
)

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