Skip to content

bloqade.qasm3.dialects.expr.stmts.ConstInt

← Module overview

classConstIntsource

bloqade.qasm3.dialects.expr.stmts.ConstInt

Bases: ir.Statement

IR Statement representing a constant integer value.

class ConstInt

Attributes

NameTypeDefaultDescription
name—'constant.int'
traits—frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()})
valueintinfo.attribute(types.Int)
resultir.ResultValueinfo.result(types.Int)

methodprint_implsource

bloqade.qasm3.dialects.expr.stmts.ConstInt.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source