(self)
| 112 | return self.current_event |
| 113 | |
| 114 | def get_event(self): |
| 115 | # Get the next event and proceed further. |
| 116 | if self.current_event is None: |
| 117 | if self.state: |
| 118 | self.current_event = self.state() |
| 119 | value = self.current_event |
| 120 | self.current_event = None |
| 121 | return value |
| 122 | |
| 123 | # stream ::= STREAM-START implicit_document? explicit_document* STREAM-END |
| 124 | # implicit_document ::= block_node DOCUMENT-END* |
no test coverage detected