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

Reference type of ScopeDocNode. More...

#include <doc.h>

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

Public Member Functions

 ScopeDoc (Optional< ExprDoc > lhs, ExprDoc rhs, Array< StmtDoc > body)
 Constructor of ScopeDoc. More...
 
 ScopeDoc (ExprDoc rhs, Array< StmtDoc > body)
 Constructor of ScopeDoc. More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (ScopeDoc, StmtDoc, ScopeDocNode)
 
- 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 ScopeDocNode.

See also
ScopeDocNode

Constructor & Destructor Documentation

◆ ScopeDoc() [1/2]

tvm::script::printer::ScopeDoc::ScopeDoc ( Optional< ExprDoc lhs,
ExprDoc  rhs,
Array< StmtDoc body 
)
explicit

Constructor of ScopeDoc.

Parameters
lhsThe name of the scoped variable.
rhsThe value of the scoped variable.
bodyThe body of the scope doc.

◆ ScopeDoc() [2/2]

tvm::script::printer::ScopeDoc::ScopeDoc ( ExprDoc  rhs,
Array< StmtDoc body 
)
explicit

Constructor of ScopeDoc.

Parameters
rhsThe value of the scoped variable.
bodyThe body of the scope doc.

Member Function Documentation

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::script::printer::ScopeDoc::TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS ( ScopeDoc  ,
StmtDoc  ,
ScopeDocNode   
)

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