marianoguerra/shrubbery-css/kind does not have a README file

    ErrorKind

    pub(all) enum ErrorKind {
    ExpectedBlock
    HeadlessBlock
    AltsUnsupported
    BracesUnsupported
    QuotesUnsupported
    DeclarationAtTopLevel
    RuleInDeclarationContext
    TypeSelectorNotFirst
    DanglingCombinator
    StrayKeyword(String)
    SigilSelector(String)
    OperatorCombinator(String)
    UnknownSelectorCall(String)
    BadCallShape(String)
    HexDigitsLost
    UnknownUnit(String)
    BadSelector
    BareTermInBlock(String)
    ColonPseudo(String, String)
    SemicolonDeclarations
    BadAnB
    Unsupported(String)
    } derive(Eq,
    Debug
    )

    What can go wrong turning shrubbery into CSS.

    A separate set from @css.kind, and deliberately so: these are problems with the bridge, not with CSS. "This is not a selector" is a CSS complaint; "| has no meaning in Shrubbery CSS" is one only this layer can make. Sharing one enum would mean either half growing variants the other can never produce.

    No dependencies, for the same reason @css.kind has none: a lowered tree stores kinds on its Bogus nodes, and naming a problem must not link a renderer.

    ErrorKind::code

    fn ErrorKind::code(self : ErrorKind) -> String

    A stable identifier, namespaced apart from css:: so a consumer can tell which layer complained.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io