malva 0.9.0

Configurable, smart and fast CSS, SCSS, Sass and Less formatter.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub(crate) use self::comment::format_comment;
use crate::{ctx::Ctx, state::State};
use tiny_pretty::Doc;

mod at_rule;
mod comment;
mod helpers;
mod less;
mod sass;
mod selector;
mod stmt;
mod str;
mod token_seq;
mod value;

pub(super) trait DocGen<'s> {
    fn doc(&self, ctx: &Ctx<'_, 's>, state: &State) -> Doc<'s>;
}