Expand description
Extremely fast, lossless, and error tolerant CSS Parser.
Modules§
Macros§
- token_
set - Utility macro for making a new token set
Structs§
- Completed
Marker - A structure signifying a completed node
- CssParse
- A utility struct for managing the result of a parser job
- CssParser
Options - Marker
- A structure signifying the start of parsing of a syntax tree node
- Parse
Diagnostic - A specialized diagnostic for the parser
- Token
Set - Trivia
- A comment or a whitespace trivia in the source code.
Enums§
- Parsed
Syntax - Syntax that is either present in the source tree or absent.
Traits§
- Bump
With Context - NthToken
- Token source that supports inspecting the ‘nth’ token (lookahead)
- Parser
- Syntax
Feature - A syntax feature that may or may not be supported depending on the file type and parser configuration
- ToDiagnostic
- Token
Source
Functions§
- parse_
css - parse_
css_ with_ cache - Parses the provided string as CSS program using the provided node cache.