vize_l2 0.567.0

L2 - the Davinci semantic IR (codename Disegno): the neutral op family every input dialect lowers into
Documentation
1
2
3
4
5
6
7
8
9
//! Exactly the formatting-only family that creates no JSX text child.
//! Single-line spaces remain meaningful; other normalized values stay refused.

pub(super) fn ignored(text: &str) -> bool {
    text.contains(['\n', '\r'])
        && text
            .bytes()
            .all(|byte| matches!(byte, b' ' | b'\t' | b'\r' | b'\n'))
}