tvm_tirx.script.printer.doc.ScopeDoc

tvm_tirx.script.printer.doc.ScopeDoc#

class tvm_tirx.script.printer.doc.ScopeDoc(lhs, rhs, body)#

Bases: StmtDoc

Doc that represents special scopes.

Specifically, this means the with statement in Python:

with <rhs> as <lhs>:

<body…>

Parameters:
property lhs#
property rhs#
property body#
property allow_concise_scoping#