Class LambdaDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class LambdaDocObj : public tvm::script::printer::ExprDocObj#

Doc that represents anonymous function.

LambdaDoc can only have positional arguments without type annotation, and a single expression as body.

See also

LambdaDoc

Public Members

ffi::Array<IdDoc> args#

The arguments of this anonymous function.

ExprDoc body = {ffi::UnsafeInit()}#

The body of this anonymous function.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#