Class ForDocObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class ForDocObj : public tvm::script::printer::StmtDocObj#

Doc that represents for statement.

Example: for ‘lhs’ in ‘rhs’: ‘body…’

See also

ForDoc

Public Members

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

The left hand side of the assignment of iterating variable.

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

The right hand side of the assignment of iterating variable.

ffi::Array<StmtDoc> body#

The body of the for statement.

Public Static Functions

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