bloqade.qasm2.parse.print.PrintState
← Module overview
class
classPrintState¶source
bloqade.qasm2.parse.print.PrintState
Signature
class PrintState(indent: int = 0, result_width: int = 0, rich_style: str | None = None, rich_highlight: bool | None = False, indent_marks: list[int] = list(), messages: list[str] = list())Parameters
| Name | Type | Default | Description |
|---|---|---|---|
indent | int | 0 | |
result_width | int | 0 | |
rich_style | str | None | None | |
rich_highlight | bool | None | False | |
indent_marks | list[int] | list() | |
messages | list[str] | list() |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
indent | int | 0 | |
result_width | int | 0 | |
rich_style | str | None | None | |
rich_highlight | bool | None | False | |
indent_marks | list[int] | field(default_factory=list) | |
messages | list[str] | field(default_factory=list) |