Groups LineGroups belonging to the same Source
More...
#include <report.hpp>
Groups LineGroups belonging to the same Source
◆ MappedLineGroups
◆ FileGroup()
| pretty_diagnostics::FileGroup::FileGroup |
( |
const std::shared_ptr< Source > & |
source, |
|
|
MappedLineGroups |
line_groups |
|
) |
| |
Constructs a group for a source file with its line groups.
- Parameters
-
| source | Backing source for the group |
| line_groups | Mapping from line number to line groups |
◆ line_groups() [1/2]
Returns the map of line groups.
- Returns
- Reference to mapped line groups
◆ line_groups() [2/2]
Returns the map of line groups.
- Returns
- Reference to mapped line groups
◆ source()
| const std::shared_ptr< Source > & pretty_diagnostics::FileGroup::source |
( |
| ) |
const |
|
inline |
Returns the source this file group refers to.
- Returns
- Shared pointer to the backing source
The documentation for this class was generated from the following file: