//! CSS Parser //! //! For CSS, SCSS, PostCSS item = _{ SOI ~ line* ~ EOI } line = _{ other } other = ${ !(COMMENT) ~ ANY } WHITESPACE = { " " | "\t" | NEWLINE } /// Comment line_comment = _{ "//" ~ (!(NEWLINE) ~ ANY)* } block_comment = _{ "/*" ~ (!("*/") ~ ANY)* ~ "*/" } COMMENT = ${ line_comment | block_comment }