MCPcopy
hub / github.com/ycm-core/YouCompleteMe / ToLocation

Method ToLocation

python/ycm/hierarchy_tree.py:41–46  ·  view source on GitHub ↗
( self, subindex : int )

Source from the content-addressed store, hash-verified

39
40
41 def ToLocation( self, subindex : int ):
42 location = self._data[ 'locations' ][ subindex ]
43 line = location[ 'line_num' ]
44 column = location[ 'column_num' ]
45 file = location[ 'filepath' ]
46 return file, line, column
47
48
49MAX_HANDLES_PER_INDEX = 1000000

Callers 2

ToRootLocationMethod · 0.95
JumpToItemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected