Skip to main content

Crate omena_syntax

Crate omena_syntax 

Source
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§

ident

Structs§

CanonicalCompoundSelectorV0
CanonicalLayerIdentifierKeyV0
One escape-decoded layer identifier. The private seal prevents callers from treating authored spelling as the identity key.
CanonicalSelectorAst
The sole selector canonicalization authority.
CanonicalSelectorBranchV0
CanonicalSelectorSpecificityWitnessV0
CssKeywordText
Borrowed CSS keyword text compared under the ASCII case-insensitive rules used by CSS keyword grammars.
LayerPathV0
A parser-issued path of decoded CSS identifiers.
NestingTokenV0
OmenaSyntaxBoundarySummaryV0

Enums§

CanonicalSelectorCombinatorV0
ModuleMode
ReferenceKind
ScopeKind
StyleDialect
SymbolKind
SyntaxKind

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

Type Aliases§

SyntaxElement
SyntaxElementRef
SyntaxNode
SyntaxToken