Searched refs:line_begin_pos (Results 1 – 10 of 10) sorted by relevance
193 let line_begin_in_file = source_file.line_begin_pos(pos_in_file); in gather_comments()194 let line_begin_pos = (line_begin_in_file - start_bpos).to_usize(); in gather_comments() localVariable195 let col = CharPos(text[line_begin_pos..pos].chars().count()); in gather_comments()
155 let line_pos = file.line_begin_pos(span.lo()); in create_debug_lines()
247 let line_pos = file.line_begin_pos(pos); in lookup_debug_loc()
1350 pub fn line_begin_pos(&self, pos: BytePos) -> BytePos { in line_begin_pos() method
1419 pub fn line_begin_pos(&self, pos: BytePos) -> BytePos { in line_begin_pos() method
1519 pub fn line_begin_pos(&self, pos: BytePos) -> BytePos { in line_begin_pos() method