Lines
100 %
Functions
Branches
//! The compilation's counters on the context.
use super::CompileContext;
use crate::compiler::stats::CompileStats;
impl CompileContext {
pub(crate) fn compile_stats(&self) -> CompileStats {
self.stats
}
pub(crate) fn compile_stats_mut(&mut self) -> &mut CompileStats {
&mut self.stats