Lines Matching refs:CodeWriter
15 pub struct CodeWriter<'a> { struct
20 impl<'a> CodeWriter<'a> { impl
21 pub fn new(writer: &'a mut dyn Write) -> CodeWriter<'a> { in new()
22 CodeWriter { in new()
85 F: Fn(&mut CodeWriter), in indented() argument
87 cb(&mut CodeWriter { in indented()
96 F: Fn(&mut CodeWriter), in commented() argument
98 cb(&mut CodeWriter { in commented()
120 F: Fn(&mut CodeWriter), in lazy_static_decl_get() argument
141 F: Fn(&mut CodeWriter), in block() argument
150 F: Fn(&mut CodeWriter), in expr_block() argument
157 F: Fn(&mut CodeWriter), in stmt_block() argument
164 F: Fn(&mut CodeWriter), in unsafe_expr() argument
171 F: Fn(&mut CodeWriter), in impl_self_block() argument
178 F: Fn(&mut CodeWriter), in impl_for_block() argument
185 F: Fn(&mut CodeWriter), in impl_args_for_block() argument
201 F: Fn(&mut CodeWriter), in pub_struct() argument
208 F: Fn(&mut CodeWriter), in def_struct() argument
215 F: Fn(&mut CodeWriter), in pub_enum() argument
222 F: Fn(&mut CodeWriter), in pub_trait() argument
229 F: Fn(&mut CodeWriter), in pub_trait_extend() argument
277 F: Fn(&mut CodeWriter), in fn_block() argument
288 F: Fn(&mut CodeWriter), in pub_fn() argument
295 F: Fn(&mut CodeWriter), in def_fn() argument
302 F: Fn(&mut CodeWriter), in def_mod() argument
309 F: Fn(&mut CodeWriter), in pub_mod() argument
316 F: Fn(&mut CodeWriter), in while_block() argument
324 F: Fn(&mut CodeWriter), in if_stmt() argument
332 F: Fn(&mut CodeWriter), in if_else_stmt() argument
343 F: Fn(&mut CodeWriter), in if_let_stmt() argument
351 F: Fn(&mut CodeWriter), in if_let_else_stmt() argument
358 F: Fn(&mut CodeWriter), in for_stmt() argument
365 F: Fn(&mut CodeWriter), in match_block() argument
372 F: Fn(&mut CodeWriter), in match_expr() argument
379 F: Fn(&mut CodeWriter), in case_block() argument