Class WhileDoc#

Inheritance Relationships#

Base Type#

Class Documentation#

class WhileDoc : public tvm::script::printer::StmtDoc#

Reference type of WhileDocObj.

See also

WhileDocObj

Public Types

using ContainerType = WhileDocObj#

Public Functions

explicit WhileDoc(ExprDoc predicate, ffi::Array<StmtDoc> body)#

Constructor of WhileDoc.

Parameters:
  • predicate – The predicate of the while statement.

  • body – The body of the while statement.

inline explicit WhileDoc(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#