Class SnippetFactory

Class Documentation

class backward::SnippetFactory

Public Types

typedef SourceFile::lines_t lines_t

Public Functions

inline lines_t get_snippet(const std::string &filename, unsigned line_start, unsigned context_size)
inline lines_t get_combined_snippet(const std::string &filename_a, unsigned line_a, const std::string &filename_b, unsigned line_b, unsigned context_size)
inline lines_t get_coalesced_snippet(const std::string &filename, unsigned line_a, unsigned line_b, unsigned context_size)