assembler: SourceInfo doc comment added to self.module.

This commit is contained in:
2025-06-28 23:14:30 +01:00
parent d15e00c272
commit 5317988fdd
+1
View File
@@ -22,6 +22,7 @@ use crate::{
pub struct SourceInfo { pub struct SourceInfo {
/// The line number within the source file underpinned by `module_id`. /// The line number within the source file underpinned by `module_id`.
pub line_number: usize, pub line_number: usize,
/// The [`Module`] the source code is associated with.
pub module: Arc<Module>, pub module: Arc<Module>,
/// The indexes where this token may be found (line-local). /// The indexes where this token may be found (line-local).
pub span: std::ops::Range<usize>, pub span: std::ops::Range<usize>,