MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / GetParentNames

Function GetParentNames

python/ycm/syntax_parse.py:156–162  ·  view source on GitHub ↗
( group )

Source from the content-addressed store, hash-verified

154
155def _ConnectGroupChildren( group_name_to_group ):
156 def GetParentNames( group ):
157 links_to = 'links to '
158 parent_names = []
159 for line in group.lines:
160 if line.startswith( links_to ):
161 parent_names.append( line[ len( links_to ): ] )
162 return parent_names
163
164 for group in group_name_to_group.values():
165 parent_names = GetParentNames( group )

Callers 1

_ConnectGroupChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected