|
| TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("script.printer.LambdaDoc", LambdaDocNode, ExprDocNode) |
|
ExprDoc | Attr (ffi::String attr) const |
| Create a doc representing attribute access on the current ExprDoc. More...
|
|
ExprDoc | operator[] (ffi::Array< Doc > indices) const |
| Create a doc representing index access on the current ExprDoc. More...
|
|
ExprDoc | Call (ffi::Array< ExprDoc, void > args) const |
| Create a doc representing calling the current ExprDoc. More...
|
|
ExprDoc | Call (ffi::Array< ExprDoc, void > args, ffi::Array< ffi::String > kwargs_keys, ffi::Array< ExprDoc, void > kwargs_values) const |
| Create a doc representing attribute access on the current ExprDoc. More...
|
|
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.ExprDoc", ExprDocNode, DocNode) |
|
| TVM_FFI_DECLARE_OBJECT_INFO ("script.printer.Doc", DocNode, Object) |
|
virtual | ~DocNode ()=default |
|
Doc that represents anonymous function.
LambdaDoc can only have positional arguments without type annotation, and a single expression as body.
- See also
- LambdaDoc