Reference type of FunctionDocNode.
More...
#include <doc.h>
|
| FunctionDoc (IdDoc name, Array< AssignDoc > args, Array< ExprDoc > decorators, Optional< ExprDoc > return_type, Array< StmtDoc > body) |
| Constructor of FunctionDoc. More...
|
|
| TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (FunctionDoc, StmtDoc, FunctionDocNode) |
|
| TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (StmtDoc, Doc, StmtDocNode) |
|
| TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (Doc, ObjectRef, DocNode) |
|
◆ FunctionDoc()
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_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file:
- include/tvm/script/printer/doc.h