|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Registered source file with cached line starts. More...
#include <ah-source.H>
Public Attributes | |
| Source_File_Id | id = 0 |
| Stable file identifier. | |
| std::string | name |
| User-facing file name or path. | |
| std::string | text |
| Full file contents. | |
| DynArray< Source_Offset > | line_starts |
| Byte offsets for each line start. | |
Registered source file with cached line starts.
Users typically access files indirectly through Source_Manager, but the record is public so downstream tooling can inspect file metadata when needed.
Definition at line 150 of file ah-source.H.
| Source_File_Id Aleph::Source_File::id = 0 |
Stable file identifier.
Definition at line 152 of file ah-source.H.
Referenced by Aleph::Source_Manager::add_virtual_file().
| DynArray<Source_Offset> Aleph::Source_File::line_starts |
Byte offsets for each line start.
Definition at line 155 of file ah-source.H.
| std::string Aleph::Source_File::name |
User-facing file name or path.
Definition at line 153 of file ah-source.H.
Referenced by Aleph::Source_Manager::file_name().
| std::string Aleph::Source_File::text |
Full file contents.
Definition at line 154 of file ah-source.H.
Referenced by Aleph::Source_Manager::file_size(), and Aleph::Source_Manager::file_text().