#include <SourceManager.h>
|
| File (const FileSpec &file_spec, lldb::TargetSP target_sp) |
|
| File (const FileSpec &file_spec, lldb::DebuggerSP debugger_sp) |
|
bool | ModificationTimeIsStale () const |
|
bool | PathRemappingIsStale () const |
|
size_t | DisplaySourceLines (uint32_t line, std::optional< size_t > column, uint32_t context_before, uint32_t context_after, Stream *s) |
|
void | FindLinesMatchingRegex (RegularExpression ®ex, uint32_t start_line, uint32_t end_line, std::vector< uint32_t > &match_lines) |
|
bool | GetLine (uint32_t line_no, std::string &buffer) |
|
uint32_t | GetLineOffset (uint32_t line) |
|
bool | LineIsValid (uint32_t line) |
|
const FileSpec & | GetFileSpec () |
|
uint32_t | GetSourceMapModificationID () const |
|
const char * | PeekLineData (uint32_t line) |
|
uint32_t | GetLineLength (uint32_t line, bool include_newline_chars) |
|
uint32_t | GetNumLines () |
|
llvm::sys::TimePoint | GetTimestamp () const |
|
Definition at line 35 of file SourceManager.h.
◆ LineOffsets
◆ File() [1/2]
◆ File() [2/2]
◆ CalculateLineOffsets()
bool SourceManager::File::CalculateLineOffsets |
( |
uint32_t |
line = UINT32_MAX | ) |
|
|
protected |
◆ CommonInitializer()
◆ DisplaySourceLines()
size_t SourceManager::File::DisplaySourceLines |
( |
uint32_t |
line, |
|
|
std::optional< size_t > |
column, |
|
|
uint32_t |
context_before, |
|
|
uint32_t |
context_after, |
|
|
Stream * |
s |
|
) |
| |
Definition at line 618 of file SourceManager.cpp.
References lldb::eLanguageTypeUnknown, lldb_private::Stream::EOL(), lldb_private::HighlighterManager::getHighlighterFor(), lldb_private::Stream::GetWrittenBytes(), is_newline_char(), lldb_private::SourceManager::m_debugger_wp, lldb_private::HighlightStyle::MakeVimStyle(), lldb_private::HighlightStyle::selected, lldb_private::HighlightStyle::ColorStyle::Set(), should_highlight_source(), should_show_stop_column_with_ansi(), and UINT32_MAX.
◆ FindLinesMatchingRegex()
void SourceManager::File::FindLinesMatchingRegex |
( |
RegularExpression & |
regex, |
|
|
uint32_t |
start_line, |
|
|
uint32_t |
end_line, |
|
|
std::vector< uint32_t > & |
match_lines |
|
) |
| |
◆ GetFileSpec()
const FileSpec & lldb_private::SourceManager::File::GetFileSpec |
( |
| ) |
|
|
inline |
◆ GetLine()
bool SourceManager::File::GetLine |
( |
uint32_t |
line_no, |
|
|
std::string & |
buffer |
|
) |
| |
◆ GetLineLength()
uint32_t SourceManager::File::GetLineLength |
( |
uint32_t |
line, |
|
|
bool |
include_newline_chars |
|
) |
| |
◆ GetLineOffset()
uint32_t SourceManager::File::GetLineOffset |
( |
uint32_t |
line | ) |
|
◆ GetNumLines()
uint32_t SourceManager::File::GetNumLines |
( |
| ) |
|
◆ GetSourceMapModificationID()
uint32_t lldb_private::SourceManager::File::GetSourceMapModificationID |
( |
| ) |
const |
|
inline |
◆ GetTimestamp()
llvm::sys::TimePoint lldb_private::SourceManager::File::GetTimestamp |
( |
| ) |
const |
|
inline |
◆ LineIsValid()
bool SourceManager::File::LineIsValid |
( |
uint32_t |
line | ) |
|
◆ ModificationTimeIsStale()
bool SourceManager::File::ModificationTimeIsStale |
( |
| ) |
const |
◆ PathRemappingIsStale()
bool SourceManager::File::PathRemappingIsStale |
( |
| ) |
const |
◆ PeekLineData()
const char * SourceManager::File::PeekLineData |
( |
uint32_t |
line | ) |
|
◆ SetFileSpec()
void SourceManager::File::SetFileSpec |
( |
FileSpec |
file_spec | ) |
|
|
protected |
◆ operator==
◆ m_data_sp
◆ m_debugger_wp
◆ m_file_spec
FileSpec lldb_private::SourceManager::File::m_file_spec |
|
protected |
◆ m_file_spec_orig
FileSpec lldb_private::SourceManager::File::m_file_spec_orig |
|
protected |
◆ m_mod_time
llvm::sys::TimePoint lldb_private::SourceManager::File::m_mod_time |
|
protected |
◆ m_offsets
LineOffsets lldb_private::SourceManager::File::m_offsets |
|
protected |
◆ m_source_map_mod_id
uint32_t lldb_private::SourceManager::File::m_source_map_mod_id = 0 |
|
protected |
◆ m_target_wp
The documentation for this class was generated from the following files: