Skip to main content

Module css_parser

Module css_parser 

Source
Expand description

CSS Syntax Level 3 tokenizer and parser with CSS Nesting support.

Re-exports§

pub use error::ParseError;
pub use parser::Parser;
pub use source::SourceLocation;
pub use token::Token;
pub use token::TokenKind;
pub use token::resolve_escapes;
pub use tokenizer::Tokenizer;
pub use ast::*;

Modules§

ast
error
parser
source
token
tokenizer

Functions§

parse_declaration_list
Parse a list of CSS declarations (e.g., from a style attribute).
parse_stylesheet
Parse a complete CSS stylesheet.