Struct source_map::Counter [−][src]
pub struct Counter(_);
Expand description
Used for getting byte count of the result if serialized
Implementations
Trait Implementations
Used to push strings that may contain new lines
fn add_mapping(
&mut self,
_original_line: usize,
_original_column: usize,
_source_id: SourceId
)
fn add_mapping(
&mut self,
_original_line: usize,
_original_column: usize,
_source_id: SourceId
)
Adds a mapping of the from a original position in the source to the position in the current buffer