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

Detailed Description

Reference type of ClassDocNode.

See also
ClassDocNode

Constructor & Destructor Documentation

◆ ClassDoc()

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

Constructor of ClassDoc.

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

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

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

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