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

See also
ScopeDocNode

Constructor & Destructor Documentation

◆ ScopeDoc() [1/2]

tvm::script::printer::ScopeDoc::ScopeDoc ( ffi::Optional< ExprDoc lhs,
ExprDoc  rhs,
ffi::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,
ffi::Array< StmtDoc body 
)
explicit

Constructor of ScopeDoc.

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

Member Function Documentation

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

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

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