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

Method __init__

python/ycm/tests/test_utils.py:584–596  ·  view source on GitHub ↗
( self,
                prop_type,
                start_line,
                start_column,
                end_line,
                end_column )

Source from the content-addressed store, hash-verified

582class VimProp:
583
584 def __init__( self,
585 prop_type,
586 start_line,
587 start_column,
588 end_line,
589 end_column ):
590 current_buffer = VIM_MOCK.current.buffer.number
591 self.id = len( VIM_PROPS_FOR_BUFFER[ current_buffer ] ) + 1
592 self.prop_type = prop_type
593 self.start_line = start_line
594 self.start_column = start_column
595 self.end_line = end_line if end_line else start_line
596 self.end_column = end_column if end_column else start_column
597
598
599 def __eq__( self, other ):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected