omena-syntax
omena-syntax is the phase-alpha syntax substrate for the Omena CSS parser stack.
It intentionally does not parse source text yet. The crate defines the shared syntax-kind ranges, CST bridge, and semantic vocabulary that later parser, semantic, resolver, LSP, and checker layers must consume instead of inventing their own local node/token taxonomies.
Current scope:
- Range-divided
SyntaxKindvalues for CSS, SCSS, Sass, and Less. cstreeraw-kind conversion and typed node/token aliases.- Parser CST equivalence contract consumed by
omena-parser. - Shared
SymbolKind,ScopeKind, andReferenceKindenums. - Bogus-node superset for lossless error recovery.