(self)
| 123 | return self |
| 124 | |
| 125 | def __next__(self) -> Block: |
| 126 | while True: |
| 127 | if not self.input: |
| 128 | raise StopIteration |
| 129 | |
| 130 | if self.dsl_name: |
| 131 | try: |
| 132 | return_value = self.parse_clinic_block(self.dsl_name) |
| 133 | except ClinicError as exc: |
| 134 | exc.filename = self.language.filename |
| 135 | exc.lineno = self.line_number |
| 136 | raise |
| 137 | self.dsl_name = None |
| 138 | self.first_block = False |
| 139 | return return_value |
| 140 | block = self.parse_verbatim_block() |
| 141 | if self.first_block and not block.input: |
| 142 | continue |
| 143 | self.first_block = False |
| 144 | return block |
| 145 | |
| 146 | |
| 147 | def is_start_line(self, line: str) -> str | None: |
nothing calls this directly
no test coverage detected