Reference type of ScopeDocNode.
More...
#include <doc.h>
|
| TVM_TIRX_DLL | ScopeDoc (ffi::Optional< ExprDoc > lhs, ExprDoc rhs, ffi::Array< StmtDoc > body, bool allow_concise_scoping=false) |
| | Constructor of ScopeDoc.
|
| |
| TVM_TIRX_DLL | ScopeDoc (ExprDoc rhs, ffi::Array< StmtDoc > body) |
| | Constructor of ScopeDoc.
|
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (ScopeDoc, StmtDoc, ScopeDocNode) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (StmtDoc, Doc, StmtDocNode) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Doc, ffi::ObjectRef, DocNode) |
| |
Reference type of ScopeDocNode.
- See also
- ScopeDocNode
◆ ScopeDoc() [1/2]
Constructor of ScopeDoc.
- Parameters
-
| lhs | The name of the scoped variable. |
| rhs | The value of the scoped variable. |
| body | The body of the scope doc. |
| allow_concise_scoping | Whether a tail-position renderer may use a concise form. |
◆ ScopeDoc() [2/2]
Constructor of ScopeDoc.
- Parameters
-
| rhs | The value of the scoped variable. |
| body | The body of the scope doc. |
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h