Struct hemtt_preprocessor::Mapping
source · pub struct Mapping { /* private fields */ }
Expand description
Mapping of a processed token to its source
Implementations§
source§impl Mapping
impl Mapping
sourcepub const fn processed_column(&self) -> usize
pub const fn processed_column(&self) -> usize
Get the column of the processed token
sourcepub const fn original_line(&self) -> usize
pub const fn original_line(&self) -> usize
Get the line of the original token
sourcepub const fn original_column(&self) -> usize
pub const fn original_column(&self) -> usize
Get the column of the original token