(w: &mut W, root_mod: &decl::RootModule)
| 293 | } |
| 294 | |
| 295 | fn write_repr_decl<W: Write>(w: &mut W, root_mod: &decl::RootModule) -> Result { |
| 296 | writeln!(w, r#"<div class="decl repr">"#)?; |
| 297 | |
| 298 | for (name, decl) in root_mod.module.names.iter().sorted_by_key(|x| x.0.as_str()) { |
| 299 | write_decl(w, decl, name, &root_mod.span_map)?; |
| 300 | } |
| 301 | |
| 302 | writeln!(w, "</div>") |
| 303 | } |
| 304 | |
| 305 | fn write_repr_rq<W: Write>(w: &mut W, ast: &rq::RelationalQuery) -> Result { |
| 306 | writeln!(w, r#"<div class="rq repr">"#)?; |
no test coverage detected