Expand description
Shared syntax vocabulary for the Omena CSS-family parser stack.
This crate is intentionally substrate-only: it defines stable syntax kind ranges, CST integration, and shared lexical identity without constructing parser-owned syntax trees.
syntax_kind_extraction_decision: keep SyntaxKind extracted in
omena-syntax; parser, semantic, resolver, LSP, and checker layers consume
this crate instead of re-declaring local node/token taxonomies.
Modules§
Structs§
- Canonical
Compound Selector V0 - Canonical
Layer Identifier KeyV0 - One escape-decoded layer identifier. The private seal prevents callers from treating authored spelling as the identity key.
- Canonical
Selector Ast - The sole selector canonicalization authority.
- Canonical
Selector Branch V0 - Canonical
Selector Specificity Witness V0 - CssKeyword
Text - Borrowed CSS keyword text compared under the ASCII case-insensitive rules used by CSS keyword grammars.
- Layer
Path V0 - A parser-issued path of decoded CSS identifiers.
- Nesting
Token V0 - Omena
Syntax Boundary Summary V0
Enums§
Constants§
- BOGUS_
END - BOGUS_
START - DIALECT_
NODE_ END - DIALECT_
NODE_ START - DIALECT_
TOKEN_ END - DIALECT_
TOKEN_ START - MARKER_
END - MARKER_
START - NODE_
END - NODE_
START - TOKEN_
END - TOKEN_
START
Functions§
- css_
keyword - Wraps borrowed text for allocation-free CSS keyword comparisons.
- summarize_
omena_ syntax_ boundary