Module beamui.css.parser
CSS parser. It takes a token sequence and produces style sheet data structure.
This parser is very simple and it has little to do with the CSS Syntax Module.
Import line
import beamui.css.parser;
Functions
Name | Description |
parseCSS(tokens)
|
Transform a token range into a style sheet
|
Structs
Name | Description |
AtRule
|
At-rule, looking as @keyword prelude { properties | rules }
|
Parser
|
|
Property
|
Style property with a name and list of tokens, containing its value
|
RuleSet
|
Qualified rule - selector list (comma-separated) and set of style properties
|
Selector
|
Complex selector - one selector from the selector list
|
SelectorEntry
|
Simple selector or some combinator
|
StyleSheet
|
Style sheet contains two lists - at-rules and qualified rules (aka rulesets)
|