teacat_lib 0.4.1

Tools for working with TeaCat files
Documentation
1
2
3
4
5
6
7
8
use crate::expander::ExpandedAst;

pub mod html;

/// Renders an [`ExpandedAst`] into another (typically human-readable) form.
pub trait Renderer<Out> {
	fn render(ast: ExpandedAst) -> Out;
}