Crate css_parser[−][src]
CSS parser
Simple CSS parser and “renderer”
Structs
| ParseError | |
| Rule | A css rule with a selector and collection of declarations |
| SOURCE_IDS | |
| Selector | |
| SourceId | |
| SourceMap | Struct for building a source map (v3) |
| Span | Position of token, line_start, column_start, line_end, column_end, source_id |
| StyleSheet | A StyleSheet with a collection of rules |
| ToStringSettings | Settings for rendering ASTNodes to CSS |
| ToStringer |
Enums
| CSSToken | |
| CSSValue |
Traits
| ASTNode |
Functions
| lex_source | Lexes the source returning CSSToken sequence |
| raise_rules | Will “raise” or “unnest” rules in the stylesheet. Mutates StyleSheet |