Home / Class/ Class Class — tailwindcss Architecture

Class Class — tailwindcss Architecture

Architecture documentation for the Class class in css_variable_machine.rs from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

crates/oxide/src/extractor/css_variable_machine.rs lines 92–113

enum Class {
    #[bytes(b'-')]
    Dash,

    #[bytes(b'_')]
    #[bytes_range(b'a'..=b'z', b'A'..=b'Z', b'0'..=b'9')]
    // non-ASCII (such as Emoji): https://drafts.csswg.org/css-syntax-3/#non-ascii-ident-code-point
    #[bytes_range(0x80..=0xff)]
    AllowedCharacter,

    #[bytes(b'\\')]
    Escape,

    #[bytes(b' ', b'\t', b'\n', b'\r', b'\x0C')]
    Whitespace,

    #[bytes(b'\0')]
    End,

    #[fallback]
    Other,
}

Domain

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free