Reference type of FunctionDocNode.
More...
#include <doc.h>
|
| | FunctionDoc (IdDoc name, ffi::Array< AssignDoc > args, ffi::Array< ExprDoc > decorators, ffi::Optional< ExprDoc > return_type, ffi::Array< StmtDoc > body) |
| | Constructor of FunctionDoc. More...
|
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (FunctionDoc, StmtDoc, FunctionDocNode) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (StmtDoc, Doc, StmtDocNode) |
| |
| | TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Doc, ObjectRef, DocNode) |
| |
◆ FunctionDoc()
| tvm::script::printer::FunctionDoc::FunctionDoc |
( |
IdDoc |
name, |
|
|
ffi::Array< AssignDoc > |
args, |
|
|
ffi::Array< ExprDoc > |
decorators, |
|
|
ffi::Optional< ExprDoc > |
return_type, |
|
|
ffi::Array< StmtDoc > |
body |
|
) |
| |
|
explicit |
Constructor of FunctionDoc.
- Parameters
-
| name | The name of function.. |
| args | The arguments of function. |
| decorators | The decorator of function. |
| return_type | The return type of function. |
| body | The body of function. |
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h