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

Reference type of WhileDocNode. More...

#include <doc.h>

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

Public Member Functions

 WhileDoc (ExprDoc predicate, ffi::Array< StmtDoc > body)
 Constructor of WhileDoc. More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (WhileDoc, StmtDoc, WhileDocNode)
 
- 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 WhileDocNode.

See also
WhileDocNode

Constructor & Destructor Documentation

◆ WhileDoc()

tvm::script::printer::WhileDoc::WhileDoc ( ExprDoc  predicate,
ffi::Array< StmtDoc body 
)
explicit

Constructor of WhileDoc.

Parameters
predicateThe predicate of the while statement.
bodyThe body of the while statement.

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::script::printer::WhileDoc::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( WhileDoc  ,
StmtDoc  ,
WhileDocNode   
)

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