MCPcopy Index your code
hub / github.com/ycm-core/YouCompleteMe / SendParseRequest

Method SendParseRequest

python/ycm/buffer.py:50–64  ·  view source on GitHub ↗
( self, extra_data )

Source from the content-addressed store, hash-verified

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 ):

Callers 1

OnFileReadyToParseMethod · 0.80

Calls 4

_ChangedTickMethod · 0.95
EventNotificationClass · 0.90
DoneMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected