( self, extra_data )
| 48 | |
| 49 | |
| 50 | def SendParseRequest( self, extra_data ): |
| 51 | # Don't send a parse request if one is in progress |
| 52 | if self._parse_request is not None and not self._parse_request.Done(): |
| 53 | self._should_resend = True |
| 54 | return |
| 55 | |
| 56 | self._should_resend = False |
| 57 | |
| 58 | self._parse_request = EventNotification( 'FileReadyToParse', |
| 59 | extra_data = extra_data ) |
| 60 | self._parse_request.Start() |
| 61 | # Decrement handled tick to ensure correct handling when we are forcing |
| 62 | # reparse on buffer visit and changed tick remains the same. |
| 63 | self._handled_tick -= 1 |
| 64 | self._parse_tick = self._ChangedTick() |
| 65 | |
| 66 | |
| 67 | def ParseRequestPending( self ): |
no test coverage detected