tvm_tirx.script.printer.doc.StmtBlockDoc

tvm_tirx.script.printer.doc.StmtBlockDoc#

class tvm_tirx.script.printer.doc.StmtBlockDoc(stmts)#

Bases: Doc

The container doc that holds a list of StmtDoc.

Note: StmtBlockDoc is never used in the IR, but a temporary container that allows holding a list of StmtDoc.

Parameters:

stmts (Sequence[StmtDoc])

property stmts#