This repository has been archived on 2026-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
OxideJS/crates/oxide_compiler/src/counter/stmt/block.rs
T
2026-06-23 17:45:59 +08:00

12 lines
262 B
Rust

use super::*;
impl Compiler {
pub(in crate::counter) fn count_block_statement(
&self, block: &oxide_parser::BlockStatement<'_>, ctx: &mut CompileCtx,
) {
for s in &block.body {
self.count_statement(s, ctx);
}
}
}