Skip to main content

Crate css_module_lexer

Crate css_module_lexer 

Source

Structs§

DashedIdentCollector
Collects dashed identifiers while the dependency parser is in local mode.
DependencyContext
Owns dependencies and the side-table payloads referenced by them.
DependencyIndex
A typed index into one of DependencyContext’s side tables.
DependencyListRange
A half-open index range into one of DependencyContext’s flat payload vectors. Keeping list payloads out of Dependency prevents rare, large variants from determining the size of every dependency value. T binds the range to its payload element type without adding runtime storage.
ImportAttributes
LexDependencies
Lexer
ModeData
Range
Token
A CSS token represented by ranges into the input string.
TokenFlags
Properties collected while scanning a token. They let dependency parsing skip escape/null checks for the overwhelmingly common plain-ASCII path.
TokenWithTrivia
A significant token together with all immediately preceding whitespace and comments. The leading trivia is consumed once and never rescanned.
Trivia
ValueAtRuleImportItem
Warning

Enums§

Dependency
Mode
TokenKind
The lexical kind of a CSS token.
UrlRangeKind
WarningKind

Traits§

HandleWarning
LexerVisitor

Functions§

collect_dependencies
lex_dependencies

Type Aliases§

Pos